Ratify M10.1 timing and workload budgets with session traces
Foundation / checks (deploy) (push) Successful in 1m0s
Foundation / checks (ecs) (push) Successful in 3m34s
Foundation / checks (network) (push) Successful in 8m8s
Foundation / checks (client) (push) Successful in 14m49s
Foundation / checks (tsan) (push) Successful in 7m35s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 16m18s
Foundation / checks (checks) (push) Canceled after 29m27s
Foundation / checks (deploy) (push) Successful in 1m0s
Foundation / checks (ecs) (push) Successful in 3m34s
Foundation / checks (network) (push) Successful in 8m8s
Foundation / checks (client) (push) Successful in 14m49s
Foundation / checks (tsan) (push) Successful in 7m35s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 16m18s
Foundation / checks (checks) (push) Canceled after 29m27s
ADR-0089 records the maintainer-ratified 50 ms tick, 1 s flush with final outcomes p95 <= 1.5 s, responsiveness targets and reference hardware, plus derived scheduling, sequence, identity, baseline, queue/byte/work budgets and the exact/tolerant determinism contract (schemas/network/m10-budgets-v1.md). Adds SessionClient traffic counters, `evo-dev-session trace` and a reproducible trace script; development-reference results are in M10_TIMING_TRACES. Records that genome v1 and metabolism rates are per tick, so the quantum fixes biology rates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -187,6 +187,15 @@ void connect_view_intents_and_outcomes() {
|
||||
h.tick();
|
||||
CHECK(h.until([&] { return must(c->latest_view()).server_tick == 102; }));
|
||||
CHECK(c->environment().current()->cells()[0].quantity[0] == 102);
|
||||
// M10.1 traffic counters: every received frame counted with its header.
|
||||
const auto traffic = c->traffic();
|
||||
CHECK(traffic.environment_views == 2 && traffic.organism_views >= 1 &&
|
||||
traffic.environment_view_bytes > 2 * frame_header_bytes &&
|
||||
traffic.frames >= 1 + traffic.environment_views + traffic.organism_views &&
|
||||
traffic.bytes >=
|
||||
traffic.environment_view_bytes + traffic.organism_view_bytes +
|
||||
(traffic.frames - traffic.environment_views - traffic.organism_views) *
|
||||
frame_header_bytes);
|
||||
|
||||
// Admitted intention: carried by a host input, then durably committed.
|
||||
CHECK(c->send({1, 0, 1000, 0}));
|
||||
|
||||
Reference in New Issue
Block a user