Task: record deviations from approved plans in an append-only section of the plan #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When the implementation of an approved plan departs from it, during implementation, after
review-implementation, or after human PR review, the reason is recorded only in commit messages and the PR description. Two consequences:recipe-app/docs/plans/001-shopping-lists.mdstill described behaviour the code no longer has (no confirmation for removing items, no controls on a FULL user's own share, a blanket 44 px tap-target rule, a type name that was renamed). Whoever reads the plan later to understand the code is misled; the PR that explains why lives on Forgejo, not in the repo.review-implementationcan't tell an agreed deviation from an accidental one. It checks the code against the plan, so every approved deviation shows up as a finding unless the reviewing session happens to remember the conversation in which it was approved.Proposal
Like a comment on a Jira task saying "decided against the original plan, because …":
## Deviationssection at the end of every plan. The approved sections stay unchanged (as ADRs do), so it remains visible what was agreed at GATE C. One entry per deviation: Optionally a closing status of the points flagged at GATE C, and the follow-up issues filed instead of changing the plan.implement-plan: appends an entry for every deviation it makes (it already has to report them in Step 5), and asks the user to confirm entries that came from their decisions.review-implementation: reads the section and treats listed deviations as agreed instead of reporting them as findings; it still checks that each listed deviation is actually what the code does.Per the platform's rules, changing the two skills needs ADRs next to them.
First example
recipe-app/docs/plans/001-shopping-lists.md, section "Deviations" (added in recipe-app#47, commit 5861157): 12 entries plus the GATE C status and follow-ups. It was backfilled by the implementing session because only it knew the reasons. Once the convention is settled, it may need reformatting to match.🤖 Generated with Claude Code
Done in PR 34