Skip to content

Commit 4599840

Browse files
refactor(compat): all pure legacy shims alias the impl module; break shim circular imports
- 35 copy-attributes shims → sys.modules aliases (patches on legacy paths now reach the implementation; autonomous_processes drops its duplicated wrapper logic) - internal back-imports through legacy shims rewired to impl modules (operator_daemon, operator_plugin_wait, operator_operator, bounded_contexts/wup) — importing any legacy path standalone no longer hits partially-initialized-module errors - operator_resources: AutoPipelineState imported lazily (orchestrator → cycle → operator → orchestrator cycle at package-init time) - autonomous_cycle facade: re-export _run_drive_phase/_run_post_drive_phase; cycle late-binds them through the facade for legacy monkeypatches - activity_log: missing optional nfo is silent by default (KORU_DEBUG=1 restores the hint); tests cover both modes - examples e2e image: install wup (doctor wup_binary [OK], 22/35 passed) - untrack 21 machine-generated local.dev.txt snapshots; gitignore them Full suite: 2849 passed, 0 failed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Koru Agent <agent@coru.dev>
1 parent 6c6b4ec commit 4599840

27 files changed

Lines changed: 51 additions & 220 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,6 @@ packages/coru/src/coru/.koru/
258258

259259
# planfile JSON fast-mirrors (derived from sprint YAMLs)
260260
.planfile/sprints/*.fast.json
261+
262+
# machine-generated local dependency snapshots (~/github/local.dev.sh)
263+
local.dev.txt

examples/docker/koru-e2e.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ RUN pip install --no-cache-dir --upgrade pip \
2424
&& pip install --no-cache-dir \
2525
"planfile>=0.1.87" \
2626
"uvicorn[standard]>=0.27" \
27-
"fastapi>=0.110"
27+
"fastapi>=0.110" \
28+
"wup>=0.2.60"
2829

2930
# Optional cache-bust when iterating on examples without touching src
3031
ARG CACHE_BUST=0

local.dev.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

lucy/local.dev.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/cli2coru/local.dev.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/cli2koru/local.dev.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/coru/local.dev.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/dsl2coru/local.dev.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/dsl2koru/local.dev.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/mcp2coru/local.dev.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)