feat(gatorwalk-factory): remove stage templates and apply; ship example lifecycles in the skill (swamp-club #2767) #381
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2767-gatorwalk-factory-remove"
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 #2767.
What
Cuts the stage-template feature from gatorwalk-factory before go-live, and replaces it with curated example lifecycles shipped inside the skill.
@swamp/gatorwalk-factory/templatemodel type, the lifecycle holder'sapplymethod andapplied-lifecyclerecord, the contract /exit:/$paramparts of the lifecycle format, the template-only graph checks (exit-unreachable,productsMissingOnEntry),templates/, and their tests and fixtures. Every transition now namesto..claude/skills/gatorwalk-factory/references/examples/holdsminimal,starter,build-swamp-extension, andswamp-club-swamp-extensions(renamed fromswamp-extensions, a real-world example to read). Each opens with what it is for and what to change first.lifecycles/is gone: the extension ships no lifecycle of its own.extensions/models/examples_test.tsruns the holder's realvalidateon every example and pins its warnings. The starter runtime walk moved intolifecycles_test.ts.Why the examples live in the skill
swamp extension pullinstalls a skill into every enrolled harness's skill directory (Claude, Cursor, Codex/OpenCode, Kiro), so a skill-relative path works in all of them. An extension-rootexamples/would land under the pulled extension'sfiles/directory, which the skill cannot name, and push rejects symlinks.Decisions
applymade is not kept. It is tracked as swamp-club #2792, to be planned with #2680.Verification
Verified at
cc635804c: verify-build 13/14 (codegen idempotency skipped by guard), verify-reviews 3/3 pass. Attestation 6ea0b694-60d0-4fdd-b8f9-e31f45d9faf1. Locally: 440 unit and 23 integration tests.🤖 Generated with Claude Code