linkedin-studio/hooks/scripts/__tests__
Kjell Tore Guttormsen 2d01dfca52 feat(linkedin-studio): SB-S2 session-start scaffold-ensure + consolidation nudge [skip-docs]
session-start.mjs (zero-dep, Edit): unconditional brain/+ingest/ scaffold-ensure
(mkdir, runs on the fresh-install path too); a consolidation-due nudge in the
reminders block (counts published records + reads consolidation-state.json last_run
via getDataRoot — same root the CLI --apply writes; no profile.md parse, \n idiom,
null-safe never-nags); a brain-init nudge appended AFTER the if/else so the
fresh-install branch's context reassignment can't clobber it. + readdirSync import.
SC6 hook test (5 cases) via heredoc. Hook suite 131→136/0; no recompile (body-only edit).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RigJBiRFNtFZKCz21qNbQ4
2026-06-23 17:07:48 +02:00
..
clipboard-helper.test.mjs fix(linkedin-studio): S29d terminology-scrub — "thought leadership" → neutral (skills/config/assets/hooks-test) 2026-06-20 06:19:10 +02:00
data-root.test.mjs test(linkedin-studio): M0-3 — resolver twin-consistency test (R2) 2026-06-18 11:12:50 +02:00
ical-generator.test.mjs refactor(linkedin)!: rename plugin linkedin-thought-leadership → linkedin-studio (v3.0.0) 2026-05-29 11:32:02 +02:00
linkedin-content-filter.test.mjs refactor(linkedin-studio): M0-10 — content-filter recognizes external drafts (after negatives, before infraDirs) 2026-06-18 11:50:04 +02:00
migrate-data.test.mjs refactor(linkedin-studio): M0-4 — migrate-data.mjs atomic+locked+idempotent (created, not wired) 2026-06-18 11:21:00 +02:00
personalization-score.test.mjs chore(linkedin-studio): M0-13 — 4 D2 templates + scrub leak + scaffold fallback 2026-06-18 12:19:48 +02:00
queue-manager.test.mjs refactor(linkedin-studio): M0-5 — queue-manager.mjs via getDataRoot('drafts') 2026-06-18 11:31:56 +02:00
quick-import.test.mjs refactor(linkedin-studio): M0-6 — quick-import.mjs via getDataRoot + fix printed path 2026-06-18 11:35:14 +02:00
session-start-brain-consolidation.test.mjs feat(linkedin-studio): SB-S2 session-start scaffold-ensure + consolidation nudge [skip-docs] 2026-06-23 17:07:48 +02:00
session-start-remember.test.mjs refactor(linkedin-studio): M0-9 — REMEMBER.md materializes external (anti-pattern fix) 2026-06-18 11:48:24 +02:00
session-start-trends-staleness.test.mjs feat(linkedin-studio): trend-store staleness nudge — SessionStart B-S3 [skip-docs] 2026-06-23 12:23:53 +02:00
state-updater.test.mjs fix(linkedin-studio): S13 — close S12 WARN ($-scalar + false-green test) + $-safety lint guard 2026-05-30 19:12:45 +02:00
user-prompt-context.test.mjs refactor(linkedin-studio): M0-8 — voice read via getDataRoot (SC7) 2026-06-18 11:45:14 +02:00
week-rollover.test.mjs feat(ultraplan-local): v1.6.0 — /ultraresearch-local deep research command 2026-04-08 08:58:35 +02:00