Grants carry a state's declared cap; the checker's compositions get room and a drop tool; the assigner trusts no stale reads (issue 1975) #206

Merged
mesh-tools merged 5 commits from fix/engine-reads-and-compositions into main 2026-11-12 10:23:30 +00:00
Member

Group fix/engine-reads-and-compositions with mesh-contracts (issue 1975 note 6).

  • grants: a state's declared max-mib reaches its bucket, and a held bucket is raised to it (create.go made every state bucket 64 MiB and bucketsOf dropped MaxMiB).
  • checker: state compositions declares max-mib 256 (lifetime stays 3 days; grants cannot lower a held one); a tool checker_composition_requests_drop {check, why} drops one check's kept requests after recording the hand act; the refusal words name it. KV_mesh-delivery-checker_compositions is full today (67,056,452 of 67,108,864 bytes), so every composing check fails 'maximum bytes exceeded'.
  • assigner: hearReadsChanged hands the event to the Keeper before asking again.

Quick fix: none possible by tool (no drop tool existed). Thorough fix (chosen): the cap carried for every module's state, plus the drop tool.

This group's own check will fail at the composition step, because the store stays full until it is delivered.

Reviewed-by: mesh-code-reviewer@shanks at b83c546831 (round 2; one finding left, the manifest validator verdict, which this check gives)

https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h

Group fix/engine-reads-and-compositions with mesh-contracts (issue 1975 note 6). - grants: a state's declared max-mib reaches its bucket, and a held bucket is raised to it (create.go made every state bucket 64 MiB and bucketsOf dropped MaxMiB). - checker: state compositions declares max-mib 256 (lifetime stays 3 days; grants cannot lower a held one); a tool checker_composition_requests_drop {check, why} drops one check's kept requests after recording the hand act; the refusal words name it. KV_mesh-delivery-checker_compositions is full today (67,056,452 of 67,108,864 bytes), so every composing check fails 'maximum bytes exceeded'. - assigner: hearReadsChanged hands the event to the Keeper before asking again. Quick fix: none possible by tool (no drop tool existed). Thorough fix (chosen): the cap carried for every module's state, plus the drop tool. This group's own check will fail at the composition step, because the store stays full until it is delivered. Reviewed-by: mesh-code-reviewer@shanks at b83c546831b0392fe33aca84f64dfcb16f787f16 (round 2; one finding left, the manifest validator verdict, which this check gives) https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
mesh-tools added 5 commits 2026-11-12 10:02:38 +00:00
The assigner keeps each reads-changed event it hears beside its statement (enginereads.Keeper.HeardChanged),
reads a node as the event says while its statement is behind it, and asks again until the statement is as new.

Builds: issue 1975 note 4 (the lead's handover; no design line)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
Builds: the lead's handover of 2026-11-12 (principle 7, principle 4; no design line)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
Builds: issue 1975 note 6 (the lead's review round 1; no design line)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
Builds: issue 1975 note 6 (the lead's review round 1; no design line)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
checker: compositions keeps ttl-seconds 259200 with max-mib 256; the texts say only what holds (issue 1975 note 6)
mesh/delivery merged: source.main moved to novox/mesh-delivery@983c46e2576c
mesh/delivery-group group fix/engine-reads-and-compositions merged: every member is merged
mesh/check checking b83c546831b0 on 983c46e2576c | novox/mesh-delivery#206 in group fix/engine-reads-and-compositions
b83c546831
Builds: issue 1975 note 6 (the lead's review round 1; no design line)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
Author
Member

Delivery novox/mesh-delivery@b83c546831b0 — merged since 2026-11-12T10:23:33Z

Source — source.main moved to novox/mesh-delivery@983c46e257. Whether it reached the machines is mesh-delivery-view's, derived from source.main, the wants and the haves.

Group fix/engine-reads-and-compositions: novox/mesh-contracts@04c6a1eead, novox/mesh-delivery@b83c546831

Transitions

  • 2026-11-12 10:02 (new) → proposed (announced): novox/mesh-delivery#206's head announced
  • 2026-11-12 10:02 proposed → ready (accepted): a verdict names this commit and the trunk's head as its trunk commit, the gate passed or warned, and the repository's own check did not fail; or the check gates no merge (check-gates-merge false)
  • 2026-11-12 10:23 ready → merged (merged): on the trunk its modules follow: merged there

The commit's note under refs/notes/mesh-plan keeps every transition of this change up to its merge: git log --notes=mesh-plan.

<!-- mesh-delivery:view --> **Delivery** `novox/mesh-delivery@b83c546831b0` — **merged** since 2026-11-12T10:23:33Z **Source** — source.main moved to novox/mesh-delivery@983c46e2576c. Whether it reached the machines is `mesh-delivery-view`'s, derived from `source.main`, the wants and the haves. **Group** `fix/engine-reads-and-compositions`: novox/mesh-contracts@04c6a1eead98, novox/mesh-delivery@b83c546831b0 **Transitions** - 2026-11-12 10:02 (new) → proposed (announced): novox/mesh-delivery#206's head announced - 2026-11-12 10:02 proposed → ready (accepted): a verdict names this commit and the trunk's head as its trunk commit, the gate passed or warned, and the repository's own check did not fail; or the check gates no merge (check-gates-merge false) - 2026-11-12 10:23 ready → merged (merged): on the trunk its modules follow: merged there The commit's note under `refs/notes/mesh-plan` keeps every transition of this change up to its merge: `git log --notes=mesh-plan`.
mesh-tools merged commit 983c46e257 into main 2026-11-12 10:23:30 +00:00
mesh-tools deleted branch fix/engine-reads-and-compositions 2026-11-12 10:23:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#206