Repository navigation
Description
Context
The public demo's world is about 40 browsable records: the ui-kit presentation fixtures (notes 18, people 16, projects 4, the goal; packages/ui-kit/fixtures/) adapted by website/src/demo/odyssey.ts, plus about a dozen records written inline there. File browsing, keyword search and the graph (website/src/demo/knowledge.ts) all derive from demoDocuments (export const demoDocuments, website/src/demo/odyssey.ts:52). The world reads thin: most folders hold one or two files and the graph has a few dozen nodes.
The core corpus (packages/core/fixtures/corpus/) stays at its compact engineered 25-document shape under docs/decisions/example-corpus.md; this issue does not touch it.
Scope
- A new presentation fixture module,
packages/ui-kit/fixtures/library/, holding at least 400 additional Odysseus records across voyage, crew, people, knowledge, Ithaca, journal, decisions/oaths/omens and Ogygia, with a typedLibraryDocumentshape. - A fixture test asserting the library's invariants (below), in the style of
packages/ui-kit/tests/fixtures.test.ts. - The demo includes every library record in the file tree, keyword search, wiki-link resolution and the graph, with a graph layout that stays legible at that size.
- New prepared chat scenarios (with sessions) whose answers and blocks draw on the library.
- Prepared PNG/PDF share exports stay limited to the featured records and the chat responses; library records share as Markdown, text and rich text, and a missing image/PDF export explains itself.
packages/ui-kit/fixtures/README.mdandwebsite/README.mddescribe the library.
Out of scope
- The core corpus, its retrieval goldens and its audit cases.
- Changes to existing presentation fixtures that would move visual baselines.
- Any new canonical fact that contradicts the cast, chronology or ledgers in
packages/ui-kit/fixtures/README.md. - Pre-rendered PNG/PDF exports for every library record (that would commit hundreds of binaries).
Acceptance criteria
- The library holds at least 400 records, each with a unique path that collides with no existing fixture path.
- Every outbound link and every body
[[wiki-link]]resolves to a library or fixture path; no library record is an orphan. Proven by the fixture test, with a mutation (an unresolved link) shown failing. - Every date is ISO and not after
2026-07-12; everyjournal/day-Nrecord's date equals Troy's fall plus N days. Proven by the fixture test. - Crew records close against
crewLosses: per-ship rosters total 600 and per-landfall losses equal the ledger. Proven by the fixture test. - Every named person and place id resolves to
people/places, and the library uses only reserved identifiers (NANP 555-01xx, example.com, .invalid). The whole-tree leakage gate passes. - The demo file tree, search and graph include every library record, proven by the website check.
- At least five new prepared scenarios render, and their PNG/PDF exports are regenerated and verified fresh by
website:check.
Verification
bun run test packages/ui-kit/tests, bun run website:shares, bun run website:check, bun scripts/check-leakage.ts, bun run check:pr --base origin/main.
Contract impact
None. Fixtures and the website demo only.
Source clarification and implementation boundaries — 2026-10-10
At main bae10edcf450a4b440cba3fdd2316d4724a75f90, demoDocuments remains the common presentation source (website/src/demo/odyssey.ts:52), with markdown graph/search derivation in knowledge.ts:4-15 and graph route selection at33. The current fixed circle is radius260 for every record count; retaining those same positions for400 additional nodes would pack the circle more densely. This is source-derived geometry, not a browser failure observation.
Preserve the existing graph UI, modes, labels, selection and navigation; implement a deterministic fixture/data layout using those existing interactions rather than inventing a new graph presentation. SceneBody selects fixed coordinates for clusters when coordinates exist (packages/ui-react/src/components/graph/graph-scene.tsx:67), with existing radial/force modes otherwise. Check rendered legibility with the full library at320px and desktop, both themes: a representative library record can be found, selected and opened through existing controls; graph data includes all records and truthful counts without silently dropping nodes to make the picture sparse. Retain rendered review evidence for the large fixture, and measure layout/readiness work. A needed change to graph interaction or visual policy requires its own design ruling; this task does not authorize that redesign.
The source-backed demand is the requested deeper browsable public demo in this issue, not a production retrieval benchmark. Add400 records beyond the existing presentation records. Keep IDs/paths/dates and authored content deterministic; no random/runtime-generated identities, current clock, external fetch or live model call. Import the existing time constants/helpers and close the ledger against crewLosses; rosters may represent anonymous crew groups, without inventing a new canonical cast or claiming living crew after Thrinacia. Tests cover the union of new and existing records, body wiki-links as well as explicit link arrays, and canonical person/place references. Do not equate an isolated fixture's closed links with the actual adapted demo's correctness.
At least five complete prepared sessions/scenarios use distinct nonempty library records in their answers/blocks. Website checks prove those paths resolve and rendered exports correspond to the final authored source. Library-only sharing uses the existing Markdown/text/rich-text path, with an honest explanation when PNG/PDF is unavailable; regenerate only the selected scenario/featured exports. Preserve the existing share defect #1331 as its own scope; no mass binary generation, new share contract or publication is selected.
Keep fixture-only library types outside ordinary published runtime exports; if a supported package surface or shipment changes, reassess contract/release obligations first. Core corpus/goldens, existing fixtures/baselines and canonical world facts remain unchanged. Named unresolved-link mutation and restored proof, offline actual demo navigation/search/graph/share controls, and selected current PR proof complete verification; a source-only node count does not prove browser legibility.
2026-10-10 triage: priority p2 fits wanted unscheduled demo expansion. The complete existing-UI/data scope has no upstream prerequisite or unresolved product choice; agent-ready is appropriate. Native #608 membership fits its public-demo/maintained-visual-evidence outcome, with core retrieval and broader launch review excluded. No implementation or new design approval is claimed.
Activity
feat(ui-kit): add a 473-record Odysseus fixture library
feat(website): browse, search, graph and ask the fixture library in t…
chore(website): regenerate demo share exports and previews
docs(ui-kit): move the fixture library notes into its own README
feat(ui-kit): grow the Odysseus presentation world tenfold and show a…
fix(website): publish the fixture library with the website sources (#…
fix(website): serve brain briefing's keyless output as the demo briefing
feat(ui-kit): give the demo brain a real brain's mess, and compute it…
fix(website): ship the worker's library file and confirm seeded demo …
feat(website): a demo briefing that reads at a glance (#1498)
fix(website): let the demo clock run so the graph zooms and pans (#1501)