Repository navigation
Conversation
…cerCore (step 1, part 1) ONE-FRAME-ONE-MEMORY.md, step 1: the authority's one record is PlacerCore. The ledger kept each lease's bytes a second time (Held.lease.bytes), written at the carve and the shrink after the core had already moved them. - sage: Ledger::holding(id, place) and PlacerCore::holding(ask, place) answer a claim's committed or retired holding. - kernel: Held keeps LeaseMeta (id, consumer, kind, acquired, expiry, policy), never bytes. A lease's bytes are read from the core: held_bytes for sums (a lease the core holds nothing for holds nothing), snapshot/snapshots for callers. lease() returns an owned snapshot. The carve's and the shrink's separate writes are deleted: the remainder is read back from the core. - one expiry rule (lease::expired) for ResourceLease and LeaseMeta. Validator: a_lease_is_what_the_core_holds_for_it_through_carve_shrink_release_ and_a_move_in_flight (Codex's ask): after a carve, a shrink, a shrink asked but not yet given, and a release, the lease a caller reads equals the core's holding. Every existing ledger and daemon test passes unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
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.
ONE-FRAME-ONE-MEMORY.md, step 1: the authority's one record is PlacerCore. The
ledger kept each lease's bytes a second time (Held.lease.bytes), written at the
carve and the shrink after the core had already moved them.
a claim's committed or retired holding.
never bytes. A lease's bytes are read from the core: held_bytes for sums (a
lease the core holds nothing for holds nothing), snapshot/snapshots for
callers. lease() returns an owned snapshot. The carve's and the shrink's
separate writes are deleted: the remainder is read back from the core.
Validator: a_lease_is_what_the_core_holds_for_it_through_carve_shrink_release_
and_a_move_in_flight (Codex's ask): after a carve, a shrink, a shrink asked but
not yet given, and a release, the lease a caller reads equals the core's
holding. Every existing ledger and daemon test passes unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE