Skip to content

Commit 7587c41

Browse files
fix(pane): read the PseudoOperator loop-state path (OC Track B migration)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4b372b4 commit 7587c41

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.console/log.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Log
22

3+
## 2026-07-06 — fix: watcher pane reads the PseudoOperator state path
4+
5+
OC's loop migrated to the shared engine (Track B, OC #428): controller state
6+
moved from logs/local/loop_controller_state.json to
7+
tools/loop/state/controller_state.json. Field shape is compatible
8+
(runnable_backend / backend_cooldowns / backend_limit_kinds /
9+
sleeping_until_utc all emitted by the engine as of CL #35).
10+
311
## 2026-06-16 — Opt into CAP1 enforcement (context_bootstrap)
412

513
Added `audit.capabilities.enforce: true` so Custodian's CAP1 verifies the

src/operator_console/watcher_status_pane.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
_OC_ROOT = Path.home() / "Documents" / "GitHub" / "OperationsCenter"
3030
_WATCH_DIR = _OC_ROOT / "logs" / "local" / "watch-all"
3131
_STATE_DIR = _OC_ROOT / "state"
32-
_CONTROLLER_STATE_PATH = _OC_ROOT / "logs" / "local" / "loop_controller_state.json"
32+
# PseudoOperator engine (Track B): loop state moved to tools/loop/state/.
33+
_CONTROLLER_STATE_PATH = _OC_ROOT / "tools" / "loop" / "state" / "controller_state.json"
3334
_QUEUE_DIR = Path.home() / ".console" / "queue"
3435
_PROFILES_DIR = Path(__file__).resolve().parent.parent.parent / "config" / "profiles"
3536

0 commit comments

Comments
 (0)