Repository navigation
fix(graph): reject templated req targets - #16
Merged
schickling merged 1 commit intoSep 27, 2026
Merged
schickling merged 1 commit into
schickling merged 1 commit into
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
schickling-assistant
marked this pull request as ready for review
September 27, 2026 10:16
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-trace-placeholder-rejection
branch
September 27, 2026 10:16
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3cd7b591b1
ℹ️ 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
req:template targets that begin with a valid target prefix, such asrequirements.md#<ID>orAPP-<ID>, are truncated at<and emitted as real dangling references (requirements.md#andAPP-). This leaves placeholder examples in the typed graph even though fully angle-bracketed examples are excluded.Goal
Reject an entire
req:target whenever the parsed target prefix is immediately followed by an angle-bracket placeholder.Decisions
Keep the existing target grammar and make placeholder rejection explicit at its boundary. This avoids admitting angle brackets into real targets and avoids special-casing individual template spellings.
Verification
The fixture now contains both
req: requirements.md#<ID>andreq: APP-<ID>and asserts that the only emittedreq_traceis the realAPP-R02target.Complexity
No new abstraction or dependency; one parser-boundary condition and two fixture inputs.
Concerns
None.
Friction & bottlenecks
The host linker needed the already-installed
libiconvlibrary path. No Nix or devenv command was invoked.Follow-ups
None.
References
Follow-up to #14 review: #14 (comment)
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimeagent_modelworktreetooling_profile