Skip to content

Add gitanalyze command and Git-integrity engine; restore README docs and bump manifest to 0.9.6#62

Open
NerioVillalobos wants to merge 7 commits intomasterfrom
codex/develop-git-repository-analysis-command-q2e0mi
Open

Add gitanalyze command and Git-integrity engine; restore README docs and bump manifest to 0.9.6#62
NerioVillalobos wants to merge 7 commits intomasterfrom
codex/develop-git-repository-analysis-command-q2e0mi

Conversation

@NerioVillalobos
Copy link
Copy Markdown
Owner

Motivation

  • Restore the missing gitanalyze documentation and make the Git-integrity analysis workflow discoverable and usable from the README in both English and Spanish.
  • Provide a first-class gitanalyze command that lets pipelines and users evaluate local repository integration risk with deterministic detectors, explainable scoring, and optional AI interpretation.
  • Ensure the CLI manifest exposes the new command (and the existing access workflow) and that the plugin metadata reflects the updated version.

Description

  • Restored and expanded the gitanalyze documentation in README.md for English and Spanish, updated the top-level workflow count and index entries, and added the access section where missing.
  • Implemented the sf metadelta gitanalyze command under src/commands and lib/commands with flags, JSON/Markdown outputs, and AI integration configuration.
  • Added a Git-integrity engine under src/git-integrity and lib/git-integrity including extractors, detectors (direct commits, merges, large/huge commits, suspicious messages, chained reverts, history rewrite), scoring, reporting, and AI helper modules, plus a standalone Python script (scripts/git-integrity-standalone.py) for compatibility.
  • Updated oclif.manifest.json to include metadelta:gitanalyze and metadelta:access metadata and bumped the manifest/plugin version to 0.9.6.

Testing

  • Validated oclif.manifest.json syntax with python -m json.tool oclif.manifest.json, which completed successfully.
  • Confirmed README updates and anchors using ripgrep searches (rg) to ensure the new sections and index entries are present, which succeeded.
  • Performed basic smoke verification that the README and manifest changes were staged/applied locally (file diffs and presence checks) with no automated unit tests added in this change set.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant