SniperGold_ML/evidence/s251_real_workload41_session_ledger.json

179 lines
No EOL
9 KiB
JSON

{
"workload": "P3-S25.1AM",
"chunks": [
650,
671
],
"session": {
"session_start_utc": "2026-09-04T02:03:00Z",
"workload_start_utc": "2026-09-04T02:17:45.568988+00:00",
"workload_end_utc": "2026-09-04T02:35:05.516858+00:00",
"session_end_utc": "2026-09-04T02:48:34Z",
"workload_elapsed_seconds": 1043,
"session_elapsed_seconds": 2734,
"session_non_workload_seconds": 1691
},
"resources": {
"logical_processors": 24,
"requested_worker_processes": 24,
"actual_worker_processes": 22,
"non_empty_workers": 22,
"cpu_utilization_avg": 0.9467,
"cpu_utilization_peak": 1.0,
"ram_total_bytes": 51468738560,
"ram_min_available_bytes": 26748641280,
"aggregate_worker_rss": 2304352256,
"coordinator_rss": 35729408,
"worker_imbalance": 1.0633,
"dispatch_spawn_seconds": 20.0625,
"parallel_span_seconds": 16.8843,
"merge_seconds": 0.1308
},
"efficiency": {
"command_failures": 0,
"edit_primary_failures": 0,
"edit_fallbacks": 0,
"edit_repeats": 0,
"script_corrections": 2,
"validation_corrections": 2,
"non_routine_interventions": 3,
"necessary_interventions": 3,
"avoidable_interventions": 0
},
"token_telemetry": {
"input": "UNAVAILABLE",
"output": "UNAVAILABLE",
"total": "UNAVAILABLE"
},
"interventions": [
{
"trigger": "Prep helper self-check FAIL on first attempt: '628 / byte' pre-count mismatch (got 2, expected 1).",
"observed_evidence": "PREP_FAIL: pre-count '628 / byte': got 2 expected 1; exit code 1; no target file written (fail-closed).",
"finding": "Token '628 / byte' occurs 2x: L446 inside 'next_chunk 628 / byte' (already covered by the 'chunk 628' token) and L455 '628 / byte 15221130133' (requires the unique composite '628 / byte 15221130133' before the generic '15221130133' replacement).",
"decision_basis": "Protocol sections 16/18: one deterministic correction + one re-run permitted before write; scratch-only and bounded.",
"action": "Corrected scratch prep_wl41.py token table: replaced the single '628 / byte' (1) entry with the unique composite '628 / byte 15221130133' (1) placed before the generic byte token; updated STALE/REQUIRED lists; rerun once.",
"result": "PREP_SELF_CHECK_PASS on the rerun: 21 token groups, 70,289-byte output preserved, py_compile OK.",
"state_impact": "None on repository state (prep helper is gitignored); s251_stageb_workload41.py derived purely by the corrected identity-only transform.",
"authorization_status": "Within authorized P3-S25.1AM workload; bounded scratch-helper correction permitted by protocol sections 16/18.",
"necessary_or_avoidable": "necessary"
},
{
"trigger": "Mandatory diff-inspect after the first successful write found two token families missing from the derived runner.",
"observed_evidence": "git diff --no-index review of workload40.py vs workload41.py showed (1) the hardcoded checkpoint-SHA assert still 'ef670fd1...' (the post-chunk-627 value; would abort at startup against the current 89e56d1d... checkpoint) and (2) narrative gate-version tokens still 'v32' (established convention v30->v31->v32->v33 per workload38/39/40).",
"finding": "The token inventory omitted the checkpoint_sha_before assert value and the gate-version tokens; without them the runner would fail closed at startup or record stale gate narrative.",
"decision_basis": "Section 31 diff gate / section 35-B bounded deterministic recovery; current checkpoint SHA machine-verified via certutil (89e56d1d...); gate version v33 per CURRENT_DECISION_GATE.md.",
"action": "Completed prep_wl41.py token table with ('ef670fd1...' -> '89e56d1d...', 1) and ('gate v32' -> 'gate v33'); deterministic sub-correction split 'GATE v32' (case-sensitive: 2 lowercase 'gate v32' + 1 uppercase 'GATE v32') before the re-run; re-derived and re-verified once: 24 token groups, byte length preserved (70289), py_compile OK, diff identity-only (70 insertions / 70 deletions).",
"result": "PREP_SELF_CHECK_PASS; diff shows exactly the 70 intended identity lines; derived runner verified (RUN_BYTE_START 15758001083, PRIOR_CHUNK_ID 649, checkpoint assert 89e56d1d..., gate v33, CHUNK 672+ hard-stop guard only; no chunk-672 staging).",
"state_impact": "None beyond the intended derived runner; no parser/algorithm/checkpoint modification.",
"authorization_status": "Within authorized P3-S25.1AM preparation; bounded deterministic recovery permitted.",
"necessary_or_avoidable": "necessary"
},
{
"trigger": "Final stale-value scan (diff gate, section 31) after execution found the runner's recovery-record status label still 'WORKLOAD40_COMMITTED' (uppercase variant omitted from the prep token inventory; only lowercase 'workload40' was mapped).",
"observed_evidence": "grep: 'WORKLOAD40' count 1 in s251_stageb_workload41.py (line 1347) and 1 in output/p3_s251_real_run_recovery.json; the runner had written the recovery record with the stale label.",
"finding": "The prep token inventory mapped only lowercase 'workload40'->'workload41'; the uppercase 'WORKLOAD40_COMMITTED' status constant was not updated, leaving a stale value in both the committed runner and the recovery journal.",
"decision_basis": "Section 31 diff gate requires no stale values; bounded deterministic single-value correction; the committed runner must carry the correct AM status label for the evidence record.",
"action": "Replaced 'WORKLOAD40_COMMITTED' -> 'WORKLOAD41_COMMITTED' (1 occurrence each) in s251_stageb_workload41.py and p3_s251_real_run_recovery.json; py_compile OK; JSON parse OK; stale scan clean.",
"result": "wl41 WORKLOAD40=0, WORKLOAD41_COMMITTED=1; recovery status 'WORKLOAD41_COMMITTED'; parse OK. No data/cursor/hash change.",
"state_impact": "Label-only correction in the runner and recovery record; no parser/algorithm/checkpoint/byte/hash impact.",
"authorization_status": "Within authorized P3-S25.1AM close-out; bounded deterministic correction required for the committed evidence.",
"necessary_or_avoidable": "necessary"
}
],
"workload_result": {
"run_id": "P3_S251_REAL_TICK_RUN_001",
"byte_start": 15758001083,
"nominal_target": 16294871995,
"byte_end": 16294872031,
"bytes_consumed": 536870948,
"n_atomic_chunks": 22,
"atomic_chunk_ids": [
650,
651,
652,
653,
654,
655,
656,
657,
658,
659,
660,
661,
662,
663,
664,
665,
666,
667,
668,
669,
670,
671
],
"rows_processed": 11187027,
"malformed": {
"column_count": 0,
"timestamp_malformed": 0,
"timestamp_invalid": 0,
"non_numeric_price": 0,
"invalid_volume": 0,
"bid_ask_relationship": 0,
"non_positive_price": 0,
"non_monotonic_timestamp": 0
},
"m15_rows_emitted": 5968,
"m30_rows_emitted": 2986,
"first_timestamp": 1574774617,
"last_timestamp": 1582866747,
"raw_sha256": "8ab4416585e0416cc84e4b37bbd7ede0695767892450cd95407703a9373c9469",
"parsed_sha256": "3ac4ba1866a7468017723bc7ad8fa318e9fccaf0d449239904b1f8774b04bcc3",
"m15_hash": "90fad3db37ce662e63f32529eb160bcd0a0c69a5137d7c82f97e5bf44511bb91",
"m30_hash": "c16f42bd7ba3a23f11c8bced37cf11c0e190a4185f262102cf0f15a3f81ca1d6",
"output_hash": "51ee0f695b3d221203325068de6a7df9bfc0aacabfcaae94f14065e223cf5713",
"final_state_hash": "47b82318fb11e62420db63149d065083e751620b2e6000bcbcb84abf47387185",
"output_carry_m15": {
"ts": 1582866000,
"open": 1638.728,
"high": 1640.678,
"low": 1638.675,
"close": 1639.145,
"ticks": 4253,
"first_ts": 1582866000,
"last_ts": 1582866747
},
"output_carry_m30": null,
"runner_total_elapsed_seconds": 1043.136,
"rows_per_second": 662569.2,
"bytes_per_second": 31797025.0,
"process_span_seconds": 16.8843,
"dispatch_wall_seconds": 20.0625,
"merge_seconds": 0.1308,
"worker_imbalance_max_over_mean": 1.0633,
"aggregate_worker_rss_bytes": 2304352256,
"coordinator_rss_bytes": 35729408,
"checkpoint_sha_before": "89e56d1d56b39d8f73493ff608dfe1001fc41a42c3a77a12fb2b6e3168a2f3ab",
"checkpoint_sha_after": "aca627819c5cde8d2076c3fdfab1c376690d44062154d3b4b8220be171bd9fdb"
},
"validation": {
"gates_15_of_15": true,
"parallel_equals_canonical_atomic": true,
"parallel_equals_canonical_stream": true,
"canonical_atomic_equals_stream": true,
"interruption_all_match": true,
"mutation_detection": "8/8",
"mutation_all_detected": true,
"process_lasso": "NOT RUNNING"
},
"checkpoint": {
"last_completed_chunk_before": 649,
"last_completed_chunk_after": 671,
"next_chunk_after": 672,
"next_byte_start_after": 16294872031,
"advanced_exactly_once": true,
"read_back_matches": true,
"sha_recomputed_matches": true
},
"final_classification": "A - REAL 24-WORKER WORKLOAD VERIFIED",
"mandatory_statement": "No P3-S25.1AN / chunk 672 workload was executed in this session."
}