Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit f95ce80cd0804f8074f3319bfc36419845b372e0
parent 051ab2fd9e1a71de05c8c4784ad8f214e49439b7
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 11:07:35 -0400

plans: umtool redesign — R6 triage first (code → local model → better model with tools) and the co-host pilot, operator-approved

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mplans/umtool-redesign.md | 42++++++++++++++++++++++++++++++++++++++----
1 file changed, 38 insertions(+), 4 deletions(-)

diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md @@ -185,10 +185,11 @@ Each phase: its own branch from `main` (or the current integration branch), gate NOW (beside r28) AFTER r28 IS ON main P0 design ─► P1 foundation ─┬─► P3 inbox/work/tools/URLs ─┬─► P2b jobs+drafts ─► P4a-1 ─► P4a-2 ─► P4a-3 ─► P4b ─┐ P2a engine ────┘ ├─► P5 create+settings (after P3) ├─► P6 - └─► R1 research: search+reader+inventory ─► R2 boards ─► R3 transparent runs ─► R4 refresh ─► R5 recurring ─┘ + └─► R1 research: search+reader+inventory ─► R2 boards ─► R3 transparent runs ─► R4 refresh ─► R5 recurring ─► R6 triage ─┘ ``` -R4 and R5 were added 2026-10-14 at the operator's request (see their sections). R4 runs beside P4a-3/P4b; its -Iterations-tab entry waits for P4b. R5 builds on R4 and on P5's Create. +R4, R5 and R6 were added 2026-10-14 at the operator's request (see their sections), and the operator approved +building all three and the co-host pilot. R4 runs beside P4a-3/P4b; its Iterations-tab entry waits for P4b. R5 builds +on R4 and on P5's Create; R6 on R4 and R5. The pilot runs after R6. ### P0 — Design (no app code; operator sign-off gates P1) - Use the frontend-design skill: @@ -346,6 +347,37 @@ The same topic, updated at an interval — e.g. a daily or weekly report of co-h - The existing hand-kept co-host timeline (`quartering-leads`, `cohosts/UPDATE.md`) is the first candidate series — a pilot after R5 ships, with the operator's go. +### R6 — Triage first: a cheap pass that flags what is worth researching (operator, 2026-10-14) +A consistent fetch, a cheap or local model that flags what is worth a look, and the better model with tools only on +what it flags. Facts it builds on (surveyed 2026-10-14): per-video **digests** already exist (chapters + topic tags, +local `qwen2.5:7b`, the `digest` lane yielding the GPU to transcription; `ai-digest.json`); the **local sweep pipeline** +(`sweep-pipeline.ts`) is code around a small local model that already judges each window `relevant`/`on_topic`; the API +sweep already splits a cheap extractor (`models.extractor`, Haiku) under the main model; there is no watch/saved-search +concept and no standing relevance filter yet. +- **Tier 0 — code, $0:** after R4's fetch + local build, the candidates are the recordings new since the last tick in + scope that match the watch's terms/aliases (enumerate) OR whose digest topic tags match the watch's topics. +- **Tier 1 — the local model, $0 marginal:** the sweep pipeline's window judge, run over the candidates' matching + windows only (`draft:local`, through the GPU arbiter, yielding to transcription; ticks default to overnight). Each + flag: recording, window, a verbatim line (code-checked), a score and one-line reason. Dismissals are kept too. +- **Escalation rule:** any flag at or above the watch's threshold (default: one strong flag, or N weak ones) → **Tier 2: + the better model with tools** — an API sweep restricted to the flagged ids (R4's `ids` restriction), within the caps, + running on its own (the operator's R4 ruling). Below threshold → the tick ends with its triage log, $0 API spend. +- **Where the result goes**, per shape: a **living report** → R4's update (an iteration-ready card); a **series** → the + edition; a **watch** (R5's third shape: no article until something is found) → an Inbox **"Worth researching"** card + with the flags and the escalated findings, plus a board (R2 case) with the flags pinned `by: "triage"`, whose + hand-offs make an article or a video. +- **Transparent and tunable:** the run page (R3) shows the tiers — candidates, each flag and dismissal with its reason, + what escalated and why, the spend per tier. The operator can mark a flag right or wrong; the watch keeps its precision + and suggests a threshold. Settings: the triage model (local by default; `models.extractor` allowed), the threshold, the + daily escalation cap. +- **Engine:** a `report-draft` step `triage` (the window judge as a standalone pass over given ids, structured flags), + reused by R5's scheduler; `trace.jsonl` gains `triage {candidates, flagged, dismissed}`. + +**Pilot (operator-approved 2026-10-14), after R6:** the hand-kept co-host timeline (`quartering-leads`, +`cohosts/UPDATE.md`; the co-host attribution hazard applies — a triage flag on a co-host line is a speaker check, not a +finding) becomes a weekly **series** with triage first: one tick run end to end on the live corpus, its triage log and +edition reviewed with the operator before the schedule is left on. + ### P6 — Cleanup, docs, audit - Redirects become 308. - Delete `/drafts`, `BrowseHeader`, the dashboard panels and dead components. @@ -409,7 +441,9 @@ The same topic, updated at an interval — e.g. a daily or weekly report of co-h | P4b benches + Media | `ux/p4b` | in progress | | R4 refresh | `ux/r4` | in progress | | R5 recurring reports | — | after R4 | -| P6 cleanup, docs, audit | — | after P4a-3, P4b, R4, R5 | +| R6 triage first | — | after R5 | +| Co-host pilot | — | after R6 (operator-approved) | +| P6 cleanup, docs, audit | — | after P4a-3, P4b, R4–R6 | ### P2a, as shipped