docs: research, spec, plan, and PRD for cde, the Gas City rewrite #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pbanka/cde-design"
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?
Problem
Gas City's loop (bead → polecat → refinery) is worth keeping, but the implementation cannot be handed to a team: measured on 2026-09-11,
gc supervisor runaveraged 97% of a core idle, 12 per-session pollers each spawn abdsubprocess every 2 s, and dolt takes 20 new connections and 130 selects per second with nothing to do. Upstream's fix is only proposed. The work store is one dolt server per machine, so a team cannot share a queue.Solution
Design artifacts for
cde(celilo development environment), a Bun rewrite of the core loop:docs/research/2026-09-11-gascity-rewrite-feasibility.md: measurements, feature inventory, beads Store interface, runtime providers, pack layer, and sizing.CONTEXT.md: the vocabulary (bead, rig, yard, role, session, flow, handoff, home yard, bundle).docs/adr/0001–0005: rewrite over fixing upstream; one SQLite service instead of dolt; home yard runs singleton roles; roles and flows ship as celilo bundle modules; yards act as the developer who logged in.projects/2026-09-11-bead-orchestrator/spec.md: 9 user stories, 40 Gherkin scenarios, testing seams, decisions, scope.projects/2026-09-11-bead-orchestrator/plan.md: 11 vertical slices with interface contracts, PR delivery, parallel streams.projects/2026-09-11-bead-orchestrator/prd.md: goals with measured baselines, personas, success metrics.Settled in the grilling interview: Authentik OIDC from day one with device-flow login; the bead service,
cde-yard,cde-configuration, and per-rig bundles are celilo modules; WebSocket change feed; no delete; a cele2e gate that runs the realclaudeandpiCLIs against a fake vendor API.No code yet. Next:
/to-taskson Slice 1 (service core).🤖 Generated with Claude Code
https://claude.ai/code/session_01PQ5MNJaNiL6dqFHT4pL63W
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.