Skip to content

feat: evolve codebase-prompting into repository intelligence v1 - #1

Draft
Mopati123 wants to merge 8 commits into
mainfrom
feat/repository-intelligence-v1
Draft

feat: evolve codebase-prompting into repository intelligence v1#1
Mopati123 wants to merge 8 commits into
mainfrom
feat/repository-intelligence-v1

Conversation

@Mopati123

@Mopati123 Mopati123 commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Purpose

Begin Phase M by evolving codebase-prompting from file-dump utilities into a deterministic repository-intelligence and change-impact engine.

v1 capabilities

  • SHA-256 file inventory
  • Python top-level symbol graph
  • Python import dependency graph
  • relative JS/TS import dependency graph
  • reverse dependency change-impact analysis
  • deterministic graph and impact digests
  • CLI for CI and governed developer workflows

Architectural role

This becomes the repository-intelligence substrate feeding the later Developer OS. It determines what files/symbols are structurally related before OpenHands repo.read, test.execute, and repo.patch are invoked.

Truth boundary

v1 is deterministic static analysis. It does not claim semantic completeness across all languages or dynamic imports, and it does not use an LLM to construct the graph.

Legacy base_print.py and base_print_ai_model.py remain preserved as historical utilities.

Review status

Keep draft until CI proves the graph and impact engine.

Certified v1 baseline

At head 6b23c394d7d927091919e0bfbab0bc6737cd4bb3, the dedicated Repository Intelligence CI completed successfully.

Certified v1 surface:

  • deterministic SHA-256 file inventory;
  • Python top-level symbol extraction;
  • Python import dependency graph;
  • relative JS/TS import dependency graph;
  • reverse dependency change-impact analysis;
  • deterministic graph and impact digests;
  • packaged CLI exercised in CI.

Truth boundary: this is deterministic static analysis, not complete semantic program analysis. Dynamic imports, runtime reflection, generated code, and cross-language semantic calls are not yet modeled.

This commit is the certified Phase M v1 baseline. PR remains draft and unmerged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant