Repository navigation
fix(plugin): handoff requests spec changes instead of editing the package - #72
Merged
Merged
Conversation
…kage The handoff told the implementation agent to update the spec files once the builder agreed. /compile deletes and rebuilds the package from the source artifacts, so those edits were never validated and were lost on the next compile. In a trial, three of six hand-edited packages failed validation. - After agreement the agent writes spec-change-request.md (exact YAML per spec file, and the source artifact it belongs in), asks the builder to re-run /compile, and builds the feature from the recompiled package - Add the spec-file-to-artifact table to the handoff; a test keeps it equal to the compiler's SPEC_ARTIFACTS map - Regenerate the tea-tracker example handoff; bump the plugin to 0.5.3 - Append the correction and both trial results to ADR 0010 Closes #71 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Closes #71. Corrects the handoff text shipped in #69.
/compiledeletes the package and rebuilds it from the source artifacts, so those edits were never validated and were lost on the next compile.spec-change-request.mdwith the exact YAML per spec file and the source artifact each belongs in, asks the builder to re-run/compile, and builds the feature from the recompiled package.Evidence
Two batches of six isolated headless two-turn runs (Sonnet 5.5, tea-tracker package, a spec-silent
is_favoriterequest, then "Yes, add it. Go ahead.").Limits: one fixture, one model, one request. The loop was not closed with a recompiled package.
Behaviour change for plugin users
A feature outside the spec now waits for the builder to edit the source artifacts and recompile. Slower than an in-place edit, and the only path on which the change is validated and survives.
Test plan
python -m unittest discover -s checks/tests— 34 tests passpython checks/run_checks.py --ci --require-validator— 0 findingsADR impact
🤖 Generated with Claude Code