piker/ai/prompt-io/opencode/20260728T232718Z_ed85721c_p...

1.3 KiB

Prompt

Diagnose the live pikerd failure where backfill publication raised ValueError: OHLCV timestamps must be finite and positive while merging the known gappy MNQ NativeDB baseline with fresh IB history. Determine whether to commit the pending audit stack or iterate first.

Response summary

Traced the primary failure through publish_latest_frame() to NativeStorageClient.update_ohlcv(). The incoming frame was valid, but the canonicalized persisted baseline retained its epoch-zero row and caused the merged frame to fail validation. Added persisted-row repair before merge and a regression using the observed legacy schema characteristics.

Files changed

  • piker/storage/nativedb.py - drop non-positive persisted rows during merge
  • tests/test_storage_nativedb.py - live MNQ failure-shape regression
  • ai/prompt-io/opencode/20260728T232718Z_ed85721c_prompt_io.raw.md
    • unedited response record
  • ai/prompt-io/opencode/20260728T232718Z_ed85721c_prompt_io.md
    • provenance metadata and response summary

Human edits

None - generated changes have not been edited by the human.