docs(research): close canonical result download story

This commit is contained in:
Boki 2026-10-27 12:34:41 -04:00
parent e8a6b70968
commit ba0dea32cb
4 changed files with 15 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# Revised development roadmap
Current follow-up: [real-data research workflow](real-data-research.md), complete. CL01–CL20 are independently accepted. RP01 adds scoped stored-source inspection; RP02 completed nine retained real-data runs after explicit strategy approval, exact reproduction and an evidence-linked finding reopened in the web app. RP03 adds explicit declared-session preparation with read-only two-session source verification; RP04 explains the retained evaluation horizon beside CAGR. RP05 enables older-page and known-hash dataset reuse; RP06 preserves settings and captured retention retries across same-backtest tabs/run URLs. RP07 downloads validated original datasets for local exploration. All 72 scheduled tasks across the original backlog and extensions are accepted; 7 conditional tasks and 4 merged redirects remain. CL21 and performance extensions remain deferred. Historical milestones below remain evidence, not a new activation request.
Current follow-up: [real-data research workflow](real-data-research.md), complete. CL01–CL20 are independently accepted. RP01 adds scoped stored-source inspection; RP02 completed nine retained real-data runs after explicit strategy approval, exact reproduction and an evidence-linked finding reopened in the web app. RP03 adds explicit declared-session preparation with read-only two-session source verification; RP04 explains the retained evaluation horizon beside CAGR. RP05 enables older-page and known-hash dataset reuse; RP06 preserves settings and captured retention retries across same-backtest tabs/run URLs. RP07 downloads validated original datasets; RP08 downloads their original run results for local exploration. All 73 scheduled tasks across the original backlog and extensions are accepted; 7 conditional tasks and 4 merged redirects remain. CL21 and performance extensions remain deferred. Historical milestones below remain evidence, not a new activation request.
## Cleanup implementation — October 26, 2026

View file

@ -8,7 +8,7 @@
[manifest.json](manifest.json) owns scheduling metadata: status, priorities, dependencies, ADR approvals, assignments and write locks. Task Markdown owns implementation scope/evidence/acceptance. This index and the [graph](dependencies.mmd) are derived views. Only the planning/integration owner updates scheduling state.
**Current total: 84 retained IDs — 72 done, 1 in progress, 7 deferred, 4 merged.** RP01–RP07 add the authorized real-data workflow and its dataset reuse/custody/export follow-ups. The earlier 68 IDs retain their state. E11 adds seven authorized cleanup tasks and one conditional replay extraction; see the manifest for current scheduling. The original backlog accounted for 55 IDs. F09/P07 added projection/profiling work; the owner deferred P08's TypeScript optimization. Merged records preserve traceability; never execute them separately. Deferred work requires its stated trigger and explicit activation.
**Current total: 84 retained IDs — 73 done, 7 deferred, 4 merged.** RP01–RP08 add the authorized real-data workflow and its dataset reuse/custody/export follow-ups. The earlier 68 IDs retain their state. E11 adds seven authorized cleanup tasks and one conditional replay extraction; see the manifest for current scheduling. The original backlog accounted for 55 IDs. F09/P07 added projection/profiling work; the owner deferred P08's TypeScript optimization. Merged records preserve traceability; never execute them separately. Deferred work requires its stated trigger and explicit activation.
States: ready, claimed, in_progress, review, done, blocked, deferred, merged. “Ready” means no code/ADR prerequisite, not execution authority. Implementation dependencies require accepted integration. `release_gates` govern enabling an end-to-end feature, not component coding or integration; conditional gates apply only to the named capability. F05 may integrate before F06, but its replay behavior is not released until F06 proves it.
@ -170,4 +170,4 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
- [RP07: Retained dataset download](tasks/RP07.md) — done, `b959779a`; export validated original inputs for local research.
- [RP08: Original run result download](tasks/RP08.md) — in progress; reuse the loaded canonical result for local analysis.
- [RP08: Original run result download](tasks/RP08.md) — done, `e8a6b709`; reuse the loaded canonical result for local analysis.

View file

@ -1,8 +1,8 @@
{
"schema_version": 1,
"plan_revision": "2026-10-27.95",
"plan_revision": "2026-10-27.96",
"repository_base": "b7aeca4",
"plan_status": "canonical_result_download_in_progress",
"plan_status": "canonical_result_download_complete",
"execution_authorized": true,
"execution_scope": {
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
@ -3286,7 +3286,7 @@
"epic": "E12",
"priority": "P2",
"severity": "Medium",
"status": "in_progress",
"status": "done",
"dependencies": [
"RP07",
"R05"
@ -3299,12 +3299,15 @@
"canonical-result-download",
"json-text-download-helper"
],
"completed_commit": null,
"completed_commit": "e8a6b709682588082faab510a268f9f7ccbaee69",
"blocker": null,
"integration_state": "implementing",
"integration_base": "105e372e",
"integration_state": "accepted",
"integration_base": "dd1545b9f8aed1fcb0162af9b5f5c06d33dbea61",
"completion_evidence": "real-data-research.md",
"release_gates": []
"release_gates": [],
"review_status": "accepted",
"reviewer": "/root/find_research_followup",
"review_notes": "Independent UI review: 64 tests / 457 assertions. Full repository check passed; final authored types and all 21 Chromium scenarios / 726 assertions passed after the separately committed synchronous WebSocket fixture correction. No backend or financial semantics changed."
}
],
"review_note": "Independent skeptical revision: four superseded tasks retain stable IDs; deferred work is not a dependency of scheduled tasks. Release gates are distinct from implementation prerequisites.",

View file

@ -157,6 +157,8 @@ Logs: `/tmp/stock-bot-rp07-root-check.log`, `/tmp/stock-bot-rp07-postgres.log`,
## RP08 — Original run result download
Implementation `e8a6b709` and fixture correction `8e9d0cf6` are accepted. The manifest now contains 73 completed scheduled tasks, seven deferred conditional tasks and four merged redirects: 84 IDs total.
Owner continuation authorized a small companion to the dataset download; planning commit `dd1545b9` records the scope. The full canonical result view now offers **Download run result**, saving its already loaded `CanonicalRunResult` as `run-<runId>.json`. It serializes the entire original object, preserving decimal strings, null metric reasons, financial views, analytics and admitted request/build provenance. There is no new API, request on click, financial calculation or upload format.
The existing results service validates stored financial content and request/analytics identity; the existing monitoring hook binds it to the selected run/backtest. The new action reuses that ownership instead of introducing another loader or validator. A private per-run component owns local error/retry state. A 15-line JSON-text download helper is shared with RP07, preserving its raw text, cancellation and resource cleanup behavior. Legacy and fills-only views remain unchanged.