linkedin-studio/scripts/brain/tests
Kjell Tore Guttormsen 9e95222d12 feat(linkedin-studio): brain emits OKF-compatible form — Stage 1 (bundle=brain/, ingest/ excluded) [skip-docs]
Cross-plugin OKF convergence, Stage 1 (docs/okf-convergence-brief.md): the
second-brain hub now conforms to OKF-compatible form so a shared retrieval
skill (and a sibling agent) can traverse it.

- serializeProfile leads with a constant `type: Profile` frontmatter block
  (round-trip-safe: parseProfile skips it, parse-serialize identity holds).
- operations.md seed -> `type: Operations`; index.md seed -> `okf_version: 0.1`
  marker (markdown text; index files carry no frontmatter per OKF); new
  brain/journal/index.md (per-level index).

Premise correction: the brain is deliberately YAML-free and ingest/published
has a byte-exact round-trip invariant (SC2) a frontmatter block would break,
so the concept-bundle is scoped to brain/ ONLY; the ingest/ tributary is
excluded and pointed to from the hub. We emit frontmatter, add no parser.

Verified: new tests/okf-conform.test.ts (5/5); full brain suite 132/132 (0
regressions); cross-tool — okr/scripts/okf-check.mjs validates brain/ (exit 0).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vmzxpsFpc8q19LaogAWLD
2026-06-26 20:52:41 +02:00
..
assemble.test.ts feat(linkedin-studio): SB-S3c — cross-silo id-threading + post→analytics assembler [skip-docs] 2026-06-23 20:47:34 +02:00
cli.test.ts feat(linkedin-studio): SB-S3c — cross-silo id-threading + post→analytics assembler [skip-docs] 2026-06-23 20:47:34 +02:00
consolidate-cli.test.ts feat(linkedin-studio): SB-S3b — supersede arm in the consolidation engine [skip-docs] 2026-06-23 19:58:09 +02:00
consolidate.test.ts feat(linkedin-studio): SB-S3b — supersede arm in the consolidation engine [skip-docs] 2026-06-23 19:58:09 +02:00
fold.test.ts feat(linkedin-studio): second-brain SB-S0 foundation — brain/ scaffold + profile fold + id/provenance spine [skip-docs] 2026-06-23 14:05:24 +02:00
id.test.ts feat(linkedin-studio): second-brain SB-S0 foundation — brain/ scaffold + profile fold + id/provenance spine [skip-docs] 2026-06-23 14:05:24 +02:00
ingest.test.ts feat(linkedin-studio): SB-S3c — cross-silo id-threading + post→analytics assembler [skip-docs] 2026-06-23 20:47:34 +02:00
okf-conform.test.ts feat(linkedin-studio): brain emits OKF-compatible form — Stage 1 (bundle=brain/, ingest/ excluded) [skip-docs] 2026-06-26 20:52:41 +02:00
profile.test.ts feat(linkedin-studio): second-brain SB-S0 foundation — brain/ scaffold + profile fold + id/provenance spine [skip-docs] 2026-06-23 14:05:24 +02:00
publish.test.ts feat(linkedin-studio): SB-S3c — cross-silo id-threading + post→analytics assembler [skip-docs] 2026-06-23 20:47:34 +02:00
reconcile.test.ts feat(linkedin-studio): SB-S3e — retire dead content-history + read-side brain reconcile [skip-docs] 2026-06-23 22:13:45 +02:00
scaffold.test.ts feat(linkedin-studio): SB-S3d — operations.md ops centre (strategy-advisor reader) [skip-docs] 2026-06-23 21:28:26 +02:00