refactor(gatorwalk-factory): rename lifecycle to factory and drop holder (swamp-club #2785) #385
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2785-gatorwalk-factory-decide"
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 #2785. Seth decided to rename gatorwalk-factory's "lifecycle" to "factory" before go-live (2026-10-14), to do it in this issue, and to drop "holder" now and for the future.
Vocabulary
@swamp/gatorwalk-factory/factory(e.g.team). You runvalidate,design_pageandnew_keyon it and start work items on it.globalArguments. In code and data it isdefinition.README.md gains a short Vocabulary section with these terms.
Two commits
gatorwalk-factory/scripts/rename_lifecycle_to_factory.ts, with 9 tests.scripts/is added to the gatorwalk-factory targets inverification/checks.yamlanddeno.json.deno fmt), 69 files. A clean break with no data migration:@swamp/gatorwalk-factory/lifecyclebecomes.../factorystart(work item) andclaim(trackers) takefactory=<factory>definition, with fields{factory, digest, definition}definitionholderbecomesfactoryengine/factory.ts,engine/factory_test.ts,engine/factories_test.ts,_lib/engine/definition_schema.tsand its test,testdata/factories/These keep the word:
@swamp/issue-lifecycle, swamp-club lifecycle entries, the/api/v1/lab/issues/<n>/lifecycleroute, andlifecycle_entry.--checkfails if any of them goes missing, because the fakes are renamed along with the code and the tests alone would not catch it.For work in flight
Rebase onto this, then run:
A second run makes no changes. This PR has already been re-run twice this way: it was rebased over #2804, #2696 and #2793, which moved
_lib/intoengine/andtracker/.Notes
namefield duplicates the factory's model name. That is split out to swamp-club #2816.4e7e381.🤖 Generated with Claude Code
The output of scripts/rename_lifecycle_to_factory.ts, then deno fmt. A clean break before go-live, with no data migration: - model type @swamp/gatorwalk-factory/lifecycle -> .../factory - work_item start and tracker claim take factory=<factory> - the work item's pinned resource lifecycle -> definition, with fields {factory, digest, definition}; the run record and journal field lifecycle -> definition - lifecycle.ts, lifecycle_schema.ts, lifecycles_test.ts and testdata/lifecycles/ -> factory.ts, definition_schema.ts, factories_test.ts and testdata/factories/ - README gains a short vocabulary section; README, DESIGN, the skill and the examples use the new words throughout Model versions are not bumped: the extension is unpublished and has no upgrade chain, as with every earlier gatorwalk-factory change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>