3.3 Two-Tier Organization Governance Lattice
chinwag policy verify-floor --org-floor OrgPolicyFloorV1How the CISO-signed OrgPolicyFloorV1 sets the non-waivable organizational security floor (WP-05) while repository chinwag.workflow.yaml files can only tighten constraints.
3.3 Two-Tier Organization Governance Lattice
chinwag policy verify-floor --org-floor OrgPolicyFloorV1
Outcome Summary & Δ Velocity Proof: Prevent autonomous coding agents from passing a check by weakening the repository's YAML rules on their feature branch. Chinwag enforces a monotonic Two-Tier Governance Lattice (
WP-05&WP-08) in#![forbid(unsafe_code)]Rust.
1. Tier 1 (OrgPolicyFloorV1) vs. Tier 2 (chinwag.workflow.yaml)
- Tier 1 · Organization Policy Floor (
OrgPolicyFloorV1):- Signed by your CISO or Organization Security Root Key (
org_floor_epochmonotonically increasing). - Establishes non-waivable organization-wide invariants: e.g.,
privacy.mode = "zero-knowledge-e2ee",kem = "x25519-mlkem768",require_remote_receipt = true,auto_merge = "forbidden", andmax_auto_repair_attempts <= 2.
- Signed by your CISO or Organization Security Root Key (
- Tier 2 · Repository Workflow Contract (
chinwag.workflow.yaml):- Versioned in each repository root.
- Can tighten rules above the organization floor (e.g., tightening
max_checkpoint_locfrom150to100, or requiring a3-of-4Chinwag Vision-3 visual geometry quorum onweb/**), but can never weakenOrgPolicyFloorV1.
2. Monotonic Lattice Verification (Hook H3 & WP-08 Two-Person Rule)
Whenever a branch modifies chinwag.workflow.yaml:
- In-Flight Runs Retain Their Pinned Policy (
WP-01): Any run already in flight continues evaluating against its dispatch-pinnedPolicyRevisionPinV1(commit OID + SHA-256). - Candidate Lattice Check (
WP-05): HookH3verifiesCandidatePolicy ⊑ OrgPolicyFloorV1. Any attempt to disablerequire_remote_receipt, weakenx25519-mlkem768, or raisemax_auto_repair_attemptsabove the org floor fails closed (exit 78). - Two-Person Activation (
WP-08): A proposed change tochinwag.workflow.yamlremains inert until signed by an independent Technical Acceptor (acceptor.seat() != author.seat()) viaPolicyActivationReceiptV1. - Human-Key-Gated (
K1) Org Config Timeline (<1sOnboarding,<20msSquad Broadcast): Org-wide configuration (chinwag.workflow.yaml,INVARIANTS.md,TOMBSTONES.md, and.chinwag/allowed_signers) lives in a versioned, human-key-gated (K1) Git config timeline. When a new developer runsbrew install chinwag && chinwag join <org>, every agent on their laptop inherits the org's policies, Tombstones, and Invariants in<1s, and any policy/tombstone update broadcasts across the entire squad in<20ms, while AI agents (K2keys) are cryptographically blocked from weakeningchinwag.workflow.yamlor deleting an invariant!
Verification Command
chinwag openspec validate
- Ready to ship verified code at autonomous speed? Reserve Your Organization Credit Pack →
3.2 Cryptographic Conformance Matrix & Memory Tombstones
Complete WP-01..WP-15 conformance matrix, Chinwag vs. Google A2A protocol comparison, and commit-anchored DO_NOT_REPEAT negative memory tombstones.
3.4 Trusted Handoff Hooks & Independent Verification
Deep dive into Hooks H1..H5, why a 1-byte post-review edit triggers WP-04 Stale Evidence, and why Policy Satisfied never grants automatic merge authority (WP-06).