Record branch-scan follow-ups in Taken

Carry the October 23 deeper scan into the federated store. Add
bounded tasks for public feed control, shared-memory portability,
chart rendering and installed CLI/API coverage, with links to the
complete original sources.

Extend search, clearing, TIPC and documentation follow-ups; refresh
the committed IB recovery candidate and advisory priorities. Keep
historical test reports distinct from fresh qualification and
preserve existing task states.

(this patch was generated in some part by `codex` using GPT-6
family models (`openai`); exact model ID unavailable)
wkt/federated_project_stores
Gud Boi 2026-10-30 20:06:39 -04:00
parent 4275fe7338
commit 5e27b06870
1 changed files with 236 additions and 17 deletions

View File

@ -328,6 +328,14 @@ Leave this task and its checklist states under human ownership.
- presumably by something weird in the server-side endpoint?
- [ ] figure out better tuning of client side fuzzy-filter versus
server-side versus UI final display pass!
- [ ] Distinguish retryable provider timeouts from valid empty search
results; re-query the same text after provider recovery without
discarding previously valid results. Reproduce before changing
cache policy: the source flags this risk, while the UI caches
returned empty results as completed provider searches.
[[file:/home/goodboy/repos/piker/piker/brokers/ib/symbols.py::252][IB empty-result/timeout concern]]
[[file:/home/goodboy/repos/piker/piker/ui/_search.py::831][UI search-result cache publication]]
*** TODO ish for port to `uv`,
:PROPERTIES:
:CREATED: [2026-05-21]
@ -569,6 +577,16 @@ directional stream helpers and the pure OrderState reducer are
implemented. Prior qualification: 65 offline tests and eight IPC
tests passed. Production endpoints still use the legacy protocol.
The cached #59 account records an IB fix which stopped forwarding
benign warnings as terminal errors. Preserve that contract during the
migration: the current UI still removes an order dialog for every
=Status(resp='error')=. This is a regression obligation, not a newly
reproduced warning bug.
[[file:/home/goodboy/repos/piker/gitea/59.md][Original IB warning-severity fix account]]
[[file:/home/goodboy/repos/piker/piker/ui/order_mode.py::1194][Terminal error handler and dialog cancellation]]
- [ ] Qualify nonterminal warnings followed by fills or cancellation;
preserve the working order/dialog until a terminal event occurs.
- [ ] Port paper and its paired EMS consumer together.
* [ ] Typed startup, requests, events and open-order completion.
* [ ] Deterministic synthetic ticks and distinct execution IDs.
@ -635,14 +653,33 @@ and scan manifests remain private local workflow state. They are not
part of this store's commit. Durable plans and prompt provenance keep
their established locations; they are not duplicated into an archive.
Coverage excludes external symlink targets, raw harness databases and
JSONL/tool caches, credentials, generated environment/binary files,
code-level TODO comments outside tracking documents, and historical
versions absent from the inspected branch tips. Source issue links
The initial sweep excluded external symlink targets, raw harness
databases and JSONL/tool caches, credentials, generated environment or
binary files, code TODO comments outside tracking documents, and
historical versions absent from the inspected branch tips. Source issue links
and cached PR descriptions do not establish their current remote state.
Branch observations below describe the initial sweep; recheck the
relevant checkout before assigning follow-up work.
**** Deeper follow-up scan, 2026-10-23
Rechecked all 33 worktrees and 129 local branch tips, plus tracking
documents at 415 cached remote refs. Deduplication found 313 distinct
local/worktree document contents and 28 additional remote-only
variants. Code-marker searches covered the 124 distinct local or
detached tips; comments are investigation leads, not confirmed bugs.
Dirty tracking documents and the growing TIPC implementation were
also inspected. Remote-only code and raw harness logs were not audited;
no network refresh or product test ran. Original documents stay intact.
Recovered assignments below cover public feed control, SHM/platform
qualification, rendering fidelity, and installed CLI/public APIs.
Existing search, clearing, TIPC and documentation tasks absorb related
follow-ups. Old PR94 review findings have corresponding fix history
in =1fa45dfa=, an ancestor of the present landing candidate; do not
reopen those findings solely because their review files still exist.
Detailed scan catalogs stay in local temporary storage.
*** Approximate priority and main baseline
This is an advisory order, not a change to Org priority or task state.
@ -652,8 +689,9 @@ observed active edits ahead of branch age or raw commit count.
1. Finish review of the bounded runtime/IB recovery candidate for #94.
It is the active integration path and blocks much downstream work.
Keep the accepted daemon-teardown deferral explicit.
2. Reproduce and fix chart/daemon teardown failures; implement the
independent-service chart detach/reattach and order-bootstrap tests.
2. Fix the confirmed order-pane validation crash and reproduce/fix
chart/daemon teardown failures; implement independent-service chart
detach/reattach and order-bootstrap tests.
Native crashes and misleading stale order displays need separate
evidence from successful surviving-chart smoke tests.
3. Qualify history/storage correctness and the dirty segment refiller,
@ -662,9 +700,12 @@ observed active edits ahead of branch age or raw commit count.
4. Continue strict typed clearing from its implemented foundation,
starting with the paired paper/EMS boundary and real-actor tests.
5. Review small provider/search correctness and chart-gap/DPI changes
as bounded candidates where they can proceed independently.
as bounded candidates where they can proceed independently. Qualify
rendering leads before treating comments as demonstrated failures.
6. Review the actively edited TIPC/remote-feed bridge against the
selected runtime and ownership contracts before expanding it.
Public feed-control and installed CLI/API coverage are supporting
work; their basic isolated CLI checks can proceed independently.
7. Qualify the Trend Calculus prototype, Pine parity and live chart
behavior; keep external Jev/service work behind its explicit gates.
8. Pursue cumulative-volume rendering, revisioned FSP graphs and the
@ -685,8 +726,11 @@ The landing path is 23 commits ahead of main at =4133f073=, 25 at
=7bef50b0=, and 28 at =dc618229=; each contains local main. The aggregate
development tips generally omit eight main commits while carrying
large shared stacks. These are ancestry counts, not independent
features or proof of patch equivalence. No product tests were run by
this inventory; test counts below are attributed historical evidence.
features or proof of patch equivalence. The follow-up scan found the
six recovery boundaries committed through =3ec447a4=, now 34 commits
ahead of main, with a clean tracked tree and unrelated untracked
recovery material. Main remains =7c8c1c4c=. No product tests were run
by this inventory; test counts below are attributed source evidence.
The August repository landing plan remains preserved as design and
history evidence. Its baseline, ordering and external-status claims
@ -702,14 +746,16 @@ must be compared with this October snapshot before reuse.
:END:
Objective: review the current #94 candidate with accurate attribution,
explicit omissions and a viable downstream continuation.
Next action: inspect the six-boundary candidate and current dirty
checkout at =wkt/land_ib_recovery@dc618229= with its owner.
Next action: review the six committed recovery boundaries through
=wkt/land_ib_recovery@3ec447a4= with its owner, then review downstream
replay evidence against that exact candidate. This supersedes the
earlier dirty-tree observation at =dc618229=.
**** Context and source
The candidate retains the runtime/Nix/pin foundation, correlated IB
MethodProxy responses, daemon error propagation and isolated feed
consumers. The working diff backs out cached IB quote ownership,
consumers. The committed recovery series backs out cached IB quote ownership,
partially backports reset/no-data adapter behavior, adds owned EMS
subscriptions, removes one null-sample debugger stop, and records
real-runtime regression and manual evidence.
@ -1061,11 +1107,12 @@ Next action: read the dirty implementation and tests in
**** Observed implementation
Ten tracked files are modified across discovery/runtime, services,
feed/flows, sampling, FSP and chart startup. Untracked files are
=piker/data/_remote.py=, =tests/test_remote_feed.py= and
=tests/test_discovery_backend.py=. The branch's shared HEAD with the
clean downstream evaluation does not mean their working trees match.
The dirty work now spans discovery/runtime, services, feed/flows,
sampling, FSP and chart startup, with new remote-feed, datad-placement
and multi-host examples/tests. Staging is changing during this scan;
re-read the owner's index and worktree before assigning a boundary.
The branch's shared HEAD with the downstream evaluation does not
mean their working trees match.
The new module contains BufferPublisher/BufferReceiver, remote feed
streaming, mirrored samples and feed bridge/portal lifecycle helpers.
@ -1074,8 +1121,30 @@ mirror actor lifetime, discovery backend selection and independent
CLI listener/discovery settings. Their presence is implementation
evidence; this inventory did not execute or qualify them.
The new multi-host guide specifies independently owned provider and
client trees, local mirrored SHM reused by FSP, and separate discovery
and actor IPC choices. It names Tractor =wkt/tipc_discovery@bd6e6211=;
the installed Piker pin is unchanged. Its October 23 test table reports
TCP/UDS contracts, native TIPC lifecycle, two-node deployment and
concurrent datad placement, plus existing FSP/history regressions.
Those are the owner's recorded results, not reruns by this inventory.
[[file:/home/goodboy/repos/piker/wkts/tipc_feed_bridge/examples/multihost_feed.md][Complete multi-host setup, results and protocol limitations]]
The guide distinguishes local namespace failover from physical dual-link
and live GUI qualification. Published snapshots are not atomic across
buffers or concurrent source writes; chunk scans on quotes/idle polls
still need production-scale CPU, memory and network measurement.
Provider UID loss fails the subscription; reattachment creates a fresh
mirror. Seamless recovery through a total partition is not implemented.
**** Review and handback
- [ ] Qualify snapshot consistency during concurrent repair/prepend and
measure copying/scan costs with large history and high quote rates.
- [ ] Keep physical dual-link and actual provider/chart qualification
separate from synthetic namespace results; verify client progress,
new discovery, provider survival and mirror PID/SHM cleanup.
- [ ] Establish the intended local/remote ownership, host discovery
and buffer publication contracts from the actual working diff.
- [ ] Review cancellation, revision loss, extent validation, shared
@ -1085,6 +1154,139 @@ evidence; this inventory did not execute or qualify them.
- [ ] Return the reviewed scope and next integration decision here
without overwriting concurrent edits or inferring acceptance.
*** TODO replace private feed-control context grafting
:PROPERTIES:
:ID: piker-public-feed-control-context
:CREATED: [2026-10-23]
:CARRIED: 0
:REPO: /home/goodboy/repos/piker
:END:
Objective: expose supported control access for subscribed feed streams.
Next action: agree a public duplex child-stream/context contract with
Tractor, checking the selected runtime before changing Piker callers.
**** Context and concerns
The #92 follow-up explicitly requests this interface. Current
=maybe_open_feed()= attaches the root stream's context to private
=BroadcastReceiver._ctx= for pause/resume compatibility. The isolated
consumer fix does not remove this compatibility dependency.
[[file:/home/goodboy/repos/piker/wkts/fix_broadcast_consumers/gitea/92.md][Original broadcast-consumer follow-ups]]
[[file:/home/goodboy/repos/piker/piker/data/feed.py::956][Private child-stream context graft]]
**** Execution, verification and handback
- [ ] Replace the private graft with the agreed public interface and
update pause/resume callers without mutating cache-owned streams.
- [ ] Qualify multiple chart/API subscribers, pause/resume behavior,
lag policy, cancellation, producer EOF and cached-feed reuse.
- [ ] Return the paired Tractor/Piker revisions, focused regression
evidence and remaining integration dependencies to this task.
*** TODO qualify shared-memory portability and remaining shims
:PROPERTIES:
:ID: piker-shm-portability-qualification
:CREATED: [2026-10-23]
:CARRIED: 0
:REPO: /home/goodboy/repos/piker
:END:
Objective: finish platform qualification after the Tractor SHM port.
Next action: audit callers of the remaining Piker shim against the
selected Tractor revision before deciding whether to remove it.
**** Context and concerns
The original #83 follow-up names =maybe_open_shm_array()= and
=_make_token()= as possible removals, explicitly retaining =try_read()=.
Its empty-read guard documents a prepend/index-publication race.
The macOS branch document preserves compatibility proposals and an
unqualified test checklist; its old implementation sketches are not
current API guidance. #64 also requests macOS CI for both projects;
Windows remains separate. Recheck upstream state before assigning it.
[[file:/home/goodboy/repos/piker/gitea/83.md][SHM port and original remaining work]]
[[file:/home/goodboy/repos/piker/gitea/64.md][Platform and CI follow-ups]]
[[file:/home/goodboy/repos/piker/piker/data/_sharedmem.py::159][Empty-read guard and publication concern]]
[[https://pikers.dev/pikers/piker/src/commit/18b66e5506f4f63e24ddb9b38f6c2a37c189603f/docs/macos/compatibility-fixes.md][Complete original macOS compatibility notes]]
**** Execution, verification and handback
- [ ] Decide each shim's ownership after checking callers and tests;
preserve =try_read()= until its publication race has a proven answer.
- [ ] Qualify Darwin/Linux imports and transport credentials, long SHM
names, token identity, multi-process cleanup, graceful/abnormal exit
and absence of leaked owned resources using exact paired revisions.
- [ ] Add a bounded reliable-provider regression and reconcile macOS
CI provisioning. Return results, unavailable-platform gaps and the
shim decision here; coordinate teardown with its canonical tasks.
*** TODO qualify incomplete chart rendering and region interaction
:PROPERTIES:
:ID: piker-chart-rendering-fidelity
:CREATED: [2026-10-23]
:CARRIED: 0
:REPO: /home/goodboy/repos/piker
:END:
Objective: establish correct incremental geometry and chart navigation.
Next action: reproduce the current rendering leads with small known
series before deciding which implementation changes are necessary.
**** Context and concerns
Current code flags incomplete last-pixel source data for FlattenedOHLC.
M4 guards a negative x range by logging and returning None. Reverse
history-region callbacks remain disabled following recursion/performance
problems. These are distinct from cumulative-volume sum downsampling;
this scan did not reproduce a GUI failure or enable disabled code.
[[file:/home/goodboy/repos/piker/piker/ui/_display.py::942][FlattenedOHLC last-pixel source-data concern]]
[[file:/home/goodboy/repos/piker/piker/data/_m4.py::91][Guarded negative M4 x range]]
[[file:/home/goodboy/repos/piker/piker/ui/_display.py::1241][Disabled history-region interaction]]
[[id:piker-cumulative-m4-volume-downsampling][Separate cumulative-volume task]]
**** Execution, verification and handback
- [ ] Compare full and incremental rendering across zoom, append and
prepend in time/index modes; isolate malformed M4 endpoint input.
- [ ] Before restoring reverse region control, bound callback recursion
and measure redraw/label costs with linked realtime/history charts.
- [ ] Return a reproduced case or evidence that a comment is stale,
plus focused geometry checks and performance results, to this task.
*** TODO qualify installed commands and public Python APIs
:PROPERTIES:
:ID: piker-public-cli-api-qualification
:CREATED: [2026-10-23]
:CARRIED: 0
:REPO: /home/goodboy/repos/piker
:END:
Objective: exercise the supported process/API entry points end to end.
Next action: implement isolated installed-script discovery/watchlist
checks, then qualify feed/runtime lifetimes against the chosen baseline.
**** Context and concerns
The human-facing coverage plan contains CLI/API work beyond its chart
journeys. Legacy =test_cli.py= is still blanket-skipped; direct storage
CliRunner tests do not exercise installed executables. The later
live-backend-first roadmap governs provider selection: use existing
bounded fixtures and introduce controlled replay only for specific races.
[[file:/home/goodboy/repos/piker/wkts/human_iface_e2e/plans/opencode/human-facing-e2e-coverage.md::651][Original installed-script/API phase and complete coverage plan]]
[[file:/home/goodboy/repos/piker/wkts/replay_provider_e2e/plans/opencode/live-backend-chart-e2e-review.md][Later provider-first qualification decisions]]
[[file:/home/goodboy/repos/piker/tests/test_cli.py::13][Legacy blanket skip]]
**** Execution, verification and handback
- [ ] Run installed =piker=, =pikerd= and =ledger= help/invalid-argument
contracts, watchlist round trips, and read-only store diagnostics
with isolated config and explicit executable/import provenance.
- [ ] In fresh interpreters qualify public runtime/feed startup,
history/quotes, multiple consumers, pause/resume and bounded exit;
assert actual process/actor/SHM ownership and no leaked resources.
- [ ] Exercise public accounting close/reopen under temporary roots;
coordinate paper EMS/API coverage with the typed-clearing task and
chart/service lifetimes with the existing E2E task, avoiding duplicates.
- [ ] Return stdout/stderr/exit and persistence evidence, selected
fixture/backend requirements and remaining gaps to this task.
*** Trend Calculus and Jev
:PROPERTIES:
:ID: piker-workstream-trends
@ -1133,6 +1335,23 @@ portable skill integration via #93, but that does not settle every
old issue or remaining lint/tooling action. The datad-service document
is preserved as architecture evidence alongside its branch history.
**** Documentation follow-ups recovered from cached descriptions
- [ ] Document the retained smart-dedupe helper, remote annotation API
and exposed shape options against the chosen implementation.
- [ ] Document the offline REPL helper and actual installed store CLI;
reconcile old =ls/delete/ldshm= names with current commands first.
- [ ] Refresh provider API/history/quote schema documentation against
current FeedInit/MktPair and stream contracts. The remote-only
backend-spec branch is source material, not a current specification.
The original #75 source retains its full reasoning and unchecked work;
manual gap repair and chart annotations keep their existing task owners.
[[file:/home/goodboy/repos/piker/gitea/75.md][Complete annotation, storage and documentation follow-ups]]
[[https://pikers.dev/pikers/piker/src/commit/96c70ee542e6f0569ff411062618814662906ae1/piker/brokers/README.rst][Original backend specification from cached backend_spec branch]]
**** Funding and continuing synchronization
The NGI0 proposal and summary retain the original mission, scope,
milestones, budget/research narrative and URLs. Its August 1 deadline
is historical; current submission/funding state was not verified.