Repository navigation
Specify cead as a system in TLA+ - #11
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
…, 1 denied, 3 calls) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
…xecutor Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
… trusted only to keep jobs running Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
…om the processor (TLC 2.19; 2 commands, 1 denied, 3 calls) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
… noun, the record, as Linux audit does Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
… its parent (TLC 2.19; 2 commands, 1 denied, 2 calls, 2 boots) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
…; a turn without a command ends a process Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
… their own cfg (TLC 2.19; cead.cfg 1 call, 2 boots; tree.cfg 2 processes, depth 1, 2 calls) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
…e, with no status to drift Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
|
1zeroone0
marked this pull request as ready for review
September 29, 2026 05:53
2 tasks done
1zeroone0
added a commit
that referenced
this pull request
Sep 29, 2026
The method in AGENTS.md and CODE.md, as practiced in #11, with nothing left that ages. ## What this PR does - AGENTS.md: evidence outranks every artifact. When code or a measurement disagrees with a spec, doc or decision, it changes in that PR; it is never defended. - AGENTS.md: a PR that changes what the spec says opens with that change, TLC green, before any code (replaces the "seed's shape" rule, which CODE.md never defined). - CODE.md: removes the "unpracticed" note, the "green before any Rust exists" lines, and the pointer to "the first Lean PR"; each aged or pointed outside the file. - CODE.md TLA+: two practices from #11. Every property has a mutation TLC catches. Committed cfgs run in about a minute; larger bounds are one-off runs recorded in the PR. - CODE.md Lean: green before the Rust it specifies, per function. ## What this PR does not do - Change the pipeline, the vocabulary, or the Rust rules. - Decide how Lean outputs reach `cargo test` (open in Horizon #7: agent and meters). ## Merge requirements - [x] No statement in AGENTS.md or CODE.md depends on the state of a PR or on time. - [x] Each removed rule is either said once elsewhere or no longer true. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
3 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Specify cead as a system in TLA+, confidential-first. The first practice of the method settled in #10.
What this PR does
spec/cead.tla: the whole system, coarse, in three layers. One protocol, two modes that differ only in who guarantees its assumptions: attested, where the processor proves them, and trusted-host, where they are asserted. The modes are also a measured comparison of what attestation costs, not a claim that it is safer.agentspawns a child process with rights ⊆ its parent's, depth − 1 and a capped meter; every call charges each meter up to the root (KeyKOS). A process ends when the model replies without a command; its live descendants are killed. Revocation iskill, reaching only descendants (a PID namespace per spawn). The model's processors are virtual:Dispatchgives a ready process one.KeySecret,KeyBound,SnapshotSealed,Descendants; availability is the host's and the scheduler's.agent, since agent delegation's in-distribution form is a semantics shell job control already carries.What this PR does not do
Dispatch, so starvation is the scheduler's (trusted for availability only).Policyis a constant (Horizon: policy).Merge requirements
Record
cead.cfg(2 commands, 1 denied, 1 call, 2 boots) 437,752 distinct states, 30 s;tree.cfg(2 processes, depth 1, 2 calls) 783,076, 44 s. 26 mutations, all caught, two needing 3 boots or 3 processes.LoseandResendcut the smallest bound from 10+ min to 5 s); Linux cannot revoke a running child's rights (revocation iskill, no membrane).🤖 Generated with Claude Code