{
  "note": "Single source of truth for the live refactor report. Claude maintains this; the Supabase report renders it. Each cell = {s: status, t: optional plain-text}.",
  "legend": {
    "done": "done and good",
    "working": "being worked on right now",
    "backlog": "assigned, in a worker's backlog, not started yet",
    "unassigned": "not assigned to anyone",
    "deferred": "deliberately parked (a decision, not neglect)",
    "na": "not applicable yet",
    "problem": "has failing/blocking issues (see text)"
  },
  "columns": [
    "Built",
    "Tested",
    "Cut over",
    "Old code removed"
  ],
  "sections": [
    {
      "name": "Engine (utterance pipeline)",
      "rows": [
        {
          "c": "Parser \u2014 9 core types (LOG, UPDATE, DELETE, CREATE_CONTAINER, STATE_TOGGLE, CONTEXT_SET, INTERNAL_QUERY, SETTINGS, NAVIGATE)",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "corpus-proven; live in production path"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred",
            "t": "via shell rewrite"
          }
        },
        {
          "c": "Parser \u2014 CLARIFY",
          "who": "A1+C2T",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "working",
            "t": "180-row corpus landed; harness support being audited (TOMB)"
          },
          "cutover": {
            "s": "backlog",
            "t": "ramp R2: CLARIFY is a module OUTCOME, not a route \u2014 rides module cutover; corpus measures resolution thresholds"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Parser \u2014 CLARIFY_ANSWER",
          "who": "A1+C2T",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "working",
            "t": "multi-turn corpus landed; harness (2-turn seeding) being audited"
          },
          "cutover": {
            "s": "backlog",
            "t": "ramp R3 (LAST \u2014 it produces writes): pending-first routing + answer merge; gated by 34 CA-write corpus rows at LOG-grade evidence"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Parser \u2014 DECLINE",
          "who": "A1",
          "built": {
            "s": "working",
            "t": "partial"
          },
          "tested": {
            "s": "working",
            "t": "corpus landed"
          },
          "cutover": {
            "s": "backlog",
            "t": "ramp R1 (FIRST \u2014 no-write by definition): gate = 100% zero-unexpected-writes on 30 corpus rows"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Parser \u2014 OTHER (safety class)",
          "who": "A1",
          "built": {
            "s": "working",
            "t": "partial"
          },
          "tested": {
            "s": "working",
            "t": "corpus landed (70 rows incl. 25 stretch/trap)"
          },
          "cutover": {
            "s": "backlog",
            "t": "ramp R1 with DECLINE: OTHER is the fail-closed floor; gate = 100% zero-unexpected-writes on 70 rows"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Parser \u2014 EXTERNAL_QUERY",
          "who": "",
          "built": {
            "s": "deferred",
            "t": "backlogged feature (Howard ruling)"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Router (commandRouting)",
          "who": "C1",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "9 of 14 types proven"
          },
          "cutover": {
            "s": "working",
            "t": "type-ramp: 9/14 live; legacy classifier handles the other 5"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Middle engine / resolution",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Verifier (deterministic)",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Applier (write-before-claim)",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "contract + DB-verified certs"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Shared command request",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Deterministic fast path",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Pending / clarification state",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done",
            "t": "essentially complete"
          },
          "removed": {
            "s": "deferred"
          }
        }
      ]
    },
    {
      "name": "Modules (utterance domains)",
      "rows": [
        {
          "c": "Todos",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "gate-runner DB-verified cert"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Notes",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "gate-runner DB-verified cert"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Lists",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "gate-runner DB-verified cert"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Settings",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "gated behavior-neutral"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "working",
            "t": "inline applier already deleted; rest via shell rewrite"
          }
        },
        {
          "c": "Navigation",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "contract tests"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Feedback",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "via applier"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Voice-controls (stop/mute)",
          "who": "",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Workout",
          "who": "C1",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "working",
            "t": "session+set unit tests pass; runtime cert runs once the Mini builds"
          },
          "cutover": {
            "s": "working",
            "t": "proposed-action applier extracted+gated (333a4a5fa); remaining: reps/start-end write intents \u2014 then FULL workout cutover (fires the Fable architecture audit)"
          },
          "removed": {
            "s": "working",
            "t": "-109 lines pulled so far"
          }
        },
        {
          "c": "Food",
          "who": "C1",
          "built": {
            "s": "done"
          },
          "tested": {
            "s": "done",
            "t": "extracted appliers pass their own module tests (10/10)"
          },
          "cutover": {
            "s": "done",
            "t": "all 7 action appliers extracted into src/modules/food (delete/macro/identity/log/meal/plan/output)"
          },
          "removed": {
            "s": "deferred"
          }
        },
        {
          "c": "Water",
          "who": "",
          "built": {
            "s": "deferred",
            "t": "Howard: deal with later (handler-based, no module yet)"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Work log",
          "who": "",
          "built": {
            "s": "unassigned",
            "t": "low-traffic; decide with Water"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "General / conversation catch-all",
          "who": "",
          "built": {
            "s": "unassigned",
            "t": "tied to the OTHER-type ramp"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        }
      ]
    },
    {
      "name": "UI screens \u2014 parallel transcription for the new shell (de-serialized; read-only App.tsx, new files only)",
      "rows": [
        {
          "c": "Food screens (~1,340 lines) \u2014 BENCHMARK cluster",
          "who": "C2U",
          "built": {
            "s": "working",
            "t": "C2U transcribing food screens (TIMED benchmark); reads via parity map; writes dispatch-only"
          },
          "tested": {
            "s": "working",
            "t": "gated PASS; part of C2U solo UI sprint"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:55:33Z"
        },
        {
          "c": "Workout screens (~1,450)",
          "who": "C2U",
          "built": {
            "s": "working",
            "t": "C2U: workout screens PASSED (boundary-clean, dispatch-only)"
          },
          "tested": {
            "s": "working",
            "t": "boundary guard green; gated"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:55:33Z"
        },
        {
          "c": "Voice/main + chat screens (~2,500)",
          "who": "C2U",
          "built": {
            "s": "working",
            "t": "C2U: main-voice-shell UI transcribed + gated (24/24 boundary, dispatch-only)"
          },
          "tested": {
            "s": "working",
            "t": "boundary green"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T19:19:13Z"
        },
        {
          "c": "WorkLog screens (~1,050)",
          "who": "",
          "built": {
            "s": "deferred",
            "t": "Deferred per Howard 2026-07-03 \u2014 worklog UI transcription parked; revisit after the core modules"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:59:21Z"
        },
        {
          "c": "Notes / Todos / Lists / Settings screens (~1,320)",
          "who": "C2U",
          "built": {
            "s": "working",
            "t": "C2U: todos+lists+notes+settings screens all PASSED (16/16 boundary, dispatch-only)"
          },
          "tested": {
            "s": "working",
            "t": "boundary guards green; gated"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:55:33Z"
        },
        {
          "c": "Food Lab + admin/debug panels (~3,060)",
          "who": "C2U",
          "built": {
            "s": "working",
            "t": "C2U: food-lab + admin panels transcribed + gated (part of 22/22 branch)"
          },
          "tested": {
            "s": "working",
            "t": "boundary green"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T19:19:13Z"
        },
        {
          "c": "Conversation UI (~700)",
          "who": "C2U",
          "built": {
            "s": "working",
            "t": "C2U: conversation UI transcribed + gated (part of 22/22 branch)"
          },
          "tested": {
            "s": "working",
            "t": "boundary green"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T19:19:13Z"
        },
        {
          "c": "Main render + styles (~3,575)",
          "who": "",
          "built": {
            "s": "unassigned",
            "t": "shrinks as screens extract"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        }
      ]
    },
    {
      "name": "New spine (the ~2K shell that replaces App.tsx)",
      "rows": [
        {
          "c": "New shell \u2014 spec/design",
          "who": "A1",
          "built": {
            "s": "done",
            "t": "spec complete: FABLE_NEW_SHELL_SPEC_20260703.md (Claude-as-Fable) \u2014 transcription rule, manifest, phases, acceptance"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "New shell \u2014 build (App shell + root state, ~5,500 lines)",
          "who": "C1S",
          "built": {
            "s": "working",
            "t": "P1 CLOSED 2026-07-03: F2 durable-write DB-verified (real todo_items row via new shell on sim). Full chain proven. P2 parity transcription underway"
          },
          "tested": {
            "s": "working",
            "t": "P1 exit met (boots+routes+navigates + REAL DB write, DB-verified); P2 parity next"
          },
          "cutover": {
            "s": "na",
            "t": "swap = differential-replay proof (old vs new shell)"
          },
          "removed": {
            "s": "na",
            "t": "old App.tsx parked as reference at swap; never line-deleted"
          },
          "updated": "2026-07-03T18:32:35Z"
        }
      ]
    },
    {
      "name": "Infrastructure & tooling (non-module workstreams)",
      "rows": [
        {
          "c": "Gate-runner (runtime replay + DB-verify cert plane)",
          "who": "A2",
          "built": {
            "s": "done",
            "t": "certified overnight"
          },
          "tested": {
            "s": "done",
            "t": "caught + confirmed a real bug"
          },
          "cutover": {
            "s": "problem",
            "t": "BLOCKED on Howard: Mini needs the Developer-Tools TCC grant for Claude (simctl blocked). Build done+staged; runs the moment it clears."
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:40:36Z"
        },
        {
          "c": "slice-gate.mjs (automated per-slice code review)",
          "who": "",
          "built": {
            "s": "done",
            "t": "Grok-built, Claude-gated; already issued real verdicts"
          },
          "tested": {
            "s": "done"
          },
          "cutover": {
            "s": "done",
            "t": "in use"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "gate-dispatcher (watches branches, auto-invokes gates)",
          "who": "C1O",
          "built": {
            "s": "done",
            "t": "C1O gate-dispatcher watcher PASSED (3763724d0, 4/4); loop-arm deferred to A1"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:24:24Z"
        },
        {
          "c": "Wake-bus (cross-machine poke/wake, Supabase Realtime)",
          "who": "C1O",
          "built": {
            "s": "working",
            "t": "Step 2 listener + tests + model probe + schema proposal + dry-run log BUILT (unarmed). Pending: A1 gate of schema/dry-run, then Howard authorizes (a) live wake_requests table apply (b) standing-arm."
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:38:30Z"
        },
        {
          "c": "Conversational corpus (180 rows, 4 types, core/stretch tiers)",
          "who": "",
          "built": {
            "s": "done",
            "t": "Grok-built, Claude-gated, landed"
          },
          "tested": {
            "s": "done",
            "t": "validator clean; content-gated"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Harness extensions for conversational types (2-turn seeding, ask/no-write scoring)",
          "who": "C2T",
          "built": {
            "s": "done",
            "t": "R0 normalization layer gated PASS (typed_v2 CLARIFY/CA/DECLINE/OTHER -> expected fields + queue context threading)"
          },
          "tested": {
            "s": "working",
            "t": "running 180-row baseline scorecard on C2T sim"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          },
          "updated": "2026-07-03T18:24:24Z"
        },
        {
          "c": "Full-corpus BASELINE bank (old-shell side of the swap diff)",
          "who": "A2",
          "built": {
            "s": "backlog",
            "t": "queued after shakedown cert"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Differential-replay tooling (old vs new shell diff)",
          "who": "A1",
          "built": {
            "s": "backlog",
            "t": "Lane-H; after baseline banks"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "safe_food_fast_path_match widening (food coverage fix)",
          "who": "C2",
          "built": {
            "s": "working",
            "t": "read-only proof staged (ba2d63868) \u2014 Claude gating"
          },
          "tested": {
            "s": "working",
            "t": "v1 proven read-only: coverage +10 (14\u219224/66) AND false-admits improve (11\u21926, blocker-risk 0); v2 iterating before Howard decision"
          },
          "cutover": {
            "s": "na",
            "t": "ships STAGED for Howard"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Anti-drift fitness fns wired into spine CI",
          "who": "",
          "built": {
            "s": "unassigned",
            "t": "tools exist (ratchet/sole-writer/boundary-lint); CI wiring awaits Howard's call"
          },
          "tested": {
            "s": "na"
          },
          "cutover": {
            "s": "na"
          },
          "removed": {
            "s": "na"
          }
        },
        {
          "c": "Fleet reporter (C2R on Codex-2) \u2014 polls members q15m, drift-detection vs ledger",
          "who": "C2R",
          "built": {
            "s": "done",
            "t": "relocated C1R\u2192C2R per token-pool rule; C1R archived by Howard"
          },
          "tested": {
            "s": "done",
            "t": "live+registered, sole reporter"
          },
          "cutover": {
            "s": "done",
            "t": "standing"
          },
          "removed": {
            "s": "na"
          }
        }
      ]
    }
  ],
  "who_codes": {
    "_rule": "Codes are ARBITRARY IDs (license plates), not job titles - a repurposed thread KEEPS its code; current duties live in the assignment ledger. No thread is 'boss' of others (A1 coordinates). Legacy codes grandfathered (C1, C2 bare; C1S, C2T etc). NEW threads: instance + next unused letter, no meaning implied.",
    "A1": "Claude (overseer thread)",
    "A2": "Claude on Mac Mini",
    "C1": "Codex instance 1, thread 1 (currently: spine cutover)",
    "C1O": "Codex 1 thread (currently: dispatcher/wake-bus)",
    "C1S": "Codex 1 thread (currently: new-shell build)",
    "C1R": "Codex 1 thread (currently: fleet reporter - pending)",
    "C2": "Codex instance 2, thread 1 (currently: data/DB)",
    "C2T": "Codex 2 thread (currently: harness audit)",
    "C2A": "Codex 2 thread (currently: reports)",
    "G": "Grok (headless)"
  },
  "grok": {
    "last_contact": "2026-07-03T19:19:13Z",
    "last_interaction": "write-path inventory delivered (gated); permanent member",
    "channel": "A1-managed headless; PERMANENT"
  },
  "time_rule": "ALL times in this file/report are US Eastern Time (Howard rule 2026-07-03)",
  "waiting_on_howard": [
    {
      "id": "a2-tcc-grant",
      "severity": "blocker",
      "status": "verified",
      "who": "A2 / Mac Mini",
      "what": "A2 STILL blocked: turn on \"Developer Tools\" for Claude specifically + QUIT & RELAUNCH Claude.app on the Mini",
      "why": "Your grant enabled Automation (that works now), but simctl needs the SEPARATE \"Developer Tools\" toggle (System Settings \u2192 Privacy & Security \u2192 Developer Tools \u2192 Claude ON), and that permission usually needs a full Claude.app quit+relaunch on the Mini to take effect. A2 will retest simctl the instant it is done.",
      "thread": [
        {
          "who": "a1",
          "text": "Got your confirmation on the Developer-Tools grant + restart \u2014 A2 is retesting simctl now; I will verify when it reports a real cert."
        },
        {
          "who": "a1",
          "text": "VERIFIED \u2014 your Developer-Tools grant + restart fixed the permissions (A2 confirmed simctl + osascript work). A2 then found a separate technical issue (the dev/login handler is missing on main) \u2014 that is on C1/me now, not you. Thanks!"
        }
      ]
    },
    {
      "id": "wake-bus-go-live",
      "severity": "eventually",
      "status": "verified",
      "kind": "question",
      "who": "C1O / decision",
      "what": "Authorize the wake-bus to go live (C1O built it, I gated it \u2014 2 approvals needed)",
      "why": "C1O finished + I passed the autonomous wake-bus (lets the fleet self-heal: poke/wake/restart idle threads without you). To turn it on: (a) apply 2 coordination tables to the live DB (wake_requests + wake_log), (b) arm the listener. My recommendation: approve (a), and arm (b) as a SUPERVISED trial (I watch the first actions). Not urgent \u2014 reply here with go / hold / questions.",
      "thread": [
        {
          "who": "howard",
          "text": "ok approved"
        },
        {
          "who": "a1",
          "text": "Approved \u2014 dispatching C1O to apply the wake_requests+wake_log schema and arm the listener in SUPERVISED mode (first live actions logged to me for review before full autonomy)."
        }
      ]
    }
  ],
  "waiting_on_howard_rule": "A1 maintains every sweep. severity: blocker=fleet stalled on Howard (red) vs eventually=nice-to-have (amber). status: open -> pending (Howard clicked I-did-this) -> verified (A1 confirmed, strike-through) -> removed after ~30min/a few cycles. Real timestamps only (read date, never fabricate).",
  "backlog": [
    {
      "id": "day-rollover-setting",
      "what": "Settings: \"My day starts at [time]\" (default local midnight) \u2014 user-configurable day boundary for food totals/summaries/day-scoped context/streaks",
      "why": "Howard 2026-07-03: late-night users want 1-2am food counted as prior day",
      "source": "ARCHITECTURE_TIME_LOCALE_MANDATE_20260703.md"
    },
    {
      "id": "local-tz-audit",
      "what": "Audit + centralize all day/time math to a user-local-timezone service (no server/UTC-display leakage); multi-tz verifier tests",
      "why": "Howard mandate 2026-07-03 \u2014 day decisions must use user location tz",
      "source": "ARCHITECTURE_TIME_LOCALE_MANDATE_20260703.md"
    }
  ],
  "component_audited_at": "2026-07-03T19:19:13Z",
  "fleet_qa": {}
}