32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
---
|
|
model: gpt-5.6-sol
|
|
provider: openai
|
|
service: opencode
|
|
timestamp: 2026-07-29T04:17:23Z
|
|
git_ref: ce33deb6
|
|
diff_cmd: git diff HEAD~1..HEAD
|
|
---
|
|
|
|
> `git diff HEAD~1..HEAD -- piker/storage/nativedb.py piker/storage/_audit.py tests/test_storage_nativedb.py tests/test_storage_audit.py`
|
|
|
|
Fixed the remaining legacy first-slot sentinel observed in live MNQ 60s
|
|
history: `time=60` with zero open, high, low, close, and volume. NativeDB now
|
|
repairs the exact sentinel before read hydration and merge, reindexes the
|
|
filtered view, and persists the repaired frame on the next valid update.
|
|
|
|
The repair remains narrowly scoped. Modern all-zero OHLC bars stay valid for
|
|
spreads or synthetic instruments, null-containing malformed rows still fail
|
|
validation, new writes can not recreate the first-slot sentinel, and a file
|
|
containing only sentinels loads as no history so fresh backfill can proceed.
|
|
|
|
The raw audit reports total all-zero price rows, classifies first-slot
|
|
sentinels as structural violations, and leaves later all-zero rows visible as
|
|
unclassified warnings.
|
|
|
|
Verification generated with the patch:
|
|
|
|
- NativeDB, audit, history, xonsh, and IB regressions: 61 passed
|
|
- focused Ruff: passed
|
|
- `git diff --check`: passed
|
|
- final adversarial review: no findings
|