feat: Boundary Calculus evidence envelope integration#284
Open
mdheller wants to merge 1 commit into
Open
Conversation
Adds boundary-calculus-evidence-envelope.schema.v0.1.json: envelope emitted when agents use the Boundary Calculus claim discipline. Fields: claim_id, claim_status (7-value enum), local_model, boundary_or_interface, load_bearing, non_claims, evidence_refs, promotion_gate (5-value enum), policy_result. Schema enforces: claim_status=metaphor requires load_bearing=false (conditional). Adds docs/integrations/boundary-calculus-evidence-envelope.md: integration reference including boundary definition, field table, policy hooks, and examples. Adds 4 fixtures: supported-claim (allow), escalation-claim (escalate with security_escalation_ref), reject_metaphor-load-bearing, and reject_promoted-without-gate (confirmed + none_required). Adds tools/validate_boundary_calculus_evidence.py with 4 policy gate checks; 8 checks pass. Wires validate-boundary-calculus-evidence into make validate. Closes #164
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
schemas/boundary-calculus-evidence-envelope.schema.v0.1.json: evidence envelope for agents using the Boundary Calculus claim discipline. Schema covers all required fields and enforcesclaim_status=metaphorrequiresload_bearing=falsevia JSON Schema conditionaldocs/integrations/boundary-calculus-evidence-envelope.md: integration reference with boundary definition (AgentPlane emits; SocioSphere owns), field table, policy hooks, and worked examplestools/validate_boundary_calculus_evidence.pywith 4 extra policy gate checks beyond schema; 8 checks passvalidate-boundary-calculus-evidenceintomake validateCloses #164
Test plan
make validate-boundary-calculus-evidencepasses (8/8)make validatepasses (aggregate)reject_metaphor-load-bearing.jsonandreject_promoted-without-gate.jsonare correctly rejected