From ba0dea32cb1f1fc976d01d87e2e7a7059ccd3b80 Mon Sep 17 00:00:00 2001 From: Boki Date: Tue, 27 Oct 2026 12:34:41 -0400 Subject: [PATCH] docs(research): close canonical result download story --- docs/development/ROADMAP.md | 2 +- docs/development/backlog/README.md | 4 ++-- docs/development/backlog/manifest.json | 17 ++++++++++------- docs/development/real-data-research.md | 2 ++ 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/docs/development/ROADMAP.md b/docs/development/ROADMAP.md index bdea10bd..5d6bafb9 100644 --- a/docs/development/ROADMAP.md +++ b/docs/development/ROADMAP.md @@ -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 diff --git a/docs/development/backlog/README.md b/docs/development/backlog/README.md index fdb05996..9f24a49d 100644 --- a/docs/development/backlog/README.md +++ b/docs/development/backlog/README.md @@ -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. diff --git a/docs/development/backlog/manifest.json b/docs/development/backlog/manifest.json index 1f0b9862..718fbc39 100644 --- a/docs/development/backlog/manifest.json +++ b/docs/development/backlog/manifest.json @@ -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.", diff --git a/docs/development/real-data-research.md b/docs/development/real-data-research.md index d9ecc15a..d89d6a3f 100644 --- a/docs/development/real-data-research.md +++ b/docs/development/real-data-research.md @@ -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-.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.