Skip to content

feat: harden compliance core policy versioning - #88

Open
0xMuang wants to merge 2 commits into
feature/production-erc3643-onboardingfrom
feature/compliance-core-production-hardening
Open

feat: harden compliance core policy versioning#88
0xMuang wants to merge 2 commits into
feature/production-erc3643-onboardingfrom
feature/compliance-core-production-hardening

Conversation

@0xMuang

@0xMuang 0xMuang commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Immutably version Element and Recipe registrations, add canonical recipe-key collision guards, compile bounded strengthen-only enforcement plans, preserve exact Element reason codes, and update onboarding Toolkit/CLI plus docs. Verified: 86 registry tests, 37 engine tests, 6 RegD tests, full 870-test Foundry suite, Toolkit/CLI smoke, isolated scripts/check.sh, and Anvil reg-d plus buidl-like E2E. Not tested: live production RPC, Safe submission, or live venue/maker/signer approvals. Stacked on #87; does not target main.

Constraint: Preserve legacy numeric RecipeBinding compatibility and existing local Anvil plus GIWA testnet flows.

Rejected: Runtime-mutable recipe aliases without compiled enforcement plans | it leaves production policy behavior mutable after activation.

Confidence: high

Scope-risk: broad

Directive: Treat recipeKey as canonical and version-independent; never rebind activated Element IDs, recipe key/version slots, or compiled token policy plans.

Tested: Element/Recipe/TokenPolicy registry targeted tests; ComplianceEngine targeted tests; RegD integration; full forge suite; toolkit and CLI smoke tests; isolated scripts/check; local Anvil E2E profiles for reg-d and buidl-like.

Not-tested: External production RPC execution, Safe transaction submission, and live venue/maker/signer approvals.
Constraint: PR #88 is stacked on #87 and must include the clean-runner Toolkit installation order.
Confidence: high
Scope-risk: narrow
Directive: Preserve stacked branch ancestry when correcting shared CI prerequisites.
Tested: Merge completed without conflicts; downstream CI pending.
Not-tested: GitHub CI rerun pending push.
0xMuang added a commit that referenced this pull request Aug 23, 2026
Constraint: PR #89 is stacked on #88 and must inherit the clean-runner Toolkit installation prerequisite.
Confidence: high
Scope-risk: narrow
Directive: Preserve stacked branch ancestry when shared CI prerequisites change.
Tested: Merge completed without conflicts; downstream CI pending.
Not-tested: GitHub CI rerun pending push.
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