Commit Graph
248 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 8713ccd7b2 scripts/decode-sm120: replay job sets the explicit replay opt-in
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 03:27:08 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7636ec5d91 scripts/decode-sm120: trimmed jobs (e2e: base1 all1 all2 base2, seed off, no CUPTI by default; replay: two processes, side optional)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 03:00:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b03510f43f scripts/decode-sm120: summarize.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 02:16:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c9b91ac543 scripts/decode-sm120: jobs for three switches (replay identity in three processes), build_rt/test_driver fixes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:55:59 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 75f166c9ba sm120 decode switch SIDE_MIXER (GDN part): gates and gate projection on side streams of the verify window graph (off by default until its gates pass)
Upstream STRATA_SIDE_MIXER=2, GDN half: each GDN layer's alpha/beta gates (gdn_alpha_beta) and gate projection (mmvq GdnGate) are issued on two side
streams that fork from the capture stream right after the q8_1 quantization (before the qkv projection) and join before the recurrence; no kernel changes,
only the dependency edges of the captured graph. OriginalCapture owns the side streams and their fork/join events (created before cuStreamBeginCapture
for a VerifierWindow capture when the switch is on, destroyed after the capture ended) and hands out the side stream from stream_handle() between
side_fork(i) and side_end(i). Not in a split (two-group) window, as upstream. The QSA half of upstream's switch (indexer chain, queries chain) is not ported.

Switch: policy.side_mixer, LELEKA_SM120_SIDE_MIXER=0|1, replay arm flags !side / !noside. Default OFF: no identity or timing result yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:52:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 78cdd2d169 scripts/decode-sm120: jobs on the frozen corpus and the pinned expert profile, harness files under /data/leleka-e2e, trust check on the last turn's input tokens
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:46:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c8dae30bab scripts/decode-sm120: replay identity job, build_rt fix
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:37:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c605fff02b scripts/decode-sm120: e2e A/B holder job and replay test binary build
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:26:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ce2229b818 scripts/decode-sm120: build_stack.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:20:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0765a20958 sm120 decode switch GU_SWIGLU: fused expert gate/up + SwiGLU + q8_1 (upstream native_gu_swiglu_kernel) in the verify window (default on for cc 12.0)
Replaces window_moe_gu_<T> + swiglu_entries_kernel + quantize_q8_1_kernel of every routed-expert group launch (VRAM and PCIe tier) by one launch of upstream's
native_gu_swiglu_kernel (16-lane sub-warp rows, gate and up row at once) for the gate/up types 16 17 18 21 22 23 at n_embd 2560, n_ff % 32 == 0; every other
format keeps the three-kernel plan. New sealed asset sm120_gu_swiglu.cu (group sm120-decode) textually includes sm120_iq_prefix.cuh, the pinned
iq_kernels.cu up to the dequant banner (generated and checked by scripts/decode-sm120/make_iq_prefix.py; the whole file would instantiate 24 MB of PTX).
Kernel parameter: upstream's 88-byte NativeExpertLayout (the window's 64 bytes + tail_off, had_block, d_signs = 0).

Switch: policy.gu_swiglu, resolved at window recording from the card (cc 12.0), LELEKA_SM120_PERF=0 and LELEKA_SM120_GU_SWIGLU=0|1.

Model-free probe (tools/decode-sm120/sm120_probe.cpp gu, RTX 5090): the q8_1 blocks the down kernel reads are byte-identical to the old three-kernel path in
30 cases (types 16 17 18 21 22 23, 1-8 rows, 1-40 groups, 1-7 entries a group, random blobs with valid block scales); per layer at 4 rows 20.9 -> 14.2 us (16),
29.8 -> 20.7 us (18), 24.9 -> 19.6 us (21), warm L2. Types 29 and 42 are not probed and not routed to the new kernel. Not yet measured end to end.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:20:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0ca709cad1 sm120 decode switch ATTN_DAILY: upstream pre75 attention chunk + merge v2 in the verify window (default on for cc 12.0)
Ports engine/strata qsa_decode_attn.cu attn_chunk_kernel_pre75<mode 1, NC 2> and attn_merge_v2_kernel<16> as sm120_attn_daily.cu (new sealed asset,
group sm120-decode) and selects them in QsaWindow::decode_attention when policy.qsa.attn_daily is set. The policy bit is resolved at window recording
from the card (cc 12.0), LELEKA_SM120_PERF=0 (whole set off) and LELEKA_SM120_ATTN_DAILY=0|1 (wins in both directions, any card).

Model-free probe tools/decode-sm120/sm120_probe.cpp on the RTX 5090: chunk partials, merge(old) of both partial sets and merge_v2 are byte-identical to
the sealed Original kernels on 66 cases (T 1,2,4,5,6,8 x n_ids 2051..0, masked pages, two score ranges). Per call at T=4: chunk 29.8 -> 20.3 us,
merge 6.5 -> 2.9 us (warm L2, graph-timed); 12 QSA layers per window. Not yet measured end to end.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:07:31 +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 8e1edf5e5e Merge claude/stra-320 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 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 4076b9bf8f STRA-320: guard.ps1 watchdog containment (Job Object kill-on-close, dead-man fallback, STOP file) and dry tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:45:54 +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 75254fb593 Merge claude/stra-319 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 3c083ff5fe Merge claude/stra-291 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 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
Pavlo RatushnyiandClaude Sonnet 5.5 d05af6a59a Merge claude/stra-287 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:09 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 df08f9bf14 feat(laptop): native-Windows read-only GPU watchdog with dry tests (STRA-291)
Port of the safeguards of scripts/laptop/monitor.sh and lap_run.sh to
PowerShell 5.1: preflight refusal (exit 4), 1 Hz sampling with a 5 s
nvidia-smi call timeout, stall check off the sampler thread, kills only
the PID tree it spawned, fail-closed on enforced.power.limit N/A/absent,
caller-set timeout, 120 s / 600 s cool-down, exclusive machine lock
(CreateNew + FileShare.None) with runner-lock verification, sample series
file with sha256 and thresholds_source, injectable clock / -TimeScale.
test_watchdog.ps1: 32 named cases against a fake nvidia-smi shim, CPU only.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:30:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2e42d702be test: golden vectors for the series evaluator and component classifier (STRA-310)
Tests-first oracle written by SDET before series_eval.py (STRA-290) and
component_class.py (STRA-313): gen_exact.py (stdlib, independent: Fractions,
Decimal, integrated Student-t CDF cross-checked to published tables, Pocock
levels checked by numerical integration), series_cases.json (35 cases),
component_cases.json (27 component and AC5 cases), and the unittest
scripts/e2e/evidence/test_series_eval_golden.py. With the evaluators absent
every case fails with '<tool> not found'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:28:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ac12774de3 Add tests-first golden vectors for validity rules E2, balanced schedule E1 and ledger/manifest cross-check (STRA-311)
57 synthetic cases with a written-out basis, an independent oracle (gen_validity.py --check)
and a unittest that runs validity.py through its INTERFACE v1; fails 57/57 until STRA-312 exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:21:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6e58d6bd6d feat: add read-only laptop state reader scripts/laptop/win/state.ps1 and dry tests (STRA-319)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:19:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bcd8321941 Add COMPONENT evidence-record schemas and validator (STRA-287, S0.1b)
COMPONENT_STARTUP, COMPONENT_TABLE and COMPONENT_KERNEL record schemas
(schema_component.json), validate_component.py (record / --negative-suite /
merge), one sample per level (two for start-up: ours and vanilla), a
negative-case table and 41 unittest tests. Shares the STRA-246 evaluator and
definitions; stdlib only, Python >= 3.9. Classes are computed elsewhere
(STRA-313); the validator checks presence and consistency.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:17:25 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7899f083a9 Add quality-gate step: q_pair / R-chunk / q_tail_gate result into an S0.1 quality block (STRA-252, S0.4)
Wraps scripts/quality/q_pair.py and q_tail_gate.py by subprocess; verdict identical / within recorded tolerance / differs,
tolerance needs --basis (exit 2), --lossy marks the block experimental, tool-call integrity from session output.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:15:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fe0275b16a test: add independent E3/E5 series verdict recomputation (STRA-314)
Second, separately written implementation of the series verdict (own Student-t
quantile, exact-fraction sums, strict / non-negative rules, n_eff, interim
looks, screening) with series, compare and golden sub-commands and 21 tests.
Imports nothing from series_eval.py or component_class.py.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:15:22 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 638203ae6a feat(e2e): replay driver for the 256k session (record-h0, replay, E7 aggregates)
Fixed history H0, explicit greedy (temperature 0), max_output_tokens = N_k, prompt/reply hashes,
monotonic clock, LENGTH-UNMATCHED flag, --expect-prompt-sha exit 3. STRA-308.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:14:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ff9e36eada Accept thresholds_source S3.7 (STRA-246 review)
STRA-256's thresholds schema names the source S3.7; rename the enum value from S3.7_FILE in schema.json, the test and the countable-without-summary fixture.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:01:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 79c4e29927 Add END_TO_END evidence-record schema and validator (STRA-246, S0.1)
New files only under scripts/e2e/evidence/: schema.json (v1), a stdlib-only
Python 3.9 validator that interprets it (validate.py, CLI v1: record,
--negative-suite, merge), three synthetic sample records, 33 neg_*.json
fixtures with their expected reasons, a placeholder row (b) environment
list, the charter 4.3 field map and 40 unittest tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 19:52:20 +01:00