From 678b93a9632f80fb61d8f0050e18a6b97b45e804 Mon Sep 17 00:00:00 2001 From: astar76 Date: Wed, 25 Nov 2026 13:27:20 -0600 Subject: [PATCH] S000: handoff after the switch Co-Authored-By: Claude Opus 5.5 --- docs/HANDOFF.md | 26 ++++++++++---------------- docs/STATUS.md | 3 +-- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 8a6f89e..626814c 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -1,31 +1,25 @@ -# Handoff (orchestrator, 2026-11-25 08:00) +# Handoff (2026-11-25, after the switch to the light rules) -**Goal**: run the 40 plans of `Plans/INDEX.md` with `/orchestrate`; end with a tested AppImage and tar.gz, published only after the user's yes (S040). +**Goal**: version 1 of Medlar in 13 plans after S009, S012 and S016, then a tested AppImage and tar.gz, published only after the user's yes (S039). -**Phase**: 01 Foundation done. 02 Engine: S009, S012 left. 03 Interface: S016, S017 left. 04 Control: S019 done, S020–S022 left. Then 05–09. +**Phase**: 15 plans done (S001–S008, S010, S011, S013–S015, S018, S019). Building goes on in INDEX order; testing is category 09. -**Done and validated (15 of 40)**: S001–S008, S010, S011, S013–S015, S018, S019. Code in `crates/`, one entry per plan in `docs/PROGRESS.md`. All tests green on 83ef4be, run by the orchestrator. +**In progress**: S009, S012, S016 run the old way in the worktree `orchestrate-0ad55c` (branch `claude/orchestrate-0ad55c`). Its orchestrator was told to start nothing else, merge `main` into its branch when they end, and fast-forward `main`. Check with `git log main` before starting; S009, S012 and S016 have no test file and need none (they have tests). -**In progress**: nothing; every session is idle, the tree is clean. - -**Next three**: start and GO S009 (core), S012 (core), S016 (app); all their dependencies are done. S020 and S021 (core) are ready too. - -**How the sessions are run**: one shared worktree and branch, three at once (D-016), small GO message naming the other running plans, own decision numbers for each (next free: D-052), own hunks only, questions to the orchestrator. Sessions can only be started on a turn the user began, so start enough waiting ones then. Sessions tick boxes in one batch whatever they are told; the tracker then gets one sync. +**Next three**: S017, S021, S022, by `/orchestrate` in a new session (one `plan-worker` at a time; rules in the `orchestrate` skill). Do not GO the old waiting sessions s017, s020, s021. **Known bugs and gaps** (details in PROGRESS) - The debug build opens no window in `tools/hidden.sh`; the release build does. Cause unknown (S013). - Nothing deletes a task's keyring item yet; S024 (or whoever saves task secrets first) must, and keep items shared by KeepBoth (S010). - The app does not set `ClientOptions::known_hosts`; no prompt for SFTP host keys, no field for `Site::key` (S011, S018). -- Queue fields `paused`, `max_active`, `schedule`, `after`, `start_at` are not read by the manager: check that S021 covers them (S006's notes say S009). +- Queue fields `paused`, `max_active`, `schedule`, `after`, `start_at` are not read by the manager: S021 must cover them. - `recover.rs` test bus still has the system's service files (S010 fixed its own). `/tmp` quota: use `TMPDIR=target/tmp` for tests; timing tests suffer under load. - The real NetworkManager, logind, keyring, FTP servers, GPU and the slow line were never tried. -**Commands**: `nice cargo test -j 2`, `nice cargo build --release -j 2` (never both), `cargo test -p medlar --test shots`, `tools/hidden.sh`. +**Commands**: build plans `nice cargo check -q -j 2 -p medlar`; test phase `nice cargo test -j 2`, `nice cargo build --release -j 2` (never both), `tools/hidden.sh`. -**Decisions**: D-014 (main is fast-forwarded after each validated category; on 2026-11-25 the user also had it merged at 15 plans), D-016 (three at once), D-017 to D-051 in `docs/DECISIONS.md`. The user wants caveman replies and low credit use; overnight: decide alone, publish nothing, no extra credits. +**Decisions**: D-060 in `ORCHESTRATOR.md` (one worker, no tests while building, test files in `docs/tests/`); version 1 cut to 13 plans, the rest in `Plans/Later/` (PLAN.md “Later”); D-014 (main fast-forwarded after each category). Next free: D-061, or what `docs/DECISIONS.md` says. Short caveman replies; publish nothing; no extra credits. -**Budget**: about 2.3 % of the weekly limit per plan, 12 to 15 % of a 5-hour window; weekly was at 35 % with 15 plans done. +**Budget**: the old way cost about 2.3 % of the week per plan. The new way is not measured yet: write the percent per plan here after the first run. Weekly was at 44 % on 2026-11-25. -**Open questions** -- The user's power-off request was for the night of 2026-11-25 only; it did not trigger. -- Rules that cost more than they give: 3 waiting sessions (1 is enough), a tracker sync per box (start and end are enough). +**Open questions**: none. The tracker counts five merged plans (S035, S036, S038, S040, S042, in “Later”) as done. diff --git a/docs/STATUS.md b/docs/STATUS.md index 1ef730e..5f7047f 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -1,4 +1,3 @@ # Status -15 of 40 plans done and validated on 2026-11-25 (S001–S008, S010, S011, S013–S015, S018, S019). Next: S009, S012, S016. -The current plan is the first unchecked line in `Plans/INDEX.md`. How things stand: [HANDOFF.md](HANDOFF.md). +15 plans done; S009, S012 and S016 running the old way; 13 plans left for version 1 (2026-11-25). The current plan is the first unchecked line in `Plans/INDEX.md`. How things stand: [HANDOFF.md](HANDOFF.md).