feat(linkedin-studio): N15 — do-next-kontrakt (recordDoNext + skrivere/lesere + forrige-utgave-kalibrering) [skip-docs]
Måling som ikke endrer neste utgave er teater: report/analyze/ab-test/48h-monitor endte alle i chat (grep do.next = 0 i hele repoet). N15 gjør kanalen til en kontrakt. - recordDoNext i hooks/scripts/state-updater.mjs (TDD, 17 nye tester): seksjonen Do-Next Directives, rader "[dato] (kilde) direktiv — evidence: peker". Levetid = erstatt-per-kilde + 60-dagers aldersgulv, maks 3 per skriv, additiv scalar last_donext_date, $-sikre replacement-funksjoner. CLI: --record-do-next. - Skrivere: report Step 7b, analyze Step 6b, ab-test 2c.6 (kun Adopt), post-feedback-monitor (kun 48h-sjekken); analytics-interpreter emitterer nå anbefalinger på do-next-form (imperativ + evidens). - Lesere: post/quick/batch/create Step 0 + newsletter Step 1, som i tillegg kalibrerer på forrige utgaves MÅLTE tall via queue-id-match (queue.json → analytics/posts) med eksplisitt honest-miss — aldri estimert. - Guards: test-runner Section 16v (15 ubetingede sjekker, floor 198 → 213), $-safety-batteriet dekker recordDoNext (coverage-gate fanget den nye eksporten). Suiter: test-runner 232/0, hooks 191/0, trends 300/0, brain 134/0, editions 72/0, specifics-bank 45/0, contract-gate 33/0, tests 35/0, render 60/0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QxvWAjte7vPcF79QeSRvRJ
This commit is contained in:
parent
f0532dce3f
commit
b45fdad911
16 changed files with 713 additions and 6 deletions
|
|
@ -220,6 +220,31 @@ Quick triage if a full audit can wait:
|
|||
- [ ] Monitor metrics closely
|
||||
- [ ] Continue high engagement activity
|
||||
|
||||
## Step 6b: Persist the plan as do-next directives (the measurement→creation contract)
|
||||
|
||||
The recovery plan above is worth nothing if the next drafting session never sees it. Turn the
|
||||
**2–3 load-bearing corrections** into do-next directives — the same channel `/linkedin:report`,
|
||||
`/linkedin:ab-test` and the 48h monitor write to, and the one every create surface reads at its
|
||||
Step 0:
|
||||
|
||||
```bash
|
||||
node --input-type=module -e "
|
||||
import { writeState, recordDoNext } from '${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-updater.mjs';
|
||||
writeState(content => recordDoNext(content, {
|
||||
recordDate: 'YYYY-MM-DD',
|
||||
source: 'analyze',
|
||||
directives: [
|
||||
{ directive: 'Keep every post inside the 3 core pillars for 14 days', evidence: 'diagnosis: profile-content mismatch, reach -55% since off-topic run' },
|
||||
{ directive: 'No external links in the post body until reach recovers', evidence: 'diagnosis: link-in-body correlates with the drop window' }
|
||||
]
|
||||
}));
|
||||
"
|
||||
```
|
||||
|
||||
Write the corrections that change the NEXT draft — not the whole checklist. `recordDoNext`
|
||||
replaces this source's previous rows and expires anything older than 60 days, so a superseded
|
||||
diagnosis cannot keep steering drafts. Confirm in one line what was persisted.
|
||||
|
||||
## Step 7: Timeline Expectations
|
||||
|
||||
Set realistic expectations:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue