feat(research): prepare and retain explicit source datasets in the web workbench

This commit is contained in:
Boki 2026-10-24 15:06:52 -04:00
parent 06039d17ba
commit 366bee810b
21 changed files with 2677 additions and 76 deletions

View file

@ -1,8 +1,8 @@
# Revised development roadmap
**First thirty-three waves committed; R09 research source citations are validated and ready to commit.** R07 functional comparison is committed as `46a4f13`; **36 of 45 scheduled tasks are fully committed (80% by count)**, with R09 in review. R05 remains partial, and R07 retains its paused table measurement.
**First thirty-four waves committed; R05 explicit source-export preparation is validated and ready to commit.** R09 is committed as `06039d1`; **37 of 45 scheduled tasks are fully committed (82% by count)**. Full R05 remains partial, and R07 retains its paused table measurement.
Authorization update: the owner requested “commit and continue”. R07 functional comparison was committed as `46a4f13`; supported R09 evidence citations are now independently reviewed and validated. Performance work remains paused. No new-wave commit, push, PR, candidate execution or trading/default activation occurred.
Authorization update: the owner requested “commit and continue”. R09 citations were committed as `06039d1`; the R05 explicit source-export preparation slice is now independently reviewed and validated. Performance work remains paused. No new-wave commit, push, PR, candidate execution or trading/default activation occurred.
## Strategy and review outcome
@ -697,3 +697,17 @@ All final gates passed: **1024 integration /150 Rust** tests, plus 93 tooling, 4
Independent review accepted backend/frontend overlays and root contracts/browser/compatibility changes. Thirty source/test/config/SQL file hashes, exact archive, native identities and logs are recorded in `manifest.json` → `thirty_fourth_wave_validation`, under `/tmp/stock-bot-wave34.02YVEd/`. Archive SHA256: `7df43baf277dc28d7ee186aee233ad13c134b20e0bd86a7300688acb6e0fd8af`. The unchanged release engine was restored before final database/browser gates. Both exact disposable containers were stopped; development services were untouched.
R09 is in review pending acceptance/commit. R05 provider preparation/default cutover, R07 paused measurement, pending architecture approvals and candidate/AI/multiasset/paper/live activation gates remain unchanged. No performance measurements, new-wave commit, push or PR occurred.
## Thirty-fifth-wave handoff — 2026-10-24
R09 was accepted and committed as `06039d1`. R05's explicit source-export preparation slice is independently reviewed and validated; new changes are uncommitted. Full R05 remains partial for durable provider-query preparation/first-run binding and broader default cutover. Current stores do not prove publication times, retained calendars, universe selection or action coverage; none is inferred.
- **Web preparation:** Supply a complete JSON source export (`metadata` and `bars`) inside canonical setup. Preview the normalized hash, exact manifest, UTC bounds, source/calendar/universe/action declarations and availability assumptions without writes. Explicit retention then selects an eligible hash through the existing picker; settings and execution still require separate actions. Existing strategy/policy edits survive. Missing or unsupported evidence remains visible and unavailable for execution.
- **One custody path:** The existing strict normalizer owns content identity and eligibility. A small extracted helper shares immutable insert/readback verification with the unchanged offline import API/CLI, and one extracted existing workbench gate keeps selection/preview consistent. Recomputed hash drift rejects before storage; identical retries/concurrent requests converge on one immutable row. Corrupt retained content fails without overwrite. No new migration, scheduler, simulator or financial semantics.
- **Response and transport behavior:** Captured input/hash survives uncertain retention; definitive 400/409 allows repair. Same-event actions, late reads, changed parent drafts and unmount are fenced. Strict response shape prevents unknown fields being silently discarded. The web server's former 1 MiB restriction is removed with the same explicit setting used by browser fixtures; generic service limits remain unchanged. A real >1 MiB JSON request verifies transport/normalization without claiming unlimited size or measured throughput.
Final validation passed: **1077 integration /150 Rust** tests, plus 93 tooling, 43 utility and 44 calculation cases; build, types, contracts, lint and secret audit. Release **PostgreSQL/Redis: 240 tests /2157 assertions**; **Chromium: 16 workflows /590 assertions**. All affected/new tests passed strict types, and all 16 changed source/test files passed scoped lint/format, hash/DAG and whitespace checks. Four preexisting manual Rust cases remain ignored. The native browser uploads source data, proves zero preview writes and no retention-created jobs, retries the same hash, saves explicit settings, checks the existing hand-calculated fills/fees/equity and reopens saved findings/results. Initial browser failures were selectors, corrected without application changes.
Independent review accepted all eleven agent-owned files plus root contract/transport/browser composition. Review fixed synchronous retry-state clearing, non-strict manifest response parsing and definitive-rejection handling. Exact 16-file archive SHA256 `029dd93e14ee7a9fa72f7b06118c708ce1ecad6711fa6d0411bc0fe2e0ada7fa`, file hashes, reviewer evidence and logs are recorded in `manifest.json` → `thirty_fifth_wave_validation`, under `/tmp/stock-bot-wave35.fQycky/`. The unchanged release engine was restored before final database/browser gates. Both exact disposable containers were stopped; development services were untouched.
Source metadata is supplied evidence, not independently certified provider truth. V1 conversion and automatic provider preparation remain outside this slice. R07 performance measurement and other performance work remain paused; default/multiasset/candidate/AI/paper/live gates are unchanged. No new-wave commit, push or PR occurred.