Repository navigation
Description
Purpose
This is the canonical dependency order for turning the current capture and distillation slice into a private ambient context runtime. GitHub issue bodies and acceptance criteria are executable specifications. docs/NEXT.md is a local mirror and decision index; docs/RETRO.md is append-only verified history.
Product gate
The system must turn separate microphone, system-audio, and screen observations into one evidence-backed, correctable, persistent piece of work. Convergence links evidence; it never destroys source identity. Every dynamic value must answer how it was derived.
Ordered execution
0. Align the execution loop
- chore(workflow): synchronize /next and /retro with the GitHub issue dependency graph #173 — synchronize /next and /retro with this dependency graph
1. Make sensing safe, truthful, and replayable
- security: engine binds all interfaces + WS /events has no origin check — LAN/drive-by read of live capture #123 — authenticate and constrain the local control plane
- tools/fixtures record/replay harness (P0 key tool, absent on disk) #32 — deterministic record and replay fixtures
- feat(senses): truthful live lanes for microphone, system audio, and screen #174 — truthful microphone, system-audio, and screen lanes
- qa(screen): prove the OCR and VLM pipeline end to end on real frames #175 — prove OCR and VLM end to end on real frames (closed 2026-07-14 via PR qa(screen): prove the OCR/VLM pipeline end to end on real frames #198; owner-decision close — the landed-head rig measurement moved to qa(screen): run the v3 vision-live rig proof on the landed head #199, owner-hardware gate, non-blocking)
- audit: trace path from one input through engine steps to output — correlation ids, STT provenance, multi-hop ledger #116 — append-only observations and universal derivation graph (code landed 2026-07-16 via PR feat(audit): trace one input through engine hops to output (#116) #205 at
39be207, all suites green on the exact head; open solely for the owner-hardware live parakeet walk — DoD item 4)
Gate: live sources remain independently visible and replayable; raw capture is not exposed through generic events; OCR status is proven rather than assumed.
Open phase-1 follow-ups: #206 (privacy seams) closed 2026-07-16 — repaired inside PR #205 and verified per-criterion at 39be207. #199 (owner-run vision-live proof), #200 (rig-claim reconciliation), and #201 (deterministic delta-gate regression) are non-blocking parallel work. #207 CLOSED 2026-07-16 at 72df256 via PR #216 — the served screen-trace e2e now drives a real screen frame through the production capture route and the real screen processor to the rendered Trace page (all 3 ACs met; assertions non-tautological; test-only diff). #116's sole remainder is an owner gate; phase 2 (#176) is dependency-satisfied for agent work.
Platform follow-up: #1 (Windows/WSL backend) stays open — PR #197 landed 2026-07-16 at be75cd1 delivering build+test parity only (backend builds, full suite passes, engine binds and is adopted on native Windows) and hardening cross-platform test infrastructure; it explicitly does not make openinfo usable on Windows and documents a mode-restriction security gap in docs/WINDOWS-WSL-NOTES.md. Non-blocking for the ordered slices.
Phase-2 follow-ups filed 2026-07-16 from the #176 slice-1 retro (session-semantics audit): #210 (honest display-scope resolution — session:'current' must never fall back to whole-workspace history when no session is live; independent of #176) and #211 (episode naming — derive/persist an append-only, provenance-carrying session title from the currently-unwired orientation judge output). #210 CLOSED 2026-07-16 at c1cd5d9 via PR #214 — one runtime authority (SenseLaneTracker.currentSessionId) now scopes both the record-query resolver and GET /sessions?live, so a stale unended session from a prior process never renders as current; all 3 criteria met and verified (retro fifty-third), gates green (contracts 103 / fixtures 15 / client 567 / engine 987), main CI green. Non-blocking copy polish spun out as #215 (hud-voice honest empty-state why-lines for session-scoped blocks) — #215 CLOSED 2026-07-16 at f538b58 via PR #219 (see the phase-2 checklist entry). #211 CLOSED 2026-07-16 at fe2188d via PR #217 — episode naming: orientation-judge output now derives a persisted append-only SessionTitling with provenance (no second model invoke), a user rename stays sovereign both directions, and tray/HUD/status render the derived title in place of an id/placeholder; all 3 ACs met (retro fifty-fourth). Counts at head: contracts 106, engine 1012, client 570.
Rig-QA-wave follow-ups (2026-07-17, from owner hands-on QA of the shipped v0.0.20 build — these are QA findings, not roadmap checklist lines): #223 CLOSED 2026-07-17 at 8ebb565 via PR #224 — the copy affordance put the block's display composite (units/micro-state/attribution tags) on the clipboard instead of the bare entity value; fixed across all 11 copy-payload producers, with the retro-worthy lesson that renderer.test had encoded the bug (assertions must pin the bare value and negative-guard decoration). #222 CLOSED 2026-07-17 at eec9c02 via PR #225 (+ hardening d1bd387) — the chat input cluster: focus-thief on the ~1/s live-refresh (innerHTML wipe restored draft text but not focus/caret) repaired with a one-shot focus-snapshot + IME composition defer/flush, Enter=submit / Shift+Enter=newline gated on focus, and a calm status strip (clean answer shows nothing; degraded turns in human words; machine note behind a hover title); verified non-tautologically at DOM level plus a genuine real-Electron driven proof (GUI-gated out of headless CI per repo precedent — real cross-window focus is the honest rig re-verify remainder), with post-verdict hardening for the composition-strand and snapshot-leak findings. A third rig finding — screen context "not reaching chat" — was a READ-ONLY investigation, no issue filed: the screen→chat seam is wired AND consumed, and the behavior is explained by privacy-first config defaults (client screenEnabled OFF, fabric ocr slot empty, screen.ocr flag OFF, LAN OCR needs trustRawFrames) plus a disclosure gap (the note shows category not actionable reason) already owned by open #180 (its AC "Missing, stale, denied, or failed screen context is disclosed"); the owner rig recipe (A: screenEnabled on + status line; B: fill the ocr slot loopback-or-trusted, working state = screen(1) in the note; C: screen.ocr for ambient) is recorded in RETRO entry fifty-six for reuse. Calm-strip copy residuals (mutually-exclusive degraded lines; verbatim machine-y reason passthrough) join the hud-voice / #180 copy-quality stream — no new issue. Gates on eec9c02: contracts 110 / fixtures 15 / client 587 / engine 1035; main CI green.
2. Build context and memory from evidence
- feat(context): converge separate senses into inspectable ContextPackets #176 — inspectable ContextPackets (closed 2026-07-16 at
5a02df3via PR feat(context): converge separate senses into inspectable ContextPackets (#176 slice 1) #209 slice 1 + PR feat(context): live ContextPacket producer + Context-packets diagnostics (#176 slice 2) #212 slice 2 + PR fix(index): source-level NUL byte made produce-packets.ts diff as binary #213 micro-repair; all 9 acceptance criteria met and verified. Slice 2 landed the two deferred criteria: the diagnostics rendering surface (Settings → Diagnostics → Context packets, proven by a driven served e2e) and a live producer wired at thesession.endedseam so packets materialize during normal capture. Gates green: contracts 103 / fixtures 15 / client 567 / engine 985; main CI green on the head) - feat(memory): hierarchical rolling, five-minute, session, and project summaries #177 — rolling, five-minute, session, and project summaries (CLOSED 2026-07-16 across two slices: slice 1 at
aa95245via PR feat(memory): hierarchical rolling, five-minute, and session summaries (#177 slice 1) #218, slice 2 atfc0d627via PR feat(memory): episode + project summaries, raw-media-expiry proof, human-UI emphasis, per-scope config (#177 slice 2) #220, with hud-voice: honest empty-state why-lines for session-scoped blocks when no session is live (#215) #219's no-current-session disclosure as supporting kin. All 10 acceptance criteria met and fresh-eyes verified — slice 1: typed 5-level contract, refs-to-evidence children, bounded inputs, append-only supersession, session-end durable flush, cadence/template as config documents, deterministic no-duplicate replay, honest degraded state, same Layered egress-consent policy: endpoint / prompt-field / mode-workspace / content-class #64/Guard slot: content/PII filter on egress-marked hops (redact-and-continue / hold-and-surface) #63 egress+guard chain; slice 2: episode lattice (parallel rollup over rolling, not double-counted) + projectlatestOverallwhole-scope singleton supersession (later sessions folded in without losing prior revisions), raw-media-expiry honest trace (walkSummaryTrace+GET /summaries/trace; raw capture transient-by-design, expired sources honestly marked), default human-UI emphasis (HUD leads with five-minute + session cards, sentence-level distillate stream to Diagnostics, driven served e2e), per-scope template resolution (app>workflow>workspace).summaries.enabledships default OFF (consistent with all processing flags, inert without distill, on-match cards ⇒ no empty card on fresh install). Gates onfc0d627: contracts 110 / fixtures 15 / client 574 / engine 1035; main CI green. Non-blocking test-depth residuals tracked in Summary determinism + privacy test depth: episode/project two-run replay, project egress-seam assertion, session-end serialization note (#177 follow-up) #221) - hud-voice: honest empty-state why-lines for session-scoped blocks when no session is live #215 — hud-voice honest empty-state why-lines for session-scoped blocks (CLOSED 2026-07-16 at
f538b58via PR hud-voice: honest empty-state why-lines for session-scoped blocks when no session is live (#215) #219; spun out of Honest display-scope resolution: never fall back to whole-workspace when a session is not live #210's copy polish) — thenoCurrentSessiondisclosure distinguishes "no session running" from "live but nothing captured yet," six blocks get distinct honest empty copy, non-tautological cross-contamination tests bind copy to the real scope authority. Minor fields-toggle wording note, no new issue. Gates green (contracts 110 / fixtures 15 / client 574 / engine 1035) - feat(memory): evidence-backed claims and a relationship graph #178 — evidence-backed claims and relationship graph (slice 1 substrate landed 2026-07-17 at
62cc1f4via PR feat(memory): evidence-backed claims and relationship-graph substrate (#178 s1) #239, fresh-eyes verified — Claim contract withminItems:1evidence-mandatory, per-workspace store, deterministic model-free co-occurrence builder, sovereignty viaresolveClaimHeads(reject survives re-derivation + supersession), two-store byte determinism, depth-1 walk, served/claims*routes. Stays OPEN for judge-enriched semantic relations, similarity retrieval, UI/feat(entity): local candidate search and typeahead person confirmation #181 typeahead, cross-workspace grants feat(apps): introduce a real AppRuntime and AppInstance #182. Minor walk-specific rejection-test gap noted) - feat(actions): durable commitments, tasks, and read-only watchers #179 — durable commitments, tasks, and read-only watchers (slice 1 substrate landed 2026-07-17 at
605f780via PR Flags that mean what they say + time-aware capture · Closes #244 · Refs #179 #248 — the deadline substrate: optional server-stampedTodoItem.due(IsoTime) +dueSource'model'|'anchored'provenance, engine-side-60s..+60dvalidation with a deterministic "in N minutes/hours/days" fallback anchored to the window clock, surfaced as an unselectable "due " decoration. Stays OPEN for durable commitments, task lifecycle, and read-only watchers) - feat(chat): ground Ask in current ContextPackets and durable memory #180 — Ask grounded in current context and durable memory (slice 1 landed 2026-07-17 at
075341evia PR feat(chat): ground Ask in the current session's ContextPackets (#180 slice 1) #238 —packetsadded as the ninth chat context source (session/time-scoped, three sense lanes kept separate + attributed, own cap), four-layer consent verified, disclosure repair (failure reason → hover), and the real OCR→packets→Ask e2e that closes the v0.0.20 faked-seam gap. Stays OPEN for citations into the derivation graph, restart-from-durable-memory (unblocked by feat(memory): evidence-backed claims and a relationship graph #178 s1), and audio-lane replay. Privacy-audit watch:focus-lane content-class question) - feat(engine): dynamic input requests — LLM-composed asks rendered as input blocks (design note first) #135 — safe typed input-request controls
- feat(entity): local candidate search and typeahead person confirmation #181 — local entity candidate search and typeahead confirmation
Parallel research only: #137 explores same-microphone multi-speaker extraction. The simpler human confirmation flow in #181 does not wait for diarization research.
Four-slice batch landed 2026-07-17 (retro fifty-eighth), off 5f0925a (v0.0.22 cut) → 62cc1f4, each fresh-eyes verified FIT before merge (merge order #235→#238→#237→#239; head CI 62cc1f4 green). Two roadmap-adjacent findings CLOSED: #234 (BlockTypeName union drift — sessions added + all literal-union arrays as const for compile-time narrowing + a seed-validation guard, negative-probe proven; closed ab4ece1 via PR #235) and #236 (phantom mic-echo twins — AGC-off + advisory voiceIsolation capture constraints + an EchoDedupe garble tier, 0/3→3/3 red-green with a 0/5 false-positive floor; closed 7cc1ccc via PR #237; real loud-playback rig-verify is the #199-style follow-through, not a blocker). Two hygiene follow-ups FILED: #240 (a CI guard rejecting attribution trailers + raw control bytes on PR commits/diffs — four trailered commits from #214/#225/#233 escaped to main, and raw-NUL near-misses now number three: #213 shipped, #218/#239 self-caught) and #241 (de-flake the chronic parallel-load pair client seam.test + engine summaries-surface-e2e, sightings across retro entries 46/54/56/57/58).
Note-taker "perfecting" wave landed 2026-07-17 (retro sixtieth), off 8d9edde → 4f51b72, four parallel worktree slices each fresh-eyes verified (merge order #248→#249→#250→#251; head CI 4f51b72 green). #244 CLOSED (605f780 via PR #248) — flag-authoritative extraction (the workflow executor honors distill.moments/distill.index with no explicit step; a regression reproduces the silent-inert case) + time-aware to-dos (TodoItem.due, Refs #179). #245 CLOSED (0f868f8 via PR #249) — human note-taking voice across the six summary-family templates + a silence gate (DISTILL_MIN_CHARS=12 pre-gate + a NOTHING_NOTEWORTHY sentinel); rollout caveat: the distill-window template docs sit at version 2 and need a manual reset on existing rigs. #247 CLOSED (3ac9258 via PR #250) — honest pad chrome (dead nav + the hard-coded "Enrichments" header removed) + walkable session-history drill-down via a query-time sessionId remap seam (Search stays tracked #230; the GUI-gated .mjs served proof is a rig-QA item). #246 CLOSED (4f51b72 via PR #251) — sovereign in-place summary corrections (Summary.source:'model'|'user', POST /summaries/correct, resolveSummaryHeads sovereignty surviving re-derivation and moveSession), landed after a NOT-FIT→repair→FIT cycle (the #225 focus-thief recurred on the new editor; repaired with the focus/caret snapshot-restore incl. IME defer/flush). #179 opened via the #248 due-field slice. #240/#241 gained this wave's trailer near-miss #5, NUL near-miss #4, and two more flake sightings. v0.0.23 cut candidate = 4f51b72 (folds de-slop #243 + this wave + the earlier substrate batch; the rig's v0.0.22 predates all of it) — cut on owner word only.
3. Make applications real and prove a grounded HUD
- feat(apps): introduce a real AppRuntime and AppInstance #182 — AppRuntime and AppInstance ownership
- Settings v2: capability spine + per-app features + core-on defaults (owner-decided frame) #112 — scoped settings and capability spine, after feat(apps): introduce a real AppRuntime and AppInstance #182
- feat(connectors): read-only GitHub repository and pull-request connector #183 — least-privilege read-only GitHub repository and PR connector
- feat(surfaces): composable repository HUD with 5-10 evidence-backed concepts #184 — composable repository HUD with a five-to-ten concept attention budget
- feat(integration): prove the evidence-backed PR-follow-up loop #185 — evidence-backed PR-follow-up tactile proof
Platform-generalization gate: #185 must pass with replayable evidence, correction, restart persistence, raw-media retention, grounded Ask, and two surfaces over the same records.
4. Generalize only after the tactile proof
- feat(connectors): normalize and reconcile world data across user systems #190 — provider-neutral world-data normalization and cross-system reconciliation
- Workflow executor: honor per-step templateId/slot/params #27 and Workflow-manifest topology validation (graph-spec prior art) #38 — workflow configuration and topology prerequisites
- feat(workflow): durable typed graph runs with fan-out, joins, retries, and approvals #186 — durable typed graph runs
- First-class fabric tier/lane abstraction (retire the llm.judge / llm.fast name convention) #88 and judge: maxTokens 600 + thinking-on = silent no-op on a reasoning judge (whole T2 tier does nothing) #124 — invocation lanes and judge correctness prerequisites
- feat(runtime): resource governor for 16GB multi-model pipelines #187 — resource governor for a 16 GB multi-model machine
- design(surfaces): safe generative protocol using typed JSON, Markdown, and allowlisted actions #188 — safe generative surfaces using typed JSON, Markdown, and allowlisted actions
- Publish the HTTP API + WS event contract as a versioned spec #35, Document the surface-document + block spec for external renderers #36, and Extract the typed client + block-renderer into a standalone package #37 — external surface API and reusable renderer
- explore(apps): community bundle store — downloadable JSON doc bundles as installable defaults #139 — bundle distribution and community store
Cross-cutting proof and stability work
The active slice must continue to respect #5 delta gating, #6 retry deduplication, #22 soak coverage, #67 real-scenario benchmarking, #97 STT harness coverage, and #125 the local Parakeet path where relevant.
Non-negotiable invariants
- Separate source observations are retained through every derived result.
- Fast-model output is a proposal, not canonical truth.
- Human decisions create append-only sovereign corrections.
- Every displayed dynamic value resolves to provenance, freshness, confidence, and policy or egress decisions.
- External connector content is untrusted data, never instructions.
- GitHub integration is read-only by construction and credentials never enter prompts, surfaces, logs, or workspace records.
- Missing, blocked, stale, or unverified states remain visible and are never filled with guessed values.
- No arbitrary model-authored executable HTML or permissions.
Deferred until #185 passes
Full visual DAG editing, marketplace polish, broad SDK distribution, webhook relays, GitHub writes, automatic PR mutation, and a language rewrite are explicitly non-blocking and deferred.
Tracker maintenance
/next selects the first open issue whose dependencies and owner gates are satisfied. /retro verifies against that issue acceptance criteria, links evidence, updates this checklist, and creates explicit follow-up issues for remaining work. Reordering requires a recorded owner decision in a comment; historical issues and retros are preserved.
Activity
Ambisphaeric commentedon Jul 14, 2026
Batch close-out — retro 49 (2026-07-14)
mainisded8f5f8996bdb4ac0389787746f3c07129d6491; the exact Node-22 build/schema/full gate passed (contracts 100, fixtures 15, client 567, engine 899), the production-window GUI e2e passed twice, and final main CI is green.Waiting · Blocked · Turned off in Settings; runtime endpoint health remains a separate signal.The tracker body and local NEXT/RETRO mirrors are reconciled to that state.
Ambisphaeric commentedon Jul 17, 2026
Roadmap reconcile — notetaker-polish + sane-defaults wave landed (retro entry 57, 2026-07-17,
f5ba21a→36973c4).Owner rig-QA-driven wave, four merges (#231→#232→#228→#233), each fresh-eyes verified FIT before merge (one NOT-FIT→repair). Head CI
36973c4green.Dispositions:
a2dd0ca, PR feat(notetaker): summary hierarchy in the center + session history in the rail (#229 slice N1) #231) — note-taker center reads the feat(memory): hierarchical rolling, five-minute, session, and project summaries #177 summaries hierarchy + firstsessionsrenderer in the rail; v2 clobber-safe fingerprint migration.3ede6af, PR fix(distill): episode-title sane defaults — judge-lane fallback + zero-model floor + no workspace-id leakage #232) — episode titles light up from the user's fabric (judge→llm fallback + zero-model'floor'+ workspace-id de-leak).8e42199, PR fix(hud): notetaker empties name the enablement blocker; Record note drops the issue number #228) — honest-enablement empty-state copy; NOT-FIT→repair registered the named toggles + a negative-probe-proven cross-check test.36973c4(PR feat(client): in-window session start/stop control (#136) #233), consent-audited (single lifecycle, single grant site, no auto-start). Remaining DoD: new-call switch suggestion + participant hand-off (deferred); GUI bridge→consent→capture round-trip is the named rig-verify remainder.Still open / new:
sessions/BlockTypeNamecontract drift surfaced during feat(client): in-window session start/stop control (#136) #233 verification (block type used by seed doc + client renderer, absent from the union; masked by non-as conststring widening + absent runtime surface validation). System-only additive fix.Next roadmap target remains #178 (evidence-backed claims + relationship graph) — the next open, dependency-satisfied phase-2 head by this tracker's order. #116 stays open solely on the owner-hardware live parakeet walk (DoD item 4). v0.0.22 cut dispatching in parallel off
36973c4(separate release agent).Ambisphaeric commentedon Jul 17, 2026
Roadmap reconcile — de-slop slice landed (retro entry 59, 2026-07-17,
62cc1f4→8d9edde).Owner v0.0.22 rig-QA found a THIRD slop class distinct from the closed copy-button (#223) and chat (#222) classes: a native text selection (double-click / drag / select-all) captured row decorations along with the value. Three read-only research agents ran first (decoration census, notetaker truth map, persistence/reset story); then #242 filed → PR #243 → fresh-eyes FIT → squash-merged
8d9edde. Head CI8d9eddegreen.Disposition:
8d9edde, PR Make row decorations unselectable; de-slop residual machine-voice strings #243) — (A)user-select:noneon every decoration class instyles.ts/panel-styles.ts, values stay selectable, newselection-hygiene.test.tsderives the suppressed class set from the actual stylesheet with a by-construction negative probe; (B) residual machine-voice strings de-slopped (banned vocabulary, internal lane name, roadmap-phase + tracker refs, raw exception under the chat box → hover-title, raw citation ordinal, empty-payload degraded Copy); (C) url-kind pinned-doc copy pins the full canonical URI with negative guards. One MEDIUM pre-existing finding (drafts "distillates" vocabulary) folded in pre-merge.Research findings recorded as NEXT.md candidate queue items — NO issues filed (owner has not picked):
sessionsrows are read-only, no path in).Lesson recorded: the initial diagnosis over-weighted default-OFF feature flags; the actual config had them on and the felt deadness was the borked select/copy/paste loop — verify the user's real config before diagnosing from fresh-install defaults.
Next roadmap targets by this tracker's order: #180 slice 2 / #178 slice 2 (both landed slice 1 last cycle, stay OPEN); #179 (commitments/watchers) now unblocked; fillers #199/#200/#201/#221/#230 + #240/#241. #116 stays open solely on the owner-hardware live parakeet walk (DoD item 4). v0.0.23 cut candidate =
8d9edde(folds the four substrate merges + this de-slop slice); cut only on owner word.