feat(gatorwalk-factory): description fields on gates and work; lifecycle comments move into fields (swamp-club #2804) #382
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2804-gatorwalk-factory-description"
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?
Closes swamp-club #2804.
Why
The studio is read-only: edits come only from the agent. It shows
descriptionfields, not YAML comments, and agents may still rewrite the lifecycle YAML, which drops comments. So what is worth keeping moves into descriptions.What
worktake an optionaldescription(_lib/lifecycle_schema.ts). The lifecycle, stages, transitions, artifacts and evidence already had one.dispatch.tsdoesn't read descriptions. A newdispatch_test.tscase puts a marker in every description (and in a payload schema'sdescriptionand$comment) and checks it never reaches the dispatch packet in any of the four work modes.GateView.descriptionandWorkView.description. A gate's description renders under the gate and work's above the Handoff table. Both are covered by the escaping test and kept out of the diagram.examples_test.tskeeps comment lines out of them.description.examples_test.ts,SKILL.mdanddriving.mdare updated to match.Where each comment went
description(multi-paragraph). The "<name>:" prefix was dropped since it restated the namedescriptionmaxCyclesnote; "one exit per type" on triage's transitionstriagestage descriptionallOf$commenton that subschemahuman-approvalgate'sdescriptionmaxCyclesnotes on plan, implement, pull-requestprUrlbindingwork.descriptiondescription$commenton the checks schemadescriptiondescriptionfeedbackbinding is null-safework.descriptionNothing else was dropped.
Verification
Pre-PR verification passed on
4da8bbb5: build7d5af55b-2601-4a24-b711-8b368b7a8f0a, reviews104ea562-1edc-4f89-a097-818ec68a9441. The attestation is posted.Both reviews raised one low finding: the guard only catches whole-line comments, so a comment at the end of a line would get through. No file has one, and the acceptance criterion is about comment lines.
🤖 Generated with Claude Code