Skip to content

feat(civic-stack): emit OQL/OAC runtime evidence capsule for Seven-Model civic architecture#288

Open
mdheller wants to merge 1 commit into
mainfrom
feat/civic-stack-runtime-evidence
Open

feat(civic-stack): emit OQL/OAC runtime evidence capsule for Seven-Model civic architecture#288
mdheller wants to merge 1 commit into
mainfrom
feat/civic-stack-runtime-evidence

Conversation

@mdheller

Copy link
Copy Markdown
Member

Summary

  • CivicStackRunCapsule schema: governs AgentPlane emission of runtime evidence for Seven-Model Civic Operating Architecture execution — OQL plan acceptance, OAC compiler invocation, tool grants, action dispatch, RationalGRL trace links, HellGraph/Prophet Core evidence refs, and Delivery Excellence score signals
  • RationalGRL trace captures goals (goal/softgoal), tasks (completed/blocked/delegated/deferred with defeater reasons), and blocked dependencies — denied policy decisions produce RationalGRL defeaters and blocked dispatch records with no tool grants
  • validate-civic-stack-runtime-evidence Makefile target: schema lint + validator (2 valid, 3 reject fixtures); policy gates enforce: deny outcome → empty grants + all dispatches blocked; blocked dispatch → defeater_reason required; OAC failure → no artifact_emission_refs

Test plan

  • make validate-civic-stack-runtime-evidence — PASS (2 valid, 3 reject)
  • Valid allow fixture: tool grants, OQL task mappings, OAC compiler invocation, subagent delegation, RationalGRL goals satisfied
  • Valid policy-blocked fixture: deny outcome, blocked dispatches, RationalGRL defeaters, OQL plan rejected
  • Reject: missing hellgraph_evidence_refs (schema required)
  • Reject: empty provenance_refs (schema minItems: 1)
  • Reject: wrong kind const value

Closes #154
Upstream anchors: ontogenesis#80, ontogenesis#81, policy-fabric#72, sociosphere#323, delivery-excellence#28

…del civic architecture (#154)

- CivicStackRunCapsule schema: run_id, actor_ref, oql_plan_id, artifact_manifest_id,
  policy_decision_id, tool_grants, action_dispatch_records, oql_plan_acceptance,
  oac_compiler_invocation, subagent_delegations, attestation_events, rationalgrl_trace,
  hellgraph_evidence_refs, delivery_excellence_signal_ref, provenance_refs, timestamps
- RationalGRL trace: goals_addressed (goal/softgoal), tasks_executed, dependencies_blocked
  with defeater_reason on blocked tasks and denied goals
- OQL plan acceptance with OQL-to-agent-task mappings
- OAC compiler invocation with artifact emission refs
- Policy gates: deny outcome enforces empty tool_grants + all dispatches blocked;
  blocked dispatches require defeater_reason; oac failure forbids artifact_emission_refs
- 2 valid fixtures (allow + deny/policy-blocked) + 3 reject fixtures
- validate-civic-stack-runtime-evidence wired into Makefile aggregate validate target
- Upstream anchors: ontogenesis#80, #81, policy-fabric#72, sociosphere#323, delivery-excellence#28
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.

Emit civic-stack OQL/OAC runtime evidence from AgentPlane

1 participant