Docs and Tracked<WorldHeader> record the first-touch value of every written
key. submit applies to the live state between begin and finish and rolls back
on any error, so the world is no longer cloned per commit; replay reads the
commitments subjects finish() reports instead of cloning the partition.
The encoding is unchanged: golden.digests is byte-identical.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A stored digest flipped without re-sealing, and each genesis clause rewritten
and re-sealed on a lone genesis, are now refused by tests that only that clause
can satisfy. The golden session declares a two-band toss and uses it three
times, so band selection is pinned (golden.digests regenerated). The
BandPreimage doc no longer claims the payload cannot reach the draw; WorldId
byte-equality, and truncation or rollback of an export, are documented as host
contracts in the code and PROVENANCE.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Mutants that survived the first pass: dropping the genesis world-id check,
dropping the resulting-revision contiguity check, and a ghostlight commit schema
check (the old fixture left the next commit's previous digest stale, so the
chain refused it for the wrong reason). Each now has a test that fails without
the rule; all eleven named mutants are killed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fixtures/golden.digests pins every committed revision's state and commit digest
and the export digest for one scripted session: speech (Told), a display, a
routine placed and rolled by a thirty-minute tick, and a refused convene. The
round-trip test reopens the export and checks the next command gives equal
receipts on both worlds. clockwork_commit_cost is an ignored harness that
prints mean tick and speech submit times at 100, 400 and 1600 persons.
PROVENANCE.md records the id, journal and dependency changes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The redb store, the state row, health and ownership checks, verify_append and
the retry paths are gone. WorldJournal holds the commits in revision order;
export() writes { schema: aetherlight.journal.v1, commits } as canonical named
messagepack and open(bytes) decodes canonically and replays through
verify_history, which now reads the slice and returns the head state it
derives. A genesis commit must carry WorldId::of(creation id). chrono,
cultcache-rs and tempfile leave the manifest; uuid v4 is dev-only. Tests build
worlds in memory and reopen from export(); forgery tests build exports.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A command is named by sha256 over world, expected revision, caller and body;
a creation by its own bytes; a world by its creation. The id fields, the
random CommandId::new / WorldId::issue and WorldCommit.committed_at are gone,
so equal commands commit equal bytes. Retry identity goes with them:
SubmitReceipt collapses into CommitReceipt and a resubmitted command is a
RevisionMismatch. Schemas are aetherlight.world_state.v1 and
aetherlight.world_commit.v1; ghostlight rows stay refused.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ControllerAssignment, ControllerId/Mode, NewController, DecisionScope,
SubjectDeclaration.controller, UnadmittedController, validate_assignment and
the snapshot controller fields go. admits_human becomes is_genesis. The
fixture lookup is by label. The channel controller is untouched.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
SubjectState.retired is the one stored statement; is_retired reads it. The
Retire arm sets it; affordance_grants is keyed by SubjectId. Controllers still
compiled; removed in the next commit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A non-Play caller's broken patch and ungranted act are Unauthorized, so dropping
require_play from reduce fails a test (it was not equivalent: the refusal would
leak world structure). A forged empty or padded stored title is Corrupt.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Records what went (with f51275c61 locations), the born-Active genesis and the
one gate; restates the AL2b-1 residue as what AL2b-2b still owns and drops the
leave-set bullets and the valid_until obligation this cut deleted.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
after_genesis_only_play_writes, apply_effect_re_decides_play,
a_world_is_born_active, retired_tags_do_not_decode,
a_revoke_may_leave_a_subject_with_no_verbs, a_subject_may_be_declared_with_no_verbs,
a_retired_subject_takes_no_grant, apply_refuses_a_grant_to_a_retired_subject,
retire_applies_to_every_subject. Deletes CommandId::derived (its only caller was
ConsumerId::of_name) and restates comments that named deleted lanes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CallerId is { Principal, Play }; one require_play gate at the top of reduce and
apply_effect replaces the capability table, the owner's post-genesis doors and
the Clock capability. The consumer lane (ConsumerId, PatchGround, mirrors,
confine_to_ground, operation_ground), the draft phase and approvals,
VerifiedPrincipalEvidence, the dead intents and the never-mute and Retire-side
refusals are deleted. GrantsOutsideControl becomes GrantsToRetired; a grant row
exists iff the subject holds a verb. require_ruler is genesis-only
(forbid_rulings_at_genesis). Schema consumer.v9. Tests of deleted lanes are
deleted, the rest go through submit_play.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Restates comments that named deleted symbols as a reason, swaps the seal
doc-test that named ScopeDigest for DecisionEvent, deletes WorldJournal::commits
and FictionalMinutes::since (dead with the operator log and attention order),
and writes the AL2b-1 PROVENANCE section with the residue list for AL2b-2.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Deletes DecisionOpportunity, ScopeDigest, attention order, last_opportunity_at,
decline, the operator log, controller receipts and the three opportunity
errors. Adds CommandBody::Act and WorldEffect::Acted, admitted for System(Play)
in Active only; require_granted takes the actor. DecisionEvent carries actor,
not scope and controller_id. State and commit schema ids move to v8.
Tests whose subject was a deleted lane are deleted; kept-lane tests are
rewritten onto one helper submitting Act as System(Play), and write-locality
tests compare scope_components.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
require_play_active refuses any non-Play declaration or evidence in an Active
world, restoring the typed-command path as the only door; the owner-declares
test becomes the_owner_cannot_declare_in_active and the kept-lane tests that
used the owner to declare use Play. STATE_SCHEMA and COMMIT_SCHEMA go to v7 and
a v6 row is refused. New tests pin apply_effect's confinement and
declare-in-Active re-decisions, and confine_to_ground's unconditional
retire/grant/revoke arm is probed directly on a hand-built resolved patch
(the resolver refuses those on a mirror first, so no submit can isolate it).
Stale elaboration-lane comments in patch.rs reworded.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove SystemCapability::Elaborator, PatchAnswer, CausalBoundary and its
derivation, the AnswerRequired gate (require_answer, the answers field of
AdmitPatch and PatchAdmitted, the three Answer* errors), ground_covers and the
jurisdiction ground, WorldScaleIntent and its refs, JurisdictionKey, the
scale deficit and the subject snapshot's qualified flag. require_play_active
keeps the one rule require_answer also held: Play authors nothing in Draft.
The owner now declares in Active unanswered.
Tests whose subject was the lane go. Kept-lane tests that used the elaborator
as setup are rewritten over the owner, Play or a consumer: the import-key and
grammar door tests, the capability-admission test, the ruler re-decision tests,
the confined-author retire/grant/revoke tests, the orphan-claim test, and the
witness-arrival test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove the brief string (prompt guidance for model lanes) from CreateWorld,
CreateWorldIntent, WorldState, WorldEffect::WorldCreated, the snapshot and the
journal's state-shape checks, with its replay test. The grammar test's
absent-grammar-key control now reads the title key.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove PersonaMaterial, PersonaReadRef, ComponentOp and ResolvedOp
SetPersonaMaterial with its resolution, apply and confinement arms,
WorldState.persona_material, the subject snapshot's material field and
WorldPatch::sets_persona_of_existing_subject, with the tests whose subject
they were. The op set goes from 34 to 33.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove cover.rs (Cell, Cover, CoverBudget, derive_cover, AgencyGraph), the
kernel's agency_graph projection and CommandId::for_cell and
for_cell_constituent. Nothing in the kept lanes read them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove lens.rs, LensWeights in genesis input, WorldState, snapshot and
creation, SetLensWeights, LensWeightsReplaced, LensWeightsNeverDraw and the
draw-rule shape check. The journal's lens replay tests are rewritten over an
owner AdvanceTime history (replays exactly; a forged caller fails replay).
The state shape changed, so Ghostlight's base_world fixture no longer decodes:
the golden replay test and its three fixtures go (AL4 adds Aetherlight's own).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The -text pin was not needed (the fixtures absorb CRLF and the .cc is binary),
so the file goes. external_admission.rs is described as the cross-crate forgery
proof it is, and the dead-code vocabulary and AL4 obligations are listed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Delete the two compile_fail doc-tests that named items absent from the fork and
drop the error codes stable rustdoc does not check; each remaining doc-test was
shown to fail when its item is made public. Add tests that kill four mutants
which survived upstream too: Committed ignoring kind, Committed ignoring
counterparty, Holds >= turned into >, and the apply-time can_broadcast guard.
Rewrite the crate docs for the fork as it is and remove the two unresolved links.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
lib.rs drops the leave-set modules and re-exports, renames the compile_fail
doc-tests to aetherlight::, retitles the crate doc, and allows dead code until
AL4 adds the ABI. patch.rs drops the tool_schema and codex_connector imports.
lens.rs drops the test that read the dropped PATCH_TOOLS catalog. Imports and
`mut` bindings that only the dropped code used are removed or gated to tests so
`cargo build` is warning-free.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Verbatim copy of lib, action, clock, journal, grammar (+tests), lens, cover,
import_key_tests, patch (lines 1-6059 and 7906-9606) and the base_world
fixtures, with the pruned Cargo.toml/Cargo.lock and a gitignore line for the
target dir. native/aetherlight/.gitattributes pins `-text` so the verbatim
bytes survive autocrlf checkouts. lib.rs still names the leave-set modules,
so this commit does not build; the next commit makes it compile.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>