docs(workflows): draw only each workflow's own steps #198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/chart-convention"
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?
Why
fix-bug.md,refactor-code.md, anddocument-feature.mdeachredrew the shared chain (brainstorm through deliver) that
how-it-works.mdalready draws. A reader had to sort out what eachworkflow adds from what every change passes through, and every change
to the chain had to be kept in four charts. Nothing stated a chart's
scope, so the guide's lead ("the charts draw what those files say")
read as each chart drawing its whole flow. #196 already moved
implement-feature.mdto charts of its own steps only. This applies thesame rule to the other pages.
We set aside one audit finding. It held that two of
fix-bug.md'slabels had no source. In fact they come from
.agents/templates/work.mdand
diagnosis.md, and they are dropped only because they are notfix-bug's own.
What changed
The guide's chart legend now states the rule. A change workflow's chart
draws only what its skill adds, meaning its opening steps and the
extension points it fills. The chart joins the chain at a
run-changenode or at the phases those extensions fill, and the chain itself is
drawn once in "How a change runs".
fix-bug.mdnow drawsdiagnose, the diagnosis,run-changewithin-execute, and the route back todiagnose.document-feature.mddraws the audit and its stop, then
run-change.refactor-code.mdkeeps its pinning branch and its three extension points. Between them
an edge reads "the chain's phases between", and its "a pin changed"
return stays visible. Every page's prose is unchanged.
How to verify
docs/workflows/fix-bug.md,refactor-code.md, anddocument-feature.mdrendered on the branch. Each chart shows onlythe workflow's own steps. On main, each one also draws
write-plan,execute-plan,verify-execution, anddeliver.docs/workflows/README.md§ Reading the charts. The paragraphunder the legend says where the rest of the chain is drawn.
On the tip these pass:
bash tests/verify-agent-config.sh,bash tests/check-work-folder.sh,.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.sh, andgit diff --check main. No test renders the charts.https://claude.ai/code/session_012CBsgjdkRDt2uVUmT7bj64