Skip to content

Isolate public Core boundary#4

Merged
christopherkarani merged 1 commit into
mainfrom
codex/core-boundary-isolation
May 28, 2026
Merged

Isolate public Core boundary#4
christopherkarani merged 1 commit into
mainfrom
codex/core-boundary-isolation

Conversation

@christopherkarani
Copy link
Copy Markdown
Owner

Summary

  • Stop the public aegis_core package from importing or re-exporting the monolithic product facade.
  • Add a Core-engine build module rooted at src/ for core, policy, and audit only, while keeping product/Edge compatibility on a private build-generated module.
  • Replace public product-specific Core action/event aliases with a curated API surface and contract tests for forbidden exports/imports.

Tests

  • zig build --summary all passes.
  • git diff --check origin/main...HEAD passes.
  • zig build test --summary all reaches the amended Core boundary tests successfully.
  • Full suite remains blocked by the existing Phase 39 OpenClaw packaging checks for missing dist/index.js and dist/index.d.ts on origin/main.

Replace the public aegis_core facade with a curated Core API/ABI surface and remove root exports for monolithic product modules, sandbox capabilities, schema placeholders, redteam/intercept, and product action aliases.

Add contract tests proving public Core actions/events are product-neutral, host/plugin presets and direct MCP evaluator helpers are absent, and generic extension actions still evaluate through Core defaults.

Keep Orca/Edge builds working by routing the Edge package through a private build-generated compatibility module while the public aegis_core module exposes the isolated boundary.

Verification: focused Core contract direct zig test passed; focused Core package direct zig test passed; zig build --summary all passed; git diff --check passed. zig build test --summary all still fails only in pre-existing Phase 39 OpenClaw dist artifact checks for integrations/openclaw-plugin/dist/index.js and dist/index.d.ts.
@christopherkarani christopherkarani force-pushed the codex/core-boundary-isolation branch from cacccf7 to 15e8e75 Compare May 21, 2026 05:25
@christopherkarani christopherkarani merged commit 15e8e75 into main May 28, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant