Repository navigation
Description
Context
Maintainer ruling, 2026-09-30: Odysseus is the only example corpus for brain-kit, including CLI demonstrations and documentation. This supersedes the separate core and UI personas in D18/D19 and repository guidance. Part of #608; the implementation also supports #26, #51 and #597.
Verified before migration on main b06f09200e4db1c2aae38c413f3ea01a1a745300: AGENTS.md:58-63 requires two personas; packages/core/fixtures/README.md:3-10 describes the former core world; packages/ui-kit/fixtures/README.md:8-15 requires separate worlds; docs/decisions/design-kit.md:722-725 explicitly leaves the old core persona untouched. These are migration targets, not reasons to preserve the split. The established Odysseus tone and fixed reference date are in packages/ui-kit/fixtures/README.md:17-38.
Scope
- Record the ruling as a dated durable decision, explicitly superseding the two-persona and no-shared-content restrictions in D18/D19 while retaining useful separation between presentation fixtures and invariant-focused tests. Update AGENTS.md, both fixture READMEs and other active authoring guidance.
- Migrate the core corpus to the established Odysseus world: ancient problems with modern organisational tools, coherent identities, relationships, documents and links. A name-only replacement that leaves an unrelated modern biography is insufficient.
- Use that same fictional world for CLI/MCP examples, quickstart/onboarding transcripts, package and user docs, skills' examples, renderer examples, measurement harnesses, Storybook, screenshot recipes and public demo/site assets. Separate technical fixture representations may remain; they must not establish independent example worlds or contradictory canonical facts. Avoid a new generic fixture framework or forcing core runtime code to depend on UI packages.
- Update all corpus consumers, queries, expected paths, snapshots and retrieval goldens affected by the migration. Preserve the purpose of each scenario: ranking/alias distinctions, no-answer cases, link ambiguity, orphans, dates/staleness, audit findings, contact/address runs, stats and contract-envelope checks. Keep the pinned reference date and keyless determinism.
- Audit active examples and guidance repository-wide for the old persona and its derived facts. Preserve historical measurements and transcripts accurately, with explicit supersession notes where needed; never relabel an old measurement as a new run. New public captures use only Odysseus.
Out of scope
- Changing retrieval algorithms, product behaviour, public JSON/protocol schemas or frontmatter semantics to accommodate fixture changes.
- Shipping a populated Odysseus brain or a fixed taxonomy into a new user's template by default; onboarding remains individualised.
- Personal data, real deployment captures, new fixture personas, paid measurement reruns, publishing a site or cutting a release.
Acceptance criteria
- The durable decision and active instructions consistently name Odysseus as the sole example corpus, explicitly including CLI docs and demonstrations. No active rule requires two personas or forbids sharing the fictional world.
- Core integration fixtures and UI examples consistently inhabit the Odysseus world. Fictional addresses use reserved domains; the whole-tree leakage gate passes unchanged.
- A real keyless CLI walkthrough indexes the migrated corpus, captures an Odysseus-world note and searches for it; documented commands and outputs agree with that run.
- A before/after scenario map in the PR accounts for existing corpus invariants and retrieval query classes. Every changed golden has an explained semantic counterpart; no assertion is dropped or weakened merely to make migration pass.
- Existing CLI/integration/contract/eval suites pass against the migrated data. Presentation snapshots and public assets affected by changed data are regenerated through their existing tooling and reviewed.
- Repository-wide search finds no active old-persona examples or dual-world requirements. Any remaining historical mention is identified and clearly historical, with no current prescriptive force.
Verification
Run bun run test, bun run typecheck, bun run lint, the leakage gate, decision-citation checks and required packaging/contract checks. Exercise affected Storybook/visual capture paths in their pinned environment and run the keyless CLI walkthrough against a temporary copy. Review goldens for preserved test intent; where a guard/assertion changes, demonstrate that breaking the protected behaviour fails the intended assertion. No API key or network-dependent test is introduced.
Contract impact
Fixture content and illustrative outputs change; public envelope/schema/frontmatter contracts do not. Update illustrative contract examples if they embed the former corpus, and follow the contract process for that documentation. A discovered runtime contract change is separate work requiring its own ruling. Follow the release skill for any change to shipped package content or required changesets; no release is authorised here.
Activity
schlessera commentedon Oct 1, 2026
Taking #625 following the explicit issue selection. Claim token:
01a0f2a3-625. Intended branch:refactor/625-odysseus-corpus-01a0f2a3. I will preserve the existing scenario invariants, record the superseding corpus decision, and verify keyless CLI and pinned presentation captures.schlessera commentedon Oct 1, 2026
Priority review — 2026-10-01:
priority: p2. Implements the maintainer's sole-example-corpus ruling, which gates final launch examples and captures; the launch epic explicitly remains unscheduled. Wanted work with no recorded current/next release commitment; existing readiness and prerequisites still apply.schlessera commentedon Oct 1, 2026
Readiness verified against main
b06f09200e4db1c2aae38c413f3ea01a1a745300and the dated maintainer ruling on #608. The D19 scope restriction cited in the body is now atdocs/decisions/design-kit.md:722-725; the body records that pre-migration snapshot. The corpus keeps its engineered link/count/date matrix and all retrieval classes, with semantic counterparts for raft preparations, sail repairs and navigation. Existing dated measurements and captured transcripts will retain their original content and receive explicit historical notes. No machine schema, retrieval algorithm or new-user default taxonomy changes are planned.schlessera commentedon Oct 1, 2026
Completed in #780, squash commit
619ee2b2d48409fbd9d6a74ccc86bd73507362ac, verified on main with the exact tested tree and base.The sole-Odysseus decision and active guidance, migrated core corpus/consumers, documented real keyless CLI walkthrough, all 24 queries across 12 classes, scenario/golden map and eleven restored mutation receipts are complete. Final-head CI passed 8,378 unit/integration tests and 1,746 browser tests, plus packaging, typecheck/lint, leakage, runtime and contract gates. The complete pinned capture catalogue passed twice: 12 recipes, 20 byte-identical files and 72 identical gesture frames. Representative artifacts and the complete receipts are linked in the PR.
The separate intermittent local Bun loader observation is recorded in #788; its unchanged isolated test and final-head CI passed. Asset integration remains #615, whose remaining website prerequisite is #612.