Audit post-merge SOP for board-driven (non-plan) workflow #190
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/claude-custom#190
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?
Type
Task
Lineage
Standalone — discovered during PR #226 post-merge flow
Repo
forgejo_admin/claude-customScope
The 10-step post-merge checklist in
sop-post-merge-docsassumes plan/phase-driven work (steps 3-4: "update phase note", "update plan note"). With the kanban-over-plans shift, most work is now board-driven — tickets on boards, not phases in plans. The SOP needs to be audited and updated for both workflows.The
skill-update-docsSKILL.md executes these same steps — if only the SOP note is updated, agents continue running the stale workflow. Both artifacts must be updated in lockstep.The
commands/update-docs.mdcommand file (180 lines) is the third artifact agents execute — it contains the same stale plan/phase references and must be updated in lockstep with the SOP note and SKILL.md.Specific issues found during PR #226 post-merge:
Steps 3-4 don't apply to board-driven work (no phase or plan to update). SOP should branch: "if plan-driven, do steps 3-4; if board-driven, update spike/board note status."
Step 5 references "Issues table" and "Roadmap" on project pages — the current template-project-page has neither. Project pages have Vision, User Stories, Architecture, Board, Status, Milestones, Repos.
Step 6 says sync_board — correct, but doesn't mention moving the board item to
validationcolumn (the new right gate) beforedone.Step 8 (nit-bundle) — references "plan Epilogue" which is a legacy concept. Nits should just be Forgejo issues on the board backlog.
Missing: MCP restart step — when the merged code changes the API schema (new types, new columns), the MCP server needs a restart. This isn't in the SOP.
Missing: validation step — the new
validationcolumn in the kanban means post-merge should include production validation (per template-validation) before moving to done. The SOP ends at "sync board + move to done" without validation.Traceability chain section has stale references — the
the-traceability-chainsection in the SOP references "Phase note → Plan note → Issues table/Roadmap" which are deprecated concepts. Must be updated to reflect board-driven traceability.Resolved: Fully deprecate plan-driven path. Per convention-kanban-over-plans, plans are obsolete. Remove all plan/phase references from the SOP.
File Targets
sop-post-merge-docs— the SOP note (viaget_section+update_block)skill-update-docs— the SKILL.md that agents execute (mirrors the SOP checklist)commands/update-docs.md— the 180-line command file agents execute (has same stale plan/phase references)Acceptance Criteria
the-traceability-chainsection updated for board-driven flowskill-update-docsSKILL.md updated to match corrected SOP stepsskill-update-docsreferences toget_sprint_boardandmove_sprint_itemreplaced withlist_board_itemsandupdate_board_itemcommands/update-docs.mdupdated to match corrected SOP stepsConstraints
get_section+update_blockfor surgical edits to the SOP note — no full rewritesmcp__pal-e-docs__*toolscommands/update-docs.mdis a code file — changes go through normal branch/PR flow onclaude-customRelated
project-pal-e-agencysop-post-merge-docs— the SOP to updateskill-update-docs— the skill that executes the SOPcommands/update-docs.md— the command file that executes the SOPsop-board-workflow— column semantics (validation column)template-validation— validation note structureconvention-kanban-over-plans— the shift this SOP needs to reflectScope Review: NEEDS_REFINEMENT
Review note:
review-506-2026-03-27All 6 issues enumerated in the Scope section were verified against the current SOP — every claim is accurate. Traceability is complete (story:pm-scope, arch:note-system, Forgejo issue open). No blockers or dependencies.
Issues found:
[BODY]Blast radius:skill-update-docshas identical stale patterns — the skill is what agents actually execute. If only the SOP is updated, agents continue running the stale workflow. Addskill-update-docsto scope and deliverables.[BODY]Missing AC for traceability chain code block — sectionthe-traceability-chainin the SOP also has stale "Phase note → Plan note → Issues table/Roadmap" references. Add AC to cover it.[BODY]Add Constraints section: "Use get_section + update_block for surgical edits."[SCOPE]Clarify plan-driven path retention — Should the SOP branch (plan-driven vs board-driven) or fully deprecate plan references?convention-kanban-over-planssays plans are deprecated, but legacy plan phases still exist on boards.Scope Review: NEEDS_REFINEMENT
Review note:
review-506-2026-03-27Scope is strong but missing a critical file target and has one stale AC.
Issues found:
commands/update-docs.md(the actual command file agents execute) is not in File Targets -- if only the pal-e-docs notes are updated, agents will continue running the stale workflowcommands/update-docs.mdIS a code file in this reposkill-update-docspal-e-docs note has stale MCP tool references (get_sprint_board, move_sprint_item) not mentioned in scopeAction items (all [BODY] fixes):
commands/update-docs.mdto File TargetsScope Review v3: READY
Review note:
review-506-2026-03-27-v3All 5 v2 fixes verified: Lineage+Repo headers present, AC contradiction resolved (plan-driven fully deprecated), constraints corrected, stale MCP tool AC added, commands/update-docs.md included as third file target.
File targets: All 3 verified — stale plan/phase/Epilogue/sprint references confirmed in
sop-post-merge-docs,skill-update-docs, andcommands/update-docs.md.Traceability: Complete (story:pm-scope, arch:note-system, issue open).
Dependencies: All 3 prerequisites done (#397, #487, #480).
Decomposition: Not needed — 3 tightly-coupled targets, estimated ~4 min agent pass.
Minor non-blocking observations:
[BODY]Consider adding### Test Expectationswith grep verification terms[BODY]Consider adding### Checklist(standard items)