docs(research): plan strategy custody and template recovery fixes
This commit is contained in:
parent
ba0dea32cb
commit
c24410e5dd
5 changed files with 85 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: 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.
|
||||
**Current total: 86 retained IDs — 73 done, 2 in progress, 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.
|
||||
|
||||
|
|
@ -171,3 +171,6 @@ 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) — done, `e8a6b709`; reuse the loaded canonical result for local analysis.
|
||||
|
||||
- [RP09: Strategy handoff custody](tasks/RP09.md) — in progress; finish or clear publication/clone work before handing a version to backtest setup.
|
||||
- [RP10: Missing-template recovery](tasks/RP10.md) — in progress; preserve valid experiment choices when the linked template lookup fails.
|
||||
|
|
|
|||
|
|
@ -295,3 +295,7 @@ flowchart TD
|
|||
|
||||
RP07 --> RP08
|
||||
R05 --> RP08
|
||||
|
||||
R02 --> RP09
|
||||
A02 --> RP09
|
||||
R07 --> RP10
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-27.96",
|
||||
"plan_revision": "2026-10-27.97",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "canonical_result_download_complete",
|
||||
"plan_status": "strategy_handoff_and_experiment_recovery_in_progress",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -3308,6 +3308,55 @@
|
|||
"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."
|
||||
},
|
||||
{
|
||||
"id": "RP09",
|
||||
"title": "Preserve strategy work before backtest handoff",
|
||||
"epic": "E12",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "in_progress",
|
||||
"dependencies": [
|
||||
"R02",
|
||||
"A02"
|
||||
],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/RP09.md",
|
||||
"complexity": "S",
|
||||
"assignment": "/root/audit_next_workflow",
|
||||
"write_locks": [
|
||||
"strategy-handoff-custody"
|
||||
],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"integration_state": "implementing",
|
||||
"integration_base": "ba0dea32",
|
||||
"completion_evidence": "real-data-research.md",
|
||||
"release_gates": []
|
||||
},
|
||||
{
|
||||
"id": "RP10",
|
||||
"title": "Recover experiment setup from a missing linked template",
|
||||
"epic": "E12",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "in_progress",
|
||||
"dependencies": [
|
||||
"R07"
|
||||
],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/RP10.md",
|
||||
"complexity": "S",
|
||||
"assignment": "/root/audit_next_experiments",
|
||||
"write_locks": [
|
||||
"experiment-template-loading"
|
||||
],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"integration_state": "implementing",
|
||||
"integration_base": "ba0dea32",
|
||||
"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/RP09.md
Normal file
13
docs/development/backlog/tasks/RP09.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# RP09 — Preserve strategy work before backtest handoff
|
||||
|
||||
Parent E12. Priority P1 / High custody defect. Complexity S. Dependencies R02 and A02. Owner continuation authorizes this correction; no authorization or financial policy changes.
|
||||
|
||||
Verified baseline: `StrategyDetailPage` enables **Use in backtest** after parameter validation and guards navigation only with `metadataDirty`. Pending and lost-response clone reproductions navigate away with no confirmation, destroying the local retry receipt. `useStrategyClone` owns the frozen body/key for that route; `CandidatePublication` has the same local ownership. **Clone version** also remains enabled while candidate publication owns work, permitting competing operations. Baseline probe: `/tmp/stock-bot-navigation-audit/probe.log`.
|
||||
|
||||
Scope: reuse existing publication/clone state and clear/discard/retry controls. Disable and handler-guard **Use in backtest** while a candidate package/publication or clone form/receipt is outstanding; show a concise explanation of how to finish or clear that work. Disable and guard **Clone version** while candidate publication owns work. Normal validated parameter handoff stays unchanged, including the existing metadata-discard confirmation; parameter edits transferred to the backtest are not discarded. No router blocker, persistent receipt store, new state framework or backend API. Other deliberate navigation keeps its current behavior.
|
||||
|
||||
Ownership: strategy agent owns `StrategyDetailPage.tsx` and focused existing strategy/publication UI tests; touch a child only if a reproduced ownership gap requires it. Root owns shared Chromium tests/docs/manifest/commits. Independent review required.
|
||||
|
||||
Acceptance/tests: pending and ambiguous clones/publications cannot disappear through backtest handoff; retry uses the original exact body/key. Competing clone admission is blocked while publication owns work. Clearing an unpublished package or explicitly discarding a clone restores ordinary handoff. Validated parameters transfer unchanged without a new unnecessary prompt. Late replies after deliberate navigation remain fenced; no extra mutations on blocked actions. Reuse existing fixtures and prove the baseline failure before the fix.
|
||||
|
||||
Gates: focused strategy/publication tests, application/authored types, strict lint/build, root full repository check and browser regression through actual catalog/clone routes. No performance, paper/live work or global navigation redesign.
|
||||
13
docs/development/backlog/tasks/RP10.md
Normal file
13
docs/development/backlog/tasks/RP10.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# RP10 — Recover experiment setup from a missing linked template
|
||||
|
||||
Parent E12. Priority P2 / Medium recovery defect. Complexity S. Dependency R07. Owner continuation authorizes this correction.
|
||||
|
||||
Verified baseline: `useExperimentTemplates` publishes a successful catalog only after awaiting an optional initial-template lookup. A deleted or failing linked backtest therefore hides every valid catalog choice. A HappyDOM probe of the actual hook and `ExperimentEditor` shows an enabled chooser containing only the missing selection and empty option, despite a valid catalog row. Probe: `/tmp/stock-bot-next-experiments-probe.ts`.
|
||||
|
||||
Scope: preserve successful catalog choices independently of optional selected-template lookup failure. Keep an explicit lookup error and the existing retry action; preserve the unavailable selection and never automatically switch templates. A valid recovered selected template may join the choices without replacing the user's current selection or draft name/grid. Genuine list failure remains visible. Retain current cancellation/generation ownership and canonical eligibility filtering. No backend, transport-wide error refactor, new cache or auto-submission.
|
||||
|
||||
Ownership: experiment agent owns `useExperimentTemplates.ts`, a small `ExperimentEditor.tsx` presentation adjustment only if needed, and focused existing experiment UI tests. Root owns shared Chromium tests/docs/manifest/commits. Independent review required. Parallel with RP09: disjoint application and focused-test files.
|
||||
|
||||
Acceptance/tests: 404/transport failure of the linked lookup leaves valid catalog options selectable and missing selection explicitly unavailable. Choosing a valid option preserves name/grid and enables normal preview; no save or submission occurs merely by selecting. Retry can recover the linked option without changing the current choice. List errors, empty catalogs, pagination and unavailable/noncanonical selections retain honest states. Late lookup/list replies after parent change, reload or unmount cannot replace current choices. Use existing test fixtures.
|
||||
|
||||
Gates: focused experiment/cost/validation tests, application/authored types, strict lint/build, root full repository check and browser recovery from a missing query-string backtest ID. No financial, execution, statistical or conditional optimization changes.
|
||||
Loading…
Add table
Add a link
Reference in a new issue