feat: RepoDiagnoser — clone & analyse any public Git repo via CLI or Python API#92
Closed
Copilot wants to merge 2 commits into
Closed
feat: RepoDiagnoser — clone & analyse any public Git repo via CLI or Python API#92Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…copilot-instructions.md Agent-Logs-Url: https://github.com/aidoruao/orthogonal-engineering/sessions/7b62668d-02d4-42be-be6a-4c991db7fb75 Co-authored-by: aidoruao <174227749+aidoruao@users.noreply.github.com>
Agent-Logs-Url: https://github.com/aidoruao/orthogonal-engineering/sessions/7b62668d-02d4-42be-be6a-4c991db7fb75 Co-authored-by: aidoruao <174227749+aidoruao@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
aidoruao
April 4, 2026 09:01
View session
Contributor
|
Closing as stale (Stage D housekeeping). This Copilot draft has been open without progress and is superseded by:
If the underlying work here is still wanted, re-open a fresh PR rebased on current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the
RepoDiagnosertool as specified, composing existing toolkit primitives rather than reimplementing them. Also fixes a pre-existing syntax error incli.pythat made the file unparseable.New package:
tools/repo_diagnoser/diagnoser.py—RepoDiagnoserclass withclone_repo(),analyze(), anddiagnose()(clone + analyze in one call). Reuses:toolkit/oe/hasher.hash_file()for per-file SHA-256toolkit/oe/merkle.MerkleTreefor fingerprint + inclusion proofsminimal_ai_ide/repository_scanner.RepositoryScannerfor structural scancli_diagnose.py— standalone entry point (python -m tools.repo_diagnoser.cli_diagnose)README.md— usage docs and integration tablecli.py—diagnosesubcommandAdds
cmd_diagnoseand wires it intomain()alongside existing subcommands. Follows the--applydry-run-by-default pattern. Accepts--urlor--local(mutually exclusive),--depth,--ref,--clone-dir,--out-proofs,--json.cli.py— pre-existing syntax fixesThe file had two
main()bodies merged together with a missing"""opening a bare text block and orphanedargparse.ArgumentParser()kwargs floating in the function body — both causingSyntaxError. Fixed and unified the dispatch to cover all 9 subcommands..github/copilot-instructions.mdNew file telling Copilot agent mode about the repo's tooling, the
diagnosecommand, and coding conventions (dry-run contract, no bareexcept, reuse toolkit primitives).