docs(research): plan canonical result download
This commit is contained in:
parent
105e372e06
commit
dd1545b9f8
4 changed files with 47 additions and 3 deletions
|
|
@ -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: 83 retained IDs — 72 done, 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 — 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.
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -169,3 +169,5 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
|
|||
- [RP06: Settings and preparation custody](tasks/RP06.md) — done, `c838e3d0`; preserve the current backtest draft and captured retry across tabs/run URLs.
|
||||
|
||||
- [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.
|
||||
|
|
|
|||
|
|
@ -292,3 +292,6 @@ flowchart TD
|
|||
|
||||
RP05 --> RP07
|
||||
R05 --> RP07
|
||||
|
||||
RP07 --> RP08
|
||||
R05 --> RP08
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-27.94",
|
||||
"plan_revision": "2026-10-27.95",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "retained_dataset_export_complete",
|
||||
"plan_status": "canonical_result_download_in_progress",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -3279,6 +3279,32 @@
|
|||
"review_status": "accepted",
|
||||
"reviewer": "/root/review_cleanup_backend",
|
||||
"review_notes": "Independent API/UI and root fixture review accepted. Full repository check passed; disposable PostgreSQL 14 tests / 183 assertions and all 21 Chromium scenarios / 721 assertions passed. Usage documentation independently accepted."
|
||||
},
|
||||
{
|
||||
"id": "RP08",
|
||||
"title": "Download the original canonical run result for local analysis",
|
||||
"epic": "E12",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "in_progress",
|
||||
"dependencies": [
|
||||
"RP07",
|
||||
"R05"
|
||||
],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/RP08.md",
|
||||
"complexity": "S",
|
||||
"assignment": "/root/inspect_strategy_followup",
|
||||
"write_locks": [
|
||||
"canonical-result-download",
|
||||
"json-text-download-helper"
|
||||
],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"integration_state": "implementing",
|
||||
"integration_base": "105e372e",
|
||||
"completion_evidence": "real-data-research.md",
|
||||
"release_gates": []
|
||||
}
|
||||
],
|
||||
"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.",
|
||||
|
|
|
|||
13
docs/development/backlog/tasks/RP08.md
Normal file
13
docs/development/backlog/tasks/RP08.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# RP08 — Download the original canonical run result for local analysis
|
||||
|
||||
Parent E12. Priority P2 / workflow gap. Complexity S. Dependencies RP07 and R05. Owner continuation authorizes this scoped addition; financial semantics and conditional work remain unchanged.
|
||||
|
||||
Evidence: `CanonicalResults.tsx` displays selected provenance, metrics, fills and curves but offers no complete result file. `services/backtests/results.ts` already verifies the retained canonical financial report, admitted request and analytics before returning it. `useRunMonitoring` binds that response to the selected run/backtest. RP07 provides frozen observations for local exploration; the corresponding output still requires a manual API call.
|
||||
|
||||
Scope: add **Download run result** to full canonical results, using the already loaded `CanonicalRunResult` as JSON. Filename `run-<runId>.json`; retain the complete object, decimal strings, null/unavailable reasons, original request, versions, hashes and limitations. No new request on click, financial calculations, schema/envelope, endpoint, database mutation or run submission. Keep fills-only and legacy views unchanged. A small shared JSON-text download helper may consolidate RP07's Blob/anchor/URL cleanup; do not build a generalized download framework. Render browser failures inline with retry and clear stale errors when the displayed run changes. No asynchronous download state machine is needed for an already loaded object.
|
||||
|
||||
Ownership: one frontend agent owns the result action, minimal shared download helper, DatasetDownload adaptation and focused UI regressions. Root owns the existing Chromium native-smoke extension, usage/evidence docs, manifest and integration. Independent reviewer checks identity, unchanged values, cleanup, no transport/write side effects and scope.
|
||||
|
||||
Acceptance/tests: a downloaded file deep-equals the displayed canonical API result, including decimal amounts, null reasons and full original provenance. Distinct run IDs produce the corresponding filenames and contents; failed Blob/click work creates no success and releases resources. Downloading does not fetch, save settings, create runs or mutate the result. Preserve RP07 cancellation/raw-text semantics. Chromium reopens an original native run after changing its editable template, downloads the result and compares the complete JSON with that original API response; run/dispatch counts remain unchanged. Existing run-selection tests remain the identity gate; do not add a competing result validator or async loader.
|
||||
|
||||
Gates: focused result/download UI tests, authored-test/application types, strict lint, production build, root full repository check and Chromium workbench. Document that the JSON is analysis evidence, not a standalone replay archive: dataset bars and engine binaries are separate, and retained strategy JavaScript is data, not automatically executed. No candidate approval, research execution, paper/live activation or performance work.
|
||||
Loading…
Add table
Add a link
Reference in a new issue