Skip to content

feat(enforcer): add from_declaration() and cryptographic contract sea… - #37

Merged
Skull-boy merged 1 commit into
mainfrom
feat/runtime-enforcer
Sep 10, 2026
Merged

Skull-boy merged 1 commit into
mainfrom
feat/runtime-enforcer

Conversation

@Skull-boy

Copy link
Copy Markdown
Owner
  • ContractEnforcer.from_declaration() creates governed enforcer from dict
  • Validates node_id pattern, T7 wildcard rejection, unknown fields
  • Cryptographic sealing on both file and declaration contracts
  • verify_integrity() extended to detect declaration tampering
  • contract_source and node_id properties added
  • DeclarationValidationError exported from package root
  • 25 new tests, 98/98 total passing

…ling

- ContractEnforcer.from_declaration() creates governed enforcer from dict
- Validates node_id pattern, T7 wildcard rejection, unknown fields
- Cryptographic sealing on both file and declaration contracts
- verify_integrity() extended to detect declaration tampering
- contract_source and node_id properties added
- DeclarationValidationError exported from package root
- 25 new tests, 98/98 total passing
@Skull-boy
Skull-boy merged commit a604144 into main Sep 10, 2026
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