feat: gather defense discussion topics

This commit is contained in:
lda
2026-07-10 18:57:33 +07:00 Verified
parent 6b78ce819b
commit 0a02c23be2
9 changed files with 309 additions and 6 deletions
@@ -23,6 +23,15 @@ describe("storyboard navigation", () => {
.toBe("#discuss/where-is-ai-agent");
});
it("parses the Questions beat location", () => {
expect(locationFromHash("#scene/conclusion/questions")).toEqual({
kind: "main",
sceneId: "conclusion",
beatId: "questions",
focusPath: [],
});
});
it("falls back for unknown scene, beat, and branch hashes", () => {
expect(locationFromHash("#scene/missing/nope")).toEqual(defaultMainLocation);
expect(locationFromHash("#scene/lifecycle/nope")).toEqual(defaultMainLocation);