Repository navigation
fix(emit): name no template file in what the emitter builds (#2414) - #2415
Merged
Merged
Conversation
An emitted project carries the rules, not the templates, so a template's path in an emitted skill or root file sent the agent to a file it cannot open. Seven template lines named another template's file; each now names the section by its heading, or drops the pointer where the file is not in every chain. SYS-27 emits every root, with skills and inlined, and fails on any line naming a template file; AGENTS.md states the authoring rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
Built together, an override one root carries can drop the section another root names a template in, hiding the path. SYS-27 now builds every root alone, in both modes, and a planted override case proves the combined build hides a path the per-root build finds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
Collaborator
Author
|
Addressed the P2 review finding in 7d0b12f: SYS-27 now emits each root on its own.
|
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.
The emitter's skills and root file named template files that an emitted project doesn't carry, so the agent was sent to a file it can't open. This rewords those lines and adds a check so it can't come back.
What changed where
templates/core/review.mdtemplates/core/quality.mdtemplates/core/docs.mdtemplates/core/agents.md, which is not in every chaintemplates/core/agents.mdtemplates/core/review.mdtemplates/core/quality-gates.mdtemplates/backend/auth.md,edge.mdsecurity/security.mdandbackend/observability.mdtests/smoke/system.py,registry.pydocs/tests/docs/requirements.mdAGENTS.mddocs/architecture/08-…Before and after
Checks
main: 7 lines (2 with skills, 7 inlined)templates/-prefixed paths misses the planted bare pathsync_docs.py --check, markdownlint, pyflakes, 88-column scanFound by the solid-ai-benchmark round 5c
skillsarm, emitted at9086e0ff. That round keeps its skills as emitted.Closes #2414
🤖 Generated with Claude Code
https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX