Repository navigation
fix(graph): recognize requirement definition forms - #14
Merged
schickling merged 2 commits intoSep 27, 2026
Merged
Conversation
agent-identity: mbp2025.direct.omp.mjwjfku9 agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.2.11 agent-runtime: OMP 18.2.11 agent-model: openai-codex/gpt-5.6-sol tooling-profile: dotfiles@2df08b9-dirty
agent-identity: mbp2025.direct.omp.mjwjfku9 agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.2.11 agent-runtime: OMP 18.2.11 agent-model: openai-codex/gpt-5.6-sol tooling-profile: dotfiles@2df08b9-dirty
schickling-assistant
marked this pull request as ready for review
September 27, 2026 10:01
Codex Review SummaryThis 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. |
schickling-assistant
deleted the
schickling-assistant/2026-09-27-req-id-definition-graph
branch
September 27, 2026 10:02
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b3720d664d
ℹ️ 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".
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.
Problem
The typed graph omitted requirement-family information for three supported corpus forms: local
A01/R01/T01IDs were emitted as genericidnodes, bold labels split across lines were not emitted as definitions, and legacy labels such as**R01.**retained punctuation in the ID. In addition, template examples such asreq: <ID>were emitted as real requirement traces.These gaps prevented downstream consumers from replacing regex-based Markdown scans without losing definitions or reporting placeholder IDs.
Goal
Make graph nodes and reference resolution recognize the requirement definition forms already present in the corpus, while keeping template placeholders out of
req_tracereferences.Decisions
req:targets. Real IDs and repo-relativepath#IDtargets remain unchanged.Verification
Focused graph integration tests:
Full crate suite:
The new fixture proves local family kinds, multiline labels, legacy dotted labels, resolved citations to those definitions, and suppression of angle-bracket placeholders.
Complexity
No new module or dependency. The change consolidates two previously separate definition parsers into one shared parser.
Concerns
The graph intentionally treats structured bold ID labels outside
requirements.mdas definitions too; this is existing graph behavior, now consistently shared with reference resolution.Friction & bottlenecks
The host Rust toolchain could not link
libiconv; running through the repository's Nix development shell provided the declared build environment. No persistent tooling issue identified.Follow-ups
None.
References
Supports the downstream typed-graph migration in schickling/dotfiles#3596.
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimeagent_modelworktreetooling_profile