refactor(engine): retire abandoned architecture scaffolding (CL15)

This commit is contained in:
Boki 2026-10-26 19:16:51 -04:00
parent 7481d02c6c
commit bc2b8a89da
31 changed files with 76 additions and 3043 deletions

View file

@ -2706,7 +2706,7 @@
"epic": "E11",
"priority": "P1",
"severity": "High",
"status": "ready",
"status": "in_progress",
"dependencies": [],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL14.md",
@ -2729,14 +2729,15 @@
"apps/stock/orchestrator/src/container.ts",
"test/fixtures/canonical-runner.ts"
],
"assignment": null,
"branch": null,
"assignment": "/root/implement_cl14",
"branch": "cleanup/cl14-canonical-contracts",
"completed_commit": null,
"blocker": null,
"release_gates": [],
"integration_state": "not_started",
"integration_base": "700ee09c",
"completion_evidence": "orchestrator-engine-cleanup.md"
"completion_evidence": "orchestrator-engine-cleanup.md",
"worktree": "/tmp/stock-bot-engine-cleanup-20261026/cl14"
},
{
"id": "CL15",
@ -2744,7 +2745,7 @@
"epic": "E11",
"priority": "P1",
"severity": "High",
"status": "ready",
"status": "done",
"dependencies": [],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL15.md",
@ -2772,14 +2773,23 @@
"apps/stock/engine/src/strategies/framework/",
"apps/stock/engine/MIGRATION.md"
],
"assignment": null,
"branch": null,
"assignment": "/root/implement_cl15",
"branch": "cleanup/cl15-rust-scaffolding",
"completed_commit": null,
"blocker": null,
"release_gates": [],
"integration_state": "not_started",
"integration_state": "validated_pending_commit",
"integration_base": "700ee09c",
"completion_evidence": "orchestrator-engine-cleanup.md"
"completion_evidence": "orchestrator-engine-cleanup.md",
"worktree": "/tmp/stock-bot-engine-cleanup-20261026/cl15",
"reviewed_by": "/root (independent of implement_cl15)",
"review_notes": "Accepted module/caller inventory; archived reporting prototypes verified byte-identical. Root rebuilt native addon and reran75 TS/native/architecture tests plus150 Rust tests,4 ignored.",
"validation": {
"native_build": "CARGO_BUILD_JOBS=2 bun run --cwd apps/stock/engine build:debug passed after sandbox escalation",
"focused": "75 pass,6625 assertions; bindings/terminal-equity/market-data/architecture",
"rust": "150 pass,4 ignored",
"diff": "git diff --check passed"
}
},
{
"id": "CL16",
@ -2787,7 +2797,7 @@
"epic": "E11",
"priority": "P1",
"severity": "High",
"status": "ready",
"status": "in_progress",
"dependencies": [],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL16.md",
@ -2810,14 +2820,15 @@
"libs/core/di/src/utils/lifecycle.ts",
"test/integration/service-startup-rollback.test.ts"
],
"assignment": null,
"branch": null,
"assignment": "/root",
"branch": "cleanup/cl16-runtime-ownership",
"completed_commit": null,
"blocker": null,
"release_gates": [],
"integration_state": "not_started",
"integration_base": "700ee09c",
"completion_evidence": "orchestrator-engine-cleanup.md"
"completion_evidence": "orchestrator-engine-cleanup.md",
"worktree": "/tmp/stock-bot-engine-cleanup-20261026/cl16"
},
{
"id": "CL17",

View file

@ -24,3 +24,9 @@ Read-only audit baseline passed 17 architecture tests, 29 focused integration te
## Execution evidence
Implementation records will be appended here as tasks pass review and validation.
### CL15 — accepted
Removed 24 unused adapter/alternate-architecture files; moved two uncompiled reporting prototypes byte-for-byte into `engine/reference/legacy-reporting/` with explicit limitations. `MIGRATION.md` records every removal/preservation and current boundaries. Only compiled-code change removes the unused adapter module; canonical finance, legacy algorithms and native exports are unchanged.
Implemented by `/root/implement_cl15`; independently reviewed/integrated by `/root`. Both preserved files were compared against baseline bytes. Root rebuilt the addon and ran `bun test scripts/test/native-bindings.test.ts test/integration/native-terminal-equity.test.ts test/integration/native-market-data.test.ts scripts/test/architecture.test.ts`: 75 passed. `cargo test -p engine --lib --offline`: 150 passed, 4 ignored. `git diff --check` passed. The sandbox initially prevented NAPI from spawning `/bin/sh`; the authorized rebuild succeeded. No performance claim or stored-artifact migration.