fix(core): own cache transports and accept cleanup reviews
This commit is contained in:
parent
bd9332b2f6
commit
b4ac6460ef
24 changed files with 504 additions and 97 deletions
17
docs/development/backlog/tasks/RP01.md
Normal file
17
docs/development/backlog/tasks/RP01.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# RP01 — Inspect stored market-data coverage and quality
|
||||
|
||||
Parent: E12. Priority P1. Complexity M. Authorized by the owner's request to implement the real-data research workflow.
|
||||
|
||||
Outcome: the stored-EOD preparation UI shows available instruments/timeframes/date coverage and diagnostics for an explicit UTC window before requiring complete dataset metadata.
|
||||
|
||||
Evidence: `DatasetPreparation.tsx` currently begins with metadata JSON; `prepareStoredDataset` calls the strict historical reader, which rejects an invalid row before returning a preview. The read-only October 26 pilot again found 22 null-volume rows in 1,816 AAPL five-minute records. Quality inspection must not weaken execution admission.
|
||||
|
||||
Scope: browser-safe shared contracts, fixed EOD Mongo collection coverage and window inspection, existing dataset routes, separate stored-mode inspector, focused API/domain/UI regressions. Show unknown identity/timestamps, malformed OHLCV and duplicates truthfully. No implicit filtering, metadata inference, row caps, writes, cache, financial changes or research-agent permission expansion. Existing strict preview/retain remains authoritative.
|
||||
|
||||
Dependencies: accepted CL05/CL06/CL17. Agent lock: stored-source contracts/service/routes/UI and new tests. Can run beside cache corrections and pilot preparation.
|
||||
|
||||
Acceptance: actual stored coverage is inspectable; empty/error/loading/cancel states work; changing input fences late responses; full requested range is diagnosed; no source or research records are written; a clean diagnostic never implies execution eligibility. In-flight Mongo cancellation limitations are explicit.
|
||||
|
||||
Tests: source inspection domain/HTTP and production component tests; existing stored/prepared dataset suites; shared contract/browser bundle tests; read-only actual Mongo smoke; typecheck/lint; repository and browser integration gates. Independent backend and frontend review before completion.
|
||||
|
||||
Risk: falsely claiming complete sessions, losing UTC range identity, stale UI results, or bypassing strict preparation. Root owns manifest status and commit evidence in `real-data-research.md`.
|
||||
15
docs/development/backlog/tasks/RP02.md
Normal file
15
docs/development/backlog/tasks/RP02.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# RP02 — Complete a retained real-data research pilot
|
||||
|
||||
Parent: E12. Priority P1. Complexity M. Authorized by the owner's real-data workflow request. This is a bounded workflow proof, not alpha validation or trading activation.
|
||||
|
||||
Outcome: one clean, explicitly declared stored-market window becomes a frozen dataset, a reviewed retained TypeScript baseline runs on Rust, chronological/cost experiments can be reopened, and exact reproduction plus an evidence-linked finding are recorded.
|
||||
|
||||
Scope: use existing preparation, strategy catalog, durable runner, experiments, validation, reproduction and research APIs/services. Preserve raw query bytes, metadata evidence and policies in local durable artifacts; persist research inputs/results through existing custody. Prefer a clean single session over inventing a filtering policy. Only newly created pilot research records may be written; source history and paper/live state remain untouched. No new simulator, model, optimizer, MCP framework, calendar inference or claims of statistical significance.
|
||||
|
||||
Dependencies: reviewed foundations and existing accepted research engine; RP01 supplies inspection but does not block offline metadata preparation. Root owns pilot artifacts and execution. A strategy's explicit operator-review gate remains in effect; prepare its exact artifact before requesting any missing approval.
|
||||
|
||||
Acceptance: recorded source/data/artifact/build identities; no coerced or silently excluded rows; supported calendar/action/universe declarations; deterministic economic equality on reproduction; finite predeclared parameter/cost trials, chronological selection using training only; results/finding reopened through existing product APIs. Record unavailable approval/data/runtime honestly instead of weakening gates.
|
||||
|
||||
Tests: existing durable research/validation/reproduction regression suites on disposable stores, pilot assertions using real stored input, relevant browser workflow, full repository gate. A one-session result must be labelled workflow-only and cannot establish profitability or universe robustness.
|
||||
|
||||
Risk: mislabelled source availability, retrospective universe assumptions, incomplete approvals, non-idempotent metadata writes or accidental repeated experiments. Keep an append-only local intent/receipt record and resume by saved IDs. Root records final evidence in `real-data-research.md` and canonical manifest.
|
||||
Loading…
Add table
Add a link
Reference in a new issue