S000: handoff after 15 plans

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-25 07:57:52 -06:00
commit 42a6152b82
3 changed files with 37 additions and 2 deletions

32
docs/HANDOFF.md Normal file
View file

@ -0,0 +1,32 @@
# Handoff (orchestrator, 2026-11-25 08:00)
**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).
**Phase**: 01 Foundation done. 02 Engine: S009, S012 left. 03 Interface: S016, S017 left. 04 Control: S019 done, S020–S022 left. Then 05–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**: 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.
**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).
- `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`.
**Decisions**: D-014 (main is fast-forwarded after each validated category), 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.
**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.
**Open questions**
- Merge this branch into `main` now, before 02 and 03 are whole? A new session's worktree starts from `main` (60142de), which lacks S005–S019.
- 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).

3
docs/HANDOFF_PROMPT.md Normal file
View file

@ -0,0 +1,3 @@
/orchestrate
Read docs/HANDOFF.md and docs/STATUS.md, then continue from the next steps. Only open other files when you need them. Use caveman for all replies and save credits. Work on the branch `claude/caveman-orchestrate-run-41d3a3` (or on `main` if it was merged).

View file

@ -1,4 +1,4 @@
# Status
40 plans written on 2026-11-24, no code yet. Next: `/orchestrate` in a new session, starting at S001.
The current plan is the first unchecked line in `Plans/INDEX.md`.
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).