docs: close all scheduled development backlog tasks
This commit is contained in:
parent
25b5cbf481
commit
e4b31145da
8 changed files with 316 additions and 42 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Revised development roadmap
|
||||
|
||||
**Canonical default and bounded research access are validated.** R05/S06/A01 and the R07 measurement are complete: **41/45 scheduled tasks (91% by count)**. Remaining: A02 isolated candidate execution, P04 bounded concurrent trials, A04 human-reviewed paper promotion, and A03 the evidence-linked research client. Six conditional tasks remain deferred with their original evidence gates.
|
||||
**All 45/45 scheduled tasks are complete (100%).** 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.
|
||||
|
||||
Authorization update: the owner requested “commit and continue with the rest of the tasks till 100%”. Commit `0c6aec4` records the validated stored-source slice. Complete scheduled R05/R07/S06/P04/A01–A04 with independent review. Required table/concurrency measurements resume; conditional optimizations remain evidence-driven. The default cutover supports canonical single-asset research; unsupported multi-asset policy and real paper/live activation remain gated.
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ The existing web workbench improves during engine migration. Legacy results rema
|
|||
| [ADR-005](architecture/decisions/005-durable-cutover.md) | One Rust transition kernel; resident research state; private staged paper state under existing SQL transactions | Approved by owner continuation, 2026-10-23; paper activation separately gated |
|
||||
| [ADR-006](architecture/decisions/006-research-product.md) | Existing API/queue/database; immutable versions, provenance and evidence retention; no laboratory framework | Approved by owner continuation, 2026-10-23 |
|
||||
| [ADR-007](architecture/decisions/007-ai-boundary.md) | Isolated untrusted code, research-only permissions/budgets; human-only paper promotion; live disabled | Implementation authorized by owner completion instruction, 2026-10-24; paper activation human-only |
|
||||
| [ADR-008](architecture/decisions/008-performance.md) | Measure actual paths; cursor replay and bounded trials; caching/DSL only when measured | Plan approval; later optimization go/no-go |
|
||||
| [ADR-008](architecture/decisions/008-performance.md) | Measure actual paths; cursor replay and bounded trials; caching/DSL only when measured | Scheduled measurements approved by owner completion instruction, 2026-10-24; conditional optimization gates unchanged |
|
||||
|
||||
Long-only is the approved first canonical model, not deletion of short history or a silent change to current paper accounts. Short/margin support still needs a separate approved borrowing policy and fixtures. C01/C03/C04/W01 preserve the legacy behavior described in their task scopes.
|
||||
|
||||
|
|
@ -740,3 +740,28 @@ Research credentials are hash-only, project/template scoped and independently re
|
|||
Evidence: 1233 integration/tooling tests, 254 PostgreSQL tests, 17 real-browser workflows, 150 active Rust tests; four existing Rust tests remain ignored. Final types/lint/format and production builds pass. Exact source archives, native hash, logs and limitations: manifest `thirty_seventh_wave_validation`. The async replay/controller extraction is tested groundwork for A02; arbitrary candidate execution is not claimed complete.
|
||||
|
||||
Next owners: A02 owns candidate contracts/SQL29/sandbox/worker; P04 owns pool and research composition; A04 owns SQL30, promotion/evidence and paper runtime/UI. Root owns migration registration, bootstrap merge, shared navigation/browser integration and acceptance. A04 can build components in parallel but candidate release waits for A02. A03 follows candidate admission. No agent independently changes financial policy.
|
||||
|
||||
|
||||
## Thirty-eighth-wave progress — 2026-10-24
|
||||
|
||||
P04 committed as `26b9726`: a configurable 1/2/4-slot pool reuses existing durable claims, one-shot native workers, cancellation and result fencing. Default concurrency remains one. Root reviewed pool ownership, run-scoped controls/status, shutdown and the benchmark. Slot reuse cannot report a prior run's progress; shutdown drains all executions and reports actual shutdown failures without treating expected rejected reservations as infrastructure faults.
|
||||
|
||||
Five paired 24 × 10,000-bar batches at each limit produced 360 matching per-candidate economic hashes. Median whole-batch completion: 51.853s / 28.629s / 16.315s at 1/2/4 slots (0.463 / 0.838 / 1.471 trials/s). Four slots measured about 3.18× median throughput on this host; sampled driver plus descendants peaked at 2.50 / 2.59 / 3.24GB. Queue-inclusive p95 and complete raw phases/hashes are in the manifest-linked report. This is one single-asset workload, not a universal scaling claim. A shutdown-only correction followed measurement; final focused gates passed: 63 unit/integration tests, 323 assertions, plus 5 real PG/Redis/native tests, 53 assertions, static types/lint/format. No financial engine semantics changed.
|
||||
|
||||
This intermediate P04 record is superseded by the final acceptance below. Conditional optimizations and unsupported multi-asset production policy remain deferred.
|
||||
|
||||
## Thirty-eighth-wave final acceptance — 2026-10-24
|
||||
|
||||
Implementation committed as `25b5cbf`; all **45 scheduled tasks are done**. A02/A03/A04 join the previously committed pool and canonical cutover. Six conditional tasks (D04/P03/P05/P06/P08/O02) keep their existing evidence/approval gates, and four merged IDs remain redirects. The manifest remains the scheduling source of truth.
|
||||
|
||||
A02 runs arbitrary retained TypeScript in a pinned local Linux x64 image with an unprivileged child, restricted syscalls, no network or host/data/secret mounts, cgroup limits, bounded framing and an independent Rust guardian. Native replay publishes only available prefixes; the supervisor validates identity and target intent before the same Rust financial engine applies it. Process exit, actual stdout EOF, deadline, cancellation and supervisor death fail safely. Catalog approval never changes a candidate's isolated research path. The small packaging CLI transpiles self-contained TypeScript inside isolation without evaluating it or installing dependencies. Candidate warmup and deterministic behavior remain unverified author declarations.
|
||||
|
||||
A03 adds a typed client and one bounded example, using existing APIs and shared pure response decoders. It captures candidate proposals before reading performance, runs training before server-selected holdouts, compares completed cost studies afterward, retains failed candidates, and saves exact evidence-linked AI findings. A mandatory durable receipt journal supports explicit recovery; non-idempotent narrative/family writes are never blindly replayed. No model SDK, agent framework, additional simulator or automatic promotion is introduced.
|
||||
|
||||
A04 links sealed test evidence and complete cost studies to immutable human-reviewed paper deployments. Native engine/wrapper/runtime/dependency identity must match the supporting research; worker and paper-host bundles retain distinct identities. The host starts unbound/halted, verifies the original human credential and browser Origin, loads the exact approved factory, and preserves cash, positions and strategy state across restart. Actual candidate research→human promotion→Rust paper fills→restart is tested with disposable accounts. The browser can create and reopen the deployment without creating an account or activating trading.
|
||||
|
||||
Integration review also fixed the agent project-link/revision authorization conflict through additive SQL31, retained ambiguous-write keys across same-event edits/navigation, normalized captured UUIDs and bound candidate parameters to the returned preview. These are narrow corrections to existing paths. The canonical default remains single asset/single series and cash-funded long-only; ownerBudget is a sizing input, not a separate Rust allocation constraint. Real activation, existing account migration, live execution and the simultaneous multi-asset mark decision remain outside this completion.
|
||||
|
||||
Validation: full `bun run check` passed (1,408 Bun tests across tooling/utilities/calculations/integration; 150 Rust tests passed, four existing ignored). The 273-case PostgreSQL run initially found three obsolete fixture assumptions: two candidate diagnostic strings and a public engine handle replaced by the private pool. After correcting those tests, all 18 affected-file cases passed, and the typed paper-isolation event variant passed 2/36 assertions. Final-profile candidate/AI/paper database proofs passed **13/259**; root sandbox/contract proofs **21/88**; the complete browser suite **18/655**, with the candidate workflow repeated on the final image **1/19**. Explicit authored-test types, scoped lint, formatting, guardian compilation/rustfmt and independent reviews passed. The manifest retains exact commands/log hashes, intermediate failures and their superseding evidence; no unresolved check is represented as passing.
|
||||
|
||||
The retained `scripts/benchmark-candidate-isolation.ts --measure` diagnostic used one 1,000-bar asset/strategy, a first-process pair and five alternating warm pairs. All 12 full financial hashes matched. Warm median trusted/isolated totals were **138.1/945.1ms**; isolated startup/replay/cleanup were **282.5/575.7/80.2ms**. Shared dataset/package/preflight setup was reported separately at **203.1ms**. The first pair is not an OS-cold measurement, and this shared-host result is not a capacity guarantee or authorization for a DSL/cache rewrite. Raw phases, identities and hashes are retained with the manifest; P04's independent 1/2/4-worker measurements remain above.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# ADR-008 — Performance work earns its complexity
|
||||
|
||||
Status: proposed; P06 requires a separate measured go/no-go.
|
||||
Status: scheduled measurements and bounded P04 execution authorized by owner completion instruction, 2026-10-24. Conditional optimizations, including P06, retain their separate measured go/no-go.
|
||||
|
||||
## Sequence
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Canonical development backlog
|
||||
|
||||
**Canonical default and bounded research access are validated.** R05/S06/A01 and the R07 measurement are complete: **41/45 scheduled tasks (91% by count)**. Remaining: A02 isolated candidate execution, P04 bounded concurrent trials, A04 human-reviewed paper promotion, and A03 the evidence-linked research client. Six conditional tasks remain deferred with their original evidence gates.
|
||||
**All 45/45 scheduled tasks are complete (100%).** 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.
|
||||
|
||||
## One source of truth
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
| [P01 Measure existing research paths before extending the benchmark](tasks/P01.md) | P2 / done | None | — | Performance/infrastructure engineering / M |
|
||||
| [P02 Remove measured replay queue and hot-loop overhead](tasks/P02.md) | P2 / merged → F06 | None | — | Performance/infrastructure engineering / M |
|
||||
| [P03 Reuse validated datasets within bounded native workers](tasks/P03.md) | P2 / deferred | F07, P01, ADR-004, ADR-008 | — | Performance/infrastructure engineering / M |
|
||||
| [P04 Schedule deterministic batches across a bounded worker pool](tasks/P04.md) | P2 / ready | F07, R06, C06, P01, ADR-008 | — | Performance/infrastructure engineering / M |
|
||||
| [P04 Schedule deterministic batches across a bounded worker pool](tasks/P04.md) | P2 / done | F07, R06, C06, P01, ADR-008 | — | Performance/infrastructure engineering / M |
|
||||
| [P05 Separate result summaries from paged detail payloads](tasks/P05.md) | P2 / deferred | R06, P01 | — | Performance/infrastructure engineering / M |
|
||||
| [P06 Conditionally add a minimal Rust-executed strategy plan](tasks/P06.md) | P2 / deferred | P04, S01, ADR-008 | — | Rust/TS performance compiler boundary / M |
|
||||
| [P07 Profile representative canonical replay workloads](tasks/P07.md) | P1 / done | F07, P01 | F09 for compact comparisons | Performance/test infrastructure / M |
|
||||
|
|
@ -103,9 +103,9 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
| Task | Priority / status | Implementation prerequisites | Release gate | Specialist / size |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| [A01 Add research-only principals and durable job budgets](tasks/A01.md) | P1 / done | R06, O01, ADR-007 | — | Backend security/durable scheduling / M |
|
||||
| [A02 Isolate untrusted TypeScript strategy builds and decisions](tasks/A02.md) | P1 / ready | A01, S01, P01, ADR-007 | — | Process isolation/security / L |
|
||||
| [A03 Implement an evidence-linked AI research workflow client](tasks/A03.md) | P2 / blocked | A02, R08, R03, ADR-007 | — | AI research integration / M |
|
||||
| [A04 Add human-reviewed promotion to paper deployment](tasks/A04.md) | P2 / ready | S04, R09, A01, R01, ADR-007, ADR-005 | — | Full-stack paper trading integration / M |
|
||||
| [A02 Isolate untrusted TypeScript strategy builds and decisions](tasks/A02.md) | P1 / done | A01, S01, P01, ADR-007 | — | Process isolation/security / L |
|
||||
| [A03 Implement an evidence-linked AI research workflow client](tasks/A03.md) | P2 / done | A02, R08, R03, ADR-007 | — | AI research integration / M |
|
||||
| [A04 Add human-reviewed promotion to paper deployment](tasks/A04.md) | P2 / done | S04, R09, A01, R01, ADR-007, ADR-005 | — | Full-stack paper trading integration / M |
|
||||
|
||||
### E9 — Migration and operational safeguards
|
||||
|
||||
|
|
@ -118,4 +118,4 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
|
||||
Before any wave: unique IDs; existing task/ADR references; acyclic implementation graph; no scheduled task dependent on merged/deferred work; approvals/readiness; actual file locks; isolated native build outputs/workspace dependencies and test databases. Release gates are checked separately at activation.
|
||||
|
||||
R06 and R08 are committed. R07 functional comparison is accepted and committed as `46a4f13`; only its paused measurement remains. R09 consumes that functional component and now implements source-linked findings over existing validation/cost evidence. Positive regime slicing requires a retained annotation contract that S05 does not provide. Performance and candidate/AI/default/trading gates remain unchanged.
|
||||
R06/R08/R09 and the R07 comparison/measurement are complete. The default supports canonical single-asset research. Regime panels require actual retained annotations; no arbitrary candidate regime labels or profitability claims are inferred. The six conditional tasks keep their evidence/approval gates. Completing scheduled implementation does not activate paper/live trading or approve a multi-asset mark policy.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-24.75",
|
||||
"plan_revision": "2026-10-24.78",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "scheduled_backlog_completion_in_progress",
|
||||
"plan_status": "scheduled_backlog_complete",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -973,11 +973,11 @@
|
|||
"assignment": "/root/r04_review",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"worktree": "/tmp/stock-bot-wave37.v0zgbc/cutover",
|
||||
"integration_state": "validated_uncommitted",
|
||||
"integration_state": "validated_committed",
|
||||
"verification_reference": "ROADMAP.md#thirty-seventh-wave-handoff--2026-10-24",
|
||||
"reviewed_by": "/root and independent cross-owner review",
|
||||
"review_notes": "Accepted canonical default/custody preservation and bounded research authorization. Full native/database/browser gates passed; actual trading unchanged."
|
||||
|
|
@ -1297,12 +1297,12 @@
|
|||
"assignment": "/root/r04_review",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"blocker": null,
|
||||
"release_gates": [
|
||||
"Multi-asset default remains unavailable pending explicit owner simultaneous-mark policy; canonical single-asset default is accepted."
|
||||
],
|
||||
"integration_state": "validated_uncommitted",
|
||||
"integration_state": "validated_committed",
|
||||
"integration_base": "366bee810b8c1881172fe5553a1a61a2242ffbe5",
|
||||
"worktree": "/tmp/stock-bot-wave37.v0zgbc/cutover",
|
||||
"implementation_slices": [
|
||||
|
|
@ -1329,7 +1329,7 @@
|
|||
"component_exclusions": [
|
||||
"Unsupported multi-asset activation and automatic paper/live operation; candidate isolation remains A02."
|
||||
],
|
||||
"source_preparation_disposition": "Canonical source inputs are materialized, reviewed and retained before admission. Existing atomic request/hash admission and worker binding verification remain authoritative. This replaces earlier pending-query/fenced-first-binding work with fewer states and no loss of frozen-input correctness; wider cutover remains incomplete."
|
||||
"source_preparation_disposition": "Canonical source inputs are materialized, reviewed and retained before admission. Existing atomic request/hash admission and worker binding verification remain authoritative. This replaces earlier pending-query/fenced-first-binding work with fewer states and no loss of frozen-input correctness; canonical single-asset default cutover is accepted. Unsupported multi-asset production policy remains gated."
|
||||
},
|
||||
{
|
||||
"id": "R06",
|
||||
|
|
@ -1754,7 +1754,7 @@
|
|||
"epic": "E7",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "ready",
|
||||
"status": "done",
|
||||
"dependencies": ["F07", "R06", "C06", "P01"],
|
||||
"decision_dependencies": ["ADR-008"],
|
||||
"task_file": "backlog/tasks/P04.md",
|
||||
|
|
@ -1764,13 +1764,16 @@
|
|||
"write_locks": ["worker-pool", "web-backtest-dispatch"],
|
||||
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
|
||||
"assignment": "/root/r12_frontend",
|
||||
"branch": null,
|
||||
"branch": "wave38/parallel-trials",
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "26b97265c67d2cc51175a841fbddb3938fba5f9c",
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"integration_state": "ready_for_isolated_implementation",
|
||||
"worktree": "/tmp/stock-bot-wave38.PuFhtc/pool"
|
||||
"integration_state": "validated_committed",
|
||||
"worktree": "/tmp/stock-bot-wave38.PuFhtc/pool",
|
||||
"integration_base": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"reviewed_by": "/root",
|
||||
"verification_reference": "ROADMAP.md#thirty-eighth-wave-progress--2026-10-24"
|
||||
},
|
||||
{
|
||||
"id": "P05",
|
||||
|
|
@ -1894,11 +1897,11 @@
|
|||
"assignment": "/root/r12_backend",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"worktree": "/tmp/stock-bot-wave37.v0zgbc/principals",
|
||||
"integration_state": "validated_uncommitted",
|
||||
"integration_state": "validated_committed",
|
||||
"verification_reference": "ROADMAP.md#thirty-seventh-wave-handoff--2026-10-24",
|
||||
"reviewed_by": "/root and independent cross-owner review",
|
||||
"review_notes": "Accepted canonical default/custody preservation and bounded research authorization. Full native/database/browser gates passed; actual trading unchanged."
|
||||
|
|
@ -1909,7 +1912,7 @@
|
|||
"epic": "E8",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "ready",
|
||||
"status": "done",
|
||||
"dependencies": ["A01", "S01", "P01"],
|
||||
"decision_dependencies": ["ADR-007"],
|
||||
"task_file": "backlog/tasks/A02.md",
|
||||
|
|
@ -1919,13 +1922,17 @@
|
|||
"write_locks": ["sandbox-contract", "worker-protocol"],
|
||||
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
|
||||
"assignment": "/root/r04_review",
|
||||
"branch": null,
|
||||
"branch": "wave38/isolated-candidates",
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "25b5cbf481e195810bc123ada50ee129a1f55e27",
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"integration_state": "ready_for_isolated_implementation",
|
||||
"worktree": "/tmp/stock-bot-wave38.PuFhtc/candidate"
|
||||
"integration_state": "validated_committed",
|
||||
"worktree": "/tmp/stock-bot-wave38.PuFhtc/candidate",
|
||||
"integration_base": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"verification_reference": "ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24",
|
||||
"reviewed_by": "/root plus independent cross-owner review",
|
||||
"review_notes": "Accepted actual OS/process/resource/protocol/future-prefix/native financial proofs, final stdout-EOF guardian, native/outer supervisor SIGKILL, SQL/retry/reproduction/validation and measured IPC parity. Linux x64 profile only; no trusted candidate research fallback."
|
||||
},
|
||||
{
|
||||
"id": "A03",
|
||||
|
|
@ -1933,7 +1940,7 @@
|
|||
"epic": "E8",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "blocked",
|
||||
"status": "done",
|
||||
"dependencies": ["A02", "R08", "R03"],
|
||||
"decision_dependencies": ["ADR-007"],
|
||||
"task_file": "backlog/tasks/A03.md",
|
||||
|
|
@ -1942,12 +1949,16 @@
|
|||
"specialization": "AI research integration",
|
||||
"write_locks": ["ai-workflow-client"],
|
||||
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
|
||||
"assignment": null,
|
||||
"assignment": "/root and /root/r12_frontend",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "25b5cbf481e195810bc123ada50ee129a1f55e27",
|
||||
"blocker": null,
|
||||
"release_gates": []
|
||||
"release_gates": [],
|
||||
"integration_state": "validated_committed",
|
||||
"verification_reference": "ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24",
|
||||
"reviewed_by": "/root plus independent cross-owner review",
|
||||
"review_notes": "Accepted real authorized HTTP/PostgreSQL/isolated candidate/Rust workflow, training-first fixed proposals, sealed holdouts/cost comparison, failed-trial diagnostics, durable manual-recovery journal and exact evidence. Research-only client has no promotion capability."
|
||||
},
|
||||
{
|
||||
"id": "A04",
|
||||
|
|
@ -1955,7 +1966,7 @@
|
|||
"epic": "E8",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "ready",
|
||||
"status": "done",
|
||||
"dependencies": ["S04", "R09", "A01", "R01"],
|
||||
"decision_dependencies": ["ADR-007", "ADR-005"],
|
||||
"task_file": "backlog/tasks/A04.md",
|
||||
|
|
@ -1965,15 +1976,17 @@
|
|||
"write_locks": ["paper-runtime", "web-strategies", "sql-migrations"],
|
||||
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
|
||||
"assignment": "/root/r12_backend",
|
||||
"branch": null,
|
||||
"branch": "wave38/paper-promotion",
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "25b5cbf481e195810bc123ada50ee129a1f55e27",
|
||||
"blocker": null,
|
||||
"release_gates": [
|
||||
"A02 candidate artifact/retained-factory integration and actual candidate evidence/browser proof; component implementation may run in parallel."
|
||||
],
|
||||
"integration_state": "ready_for_isolated_implementation",
|
||||
"worktree": "/tmp/stock-bot-wave38.PuFhtc/paper"
|
||||
"release_gates": [],
|
||||
"integration_state": "validated_committed",
|
||||
"worktree": "/tmp/stock-bot-wave38.PuFhtc/paper",
|
||||
"integration_base": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"verification_reference": "ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24",
|
||||
"reviewed_by": "/root plus independent cross-owner review",
|
||||
"review_notes": "Accepted separate human promotion with exact heldout/cost/code/shared-financial-build binding, native fills, halted binding, preserved account restart, original human credential/Origin enforcement and complete browser history workflow. No real account activation."
|
||||
},
|
||||
{
|
||||
"id": "O01",
|
||||
|
|
@ -7695,7 +7708,7 @@
|
|||
"instruction": "commit and continue with the rest of the tasks till 100%",
|
||||
"scope": "Complete all 45 scheduled tasks with review and quality gates. Resume required R07/P04 measurements. Conditional deferred work still requires its existing evidence; no percentage-only reclassification.",
|
||||
"decisions": "Implement ADR-007 research-only identity, operator budgets, OS isolation and human-only paper promotion. Default canonical research remains single-asset; no approval of sequential multi-asset mark approximation or automatic paper/live activation.",
|
||||
"remaining": ["R05", "R07", "S06", "P04", "A01", "A02", "A03", "A04"]
|
||||
"remaining": []
|
||||
},
|
||||
"r07_table_validation": {
|
||||
"date": "2026-10-24",
|
||||
|
|
@ -7953,7 +7966,7 @@
|
|||
],
|
||||
"tests": {
|
||||
"integration_and_tooling": "1233 passed /21755 assertions /105 files",
|
||||
"postgres": "254 passed; see exact log for assertion count",
|
||||
"postgres": "254 passed /2283 assertions /30 files",
|
||||
"browser": "17 passed /636 assertions",
|
||||
"rust": "150 passed /4 preexisting ignored",
|
||||
"reviewed_ui": "8 passed /41 assertions"
|
||||
|
|
@ -8012,6 +8025,215 @@
|
|||
"path": "/tmp/stock-bot-wave37.v0zgbc/agent-ui-reviewfix-tests.log",
|
||||
"sha256": "5adaef7869575738b46a6d4cd2588d104c3ed9128aac07ee5c16f7b7cb081aba"
|
||||
}
|
||||
},
|
||||
"completed_commit": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e"
|
||||
},
|
||||
"thirty_eighth_wave": {
|
||||
"base": "bbf0dd44535483bb809c8dea40e7fe0dcec8af5e",
|
||||
"tasks": ["P04", "A02", "A03", "A04"],
|
||||
"root_components": [
|
||||
"A02 browser publication/selection/grants",
|
||||
"A03 typed research client and shared response verification",
|
||||
"A04 explicit host composition and candidate-to-paper browser history proof"
|
||||
],
|
||||
"ownership": "A02 contracts/SQL29/worker/sandbox; A04 paper DTO/SQL30/evidence/runtime/UI/native-loaded-identity; P04 pool/research composition/measurement; root migration registry/bootstrap merges/shared UI/browser/docs.",
|
||||
"release_gates": [],
|
||||
"worktrees_root": "/tmp/stock-bot-wave38.PuFhtc",
|
||||
"p04_validation": {
|
||||
"commit": "26b97265c67d2cc51175a841fbddb3938fba5f9c",
|
||||
"unit": "63 pass, 323 assertions across 4 files",
|
||||
"postgres": "5 pass, 53 assertions; real native workers and durable PostgreSQL/Redis claims",
|
||||
"types_lint_format": "Application/scoped test types, application lint and authored format passed in isolated source worktree",
|
||||
"report_path": "/tmp/stock-bot-wave38.PuFhtc/pool-measure.json",
|
||||
"report_sha256": "7115111a9b572b2c34c0ee07b5906b6fee6a8a24f2a2f2ba7394ee90de7aac5f",
|
||||
"workload": "24 independent single-asset 10,000-bar trials per batch; 5 paired rotations at concurrency 1/2/4; 360 measured trials, identical per-candidate financial hashes",
|
||||
"median_batch_seconds": {
|
||||
"1": 51.853,
|
||||
"2": 28.629,
|
||||
"4": 16.315
|
||||
},
|
||||
"median_trials_per_second": {
|
||||
"1": 0.463,
|
||||
"2": 0.838,
|
||||
"4": 1.471
|
||||
},
|
||||
"sampled_driver_descendant_peak_gb": {
|
||||
"1": 2.5,
|
||||
"2": 2.59,
|
||||
"4": 3.24
|
||||
},
|
||||
"limits": "Single host/strategy workload, native startup excluded only from warmed paired batches; raw timings include durable queue and result persistence. Not candidate IPC, multiasset policy or proof that more workers always help. Default concurrency 1; 2/4 explicit configuration. Only shutdown failure aggregation changed after measurement, retaining all execution drains; postchange unit/PG gates passed.",
|
||||
"source_hashes": "/tmp/stock-bot-wave38.PuFhtc/pool-integrated-hashes.json"
|
||||
},
|
||||
"status": "accepted_committed",
|
||||
"implementation_commit": "25b5cbf481e195810bc123ada50ee129a1f55e27",
|
||||
"final_validation": {
|
||||
"repository_check": "bun run check passed: build, application/contract types, secret audit, tooling126/14110 assertions, utilities43/86, calculations44/2285, integration1195/8962, Rust150 passed with4 existing ignored, application lint. The final guardian is separately compiled/exercised below.",
|
||||
"postgres": "273 unique database cases validated. Whole run initially270 pass/3 fail: two obsolete candidate-diagnostic expectations and a test reaching the removed public BacktestEngine. Updated those fixtures, then all18 affected-file tests/184 assertions passed; typed pool-event variant2/36 passed. No application failure remained. Final-profile13 candidate/AI/paper tests/259 assertions passed.",
|
||||
"browser": "18 complete workflows/655 assertions passed; candidate publication\u2192research\u2192human-reviewed halted paper history repeated with final profile1/19. Test accounts only.",
|
||||
"sandbox": "21 root contract/actual OS tests/88 assertions passed on final installed image. Includes actual parent/native-worker/Docker-client death, raw syscall stdout EOF, process exit, memory/tmp/wall limits, no inherited env/host files/network/namespace creation, malformed/forged output, future-prefix invariance and Rust risk rejection.",
|
||||
"client": "Final strict-null equivalent cleanup and explicit formatting:19 client/workflow tests/106 assertions passed. Real HTTP/native workflow is included in final-profile database evidence.",
|
||||
"static": "Application checks and an explicit authored script/test tsconfig (exclude overridden), scoped ESLint --no-ignore, Prettier --ignore-path /dev/null, guardian rustfmt and git diff --check passed. Ambient declaration made explicit to keep import-sort parser valid.",
|
||||
"independent_review": "A02 guardian/protocol/finance reviewed by A04 owner; A04 core/native/UI by A03 owner; SQL31/client/composition independently reviewed; root integrated all archives and reran final-profile gates.",
|
||||
"integration_corrections": [
|
||||
"SQL31 permits only enabled/granted agents with owned links to update project revision/time/actor; project content/provisioning/ownership stays operator-only. Upgrade/reapply and direct-SQL negatives pass.",
|
||||
"Synchronous candidate/paper UI capture and retained retry keys survive same-event edits, ambiguous responses and owned-page navigation.",
|
||||
"Paper promotion requires shared native wrapper/binary/lock/runtime identity matching its evidence while research-worker and paper-host bundles retain distinct identities."
|
||||
],
|
||||
"logs": {
|
||||
"repository": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-check-escalated.log",
|
||||
"sha256": "bf3d63943bd65452002811f4a47406727b50b62ecb6301c30ca4645644c8d53f"
|
||||
},
|
||||
"database_full_initial": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-postgres-final.log",
|
||||
"sha256": "42556caa5aae95c35289ea87b3926465eee3eee8c5999b1e64af2d43035b2ef4"
|
||||
},
|
||||
"database_corrected_regressions": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-postgres-regressions-final.log",
|
||||
"sha256": "137290519ebc1cb9289d6a02e39a35d8dfcb3416b23739f845a743985b7fc49f"
|
||||
},
|
||||
"paper_isolation_typed_events": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-paper-isolation-final.log",
|
||||
"sha256": "20d82d7a5bc3bfa7917b0cede58ac851a4a01985fe6adb4299c19c6a4467d220"
|
||||
},
|
||||
"final_profile_database": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-candidate-paper-postgres-accepted.log",
|
||||
"sha256": "8775f095208478482b03d75904d4822d223a3e5e889a59008e1fd781713449ab"
|
||||
},
|
||||
"browser_full": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-browser-final.log",
|
||||
"sha256": "69cb22d72d08024859897349a8796e340467831e7349025fb88f7a5b79d125a2"
|
||||
},
|
||||
"final_profile_browser": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-candidate-browser-accepted.log",
|
||||
"sha256": "001969e31a0b86d45e7661d74d42afdd7a8c069f3d9edec7993ab0055461fb89"
|
||||
},
|
||||
"final_profile_safety": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-candidate-safety-final.log",
|
||||
"sha256": "bbbc604aae0d8ac163feda2696d581f7c99dfa74c727d35e11d0a5c41420c5e7"
|
||||
},
|
||||
"client": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-client-accepted.log",
|
||||
"sha256": "989be62d1aed932b61a21ce84ddb59c8cdbad0e4b9a8945e43aa929b58d963f0"
|
||||
},
|
||||
"authored_types": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-authored-types.log",
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"scoped_lint": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-final-scoped-lint.log",
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"explicit_format": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/root-format-explicit-check.log",
|
||||
"sha256": "17aa973d3f004560237d9a95171210b0671deff23d61628eecf7322ff5938f20"
|
||||
}
|
||||
},
|
||||
"accepted_source": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/accepted-source.tar.gz",
|
||||
"sha256": "c475c6ee9690cb4c97ed9295b9ee42d7eae472f391bf19371b9c986f41e1ad28"
|
||||
},
|
||||
"accepted_source_hashes": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/accepted-source-hashes.json",
|
||||
"sha256": "e74294119a8bab0e6e83d7493a3599ba1d4e764eee660a2b087b176a85a14e76"
|
||||
},
|
||||
"candidate_archive": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/candidate-final-v3.tar",
|
||||
"sha256": "ed415ade6d72e82f05be65bca8824ff606b69ec5a4d45dea7a94b9b27623b62f"
|
||||
},
|
||||
"paper_archive": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/paper-reviewed-final.tar.gz",
|
||||
"sha256": "8e463158650f510eb0ccd459c1e829b6e1ccabad43711c7cdca39a308a4e12f3"
|
||||
},
|
||||
"frontend_archive": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/frontend-final.tar.gz",
|
||||
"sha256": "7bfb1eebbbb4dfda62d503077b94e54c0c83f3176e41f62fce785be34ce8f384"
|
||||
},
|
||||
"root_execution": {
|
||||
"kind": "typescript-isolated-candidate/v1",
|
||||
"imageId": "sha256:4f1204fd05c83484dd902858b8602b703070383f32c139afd9a5d0ed9bacb329",
|
||||
"profile": {
|
||||
"version": 1,
|
||||
"policy": "linux-docker-guardian/v1",
|
||||
"protocol": "candidate-controller/v1",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"hostSha256": "d2f0afb47884bbf96ff8afad3dbc46bc4e923c0aa739c723351b23c25b647875",
|
||||
"guardianSha256": "660d5480a1ce5d64c0dfe3d653b4cee6c6243aaff05c397d92bc5cab27079ddb",
|
||||
"bunSha256": "6cd2f181c30d3cb1497b0b9d4bc9d63eb1ec4a9142f809183fed18fcc4e1051b",
|
||||
"limits": {
|
||||
"memoryBytes": 536870912,
|
||||
"cpuQuota": 1,
|
||||
"pids": 64,
|
||||
"tmpBytes": 16777216,
|
||||
"wallMs": 300000,
|
||||
"frameBytes": 8388608,
|
||||
"stderrBytes": 65536
|
||||
}
|
||||
}
|
||||
},
|
||||
"release_native_sha256": "f47e2c8bfe5a04e96dd755f2cc444a673a7b4a73b1127b862102cf4b83aa387c",
|
||||
"limitations": [
|
||||
"No real paper/live activation or account migration.",
|
||||
"Canonical default stays single asset/single execution series, cash-funded long-only.",
|
||||
"Arbitrary candidates remain isolated even after catalog approval; author warmup/RNG declarations cannot certify no leakage or determinism.",
|
||||
"Paper is a separate deliberate trusted-code promotion, requires explicit future feed/calendar policy and starts halted.",
|
||||
"Sandbox requires the retained exact Linux x64 local image/runtime; historical builds must remain installed for reproduction.",
|
||||
"No newly activated conditional optimizer/cache/DSL/monitoring work."
|
||||
]
|
||||
},
|
||||
"a02_measurement": {
|
||||
"command": "bun run scripts/benchmark-candidate-isolation.ts --measure",
|
||||
"raw": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/candidate-v3-measurement.json",
|
||||
"sha256": "b469c801491028b70cc03f0e37c17d59d2ee02f8ab3e2fdd48e0f1a8bfa830b9"
|
||||
},
|
||||
"summary": {
|
||||
"path": "/tmp/stock-bot-wave38.PuFhtc/candidate-v3-measurement-summary.json",
|
||||
"sha256": "7f5b303e3bff52d0d35556297552a800b3465c0c4bfc7b8c336724a3f3b708ec"
|
||||
},
|
||||
"harness_sha256": "3e80bf570d5aabdd8dfd8411cf8f9cea1f9eb56dcc98f79e620de390799266e1",
|
||||
"workload": {
|
||||
"bars": 1000,
|
||||
"assets": 1,
|
||||
"strategies": 1,
|
||||
"warmPairs": 5,
|
||||
"firstPairs": 1,
|
||||
"source": "retained nativeReplayFixture",
|
||||
"parameters": {
|
||||
"fastPeriod": 2,
|
||||
"slowPeriod": 3
|
||||
}
|
||||
},
|
||||
"shared_setup_ms": 203.05595799999998,
|
||||
"financial_hash": "a006ab70899fbf2ea3963a594da15392ddce4bf1bd2ab5fe3471e86defa231c4",
|
||||
"all_12_financial_hashes_equal": true,
|
||||
"warm_median_ms": {
|
||||
"trusted-fixture": {
|
||||
"startupMs": 4.302920000000086,
|
||||
"replayMs": 127.37058500000012,
|
||||
"cleanupMs": 0.0037469999997483683,
|
||||
"totalMs": 138.1236869999998
|
||||
},
|
||||
"isolated": {
|
||||
"startupMs": 282.49433199999976,
|
||||
"replayMs": 575.6947859999998,
|
||||
"cleanupMs": 80.17768100000012,
|
||||
"totalMs": 945.084636
|
||||
}
|
||||
},
|
||||
"limits": "The first pair is first measured in this process, not OS-cold. No caches are flushed. Shared setup includes dataset construction, package generation and descriptor/build preflight; module imports and Bun startup precede measurement. Each trial total excludes shared setup and final hash comparison. This shared-host diagnostic does not certify capacity."
|
||||
}
|
||||
},
|
||||
"completion_summary": {
|
||||
"date": "2026-10-24",
|
||||
"scheduled_complete": 45,
|
||||
"scheduled_total": 45,
|
||||
"scheduled_percent": 100,
|
||||
"deferred_conditional": 6,
|
||||
"merged_redirects": 4,
|
||||
"implementation_commit": "25b5cbf481e195810bc123ada50ee129a1f55e27",
|
||||
"scope": "All scheduled work accepted. Deferred gates, unsupported multi-asset policy, real paper/live activation and account migration remain unchanged."
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,3 +56,18 @@ Keep migrations additive and previous results readable. Do not add a switch that
|
|||
## Handoff
|
||||
|
||||
Report scope changes (if any), fixture expectations, API/schema changes, measurements, remaining limitations and commit/PR references once authorized. Request independent review; only the integration/planning owner may mark the manifest done.
|
||||
|
||||
|
||||
## Pinned implementation contract — 2026-10-24
|
||||
|
||||
Preserve built-in request bytes and the canonical Rust engine. Add an origin-discriminated candidate branch retaining nullable review only for candidates, server-bound baselineVersionId, generic target selection and exact sandbox execution descriptor. Package execution declares fixed warmupBars. Candidate overrides change version/derived owner identities and parameters only; the original frozen template financial grant remains exact. Explicit operator own-candidate grants authorize owned unreviewed versions in isolation. Revocation blocks new work; ordinary approval never selects a trusted research import.
|
||||
|
||||
Use the existing durable runner and shared async replay lifecycle. One isolated container receives only published observations/context and returns strictly validated owner/barrier/sequence/decision intents; Rust owns every economic result. The Linux x64 local scratch image contains pinned installed Bun, required runtime libraries, trusted host and a small independent guardian; no external downloads or host/data/secret mounts. Fixed profile:512MiB,1CPU,64PIDs,16MiB tmp,300s wall,8MiB protocol frame and64KiB captured stderr. Shorter agent attempt deadline wins. Missing enforcement fails closed. Test process/namespace/network/filesystem denial, resource exhaustion, malformed/forged messages, cancellation and supervisor death through actual container removal.
|
||||
|
||||
A small same-sandbox CLI may transpile self-contained TypeScript without importing it or installing dependencies; no remote build service. Candidate code is not automatically deterministic or unfitted: retain an unverified-candidate chronology policy, author-declared warmup and actual reproduction comparison. Preserve all built-in chronology bytes. A04's separate human promotion receipt controls trusted paper imports.
|
||||
|
||||
Root owns browser/response integration; A02 owns SQL29 and worker/contracts. Runtime registry/bootstrap merges are serialized by root. Full acceptance still requires native/SQL/browser and independent isolation review; feasibility probes alone do not close A02.
|
||||
|
||||
## Accepted implementation — 2026-10-24
|
||||
|
||||
Completed and independently reviewed. The [final wave record](../../ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24) and canonical manifest contain the implementation commit, actual regression/SQL/browser proofs, measurement identities and remaining limitations. Completion does not activate real trading or waive conditional architecture gates.
|
||||
|
|
|
|||
|
|
@ -61,3 +61,7 @@ Keep migrations additive and previous results readable. Do not add a switch that
|
|||
## Handoff
|
||||
|
||||
Report scope changes (if any), fixture expectations, API/schema changes, measurements, remaining limitations and commit/PR references once authorized. Request independent review; only the integration/planning owner may mark the manifest done.
|
||||
|
||||
## Accepted implementation — 2026-10-24
|
||||
|
||||
Completed and independently reviewed. The [final wave record](../../ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24) and canonical manifest contain the implementation commit, actual regression/SQL/browser proofs, measurement identities and remaining limitations. Completion does not activate real trading or waive conditional architecture gates.
|
||||
|
|
|
|||
|
|
@ -62,3 +62,7 @@ Keep migrations additive and previous results readable. Do not add a switch that
|
|||
## Handoff
|
||||
|
||||
Report scope changes (if any), fixture expectations, API/schema changes, measurements, remaining limitations and commit/PR references once authorized. Request independent review; only the integration/planning owner may mark the manifest done.
|
||||
|
||||
## Accepted implementation — 2026-10-24
|
||||
|
||||
Completed and independently reviewed. The [final wave record](../../ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24) and canonical manifest contain the implementation commit, actual regression/SQL/browser proofs, measurement identities and remaining limitations. Completion does not activate real trading or waive conditional architecture gates.
|
||||
|
|
|
|||
|
|
@ -54,3 +54,7 @@ Keep migrations additive and previous results readable. Do not add a switch that
|
|||
## Handoff
|
||||
|
||||
Report scope changes (if any), fixture expectations, API/schema changes, measurements, remaining limitations and commit/PR references once authorized. Request independent review; only the integration/planning owner may mark the manifest done.
|
||||
|
||||
## Accepted implementation — 2026-10-24
|
||||
|
||||
Completed and independently reviewed. The [final wave record](../../ROADMAP.md#thirty-eighth-wave-final-acceptance--2026-10-24) and canonical manifest contain the implementation commit, actual regression/SQL/browser proofs, measurement identities and remaining limitations. Completion does not activate real trading or waive conditional architecture gates.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue