feat: add implementation-notes tracking to code and review phases#3
Open
Nam9111999 wants to merge 1 commit into
Open
feat: add implementation-notes tracking to code and review phases#3Nam9111999 wants to merge 1 commit into
Nam9111999 wants to merge 1 commit into
Conversation
- code.tmpl: instruct agent to maintain implementation-notes.md during coding - code-agent.md: list implementation-notes.md as required output - review-agent.md: add implementation-notes.md as review input - review.tmpl: instruct reviewer to read notes before judging deviations - context.rs: auto-inject implementation-notes.md into review context when present
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.
Summary
implementation-notes.mdin.zforge/tasks/<ID>/while implementing — recording decisions not in the spec, plan deviations, tradeoffs, and anything the reviewer should knowimplementation-notes.mdas an input so the reviewer understands why deviations happened before judging themcontext.rsauto-injects the file as a/fileref in the review prompt when present (skipped if file doesn't exist or is empty, so backward-compatible)Files changed
templates/code.tmplimplementation-notes.mdas you gotemplates/agents/code-agent.mdimplementation-notes.mdtemplates/agents/review-agent.mdtemplates/review.tmplsrc/prompt/context.rshas_content_refTest plan
cargo checkpasses (verified)zforge code <ID>— agent producesimplementation-notes.mdzforge review <ID>— notes appear in rendered prompt context