Repository navigation
codegraph: grep-native .codegraph/ projection, reduced Cargo/syntactic slice (D-CODEGRAPH-MEM-1) - #1999
Conversation
Hand-reviewed rows: subject, relation, object, status, evidence path:line and an anchor token the generator re-checks on every run. Architectural relationships are never inferred from imports; this file is their only source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
…EM-1, reduced Cargo/syntactic slice) Deterministic, stdlib-only generator (--write / --check / --self-test) in the entries_index.py / supersession_index.py convention. Projects Cargo dependency edges, Rust declarations and use-tree leaves (cfg kept), validated curated architecture rows, and ruff_charon call rows when a store is given. No Charon artifact exists for any real crate, so every crate reports CALL_GRAPH=ARTIFACT_MISSING rather than an empty call graph. Per-crate digest over git blob ids; --check names every stale crate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
…D-CODEGRAPH-MEM-1) Regenerated after #1996/#1997 merged (--check flagged the drift first). New workflow runs --self-test and --check on PRs touching the generator or .codegraph/. REPORT.md: unrecovered original recipes, crosswalk, negative tests with disable runs, 10-agent A/B measurement (index helps on architecture questions, hurts on call impact while calls are ARTIFACT_MISSING), gap report with owners, suggested CLAUDE.md line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: faf7ce1021
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…s the child file #1999 review: an inner attribute was treated as an outer one on the first item, so crates/deepnsm/src/ticket_emit.rs's file-level contract-ticket gate reached one import and left emit_ticket and both constants unconditional. Inner cfgs now scope the enclosing file or inline module, and a #[cfg] on an out-of-line mod declaration is inherited by the declared file (default layout; #[path] not followed). Repeated gates are deduplicated. Tests 12 and 13. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
The first version tested the helper alone, so removing the place where the inherited gate is applied left it green. It now builds a temp workspace and reads symbols.tsv. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
Adds
.claude/tools/codegraph_index.pyand the generated.codegraph/directory: compact, line-oriented, source-backed facts that any agent can search withrg. It is a projection: the code stays the truth. There is no new store, registry or executor.Scope: the reduced slice EXO-230 gate 3 allows only with explicit approval.
useleaves (cfg kept), and curated architecture rows.CALL_GRAPH=ARTIFACT_MISSING, never an empty graph. Charon ingestion is tested against the Codegraph fixture.index.mdare labelled NEW / DERIVED 2026-11-11.What it adds
codegraph_index.py: stdlib only, deterministic, with--write,--checkand--self-testin theentries_index.py/supersession_index.pyconvention..codegraph/: 108 generated files, about 4.9 MB:crates/<crate>.index.mdfiles;ClassView,WideFieldMask,LaneBinding,MethodBinding,BindStore,LaneSource,FrameStore);index.md, with the evidence legend and docs(.mermaid): architecture map of the DR / DT64 / mask-RISC stack (D-FOUNDRY-MAP-1) #1997's classDefs..codegraph/architecture.tsv: the only hand-maintained input, 24 reviewed rows, each withpath:lineand an anchor token that--checkre-validates. Architectural relationships come only from here, never from imports.src/files.--checknames every stale crate. No timestamps, absolute paths or HEAD sha appear in the output..github/workflows/codegraph-index.ymlruns the self-test and--checkon PRs that touch the generator or.codegraph/. Whether to gate everycrates/change is left open on EXO-230..claude/probes/2026-11-11-codegraph-mem-1/REPORT.md: crosswalk, negative tests, measurement, gap report and the suggestedCLAUDE.mdline (not applied).Evidence
dt64/src/lane.rsmakes--checkreportSTALE crate lance-graph-dt64. Rebasing onto main after foundry-parity-lab: CanCook as a registered DT64 method (G6) + board record for #1991/#1995 #1996 made it flag two views before regeneration.ARTIFACT_MISSING.What changes in existing behaviour
None. No Rust code changes; this adds a tool, generated files, a workflow and docs.
Open
--checkgating scope: whether it should gate everycrates/change (EXO-230).Board: EXO-230 (navigation), EXO-229 (intake).
Generated by Claude Code