M10.9d: watermark coalescing, budgets v2, evo-load action ids
Foundation / checks (client) (push) Successful in 14s
Foundation / checks (checks) (push) Successful in 16s
Foundation / checks (deploy) (push) Successful in 15s
Foundation / checks (network) (push) Successful in 18s
Foundation / checks (postgres) (push) Successful in 1m34s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (tsan) (push) Successful in 5m44s
Foundation / server-image (push) Successful in 1m0s
Foundation / postgres-tools (push) Successful in 1m38s
Foundation / image (push) Successful in 2m34s

- IntentLimits::watermark_coalesce (evo-server: every 4, coalesce 4); ADR-0092 amendment.
- m10 load-report splits poll/replicate and commit-tick/other-tick maxima.
- Budgets v2: work p95 <= 25 ms over all ticks, commit ticks <= 50 ms (ADR-0097);
  moving the commit off the tick is a recorded follow-up.
- evo-load: time-based action ids, duplicate_actions, receipts before outcomes;
  drill ramps at 500 ms and judges by v2.
- Refresh the dev session window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-08 18:00:41 -04:00
co-authored by Claude Opus 5.5
parent 1b266b12be
commit 9f9a93d4c8
12 changed files with 267 additions and 28 deletions
+6 -1
View File
@@ -30,6 +30,10 @@ struct IntentLimits {
// Ticks between watermarks to each session (1: every simulated tick). The watermark is
// also every client's clock for the server tick until snapshots carry it (10.5).
std::uint64_t watermark_every{1};
// M10.9d (ADR-0097): while a session's watermark advances, at most one per this many
// ticks (it is cumulative: nothing is lost, "simulated" is learned up to N-1 ticks later).
// 1 keeps one per advance. Datagram sends dominate the session layer under load.
std::uint64_t watermark_coalesce{1};
};
// The host's authority as admission must see it.
struct AdmissionFacts {
@@ -90,7 +94,8 @@ class IntentAdmission {
const AdmissionFacts& facts);
// Watermarks to send after the host simulated through facts.server_tick: to every
// session (sequence 0 before its first simulated intention) at least every
// `watermark_every` ticks, and whenever its sequence advances.
// `watermark_every` ticks, and when its sequence advances (at most every
// `watermark_coalesce` ticks).
[[nodiscard]] std::vector<std::pair<std::uint64_t, SimulatedThrough>>
simulated(const AdmissionFacts& facts);
// Scheduled actions whose tick is <= `tick`: they ride that tick's batch from now on.