Repository navigation
feat(quest): pre-RED drift check against the spec's approval base - #67
Merged
Merged
Conversation
….17.5) A spec approved against one base and built on a later one carried stale line numbers, renamed targets, flipping tests and wrong counts into RED. Mordain now takes the approval base (spec `approved_at`, else the last commit touching the spec as a recorded proxy), walks intervening commits on named paths read-only, routes corrections through docs-writer before test-author, and surfaces design drift to the user. Briefs quote API names from the spec or plan, never from memory. The plan records `approval_base` and the drift-check outcome. Fixes #59 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note Nothing here is code, only docs, data or images, so PR Lens left this pull request undrawn. Comment
|
Owner
Author
|
@copilot resolve the merge conflicts in this pull request |
…check # Conflicts: # CHANGELOG.md Co-authored-by: GrillerGeek <66818+GrillerGeek@users.noreply.github.com>
Contributor
Merged |
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.
Fixes #59.
Adds a drift check to Step 3 item 2 of
quest.md. Mordain performs it in place ofarchitecture-reviewer, which the issue proposed. Aldric's contract requires him to give 2–3 alternatives and forbids reading tests, and he has noBash. The drift report has to list flipping tests and walk the git range.approved_at: <sha>if present. Otherwise Mordain uses the last commit that touched the spec and records it as a proxy. A plan that already existed is handled the same way. IDD-framework doesn't writeapproved_atyet, so this works without it.git log --name-status <approval_base>..HEAD -- <named paths>is non-empty.docs-writer, committed, and recorded in the plan beforetest-authoris dispatched.approval_base:to the frontmatter and a drift-check line to## Context.validate_plugin.pyreports 0 errors and 0 warnings,validate_portable.pypasses, and pytest passes 197 tests. This is a prompt-contract change. It has not been dogfooded with a live quest. Step numbering is unchanged, so references to Step 3.4 and 3.7 still hold.🤖 Generated with Claude Code