feat(skills): start a work from its folder's files #201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/folder-documents"
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
The skills said how to use a work file, a diagnosis, or an audit the
user hands in through 22 clauses spread over 12 skill and guide files,
each written for one workflow. They disagreed, as on the name a
handed-in audit is saved under, and none covered a work an earlier
session left in its folder. Agents met real gaps:
document-featureaudited a handed-in work file again without sending its Brief back to
brainstorm, so the new findings surfaced only after execution; a newproduction dependency in a handed-in work file or a
designdecisionnever reached
dependency-advisor, whose report was kept nowhere; anddocument-feature's "stop or go on" question lived only in the guide.Asking at every workflow's start whether the user has files to hand in
was set aside: it stops every work, unattended runs included, and
leaves the content rules in place. A home in
run-changewas set asidebecause the opening steps and the actions run alone never read it, and
a new internal skill because it adds an abstraction.
What changed
AGENTS.md§ Work folders now says which files of a work folder count,those the user hands in or the work's sessions write, and
run-changestarts a work at the first step they leave undone, keeping a passed
Work file gate's start at
execute-plan. A step beforewrite-planthat changes an approved work file clears its gate rows, so the user
approves the change. Opening steps run only when the folder lacks their
document.
brainstormis done only when the Brief answers every finding and fixoption in the folder and
assessment.md, which keepsdependency-advisor's reports, covers each upgrade and new productiondependency;
designruns the advisor before a dependency decision, andthe user is asked when the advisor advises against a dependency the
work already counts on. A handed-in audit goes by its kind: a
documentation audit to
document-featureorimplement-feature,another with a defect to
fix-bug, the rest tobrainstorm.document-featuregains its stop step. The guide states the rule once,in
docs/workflows/how-it-works.md, andUPGRADING.mdcarries arepository's own edits to the old clauses through the Folder documents
migration.
How to verify
From the branch's worktree, run the behavioral evals against
main:base=$(evals/run.sh --policy main),tip=$(evals/run.sh --policy HEAD),then
evals/report.sh "$tip" "$base"; each case should pass as oftenas on
main. By hand, in a session on the branch, put an approvedwork.mdand a new audit in one.plans/folder and ask to resumethe work: the agent revises the Brief in
brainstormand asks for thework file's approval again, where
maingoes on atexecute-plan.The checks of
docs/MAINTENANCE.mdpass on the tip: 225 agentconfiguration tests, 46 work-folder check tests, ShellCheck on 49
files, Prettier, the validator, and
git diff --check main. No testchecks this prose. The evals did not run, since each run is billed.
Considerations
AGENTS.mdgrows by two bullets, which every session loads.https://claude.ai/code/session_012CBsgmcuP48k1DtpTcmWGP