Isolate public Core boundary#4
Merged
Merged
Conversation
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.
cacccf7 to
15e8e75
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aegis_corepackage from importing or re-exporting the monolithic product facade.src/forcore,policy, andauditonly, while keeping product/Edge compatibility on a private build-generated module.Tests
zig build --summary allpasses.git diff --check origin/main...HEADpasses.zig build test --summary allreaches the amended Core boundary tests successfully.dist/index.jsanddist/index.d.tsonorigin/main.