Where cogpin fits
cogpin is one layer, not the stack. It is the policy plane: it declares which un-fabricable facts must hold before a change merges, and renders a verdict. Every other layer — containment, correctness, review, deploy — is owned by something cogpin calls into, never re-implements.
The stack
Section titled “The stack”| Layer | Owner | cogpin’s role |
|---|---|---|
| Policy plane (Definition-of-Done) | cogpin | cogpin is this layer — the single source of “done” |
| Capability floor / sandbox | OS · container · the agent harness | declares the posture and emits it ([capability]); never contains |
| Verification oracle | CI (compilers, tests, coverage) | delegates via run / require_checks_green; doesn’t re-run your suite |
| Review / approval | humans · CODEOWNERS · branch protection | fact-gates that review happened; never that it was good |
| Admission / deploy | Sigstore · SLSA · Kyverno | not covered — hands the green signal off |
What cogpin does NOT cover
Section titled “What cogpin does NOT cover”- Substance / quality — a judgment, so advisory only (the moat forbids blocking on it). → review.
- Code correctness — whether it actually works is the verification oracle’s job; cogpin only reports its exit codes.
- Runtime containment — the in-band command/path deny is a forcing-function (bypassable, always logged), not a sandbox. → capability floor (OS/harness).
- Post-merge / deploy / production — signing, provenance, admission. → admission.
- Anything off the fact-surface — if it isn’t a fact over the diff or the command, cogpin can’t see it.
The ceiling
Section titled “The ceiling”The only thing cogpin will ever hard-block on is an un-fabricable, independently-observable
fact (provenance="environment" — a CI result, a recorded approval, a branch, a real diff),
never something the author merely asserts. That un-fabricable observability is the whole
product — and it is worth zero unless a higher layer actually consumes it. cogpin raises
the floor of what is observable before a merge; it does not raise the ceiling of what is good.
The authoritative version of this map (with the full table and the delegation-over-primitive
rule) lives in
docs/composition.md.