Commit Graph
87 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 4228e5c552 e2e codex-delta: our skip counters are cumulative; report the per-cell difference
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 01:14:22 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ff44dd606b e2e codex-delta: plan doc, matrix job generator, browser check helper
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:35:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b17fe85a9e e2e codex-delta: stack.json after the variant env, prefill share line
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:34:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5629dd0b39 e2e codex-delta: copy seeds with writable permissions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:32:57 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e0d93a629a e2e: Codex lossy-vs-lossless delta study: task set (7 tasks with acceptance), logging proxy, cell/block runner, index and delta tools
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:31:58 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e1bd61f59b Merge claude/draft-vocab: opt-in LELEKA_DRAFT_VOCAB (default off). Identity 353/353 rows, 0 flips; paired A/B +0.08% tok/s: no speed claim
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 22:42:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d6fc908641 scripts, docs: draft-vocab paired A/B and identity jobs, upstream findings and port notes
* scripts/e2e/decode/draftvocab-ab.sh: speedtrain3-ab shape, one binary in every arm, counterbalanced
  base/en order, arms dv-base, dv-en, dv-en-eqslots; spec-stats give tokens per round, accepted/offered and
  the accepted-length histogram; validity rejects fallback, missing or unexpected draft-vocab log lines
* scripts/e2e/decode/draftvocab-id.sh: teacher-forced replay with LELEKA_ORIGINAL_SERVE_RT_DIR set (the older
  identity jobs draft over the full head), A/A floor, en against default, optional LELEKA_SPEC=3 control
* docs/experiments/2026-10-30-draft-vocab-en.md: what upstream does (format, digests, selection, default off),
  our status, the port, expectations, what is not verified

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 03:29:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5e4c9c9530 models: all model paths point into the work folder (models/leleka-gates, models/deepseek-v41-flash)
Rewrite the 5090 server model paths in 30 repo files (scripts, tools, docs) from the old
locations (/home/para/leleka-gates, $HOME/leleka-gates, /data/models) to
/home/para/work/leleka/models/..., add the AGENTS.md workspace rule and the move record
docs/experiments/models-move.md. Not merged: the smoke test is pending.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 19:12:29 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7717961a51 scripts: speed-train3 paired A/B (budget 31,300 MiB, RUN_TAG, optional reserve-130 arm) and fixed-slot identity job for the combined branch with the slots-footprint planner fix
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:12:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 83df1cfa7f Merge claude/slots-footprint (eef6f598, planner fix) into speed-train3
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:12:30 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 eef6f598b4 decode reserve back to 300 MiB (130 stays opt-in), A/B job: budget 31,300 MiB, RUN_TAG, slots-res130 arm; docs: the failed first A/B and its fix
The reserve cut was not the cause (the budget was) but it is unproven on the card; per the conservative rule only the slab ships by default. The job runs
both arms with E2E_GPU_BUDGET 31,300 MiB (the slab's savings need budget headroom; the base is card-bound at either value) and RUN_TAG lets a rerun sit beside the
earlier run directories.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:07:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 22dadc3c9c scripts: speed-train2 paired A/B (speed-train, speed-train2, vanilla; seed off) and the fixed-slot static-tier logprob identity job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:37:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f762fc5502 Merge claude/draft-tail into speed-train2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:36:06 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2132886807 scripts: draft-tail paired A/B (speed-train against draft-tail, seed off, per-round host budget in the summary) and the logprob identity job
drafttail-ab.sh is speedtrain-ab.sh with the two ours arms speedtrain-noseed / drafttail-noseed (optional drafttail-ac-noseed =
LELEKA_SERVE_DRAFT_AFTER_COMMIT=on for attribution, v-def for vanilla in the same session), alternating, and a summary that prints the
adjacent-pair differences and the per-round ms budget from the DBG profile lines. drafttail-id.sh is dt-id2.sh with rt-speedtrain
against rt-drafttail (+ the same binary with the draft waiting for the commit): bitwise q_pair identity of the teacher-forced top-16 logprobs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:28:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7823672f04 docs+scripts: VRAM footprint account (ours vs vanilla), slots-footprint A/B job and static-tier identity job
docs/experiments/vram-footprint-5090.md: stage-by-stage account from the speedtrain-ab logs (882 MiB of the 2.27 GiB gap is driver rounding, 324 MiB a second token
table, ~1 GiB the prompt/MoE/MTP side), the three reductions with estimated slots, the candidates not done, what is not verified.
slots-footprint-ab.sh: base-noseed vs slots-noseed (and the alias arm, and a short ledger arm), 100 ms card sampler, FOOTPRINT.txt per run.
slots-id.sh: replay with a static tier and an equal fixed slot count; the footprint changes must not move a logit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:21:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 47d2d38976 scripts: speed-train paired A/B job (ours seed on/off against vanilla, frozen corpus, validity checks incl. turn-5 PLE)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:30:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4a35f39889 Merge claude/parity-audit into speed-train
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:26:41 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 94af186c8c Merge claude/fix-batch-326-329 into speed-train
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:26:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 49be10eaa5 scripts: parity A/B job on the frozen corpus with the long-session guard, VALID/INVALID verdict per arm, experimental placement arms
Uses /data/leleka-e2e/decode/corpus/src/crates (the old leleka-head corpus is gone and gives a ~300-token session), the guarded long-session.py
(--min-final-tokens 200000), re-checks final-turn input tokens >= 200000 and marks an arm INVALID otherwise; all comparisons are ours against ours on the same corpus.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:42:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c84fcdcdd5 e2e: long_session.py refuses an empty corpus, records the corpus digest and fails when the last turn is shorter than 200k tokens
The owner's cleanup removed the source directory of the 245k session; the run then streamed 73-306 token prompts and looked healthy. Exit 2: no usable file.
Exit 3: final-turn input_tokens < --min-final-tokens (default 200000, 0 disables). corpus.sha256 (file list with per-file digests, char count) is written next to long-session.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:39:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e977669a3e scripts: paired settings A/B job for the 5090 parity audit (PCIe share, trace env, decode reserve, IQ gather, LTO build)
A holder job in the shape of the DEV decode-tail dt-profile-ab job; every arm changes one variable from the o-def base with the ranked
upstream expert profile. Not run (queued by the orchestrator only).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:38:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 69db3ab268 e2e: default to the ranked upstream expert profile, record its sha256, refuse a different digest unless E2E_ALLOW_PROFILE_OVERRIDE=1
run-e2e.sh defaulted LELEKA_ORIGINAL_SERVE_EXPERT_PROFILE to gpu-runs/baseline/profile.bin, a bring-up placeholder in expert-id order (47 % overlap with the
ranked upstream data/expert-profile.bin at 11,280 slots). Every harness run therefore started from an unranked VRAM set. The product deploy already pins the
upstream file (crates/deploy EXPERT_PROFILE_SHA256 8f59b4aa...). The harness now defaults to $A/data/expert-profile.bin, writes $OUT/expert-profile.sha256 and
refuses a profile whose digest differs from the pinned one unless E2E_ALLOW_PROFILE_OVERRIDE=1 (the record then says override).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:38:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7788651476 STRA-328: paired reply-tail equivalence check (plan, tool, tests) and consistent prefix-cache doc
No default changes. scripts/e2e/prefix_tail_equivalence.py scores the `reply` prefix-cache tail live: record an agent session against the reply
arm (history built from its own output, so it resumes from its own reply checkpoint), replay the exact request bodies on a cold server
(--prefix-cache-mib 0), and judge greedy identity of every output item, tool-call integrity of each arm (declared name, call_id, JSON arguments
against the tool schema, streamed deltas == done == item, response.completed), restore evidence (cached_tokens) and, with --control, cold-vs-cold
determinism. Verdicts PASS / FAIL_* / INCONCLUSIVE_*. Two sequential phases because one 5090 cannot hold two serve instances.
Tested on in-process fake servers (15 tests); it has NOT been run against the engine. The plan (scripts/e2e/prefix_tail_equivalence_plan.md)
also records the open numeric-gate decision (q_tail_gate needs teacher-forced captures).

docs/prefix-cache.md: the stale "EXPERIMENTAL: off by default" lines now agree with the measured paragraph, and both say that the
rtx5090-32g profile sets the tail while the live equivalence gate is open.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:32:25 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 104659b07b series_eval: state the E3 standard error and degrees-of-freedom wording explicitly
The module docstring (the in-repo spec of the E3 statistics) now says the standard error is sd / sqrt(n_eff),
and that dof = max(1, floor(n_eff - 1)) is floored first and never below 1. Wording only; no code change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:26:26 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c27e26407d STRA-327: laptop run wiring - mandatory run root, STOP/lock checks, launcher, heartbeat reader, tolerant unlock
run_core start now requires --run-root and checks, before any ledger line: STOP file (exit 10),
then a foreign / stale / unreadable lock (exit 4, LOCK_FOREIGN / LOCK_STALE / LOCK_UNREADABLE),
then the run-root guard. The Windows lock path needs a run root named `runs` (exit 3 otherwise)
because watchdog.ps1 and guard.ps1 only look in <artifacts>\locks. unlock exits 0 when the lock
is already gone (guard.ps1 releases it after the cool-down); another run's lock is still exit 4.
heartbeat.json gets a reader: `run_core.py heartbeat` (exit 13 when missing/unreadable/stale) and
`resume` reports a live owner whose heartbeat is stale. New launch_arm.py is the only way to
start an arm: the arm is the child of watchdog.ps1, so no watchdog (script missing, not
startable, or ended without starting the arm) means no arm; the slot is then closed INVALID.
Mock/dry tests only; no PowerShell, no GPU. PowerShell scripts are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:10:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c2d68f750d STRA-326: cross-check the declared machine against hardware.machine_role / gpu_name
validity.py trusted --machine alone, so laptop records declared "server" skipped the 100 W
power floor and the owner attestation. derive_pairs now refuses (MACHINE_MISMATCH, exit 3,
run ids named) records whose hardware.machine_role differs from the declared machine and a
"server" declaration over a Laptop GPU. A schedule `machine` key pre-registers the machine;
run_core finalize reads it from there (--machine only a fallback) and refuses a conflicting flag.
The golden fixture builder stamps machine_role = machine; golden cases unchanged (0 differences).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:01:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5b590db4a3 Merge claude/stra-325 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 857d35ab41 Merge claude/stra-251 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f496e4cb21 Merge claude/stra-308 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bf43f24eb8 Merge claude/stra-316 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 925dea70e8 Merge claude/stra-313 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9ffffc4aff Merge claude/stra-314 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 35a5490580 Merge claude/stra-312 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:14:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7b7e56d389 fix(e2e): replay driver fails a cut-off or failed stream, records token evidence, flags exceeded bound (STRA-308 rework)
D308-1: a turn whose stream ends without a terminal event, with response.failed, with a
non-bound response.incomplete, or without usage.input_tokens is recorded as a failed turn
(integrity_failure reason), later turns are not sent, run status "failed", exit 1.
record-h0 refuses such a stream (no H0 written).
E2(3)/E7 (BA decision 9dcb717a): per turn the server-reported prompt_tokens, the H0
prompt_tokens, their equality, cached/output tokens and output_tokens_source are recorded;
the run lists prompt_tokens_differ_from_h0_turns.
E7(b): output_tokens > N_k marks the arm invalid (bound_exceeded_turns, arm_valid false,
invalid_reasons OUTPUT_BOUND_EXCEEDED, status arm_invalid, exit 4); shorter stays
LENGTH-UNMATCHED. Tests: 28 (8 new, 1 replaced).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:01:55 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2b81191373 fix: recompute_verdict golden - raw_text case and SKIPPED accounting (STRA-314 rework)
QA defects D314-1 and D314-2 on the integrated Train A tree.

D314-1: the golden runner had no branch for the raw_text malformed-input case
(malformed_input_exit3); it now parses raw_text itself and expects exit 3 as the
golden file states.

D314-2: expected keys the tool did not compute were skipped but the case was
counted as passed. Now every expected key is checked or the case is SKIPPED and
counted separately; the summary prints
"cases: N passed: P skipped: S failed: F" and `golden` exits 1 when a case is
skipped unless --allow-skips is given. Newly computed: forbidden_tokens (on the
printed output), mention (refusal message), blind_sd + forbidden_key_prefixes
(new blind-sd sub-command, first 6 valid pairs, no mean), null_simulation
(new simulate-null sub-command, own float path, seeded), --look K, series_b
variants (permutation / unit-scale invariance). Unknown argv flags and unknown
expected keys make a case SKIPPED.

Still independent of series_eval.py and component_class.py; the golden file is
only read, not committed here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:59:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f5638505f6 fix(e2e): capture.py power summary from the enforced limit, attestation carry-through (STRA-251 rework)
D251-1: power_sample_summary min_w/max_w/mean_w are now the min/max/mean of the enforced
power limit column (what E2(1) and validity.py judge), no longer the power-draw column;
draw min/max/mean are printed on stdout as informational only (schema v1 has no field).
D251-4: --meta owner_attestation is shape-checked and carried through when supplied;
nothing is invented or required for server records (absent form + stderr note).
D251-2: countable=false / invalid_reasons=[] stay (schema v1 forbids null); documented
as pending placeholders that the runner finalize command (STRA-316) overwrites.
Tests: 6 new, 1 corrected (25 in test_capture.py).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:59:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 eb7fbf6f9d fix(e2e): owner attestation required on laptop pairs only (STRA-312 rework)
BA decision after Train A QA (STRA-245 comment 9dcb717a, E2(2)): a server
pair needs no owner attestation; a missing one is not a reason and a present
one is ignored. validity.py now applies ATTESTATION_MISSING / OWNER only when
--machine laptop. Two tests added for the server cases. Golden vectors are
unchanged (all attestation vectors are laptop pairs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:58:19 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7736b2ced9 STRA-325: engine start-up metadata lines (leleka-serve meta:)
The serving engine now prints, once at start-up on stderr, a stable machine-parsable
line set beside the unchanged cpu:/gpu: kernel lines:
  meta: build  (git commit, dirty flag, target triple, cargo features, profile name,
                profile file hash if the launcher passes it, hash of the effective values)
  meta: model  (the RECORDED model digest, file size and mtime; nothing is hashed)
  meta: config (context, chunk, prefix block/tail, cpu_workers, KV mode, expert tier,
                speculation)
  meta: cache  (prefix-cache entries/bytes, EMPTY/WARM)
New: crates/leleka-runtime/build.rs, src/serve_meta.rs (pure formatting + unit tests
pinned to scripts/e2e/evidence/golden/engine_meta_sample.txt), two call sites in
backend_original_serve.rs, one Run field set in backend.rs. No behaviour or inference
change; no engine/strata, PTX or provenance change.

capture.py reads build/model/config from either the older run-facts lines or the meta
lines and cross-checks an engine meta cache line; engine_meta_lines.md documents the
fields; test_capture.py gains TestEngineMetaLines.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:54:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 37438d8025 feat(e2e): run core with schedule, fsynced ledger, heartbeat, resume, lock and run-root guard (STRA-316)
New scripts/e2e/evidence/run_core.py and test_run_core.py (stdlib, Python 3.9, no GPU).
Pre-registered schedule reader with hash in every ledger line, next-slot refusal,
append-only fsynced JSONL ledger, resume marking INTERRUPTED, 60 s heartbeat,
exclusive lock (CreateNew/FileShare.None on Windows, mkdir on Linux), run-root
guard (git check-ignore, linked-worktree refusal, 20 GB, STOP file), 256k floor,
and finalize to set countable/invalid_reasons from validity.py.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:50:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8d33052ab2 STRA-313: component classifier (AC10 classes, A/A validity, SUSPECTED/CONFIRMED, AC5 alternative verdict)
component_class.py classifies COMPONENT cells with the statistics imported from series_eval.py
(one evaluator) and gives the AC5(b) Pocock-look verdict; test_component_class.py adds 43 tests.
The 27 ComponentClassGolden vectors of STRA-310 pass unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:37:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a040bc7e5c Merge claude/stra-290 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:15:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b24546260c STRA-290: series evaluator (E3 statistics, E5 verdicts and interim looks, E6 SCREENING)
series_eval.py: log-ratio statistics with lag-1 n_eff correction and Student-t CI,
strict / non-negative verdict classes (PASS, SLOWER, TIE, INCONCLUSIVE), interim SLOWER
looks at 0.0221, SCREENING below N, REFUSED on mixed build / cache state, --blind-sd,
--simulate-null, order tables. records_to_series.py: S0.1 records -> series.json via
validity.py. test_series_eval.py: 68 tests. Golden vectors (STRA-310) untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:10:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ad870950a1 feat(e2e): S0.2b vanilla-arm run capture, vanilla_cpu_family block, three-arm check-set (STRA-315)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:02:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d87b15682d Merge claude/stra-251 into train-a (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:49:02 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f01011a3ba feat(e2e): S0.2 ours-arm run capture (STRA-251)
Add scripts/e2e/evidence/capture.py, which builds one S0.1 END_TO_END record for the
ours arm from the meta file, the replay output, the engine logs and the power series.
analyze_session.py is wrapped by subprocess (--csv), never imported or edited.
Add test_capture.py (19 CPU-only stdlib tests, fixtures built in temp dirs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:40:25 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 806774609e feat(e2e): validity derivation module, schedule balance check and ledger/manifest cross-check (STRA-312)
Adds scripts/e2e/evidence/validity.py (E2 validity rules, E1 balanced-schedule check, E8
ledger/manifest cross-check; countable is derived, never typed) and test_validity.py.
The STRA-311 golden vectors pass unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:36:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5cf222fd18 Merge claude/stra-314 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f8d76cf261 Merge claude/stra-311 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 794d4ab1dc Merge claude/stra-310 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 37a404856b Merge claude/stra-308 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:09 +01:00