story-kit: merge 293_story_register_all_bot_commands_in_the_command_registry

Moves status, ambient, and help commands into a unified command registry
in commands.rs. Help output now automatically lists all registered
commands. Resolved merge conflict with 1_backlog rename.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dave
2026-03-19 09:14:04 +00:00
parent 11afd21f17
commit 73c86b6946
4 changed files with 539 additions and 557 deletions

View File

@@ -59,6 +59,8 @@ describe("AgentLozenge fixed intrinsic width", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: "sonnet", status: "running" },
review_hold: null,
manual_qa: null,
},
];
const pipeline = makePipeline({ current: items });
@@ -111,6 +113,8 @@ describe("LozengeFlyProvider fly-in visibility", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -151,6 +155,8 @@ describe("LozengeFlyProvider fly-in visibility", () => {
model: null,
status: "running",
},
review_hold: null,
manual_qa: null,
},
],
});
@@ -213,6 +219,8 @@ describe("LozengeFlyProvider fly-in clone", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: "sonnet", status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -254,6 +262,8 @@ describe("LozengeFlyProvider fly-in clone", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -301,6 +311,8 @@ describe("LozengeFlyProvider fly-in clone", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -370,6 +382,8 @@ describe("LozengeFlyProvider fly-out", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: "haiku", status: "completed" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -395,6 +409,8 @@ describe("LozengeFlyProvider fly-out", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
],
});
@@ -427,6 +443,8 @@ describe("AgentLozenge idle vs active appearance", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
];
const { container } = render(
@@ -451,6 +469,8 @@ describe("AgentLozenge idle vs active appearance", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "pending" },
review_hold: null,
manual_qa: null,
},
];
const { container } = render(
@@ -475,6 +495,8 @@ describe("AgentLozenge idle vs active appearance", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
];
const { container } = render(
@@ -526,6 +548,8 @@ describe("hiddenRosterAgents: assigned agents are absent from roster", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -547,6 +571,8 @@ describe("hiddenRosterAgents: assigned agents are absent from roster", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
],
});
@@ -569,6 +595,8 @@ describe("hiddenRosterAgents: assigned agents are absent from roster", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -629,6 +657,8 @@ describe("hiddenRosterAgents: fly-out keeps agent hidden until clone lands", ()
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "completed" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -640,6 +670,8 @@ describe("hiddenRosterAgents: fly-out keeps agent hidden until clone lands", ()
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
],
});
@@ -682,6 +714,8 @@ describe("hiddenRosterAgents: fly-out keeps agent hidden until clone lands", ()
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "completed" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -693,6 +727,8 @@ describe("hiddenRosterAgents: fly-out keeps agent hidden until clone lands", ()
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
],
});
@@ -766,6 +802,8 @@ describe("LozengeFlyProvider agent swap (name change)", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: "sonnet", status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -777,6 +815,8 @@ describe("LozengeFlyProvider agent swap (name change)", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-2", model: "haiku", status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -861,6 +901,8 @@ describe("LozengeFlyProvider fly-out without roster element", () => {
model: null,
status: "completed",
},
review_hold: null,
manual_qa: null,
},
],
});
@@ -872,6 +914,8 @@ describe("LozengeFlyProvider fly-out without roster element", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
],
});
@@ -943,6 +987,8 @@ describe("FlyingLozengeClone initial non-flying render", () => {
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -1018,6 +1064,8 @@ describe("Bug 137: no animation actions lost during rapid pipeline updates", ()
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: "sonnet", status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -1029,6 +1077,8 @@ describe("Bug 137: no animation actions lost during rapid pipeline updates", ()
error: null,
merge_failure: null,
agent: { agent_name: "coder-2", model: "haiku", status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -1095,6 +1145,8 @@ describe("Bug 137: no animation actions lost during rapid pipeline updates", ()
error: null,
merge_failure: null,
agent: { agent_name: "coder-1", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -1106,6 +1158,8 @@ describe("Bug 137: no animation actions lost during rapid pipeline updates", ()
error: null,
merge_failure: null,
agent: { agent_name: "coder-2", model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});
@@ -1191,6 +1245,8 @@ describe("Bug 137: animations remain functional through sustained agent activity
error: null,
merge_failure: null,
agent: { agent_name: agentName, model: null, status: "running" },
review_hold: null,
manual_qa: null,
},
],
});

View File

@@ -17,6 +17,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Current" items={items} />);
@@ -37,6 +39,8 @@ describe("StagePanel", () => {
model: "sonnet",
status: "running",
},
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Current" items={items} />);
@@ -56,6 +60,8 @@ describe("StagePanel", () => {
model: null,
status: "running",
},
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Current" items={items} />);
@@ -74,6 +80,8 @@ describe("StagePanel", () => {
model: "haiku",
status: "pending",
},
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="QA" items={items} />);
@@ -88,6 +96,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Current" items={items} />);
@@ -102,6 +112,8 @@ describe("StagePanel", () => {
error: "Missing front matter",
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Upcoming" items={items} />);
@@ -116,6 +128,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Upcoming" items={items} />);
@@ -132,6 +146,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Current" items={items} />);
@@ -148,6 +164,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="QA" items={items} />);
@@ -164,6 +182,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Done" items={items} />);
@@ -180,6 +200,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Upcoming" items={items} />);
@@ -199,6 +221,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Current" items={items} />);
@@ -215,6 +239,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="QA" items={items} />);
@@ -231,6 +257,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Done" items={items} />);
@@ -247,6 +275,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: "Squash merge failed: conflicts in Cargo.lock",
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Merge" items={items} />);
@@ -266,6 +296,8 @@ describe("StagePanel", () => {
error: null,
merge_failure: null,
agent: null,
review_hold: null,
manual_qa: null,
},
];
render(<StagePanel title="Merge" items={items} />);