From eabf8b5ace259d7c4907f9a7f68d810735b396d0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 23:49:53 -0600 Subject: [PATCH] docs(planning): record the PM console and its public address One Done row and one Progress entry: what shipped (#12360, #12412, #12422, #12423), the commands that check it, what is left for a person (#12417) and what is not done (the app has not run on a phone; the dashboard has no link to the console, #12416). Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF --- planning/plans/2026-11-21_results-first.md | 54 +++++++++++----------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/planning/plans/2026-11-21_results-first.md b/planning/plans/2026-11-21_results-first.md index a7a1207100..872e99feaf 100644 --- a/planning/plans/2026-11-21_results-first.md +++ b/planning/plans/2026-11-21_results-first.md @@ -36,32 +36,33 @@ Two `id` tracks, three fleet changes, one rule for decisions. ### Done (checked against GitHub on 2026-11-21) -| What | Evidence | -| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Path to Phase 12: all 14 ordered steps | #1235 closed 2026-11-08 | -| Validation audits, Phases 0–11 | #1075, #1076, #1077, #1078 closed 2026-10-27 | -| Phase 11 foundations | Every F11 issue in the [`id` roadmap's tracker table](../roadmaps/id.md) is closed | -| Phase 12: 14 of 18 items | Closed: F12.1 #807, F12.2 #556, F12.3 #835, F12.4 #1061, F12.6 #1063, F12.7 #1064, F12.8 #1065, F12.9 #1066, F12.13 #806, F12.14 #1068, F12.15 #558, F12.16 #559, F12.17 #1069, F12.18 #560 | -| Phase 13: 5 of 8 items | Closed: F13.1 #783, F13.2 #784, F13.3 #785, F13.7 #789, F13.8 #790 | -| `pkgs/id` split into 14 crates | #3447 closed 2026-11-13; `pkgs/id/crates/` holds 14 members | -| Phase 14 decided, first designs written | Plan of record #6312; v1 designs closed for hosted worlds #6283, discovery #6287, ecosystem #6291, shells #6296, creator tooling #6308 | -| #9106 summit design agreed | PR #9238 merged 2026-11-13; 384 statements mapped to 126 issue rows | -| #9106 first library code | `id-core`, `id-sync` and `id-store` PRs merged 2026-11-16 to 2026-11-19 (for example #11939, #11947, #11988) | -| One fleet queue, unfiltered claims | PR #8438 merged 2026-11-11; FDR-0001 to FDR-0012 in `doc/decisions/` | -| Self-mirroring of this repo's issues stopped | #11748 merged 2026-11-18, after 299 copies were filed in two days | -| Roadmap drift found in this review, fixed | This plan's PR: `ROADMAP.md`, `planning/roadmaps/id.md`, `planning/plans/README.md` | -| Scoreboard tool, three skills | This plan's PR: `scripts/fleet/flow-report/`, `.agents/skills/next-work`, `feature-slice`, `decide-and-proceed` | -| Agent front door: `fleet agent`, `fleet shell` | #12227: enrol any kind of agent; `fleet agent next` walks push, queue, shortlist, priority; `fleet shell` runs builds on the laptop or a codespace. [Design](../../doc/2026-11-21T11-30-00Z_design_fleet-agent-front-door/2026-11-21T11-30-00Z_design_fleet-agent-front-door.md) | -| Queue refuses waits on a person | #12227: `fleet queue park` and `block` exit 2 unless the wait is a hands item; 13 tests, 5 of them against the real binary | -| Three more build surfaces in rotation | #12227: `fleet-org`, `fleet-org-blacksmith` and `fleet-forks` dispatch as the user; proven by runs 44900088840, 44900255411 and 44900259404 on 2026-11-21 | -| GitHub agrees with this plan (step 0) | Tracker #12238; ten issues filed (#12228 to #12237); `now` and `next` re-set to the order below; five duplicate door reports closed into #12228; #9112 closed with its decision | -| Dashboard separates hands items from agent parks | #12227: the attention page and the digest count only hands items and review requests as needing the owner; agent parks are listed as fleet work | -| Rulebook carries the two rules agents kept breaking | #12265: root `AGENTS.md` says nothing waits on the owner, and that the worker who merges runs the issue's done check and closes it. Testing doctrine moved to `doc/agents/testing-doctrine.md` | -| Merged-but-open issues swept (2026-11-22) | 110 open issues carried `status:in-review` with every PR merged. 21 closed after their declared check passed on main (20 #9106 delivery rows and #10219); the label cleared with a next-action note on 98. 12 remain, each with an open PR | -| Main queue moving again (2026-11-22) | Was queued 0, blocked 595. 147 tasks returned to the pool (17 whose blockers had closed, 130 parked on the owner). Two hours later: queued 124, claimed 10, blocked 457. Counts are `tasks` rows by status for `repo-health-code-pilot` in the queue store | -| New fleet binary on the laptop | Built from `d26fa16` (#12227 and #12243): `fleet agent kinds` lists 16, a person-wait without a hands kind exits 2, `fleet shell --build` takes the build lock. Previous binary kept as `~/.local/bin/fleet.prev-2aee4cc` | -| #9106 substrate is part of its crates | #12268: 44 merged source files (19,477 lines) in `id-core`, `id-sync` and `id-store` were in no crate and could be called only from tests that include them by path. All declared; `check-rust-module-reach.sh` fails on any file nothing declares (44 on main before, 0 after; 817 files, 91 crates) | -| Walking skeleton, steps 1 and 2, in process | #12268: `substrate_path` (a signed record read back from its `id://` address) and `substrate_sync_path` (written on node A, synced to node B, a conflicting write reported on both, closed by a record that follows both). 12 faults planted in the library are each caught | +| What | Evidence | +| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Path to Phase 12: all 14 ordered steps | #1235 closed 2026-11-08 | +| Validation audits, Phases 0–11 | #1075, #1076, #1077, #1078 closed 2026-10-27 | +| Phase 11 foundations | Every F11 issue in the [`id` roadmap's tracker table](../roadmaps/id.md) is closed | +| Phase 12: 14 of 18 items | Closed: F12.1 #807, F12.2 #556, F12.3 #835, F12.4 #1061, F12.6 #1063, F12.7 #1064, F12.8 #1065, F12.9 #1066, F12.13 #806, F12.14 #1068, F12.15 #558, F12.16 #559, F12.17 #1069, F12.18 #560 | +| Phase 13: 5 of 8 items | Closed: F13.1 #783, F13.2 #784, F13.3 #785, F13.7 #789, F13.8 #790 | +| `pkgs/id` split into 14 crates | #3447 closed 2026-11-13; `pkgs/id/crates/` holds 14 members | +| Phase 14 decided, first designs written | Plan of record #6312; v1 designs closed for hosted worlds #6283, discovery #6287, ecosystem #6291, shells #6296, creator tooling #6308 | +| #9106 summit design agreed | PR #9238 merged 2026-11-13; 384 statements mapped to 126 issue rows | +| #9106 first library code | `id-core`, `id-sync` and `id-store` PRs merged 2026-11-16 to 2026-11-19 (for example #11939, #11947, #11988) | +| One fleet queue, unfiltered claims | PR #8438 merged 2026-11-11; FDR-0001 to FDR-0012 in `doc/decisions/` | +| Self-mirroring of this repo's issues stopped | #11748 merged 2026-11-18, after 299 copies were filed in two days | +| Roadmap drift found in this review, fixed | This plan's PR: `ROADMAP.md`, `planning/roadmaps/id.md`, `planning/plans/README.md` | +| Scoreboard tool, three skills | This plan's PR: `scripts/fleet/flow-report/`, `.agents/skills/next-work`, `feature-slice`, `decide-and-proceed` | +| Agent front door: `fleet agent`, `fleet shell` | #12227: enrol any kind of agent; `fleet agent next` walks push, queue, shortlist, priority; `fleet shell` runs builds on the laptop or a codespace. [Design](../../doc/2026-11-21T11-30-00Z_design_fleet-agent-front-door/2026-11-21T11-30-00Z_design_fleet-agent-front-door.md) | +| Queue refuses waits on a person | #12227: `fleet queue park` and `block` exit 2 unless the wait is a hands item; 13 tests, 5 of them against the real binary | +| Three more build surfaces in rotation | #12227: `fleet-org`, `fleet-org-blacksmith` and `fleet-forks` dispatch as the user; proven by runs 44900088840, 44900255411 and 44900259404 on 2026-11-21 | +| GitHub agrees with this plan (step 0) | Tracker #12238; ten issues filed (#12228 to #12237); `now` and `next` re-set to the order below; five duplicate door reports closed into #12228; #9112 closed with its decision | +| Dashboard separates hands items from agent parks | #12227: the attention page and the digest count only hands items and review requests as needing the owner; agent parks are listed as fleet work | +| Rulebook carries the two rules agents kept breaking | #12265: root `AGENTS.md` says nothing waits on the owner, and that the worker who merges runs the issue's done check and closes it. Testing doctrine moved to `doc/agents/testing-doctrine.md` | +| Merged-but-open issues swept (2026-11-22) | 110 open issues carried `status:in-review` with every PR merged. 21 closed after their declared check passed on main (20 #9106 delivery rows and #10219); the label cleared with a next-action note on 98. 12 remain, each with an open PR | +| Main queue moving again (2026-11-22) | Was queued 0, blocked 595. 147 tasks returned to the pool (17 whose blockers had closed, 130 parked on the owner). Two hours later: queued 124, claimed 10, blocked 457. Counts are `tasks` rows by status for `repo-health-code-pilot` in the queue store | +| New fleet binary on the laptop | Built from `d26fa16` (#12227 and #12243): `fleet agent kinds` lists 16, a person-wait without a hands kind exits 2, `fleet shell --build` takes the build lock. Previous binary kept as `~/.local/bin/fleet.prev-2aee4cc` | +| #9106 substrate is part of its crates | #12268: 44 merged source files (19,477 lines) in `id-core`, `id-sync` and `id-store` were in no crate and could be called only from tests that include them by path. All declared; `check-rust-module-reach.sh` fails on any file nothing declares (44 on main before, 0 after; 817 files, 91 crates) | +| Walking skeleton, steps 1 and 2, in process | #12268: `substrate_path` (a signed record read back from its `id://` address) and `substrate_sync_path` (written on node A, synced to node B, a conflicting write reported on both, closed by a record that follows both). 12 faults planted in the library are each caught | +| The PM stack is operable from a phone (2026-11-22) | `https://pm.security.cab`: dashboard at `/`, console at `/console/` (queue, priorities, messages to agents, services, pull requests), installable as a web app, and an Android app the console hands to the signed-in owner. Sign-in is Cloudflare Access limited to one address, checked again by the console before anything reaches the dashboard (#12360, #12412, #12422, #12423). Checked from outside the host: every unsigned path is a sign-in redirect or a 401, including `/icons/..%2fattention`, which the edge let through and the console refused. Sign-in today is a one-time PIN; Google needs the OAuth client in #12417. The Android build is signed and its certificate matches the site's asset links; it has not been run on a device | "Closed" in this table means the issue is closed as completed. It does not mean the phase's exit test passes; see [Track A](#track-a-close-phase-12-and-tag-idv0120). @@ -329,3 +330,4 @@ To undo: revert the plan's PR. The skills are additive and are loaded by descrip - 2026-11-22: The fleet had stopped: main queue queued 0, blocked 595, about one merge an hour. Cause one: 110 issues open with all their PRs merged, blocking every task that named them. 21 closed on their own done checks, 98 relabelled (D15). Cause two: 130 tasks parked on the owner; returned to the pool. #12265 put both rules in the root rulebook and fixed the benchmark validator (#10219 closed). Queue two hours later: queued 124, claimed 10. New fleet binary deployed on the laptop. - 2026-11-22: Track B. Found that the #9106 library was in no crate (44 files, 19,477 lines) and why (D13). #12268 declares the modules, adds the reach check, and runs the path between two in-process nodes with the join fixed (D14). Checked by `bash .github/scripts/check-rust-module-reach.sh`, `cargo test -p id-core --test substrate_path` (6 passed) and `cargo test -p id-sync --test substrate_sync_path` (4 passed). - 2026-11-22: Not done, and why. 19 PRs opened by other agents are ready and unmerged, among them #12240 (suite registry), #12241 and #12246 (F12.11 binary frames); most carry unanswered review findings. The fleet's own merge sweep (`stale-pr-warden`) has filed no task since 2026-11-17. Lanes still claim from the queue only; `fleet agent next` is not wired into the claimant (#12236). +- 2026-11-22: The PM stack got a write side and a public address. `pm-console` (#12360) runs the fleet's own verbs from a page: unblock and cancel tasks, rank issues, file work (issue and triage task in one pass), message agents, start, stop and restart units, merge pull requests; every action is recorded before it runs. #12412 routes the whole of `pm.security.cab` to the console, which passes the dashboard's paths through only for a verified owner, because the dashboard has no sign-in of its own and three paths bypass the edge. Checked by `cd pm-stack/console && bun test` (33 pass), `python3 -m unittest discover -s pm-stack/console/scripts -p 'test_*.py'` (7 pass), 99 planted faults all caught, `expose.py --check` (exit 0 after the apply) and unsigned requests from outside the host. First live use: the console filed #12416 and queued its triage task. Android: workflow run 44988192986 built the APK, `sign.sh` signed it on the host (#12422 fixed its first run), and the console serves it to the owner (#12423). Left for a person: #12417 (the Google OAuth client). Not done: the app has not been run on a phone, and the dashboard has no link to the console yet (#12416).