memory: U11 daily off batches live (infra-hermes), first PASS; U11b /embed usage + legacy inventory + archive plan

This commit is contained in:
vh
2026-09-30 02:24:28 -07:00
parent aee8de3395
commit 37d0b34682
+2 -1
View File
@@ -126,7 +126,8 @@ _As of 2026-09-30 ~0120 PT._
- **DEMO flipped at 0115 PT** with `deploy-wt-config deploy demo`. The gauge reads `worldtree_memory_legacy_mode{kind="off"} 1.0`, /health is 200, and the boot log is clean. The staged read_only file is deleted. Rollback: set legacy.mode to `"live"` in the repo and deploy it. - **DEMO flipped at 0115 PT** with `deploy-wt-config deploy demo`. The gauge reads `worldtree_memory_legacy_mode{kind="off"} 1.0`, /health is 200, and the boot log is clean. The staged read_only file is deleted. Rollback: set legacy.mode to `"live"` in the repo and deploy it.
- **PERSONAL flipped at 0120 PT** on 64f79b38a7fb, the same way. ⚠ Personal has **no /metrics**, because the #308 metrics block is demo-only, so the proof was the no-metrics one: an in-container `get_default→load_cutover_config→validate_cutover` gave off/writer/reader True, /health was 200, and the boot log matched the pre-flip one. Whether to add metrics to personal is still worldtree-dev's open call. Both instances are in sync with the repo. - **PERSONAL flipped at 0120 PT** on 64f79b38a7fb, the same way. ⚠ Personal has **no /metrics**, because the #308 metrics block is demo-only, so the proof was the no-metrics one: an in-container `get_default→load_cutover_config→validate_cutover` gave off/writer/reader True, /health was 200, and the boot log matched the pre-flip one. Whether to add metrics to personal is still worldtree-dev's open call. Both instances are in sync with the repo.
- Watch after each flip: any `legacy executor <kind> invoked with memory.legacy.mode=off; ignored` line goes to worldtree-dev with its stamp. A sweep at 0154 of both logs since their last start found **0 watched lines, but there was ~no traffic** (demo 0 real requests, personal 1), so that proves little. **TODO: re-sweep after the first real traffic** with `docker logs --since <StartedAt>`, grepping `legacy executor|Traceback|ERROR|will not be remembered`. A CI recreate drops the old container's log. - Watch after each flip: any `legacy executor <kind> invoked with memory.legacy.mode=off; ignored` line goes to worldtree-dev with its stamp. A sweep at 0154 of both logs since their last start found **0 watched lines, but there was ~no traffic** (demo 0 real requests, personal 1), so that proves little. **TODO: re-sweep after the first real traffic** with `docker logs --since <StartedAt>`, grepping `legacy executor|Traceback|ERROR|will not be remembered`. A CI recreate drops the old container's log.
- **U8 window batches (infra-hermes, Prime's 2340 ruling): likely VOID now that the read_only window is skipped.** The wrapper is NOT built; I asked worldtree-dev whether the plan is dead or has a replacement (e.g. `--legacy-mode off`). If it revives, the harness facts are in thread `01M3RG8RDFSFGDK6BDFTE6ZCJE`, in `persistent-memory.d/2026-09-29-worldtree-u11a-prepped.md`, and as follows. Run it from nh3-dev `~/development/Worldtree`, which is worldtree-dev's tree: NEVER check out or reset it. Each batch takes about 10-15 min, runs under a flock, and must not git-commit; a FAIL goes to worldtree-dev the same day and is never retried. - **Daily gate batches at off: LIVE, infra-hermes from 2026-10-01** (Prime's 2340 ruling; the plan was revised to `--legacy-mode off --label window-off` by worldtree-dev, thread `01M3RRW7WZ04GNR871HC1VKY4K`). The wrapper is `scripts/wt-memory-gate-batch`. It tests demo's deployed sha, from the detached worktree `~/development/Worldtree-gate` when worldtree-dev's tree has moved. Exit codes: 0 PASS, 1 FAIL, 2 error, 3 refused, 4 busy. **PASS and FAIL both go to worldtree-dev the same day**, because they build the n. **The U11b DATA deletion is gated on 3 consecutive PASS at off, or a Prime waiver**; code retirement is not gated. The controls were 080927Z FAIL and 082829Z FAIL (one flip each; the filing floor held; worldtree-dev calls it undecided). **Mine, 20260930T090608Z, PASSED (user median 0.83)**, so the count is 1 of 3 if the FAILs reset it. ⚠ It started by accident, from a test meant to be `--dry-run`, and matched the plan anyway.
- **U11b prep (worldtree-dev asks, read-only, answered 0215):** /embed usage from the Skuld ledger (`phase_name='embed'`, which carries no caller identity): demo 436 calls, 07-29..08-31, none since; personal 5 calls, 07-30..08-05. ⚠ Demo's whole Skuld ledger has been idle since 09-14. Legacy data: demo 3 chroma ≈2.1M plus context_promotion 224K; personal ≈26M plus 6.5M (1,413 JSONL + ledger.db). Both are in the `*_worldtree-state` volumes. **Archive plan proposed, not run**: tar.zst as root with explicit paths, a sha256 manifest, a copy to nh3-dev `~/archive/worldtree-legacy-memory/`, which reaches rest-server-nh3 (append-only) through restic, and a check that a restic SNAPSHOT holds the files before any deletion. corviduo-dev itself has NO backups. Steps 1-4 wait on worldtree-dev's word; the deletion waits on Prime and the gate.
### nh3-pve + nh3-ml1: post-visit, all live (2026-09-25/26) ### nh3-pve + nh3-ml1: post-visit, all live (2026-09-25/26)