Skip to content

Commit 4a1462c

Browse files
committed
docs: reduce README architecture disclosure
1 parent e8731bc commit 4a1462c

1 file changed

Lines changed: 48 additions & 234 deletions

File tree

README.md

Lines changed: 48 additions & 234 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,38 @@
11
# Commit Gate Core
2-
New to this work? Start here:
3-
[https://github.com/LalaSkye/start-here](https://github.com/LalaSkye/start-here)
42

5-
**Reference kernel for execution-boundary governance.**
3+
New to this work? Start here: https://github.com/LalaSkye/start-here
64

7-
Commit Gate Core stops unauthorised consequences before execution.
5+
## Public disclosure boundary
86

9-
Most governance systems review decisions after consequences happen.
10-
This repo demonstrates a smaller, harder control surface:
7+
This repository is a public inspection surface, not full architecture disclosure.
118

12-
> **No state mutation is allowed unless a signed, scoped, unexpired, unreplayed `DecisionRecord` authorises the exact commit.**
9+
It shows a bounded claim, a runnable evidence object, an inspection path, and the claim limit.
1310

14-
If authority, scope, expiry, replay, or receipt checks fail, the action does not run.
11+
See [`PUBLIC_DISCLOSURE_BOUNDARY.md`](PUBLIC_DISCLOSURE_BOUNDARY.md).
1512

16-
The proof is the failed execution path.
13+
## What this repo is
1714

18-
Claim discipline for this repo is controlled in [`docs/governance/ADMISSIBLE_CLAIM_REGISTER_v1.md`](docs/governance/ADMISSIBLE_CLAIM_REGISTER_v1.md).
15+
Commit Gate Core is a small public proof surface for one execution-boundary claim.
1916

20-
Run the adversarial invariant verifier locally: `python scripts/verify_adversarial_invariants.py`
17+
It demonstrates a path-local control condition:
2118

22-
---
19+
> No state mutation on the demonstrated path without a valid, scoped, unexpired, unreplayed `DecisionRecord`.
2320
24-
## 1. Definition
25-
26-
**Admissibility** is the pre-execution test that determines whether a requested action has a valid basis to enter an executable state.
27-
28-
A requested action is admissible only when the required authority, scope, evidence, state, and time conditions are present and valid before execution is made available.
29-
30-
If those conditions are missing, invalid, expired, or unresolved, the action is not admissible.
31-
32-
In that case, the system should not create an executable state for the action.
33-
34-
---
21+
If the required condition fails, the demonstrated action does not run.
3522

3623
## Scope and limitations
3724

38-
This repository demonstrates a **path-local commit gate**.
39-
40-
It enforces a single v1 invariant at the boundary it sits on:
41-
42-
> No consequence at this commit boundary without a valid signed, scoped,
43-
> unexpired, unreplayed DecisionRecord.
44-
45-
This is the **path-local invariant**. It is what the code in this
46-
repository implements and tests.
47-
48-
### Current hardening gaps
49-
50-
The stronger properties below are tracked as hardening work, not claimed as
51-
current v1 guarantees:
52-
53-
- payload binding: see issue #8
54-
- atomic commit boundary: see issue #9
55-
56-
### Recently hardened
57-
58-
The following v1 hardening gaps have been addressed on the demonstrated path:
59-
60-
- audit-failure control: see PR #18 / issues #10 and #11
61-
- frozen DecisionRecord snapshot for audit fidelity: see PR #18 / issues #10 and #11
62-
63-
These fixes do not create a path-universal guarantee, production-readiness claim,
64-
compliance claim, or certification claim.
65-
66-
### What this gate does not, by itself, prove
67-
68-
The **path-universal invariant** is stronger:
69-
70-
> No consequence is reachable without passing a proof-bound, payload-bound,
71-
> atomic commit boundary across all paths.
72-
73-
Achieving the path-universal invariant is an **architectural placement
74-
question**, not a gate-implementation claim. It requires:
75-
76-
- routing every reachable path to a consequence through a gate of this kind
77-
- exclusion or explicit out-of-scope marking of alternate routes, including:
78-
- human review handoffs
79-
- downstream agent execution
80-
- asynchronous side channels
81-
- bypass paths created by retries, rollbacks, or recovery flows
82-
- system-level evidence that the routing holds
83-
84-
This repository does not make the path-universal claim.
85-
86-
### Reading guide
25+
This repository demonstrates one bounded path-local commit-gate behaviour.
8726

88-
- If you want to inspect the gate primitive: read `src/commit_gate_core/gate.py`
89-
and the test suite.
90-
- If you want to evaluate path-universal coverage in a real system: that
91-
is a deployment-architecture review, not a code review of this repo.
27+
It does not claim:
9228

93-
---
94-
95-
## Execution Boundary Test v1
96-
97-
Use the test to check whether a system can physically stop consequence at the point an action would become real.
98-
99-
See: [`docs/execution-boundary-test-v1.md`](docs/execution-boundary-test-v1.md)
100-
101-
Core question:
102-
103-
> Where does the system physically stop?
104-
105-
PASS:
106-
The action cannot execute without valid proof.
107-
108-
FAIL:
109-
The action still reaches consequence.
110-
111-
---
29+
- production readiness
30+
- enterprise deployment
31+
- compliance or certification
32+
- path-universal governance
33+
- payload binding across all systems
34+
- atomic commit across all routes
35+
- non-bypassability outside the demonstrated path
11236

11337
## Try it in 30 seconds
11438

@@ -126,182 +50,72 @@ Email sent: false
12650
Receipt written: true
12751
```
12852

129-
If the email sends, the gate is broken.
130-
131-
---
132-
133-
## Enterprise execution readiness packet
134-
135-
A buyer-readable enterprise evidence packet has been added under:
136-
137-
[`enterprise-execution-readiness/`](enterprise-execution-readiness/)
138-
139-
It translates the execution-boundary primitive into an enterprise-readable chain:
140-
141-
```text
142-
policy rule
143-
-> control requirement
144-
-> runtime gate
145-
-> refusal condition
146-
-> refusal receipt
147-
-> audit evidence
148-
```
149-
150-
Current packet:
151-
152-
```text
153-
ESP-001 — AI-generated external email attempted without authority_token
154-
Expected result: DENY before send, downstream_send=false, receipt_written=true
155-
Compression: No authority token. No external send. Receipt written.
156-
```
157-
158-
This packet is **not** an enterprise-deployment, certification, compliance, production-readiness, legal-advice, adoption, or path-universal governance claim.
53+
## Inspection path
15954

160-
It is a bounded buyer-readable proof surface for one demonstrated scenario.
161-
162-
---
163-
164-
## Enterprise-shaped scenario pack
165-
166-
A bounded synthetic scenario pack has been added under:
167-
168-
[`docs/enterprise-shaped-scenarios/`](docs/enterprise-shaped-scenarios/)
169-
170-
Current scenario:
171-
172-
```text
173-
ESP-001 — AI-generated external email attempted without authority_token
174-
Expected result: DENY before send, downstream_send=false, receipt_written=true
175-
Replay: same refusal class, same missing_field
176-
```
177-
178-
Run it from the repository root:
55+
Run the demo and adversarial invariant verifier:
17956

18057
```bash
181-
python docs/enterprise-shaped-scenarios/run_scenario_001.py
182-
```
183-
184-
This scenario is **not** an enterprise-readiness, deployment, compliance, certification, or production-enforcement claim. It is a bounded synthetic refusal path.
185-
186-
---
187-
188-
## The demo
189-
190-
```text
191-
Attempt: send external email
192-
DecisionRecord: missing authority
193-
Result: HOLD
194-
Email sent: false
195-
Receipt written: true
58+
python -m examples.unsafe_email_send
59+
python scripts/verify_adversarial_invariants.py
19660
```
19761

198-
That is the shape.
199-
200-
The system refuses the unsafe state change before execution and writes a receipt proving why.
201-
202-
---
203-
204-
## What this repo proves
205-
206-
- Unsafe consequence can be refused before execution on the demonstrated path.
207-
- Missing authority prevents mutation on the demonstrated path.
208-
- Refusal can produce an auditable receipt when the audit sink accepts the event.
209-
- Bypass failure can be tested directly.
62+
The narrow question this repo answers is:
21063

211-
This is not governance commentary.
64+
**Can the demonstrated action reach consequence without a valid DecisionRecord?**
21265

213-
It is a small enforcement primitive.
66+
Expected answer:
21467

215-
---
68+
**No.**
21669

217-
## Boundary
70+
## What this proves
21871

219-
This repo does **not** claim to be a full AI governance system.
72+
On the demonstrated path:
22073

221-
It proves one narrow invariant:
74+
- unsafe consequence can be refused before execution
75+
- missing authority prevents mutation
76+
- failed checks produce HOLD / DENY behaviour
77+
- refusal can produce an auditable receipt when the audit sink accepts the event
78+
- bypass failure can be tested directly
22279

223-
> This path cannot execute without a valid `DecisionRecord`.
80+
## What this does not prove
22481

225-
The invariant is deliberately small so it can be inspected, tested, and broken under hostile reading.
82+
This repository does not prove adoption, certification, standardisation, production readiness, compliance, or path-universal deployment coverage.
22683

227-
This repository does not prove adoption, certification, standardisation, production readiness, payload binding, atomic commit, or path-universal deployment coverage.
84+
It does not prove the wider governance architecture.
22885

229-
It demonstrates a bounded execution-control surface that can be run, inspected, and tested.
230-
231-
---
232-
233-
## Core rule
234-
235-
A valid `DecisionRecord` must be:
236-
237-
- signed
238-
- scoped to the exact commit
239-
- within its validity window
240-
- unreplayed
241-
- sufficient for the requested mutation under the current v1 scope checks
242-
243-
Failure at any check produces `HOLD`.
244-
245-
No silent continuation.
246-
247-
---
86+
It proves only the bounded claim attached to this public proof object.
24887

24988
## Evidence shape
25089

251-
A useful governance gate must show:
252-
253-
1. what action was attempted
254-
2. what proof was required
255-
3. which check failed
256-
4. whether execution occurred
257-
5. what receipt was written
258-
259-
For this demo, the answer is simple:
90+
For the demonstrated scenario:
26091

26192
```text
26293
Execution occurred: false
26394
Receipt written: true
26495
Verdict: HOLD
26596
```
26697

267-
## Refusal receipt
268-
269-
When the gate returns `DENY` or `HOLD`, it writes a refusal receipt.
270-
271-
The receipt is not silence. It is a structured record of what was stopped, why, and whether state changed.
98+
## Claim discipline
27299

273-
`DENY` is a first-class outcome. It is not the absence of `ALLOW`.
100+
Claim discipline for this repo is controlled in:
274101

275-
A valid payload does not authorise an action.
102+
[`docs/governance/ADMISSIBLE_CLAIM_REGISTER_v1.md`](docs/governance/ADMISSIBLE_CLAIM_REGISTER_v1.md)
276103

277-
See: [`docs/refusal-receipt-v0.1.md`](docs/refusal-receipt-v0.1.md)
104+
## Related public artefact
278105

279-
Example: [`examples/clean-payload-denied-action.json`](examples/clean-payload-denied-action.json)
280-
281-
---
282-
283-
## Status
284-
285-
`v0.1` — one narrow invariant, enforced on the demonstrated path.
286-
287-
Small surface. Clear failure mode. Receipts over reassurance.
288-
289-
---
290-
291-
## Working paper
106+
Working paper:
292107

293108
**From Policy to Commit: Execution-Boundary Control for Governed AI Systems**
294109

295110
- DOI: https://doi.org/10.5281/zenodo.19980275
296111
- Zenodo record: https://zenodo.org/records/19980275
297-
- PDF (in this repo): [docs/papers/From_Policy_to_Commit_Ricky_Dean_Jones_AlvianTech_Working_Paper_v0.1.pdf](docs/papers/From_Policy_to_Commit_Ricky_Dean_Jones_AlvianTech_Working_Paper_v0.1.pdf)
298112

299-
### Citation
113+
## Status
300114

301-
Jones, R. D. (2026). *From Policy to Commit: Execution-Boundary Control for Governed AI Systems* (v0.1). Zenodo. https://doi.org/10.5281/zenodo.19980275
115+
`v0.1` — bounded public proof surface.
302116

303-
---
117+
Small surface. Clear failure mode. Receipts over reassurance.
304118

305119
## License
306120

307-
MIT. Use it. Break it. Tell me how.
121+
MIT.

0 commit comments

Comments
 (0)