feat(research): retain exact experiment and report citations in findings

This commit is contained in:
Boki 2026-10-24 14:42:14 -04:00
parent 46a4f13acd
commit 06039d17ba
36 changed files with 4170 additions and 253 deletions

View file

@ -1,8 +1,8 @@
# Revised development roadmap
**First thirty-two waves committed; R07 functional comparison is validated and awaiting commit.** Full R08 is committed as `397cd0e`; **36 of 45 scheduled tasks are fully committed (80% by count)**. R05 remains partial; R07 retains only its paused table measurement after this functional component is accepted.
**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.
Authorization update: the owner requested “commit and continue”. Walk-forward is committed as `3ed7b98`; bounded fee/slippage sensitivity is now implemented and independently validated. No performance work, new-wave commits/pushes/PRs, candidate execution or trading/default activation is included.
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.
## Strategy and review outcome
@ -683,3 +683,17 @@ All repository gates passed: **988 integration /150 Rust**, plus 93 tooling, 43
Independent review accepted both six-file overlays plus root contract/route/browser composition; all 17 source hashes and the archive are recorded in `manifest.json` → `thirty_third_wave_validation`, under `/tmp/stock-bot-wave33.c3IAY2/`. The unchanged release engine was restored before final database/browser gates. Both exact disposable containers were removed; development services are untouched. Wave33 remains uncommitted; no push or PR.
Full R07 remains partial solely because its large-table measurement is explicitly paused and unrun. After accepting/committing this functional component, R09 can consume it without waiting for performance work: record the component commit as a satisfied prerequisite rather than claiming the whole task complete. Next non-performance work is evidence/finding integration over existing R08 validation and cost outputs. R05 provider/default cutover, pending architecture approvals and candidate/AI/multiasset/paper/live activation gates remain unchanged.
## Thirty-fourth-wave handoff — 2026-10-24
The accepted R07 functional comparison is committed as `46a4f13`. Supported R09 is independently reviewed and validated, with new changes uncommitted. Its prerequisite uses the accepted R07 component; the paused table measurement is not a functional dependency. Existing R08 phase/reset/warmup/cost/sample displays remain intact.
- **Exact citations:** Existing immutable finding revisions can cite one standalone experiment, sealed chronological report or sealed walk-forward report, together with selected canonical run/metric references. SQL27 is additive; historical SQL20/22–26 are unchanged. Omitted source preserves the previous citation on revision; explicit null detaches only the new revision. Existing single-run findings and unvalidated narrative status remain.
- **Historical integrity:** One repeatable read-only client verifies immutable source identity, membership and full retained Rust results, including all training evidence underlying sealed reports. Archived, cancelled or currently ineligible sources remain historically readable. Checks reject forged reports, mismatched members, corrupt metrics and direct SQL insertion/timing bypasses. No new evidence store, scheduler, financial calculation or engine path.
- **Web workflow:** The existing finding form offers explicit eligible run/metric choices from experiment and report pages. Stored raw values carry units/null reasons. Source links survive edits, immutable history and reopening. Ambiguous writes remain frozen until the user checks saved records. Regime evidence is explicitly unavailable: S05 retains no versioned as-of classification series, so positive regime reconciliation is neither implemented nor claimed tested.
All final gates passed: **1024 integration /150 Rust** tests, plus 93 tooling, 43 utility and 44 calculation tests; build, types, contracts, lint and secret audit. Release **PostgreSQL/Redis: 235 tests /2099 assertions**; **Chromium: 16 workflows /569 assertions**. Strict affected-test types, scoped lint/format, source/hash/DAG and whitespace checks pass. The first full database run exposed a pre-SQL24 role-projection regression; a conservative metadata-presence projection fixed it, a real pre/post-migration test was added, and all gates were rerun successfully. Four preexisting manual Rust cases remain ignored.
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.