Skip to content

roadmap: ambient context runtime — canonical ordered execution tracker #189

Open

Description

@Ambisphaeric

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

1. Make sensing safe, truthful, and replayable

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

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

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

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

  1. added
    platform
    mvp
    on Jul 13, 2026
  2. Ambisphaeric commented on Jul 14, 2026

    @Ambisphaeric
    OwnerAuthor

    Batch close-out — retro 49 (2026-07-14)

    The tracker body and local NEXT/RETRO mirrors are reconciled to that state.

  3. Ambisphaeric commented on Jul 17, 2026

    @Ambisphaeric
    OwnerAuthor

    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 36973c4 green.

    Dispositions:

    Still open / new:

    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).

  4. Ambisphaeric commented on Jul 17, 2026

    @Ambisphaeric
    OwnerAuthor

    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 CI 8d9edde green.

    Disposition:

    Research findings recorded as NEXT.md candidate queue items — NO issues filed (owner has not picked):

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    mvpplatform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions