piker/ai/prompt-io/opencode/20260814T032716Z_2aa66c2c_p...

2.3 KiB
Raw Permalink Blame History

Prompt

The user asked what work had been done so far, then authorized autonomous work while AFK. The target was to scheme and prototype an actor-local gap annotator from the backfiller_deep_fixes tip without mutating existing branches. The user then clarified twice that the annotation IPC API must remain available and should become more rigorous and msgspec-typed rather than being removed.

Generated code

git diff HEAD~1..HEAD -- piker/ui/_gaps.py

Adds tagged gap request/reply structs, render-ready gap specs, vectorized OHLCV timestamp-gap detection and chart-local overlay ownership.

git diff HEAD~1..HEAD -- piker/ui/_remote_ctl.py

Adds strict Tractor gap IPC, AnnotClient stream mapping/locking and owner-scoped endpoint cleanup while retaining the legacy annotation endpoint.

git diff HEAD~1..HEAD -- piker/ui/_display.py

Starts the local 60-second overlay after display-state registration.

git diff HEAD~1..HEAD -- piker/ui/_interaction.py

Routes Ctrl+G from the focused charts existing async input loop directly to the local controller.

git diff HEAD~1..HEAD -- piker/ui/_widget.py

Stores the chart actors local controller reference.

git diff HEAD~1..HEAD -- piker/ui/_annotate.py

Keeps redraw repositioning isolated by FQME and synchronizes arrow geometry.

git diff HEAD~1..HEAD -- piker/tsp/_annotate.py piker/storage/cli.py

Renames the remote annotation control type and context manager to the client-oriented AnnotClient / open_annot_client interface.

git diff HEAD~1..HEAD -- tests/test_gap_overlays.py

Adds deterministic detector, directional payload-schema, typed error and msgpack roundtrip regressions.

git diff HEAD~1..HEAD -- tests/test_ldshm.py

Updates storage CLI test seams for the renamed annotation client context.

Generated architecture output

git diff HEAD~1..HEAD -- plans/opencode/chart-local-gap-overlays.md

Documents ownership, startup, UI, strict IPC, refresh and branch landing semantics.

Verification output

Source resolution points to this worktree. The targeted regression passes, Ruff reports no changed-file findings, compileall succeeds, git diff --check succeeds and Tractors strict gap payload decoder initializes.