feat(gatorwalk-factory): a built-in tracker core that the Lab and Linear adapters build on (swamp-club #2794) #391
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2794-gatorwalk-factory-built"
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 #2794 (https://swamp-club.com/lab/2794).
What
Every project now has a tracker, even one with no external tracker.
@swamp/gatorwalk-factory/trackerkeeps tickets in swamp data, with no network calls.<prefix>-<slug>-<rnd>, following the work-item key rules. There is no counter.open,in_progress,shipped,closed), and a ticket can move between any two.bug,feature,security).publishwrites lifecycle entries and the type to it.create;capabilitiesobject, where a missing capability is refused asTrackerError invalidand names the capability;originon the adapter.issue-<id>records are noworigin: snapshot(an external tracker's last read) ororigin: builtin(the ticket itself). A read never overwrites a built-in ticket.create. Posts toPOST /api/v1/lab/issuesand builds the result from the reply, so there is no read-back that could invite a duplicate retry.create. Files the issue in a configuredteamId. Linear has no issue type, so atypesargument maps each type to a label, looked up by name. An unmapped type is refused.<display id>-<slug>-<rnd>, for example2631-lab-adapter-r2ne.<lead>-<rnd>.create, capability refusal, and the new key shapes.prefix,statuses,types, and Linear'steamId/typesstay tracker-instance arguments until #2795 moves them into the factory definition.Verification
dda332559c, attestation 0af02c91: 12 steps passed, 2 skipped (by their guards), 0 failed.🤖 Generated with Claude Code