commit 00b99fdd8d86005c4433af36d5ce322a181f69ca
parent 55f5339173cf99c024e17b5e55dcc063519fbd90
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 13 Oct 2026 08:02:12 -0400
plans: release 27 ratified (D1–D9 as recommended); a start-here for the implementing session
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/plans/release-27.md b/plans/release-27.md
@@ -1,8 +1,46 @@
# Release 27 — report and video generation inside the application
-Status: DRAFT for ratification (2026-10-13). This plan supersedes slices Q1–Q5 of `plans/local-llm-report-media.md`. Its
+Status: **RATIFIED 2026-10-13 — D1–D9 as recommended** (r27 = move + test; strict quotes for generated, `inexact` a warning
+for existing; the qwen sweep pipeline ported). Next: S0. This plan supersedes slices Q1–Q5 of `plans/local-llm-report-media.md`. Its
Q0 record, rulings and scope changes stand, and are the inputs here.
+## Start here (the implementing session)
+
+Read before acting:
+- `AGENTS.md`;
+- `plans/STATE.md` and `plans/FACTS.md`;
+- `plans/tools/implementer-rules.md` (an implementer subagent's brief and review);
+- this plan;
+- `plans/local-llm-report-media.md`'s record: Q0's limits for the local model, and the scope changes.
+
+**The stopgap to port**, read for behaviour and never run against the live corpus beyond its own read-only tools:
+- `~/reports/local-reports/`: `claude_api.py`, `agentloop.py`, `api_sweep.py`, `local_sweep.py`, `revise.py`, `local_narrate.py`, `seed_version.py`, `dedupe_media.py`, `gen.py`, `bin/*`, `RUNBOOK.html`;
+- the POC page `umtool/{app/drafts,lib/drafts.ts,components/drafts,app/api/drafts}`.
+
+Its lessons are in this plan's tables. Don't re-derive them.
+
+**The orchestrator** runs in the primary checkout:
+- Worktrees: `pnpm wt add <branch> --from r27/integration`, then `link-fixture-public.sh`.
+- Merges are `--no-ff`; `main` moves by `git merge --ff-only` after the gates.
+- Rollout scripts are copied from `~/reports/release-26/scripts/r26-*.sh` with MERGE and LIVE re-guarded. The umtool rollout as last run is `~/reports/local-reports/logs/umtool-rollout.sh`.
+
+**Rules that bind every slice:**
+- No Claude session links or trailers anywhere; commits end with the `Co-Authored-By` line alone.
+- Heavy work goes through the heavy slot (`node scripts/queue-lock.mjs --heavy [--estimate MB] --`), with the 6 GB floor, one `next build` at a time.
+- `/tmp` is RAM; scratch goes in the job directory.
+- No hand edits to `transcripts/**` (the registry and CLI write).
+- No yt-dlp or ASR by hand.
+- Never print the API key or the operator's source-scrub files. The key file is `~/.config/archilyzer/anthropic.env`, mode 600, read by code only.
+- Candace data is local-only and never goes in fixtures.
+- Tests use synthetic fixtures and the fake Anthropic and ollama servers. Real API calls happen only in the live smoke, within its $3.
+- Do not boot a second editor against the real corpus.
+
+**The GPU** is an 8 GB card shared by ollama (qwen3:8b), Orpheus TTS and parakeet:
+- prompts ≤ 8k tokens and `num_ctx` ≤ 12k (a 13.8k prompt hung the GPU);
+- qwen3:14b is impractical.
+
+**Sonnet 5.5** (the default API model) returns a 400 for any of these: a non-default temperature, a forced `tool_choice`, or `thinking: disabled`. Use `thinking: between_tools`. Its thinking blocks are signed, so never edit history once one is present.
+
## Why
The work is proven, but it runs in the wrong place. Since 2026-10-11, reports, revisions, narration and videos have