docs: schedule whole-application architecture cleanup (CL22-CL35)
This commit is contained in:
parent
1a9f07b285
commit
ff590cab60
17 changed files with 588 additions and 2 deletions
9
docs/development/architecture-cleanup-execution.md
Normal file
9
docs/development/architecture-cleanup-execution.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Whole-application architecture cleanup
|
||||
|
||||
Baseline `1a9f07b2`. Owner authorized all October 28 audit recommendations and a commit after each validated task. Manifest owns status; CL22–CL35 task files own scope. Five speculative extensions remain deferred.
|
||||
|
||||
Agents use root-reserved disjoint files in the integration worktree. Root alone stages, commits and builds shared outputs. Each task receives review and focused verification; final combined gates validate the integrated source. No isolated native agent-build claim is made.
|
||||
|
||||
## Completed changes
|
||||
|
||||
None yet.
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# Canonical development backlog
|
||||
|
||||
**Active: E13 architecture cleanup, CL22–CL35 (0/14 complete).** Owner authorized all October 28 audit recommendations and a commit per validated task. Earlier completion counts below are historical. [Execution record](../architecture-cleanup-execution.md).
|
||||
|
||||
**Current scheduled backlog: 99/99 complete.** The owner resumed performance and authorized review of all seven conditions. P08 and O02 are implemented; five optional extensions remain deliberately deferred, and four merged IDs are redirects. This is not a claim that all 108 retained IDs were implemented. [Decisions, measurements and validation](../conditional-review.md).
|
||||
|
||||
**The original 45/45 scheduled tasks are complete.** The canonical Rust engine, TypeScript research/workbench, bounded worker pool, isolated candidates, AI evidence workflow and human-reviewed paper promotion are validated. Implementation commits: `bbf0dd4`, `26b9726`, `25b5cbf` (R07 measurement `ab08db8`). Six conditional tasks remain deferred; four merged IDs remain redirects. This is scheduled-backlog completion, not live-trading activation.
|
||||
|
|
@ -234,3 +236,20 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
|
|||
- [RP30: Revision acknowledgement custody](tasks/RP30.md) — done (`e4056c7d`); verify saved revision identity/content/evidence before clearing web drafts.
|
||||
- [RP31: Creation acknowledgement custody](tasks/RP31.md) — done (`57ba86d0`); verify project/hypothesis/note/finding creations before leaving drafts or displaying saved success.
|
||||
- [RP32: Project/archive acknowledgement custody](tasks/RP32.md) — done (`f84fa82b`); verify project patches and entry archive outcomes, preserving uncertain drafts until explicit reload.
|
||||
|
||||
## E13 — Whole-application architecture cleanup
|
||||
|
||||
- [CL22 — Own queue transports without deleting pending payloads](tasks/CL22.md)
|
||||
- [CL23 — Reject retired backtest creation before persistence](tasks/CL23.md)
|
||||
- [CL24 — Remove prototype dashboard from normal navigation](tasks/CL24.md)
|
||||
- [CL25 — Share validated product response contracts](tasks/CL25.md)
|
||||
- [CL26 — Replace private application imports with explicit shared modules](tasks/CL26.md)
|
||||
- [CL27 — Initialize enabled ingestion handlers once per container](tasks/CL27.md)
|
||||
- [CL28 — Compose research services with explicit collaborators](tasks/CL28.md)
|
||||
- [CL29 — Share transactional experiment run and dispatch insertion](tasks/CL29.md)
|
||||
- [CL30 — Separate research UI workflow state from rendering](tasks/CL30.md)
|
||||
- [CL31 — Publish a stable strategy authoring contract](tasks/CL31.md)
|
||||
- [CL32 — Separate paper safety enforcement from readiness projection](tasks/CL32.md)
|
||||
- [CL33 — Isolate legacy repository writers from production capabilities](tasks/CL33.md)
|
||||
- [CL34 — Normalize provider symbols and remove unused scaffolding](tasks/CL34.md)
|
||||
- [CL35 — Make optional Python analytics composition honest and testable](tasks/CL35.md)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-28.142",
|
||||
"plan_revision": "2026-10-28.143",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "scheduled_complete_conditions_reviewed",
|
||||
"plan_status": "architecture_cleanup_in_progress",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -185,6 +185,10 @@
|
|||
{
|
||||
"id": "E12",
|
||||
"title": "Real-data research workflow"
|
||||
},
|
||||
{
|
||||
"id": "E13",
|
||||
"title": "Whole-application architecture cleanup"
|
||||
}
|
||||
],
|
||||
"first_wave": ["C01", "C03", "C04", "W01"],
|
||||
|
|
@ -3739,6 +3743,258 @@
|
|||
"reviewer": "/root",
|
||||
"planning_commit": "233178d4",
|
||||
"review_notes": "Root reviewed normalized project patches, stable archive identities/targets, explicit recovery and draft custody. All 35 baseline regressions failed. Final focused UI 281 tests / 1,891 assertions; complete built Chromium 26 / 967 with real committed metadata/entry/project archive writes, altered acknowledgements, one PATCH each, blocked drafts through refresh, exact recovery/restores and unchanged native/history/run counts. Initial complete browser also passed before review removed an unnecessary prior-narrative-conflict archive gate; compatibility regression and final full rerun passed, not additive totals. Known 403 remains retryable; project 409 cannot bypass review. App/authored types, contracts, scoped lint/formatting, secrets and diff passed. One wrong fixture refresh control corrected. No independent review/full repository or integration rerun/native rebuild claimed. Disposable stores stopped; no real study changes or deferred work."
|
||||
},
|
||||
{
|
||||
"id": "CL22",
|
||||
"title": "Own queue transports without deleting pending payloads",
|
||||
"epic": "E13",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "in_progress",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL22.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL22"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL23",
|
||||
"title": "Reject retired backtest creation before persistence",
|
||||
"epic": "E13",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "in_progress",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL23.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL23"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL24",
|
||||
"title": "Remove prototype dashboard from normal navigation",
|
||||
"epic": "E13",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "in_progress",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL24.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL24"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL25",
|
||||
"title": "Share validated product response contracts",
|
||||
"epic": "E13",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL25.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL25"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL26",
|
||||
"title": "Replace private application imports with explicit shared modules",
|
||||
"epic": "E13",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL26.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL26"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL27",
|
||||
"title": "Initialize enabled ingestion handlers once per container",
|
||||
"epic": "E13",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL27.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL27"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL28",
|
||||
"title": "Compose research services with explicit collaborators",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "blocked",
|
||||
"dependencies": ["CL26"],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL28.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL28"],
|
||||
"completed_commit": null,
|
||||
"blocker": "Implementation dependencies",
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL29",
|
||||
"title": "Share transactional experiment run and dispatch insertion",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "blocked",
|
||||
"dependencies": ["CL28"],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL29.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL29"],
|
||||
"completed_commit": null,
|
||||
"blocker": "Implementation dependencies",
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL30",
|
||||
"title": "Separate research UI workflow state from rendering",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "blocked",
|
||||
"dependencies": ["CL25"],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL30.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL30"],
|
||||
"completed_commit": null,
|
||||
"blocker": "Implementation dependencies",
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL31",
|
||||
"title": "Publish a stable strategy authoring contract",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "blocked",
|
||||
"dependencies": ["CL26"],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL31.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL31"],
|
||||
"completed_commit": null,
|
||||
"blocker": "Implementation dependencies",
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL32",
|
||||
"title": "Separate paper safety enforcement from readiness projection",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL32.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL32"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL33",
|
||||
"title": "Isolate legacy repository writers from production capabilities",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL33.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL33"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL34",
|
||||
"title": "Normalize provider symbols and remove unused scaffolding",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL34.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL34"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
},
|
||||
{
|
||||
"id": "CL35",
|
||||
"title": "Make optional Python analytics composition honest and testable",
|
||||
"epic": "E13",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "ready",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL35.md",
|
||||
"complexity": "M",
|
||||
"assignment": null,
|
||||
"write_locks": ["CL35"],
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"completion_evidence": "architecture-cleanup-execution.md"
|
||||
}
|
||||
],
|
||||
"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.",
|
||||
|
|
@ -10103,5 +10359,27 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"architecture_cleanup_scope": {
|
||||
"baseline": "1a9f07b2",
|
||||
"authorized_by": "Owner: do it all till 100% commit after each",
|
||||
"tasks": [
|
||||
"CL22",
|
||||
"CL23",
|
||||
"CL24",
|
||||
"CL25",
|
||||
"CL26",
|
||||
"CL27",
|
||||
"CL28",
|
||||
"CL29",
|
||||
"CL30",
|
||||
"CL31",
|
||||
"CL32",
|
||||
"CL33",
|
||||
"CL34",
|
||||
"CL35"
|
||||
],
|
||||
"work_policy": "Root integrates/commits reviewed tasks; agents own disjoint explicit files in the root integration worktree. Only root builds shared outputs and runs combined gates. No isolated native agent build claim.",
|
||||
"first_wave": ["CL22", "CL23", "CL24"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
20
docs/development/backlog/tasks/CL22.md
Normal file
20
docs/development/backlog/tasks/CL22.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL22 — Own queue transports without deleting pending payloads
|
||||
|
||||
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Shutdown preserves pending payloads, opens batch caches lazily, closes all owned handles once, and creates no observer workers.
|
||||
|
||||
Affected modules: libs/core/queue/src/queue-manager.ts. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Queue lifecycle/cache ownership regressions; disposable Redis payload survival. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL23.md
Normal file
20
docs/development/backlog/tasks/CL23.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL23 — Reject retired backtest creation before persistence
|
||||
|
||||
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Retired creates write nothing; catalog validation and historical reads remain compatible; obsolete auto-start cannot hide failure.
|
||||
|
||||
Affected modules: apps/stock/web-api/src/services/backtest.service.ts; routes/backtest.routes.ts; services/backtests/templates.ts. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Retired API/catalog regressions; v2 save/submit and retained readers. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL24.md
Normal file
20
docs/development/backlog/tasks/CL24.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL24 — Remove prototype dashboard from normal navigation
|
||||
|
||||
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Default and old dashboard URLs lead to existing backtests; normal navigation has no random portfolio/fabricated summary.
|
||||
|
||||
Affected modules: apps/stock/web-app/src/app/App.tsx; features/dashboard; lib/constants.ts. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Navigation/render regression and final browser workflows. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL25.md
Normal file
20
docs/development/backlog/tasks/CL25.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL25 — Share validated product response contracts
|
||||
|
||||
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Shared run/template/catalog/research wire schemas; consistent current date; compatible clients reuse requestJson without automatic write retry.
|
||||
|
||||
Affected modules: apps/stock/config/src/contracts; web-api/services/backtests; web-app/features/*/services. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Response roundtrips; malformed/wrong identity/abort/lost acknowledgement; types and browser. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL26.md
Normal file
20
docs/development/backlog/tasks/CL26.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL26 — Replace private application imports with explicit shared modules
|
||||
|
||||
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
API imports no orchestrator private source; metadata verification cannot execute code; artifact inspection resolves lazily; build graph tracks shared inputs.
|
||||
|
||||
Affected modules: libs/research; apps/stock/config; web-api; orchestrator; scripts/test/architecture.test.ts. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Import/Turbo graph; dataset/candidate/paper admission; artifact identity; browser-safe contracts. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL27.md
Normal file
20
docs/development/backlog/tasks/CL27.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL27 — Initialize enabled ingestion handlers once per container
|
||||
|
||||
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Await container-owned registries; initialize only enabled executing instances; no async constructor fallbacks or half-initialized handlers.
|
||||
|
||||
Affected modules: apps/stock/data-ingestion/src/handlers; types.ts; libs/core/di/src/scanner. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Two-container isolation, disabled providers, failure/order, instance identity, schedules. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL28.md
Normal file
20
docs/development/backlog/tasks/CL28.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL28 — Compose research services with explicit collaborators
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Compose focused collaborators once; no recursive full service graphs; caller-owned transactions.
|
||||
|
||||
Affected modules: apps/stock/web-api/src/services; routes. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: CL26.
|
||||
|
||||
## Verification
|
||||
|
||||
Service/API and PostgreSQL research/validation tests. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL29.md
Normal file
20
docs/development/backlog/tasks/CL29.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL29 — Share transactional experiment run and dispatch insertion
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
One private insertion helper for two experiment loops; explicit existing transaction; locking, quotas, receipts and holdouts remain with caller.
|
||||
|
||||
Affected modules: web-api/services/experiments.service.ts; chronological-validation.service.ts. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: CL28.
|
||||
|
||||
## Verification
|
||||
|
||||
PostgreSQL duplicate keys, numbering, rollback, holdout isolation. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL30.md
Normal file
20
docs/development/backlog/tasks/CL30.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL30 — Separate research UI workflow state from rendering
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Feature-local workflow hooks and pure form/ack helpers; neutral shared dirty/style utilities; no universal mutation framework.
|
||||
|
||||
Affected modules: web-app/features/backtest/components/CanonicalSetup.tsx; ResearchEntry.tsx; SaveFindingDialog.tsx; shared hooks/styles. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: CL25.
|
||||
|
||||
## Verification
|
||||
|
||||
Late response, dirty draft, acknowledgement, double-submit, archive/finding regressions; browser. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL31.md
Normal file
20
docs/development/backlog/tasks/CL31.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL31 — Publish a stable strategy authoring contract
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Public type-only authoring subpath; compatibility re-export; private controllers/native handles remain private.
|
||||
|
||||
Affected modules: libs/research; orchestrator/contracts/canonical-strategy.ts; examples; packaging tests. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: CL26.
|
||||
|
||||
## Verification
|
||||
|
||||
Standalone example compilation; packaging; canonical strategy and state regressions. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL32.md
Normal file
20
docs/development/backlog/tasks/CL32.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL32 — Separate paper safety enforcement from readiness projection
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Pure readiness projection distinct from explicitly named expiry enforcement; preserve current latches/transactions and document accurately.
|
||||
|
||||
Affected modules: orchestrator/paper/CanonicalPaperRuntime.ts; routes/create-routes.ts. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Stale active/fresh inactive, storage failure/rollback, stale execution refusal; paper/monitoring regressions. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL33.md
Normal file
20
docs/development/backlog/tasks/CL33.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL33 — Isolate legacy repository writers from production capabilities
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Canonical concrete repository exposes supported writes only; isolated compatibility writers retain shared fencing; historical readers preserved.
|
||||
|
||||
Affected modules: orchestrator/backtest/PostgresBacktestRunRepository.ts; run-repository.ts; types.ts; legacy fixtures. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Canonical/legacy PostgreSQL durable/recovery tests; production import checks. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL34.md
Normal file
20
docs/development/backlog/tasks/CL34.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL34 — Normalize provider symbols and remove unused scaffolding
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Pure typed symbol adapters; preserve verified mappings; remove no-op pool configuration and unused QM wrappers after import inventory.
|
||||
|
||||
Affected modules: data-pipeline/repositories/PipelineSyncRepository.ts; symbols operations; container-setup.ts; ingestion/qm/shared. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Provider variant fixtures; PostgreSQL pipeline mapping/safety; types/imports. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
20
docs/development/backlog/tasks/CL35.md
Normal file
20
docs/development/backlog/tasks/CL35.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# CL35 — Make optional Python analytics composition honest and testable
|
||||
|
||||
Parent: E13. Priority: P2. Scheduling: [manifest](../manifest.json).
|
||||
|
||||
## Scope and acceptance
|
||||
|
||||
Actual app imports without endpoint/app cycle; lazy optional dependencies and observed capability health; honest unavailable endpoints.
|
||||
|
||||
Affected modules: apps/stock/analytics/src/api; apps/stock/analytics/test. Root reserves actual files before delegation.
|
||||
|
||||
Dependencies: None.
|
||||
|
||||
## Verification
|
||||
|
||||
Actual app import/startup and existing analytics API tests; missing dependency diagnostic. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
|
||||
|
||||
## Exclusions
|
||||
|
||||
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue