Skip to content

feat: Boundary Calculus evidence envelope integration#284

Open
mdheller wants to merge 1 commit into
mainfrom
feat/boundary-calculus-evidence-envelope
Open

feat: Boundary Calculus evidence envelope integration#284
mdheller wants to merge 1 commit into
mainfrom
feat/boundary-calculus-evidence-envelope

Conversation

@mdheller

Copy link
Copy Markdown
Member

Summary

  • Adds 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 enforces claim_status=metaphor requires load_bearing=false via JSON Schema conditional
  • Adds docs/integrations/boundary-calculus-evidence-envelope.md: integration reference with boundary definition (AgentPlane emits; SocioSphere owns), field table, policy hooks, and worked examples
  • Adds 4 fixtures: supported claim, security escalation (hypothesis + escalate + security_escalation_ref), and two reject fixtures (metaphor+load_bearing, confirmed+none_required gate)
  • Adds tools/validate_boundary_calculus_evidence.py with 4 extra policy gate checks beyond schema; 8 checks pass
  • Wires validate-boundary-calculus-evidence into make validate

Closes #164

Test plan

  • make validate-boundary-calculus-evidence passes (8/8)
  • make validate passes (aggregate)
  • reject_metaphor-load-bearing.json and reject_promoted-without-gate.json are correctly rejected

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
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.

Add Boundary Calculus evidence envelope integration

1 participant