pam ▸ docs/generated/ralph_loop_2026-03-16_eventful_metadata_gap.md
updated 2026-03-28
Ralph Loop 2026-03-16: Eventful Metadata Gap
Change
Added replay-prep diagnostics that separate true eventful-score zeros from missing eventful metadata in journal payloads.
Files changed:
research/prepare_replay.pyresearch/status.pyresearch/discord_status.pyresearch/README.mdtests/test_prepare_replay.py
Why
PRD 001 work was being diagnosed as a scanner-calibration problem, but the current
journal snapshot shows most replay rows do not carry eventful metadata at all.
Without separating those cases, large_move_untagged_rows overstated scanner
failure and hid a data-quality issue.
Validation
python3 research/prepare_replay.py --db data/unicorn.db --out research/replay_rows.jsonlpython3 main.py research-statusPYTHONPATH=. pytest -q tests/test_prepare_replay.py
Observed evidence
From the refreshed replay summary:
pair_eventful_metadata_rows=2/1280pair_eventful_metadata_missing_rows=1278large_move_rows=28large_move_missing_eventful_metadata_rows=28large_move_zero_score_rows=0
Conclusion
The immediate bottleneck is journal payload completeness, not a threshold that is
rejecting otherwise scored eventful rows. The next bounded change should target
why recent opportunity_scan_results.payload_json entries are missing
eventful_score and related fields during continuous-loop collection.