feat(research): preview chronological validation inputs and windows
This commit is contained in:
parent
b373410320
commit
67ab30cb7a
25 changed files with 2917 additions and 54 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# Revised development roadmap
|
||||
|
||||
**First twenty-seven waves committed; failed-trial retries are validated and await commit.** The experiment workbench is committed as `6f64ef6`. **34 of 45 scheduled tasks are fully committed (76% by count)**; R06 now satisfies its retained-input acceptance and is in review. R07 retry/history controls are validated, while broader comparison work and full R05 remain partial. Next after acceptance: R08 chronological validation. Performance work remains paused.
|
||||
**First twenty-eight waves committed; R08 chronological preflight is validated and awaits commit.** Retry work is committed as `b373410`; **35 of 45 scheduled tasks are fully committed (78% by count)**. The new workbench input check verifies exact train/validation/test slices, warmup and independent account clocks. Full R08 remains incomplete until durable phase execution, selection and reports; R05/R07 remain partial. Performance work stays paused.
|
||||
|
||||
Authorization update: the owner requested “commit and start”. The first R06/R07 experiment workbench is committed as `6f64ef6`; **34/45 scheduled tasks are fully committed**, plus these partial components. This continuation adds failed-trial retry receipts, diagnostic preservation, fencing and UI history using existing durable runs/outbox. Full R05 and broader R07 work remain partial. Performance stays paused; new-wave commits, pushes, PRs and trading/default-engine operations are outside this continuation's scope.
|
||||
Authorization update: the owner requested “commit and continue”. R06 is complete and committed as `b373410`; R08 now starts with an explicitly partial, read-only preflight foundation. No performance work, new-wave commits/pushes/PRs, SQL admission changes, candidate execution or trading/default activation are included.
|
||||
|
||||
## Strategy and review outcome
|
||||
|
||||
|
|
@ -613,3 +613,17 @@ Validation passed: `bun run check` (93 tooling, 43 utility, 44 calculation, 738
|
|||
The release addon remains `ef00eed556f5c32332d36a9a00ef710682e90deb00b54552e4b5c8bfdfbe8103`. Both disposable fixture containers were stopped; development services were untouched. Worktrees and logs remain under `/tmp/stock-bot-wave28.AqRnN8/`.
|
||||
|
||||
Next after acceptance/commit: **R08 bounded chronological selection and reset-segment validation**. Freeze train/validation/test windows and selection rules before execution, retain all tried candidates and distinguish reset segments from continuous portfolio performance. No performance work, standalone/bulk retries, candidate execution, multi-asset/default/paper/live activation, AI execution, new-wave commit, push or PR occurred.
|
||||
|
||||
## Twenty-ninth-wave handoff — 2026-10-24
|
||||
|
||||
The owner accepted R06 retries, committed as `b373410`; 35/45 scheduled tasks are fully committed. R08's first preflight component is implemented, independently reviewed and validated, but uncommitted. Full R08 and the existing R05/R07 exclusions remain incomplete.
|
||||
|
||||
- **Prepared chronological inputs:** The existing experiment editor accepts explicit UTC train/validation/test windows and previews their exact retained slices, candidate-wide warmup requirements, original policies and reset-account assumptions. Invalid or stale input never becomes a prepared result. Ordinary sweep submission remains separately labelled.
|
||||
- **Point-in-time correctness:** Slices preserve original bars, availability, sequences, VWAP and legacy conversion provenance. They reject cut bars, out-of-range/overlapping evaluation windows and insufficient usable warmup. Each phase reuses the existing calendar clock logic while keeping capital, risk, costs, strategy and seed unchanged. Completed observations are distinguished from execution opens.
|
||||
- **Honest scope:** Preview creates no datasets, experiments, runs, reports or selected winner. Its fixed future protocol selects from complete training evidence only; validation/test cannot retune. Staged execution and immutable evidence are still unavailable. No financial simulation, SQL admission or dispatcher behavior changed.
|
||||
|
||||
All gates passed: `bun run check` (93 tooling, 43 utility, 44 calculation, 786 integration and 150 Rust tests; four existing manual Rust tests ignored); full PostgreSQL/Redis (194 tests /1655 assertions); Chromium (12 workflows /306 assertions); strict test types, scoped lint, formatting and whitespace checks. Two native regressions prove fresh independent account/state and unchanged earlier economics after modifying the test suffix. The browser workflow proves preview/rejection/invalidation/reload with no database effects. Exact 19-file source hashes, review evidence and logs are in `manifest.json` → `twenty_ninth_wave_validation`.
|
||||
|
||||
The release addon remains `ef00eed556f5c32332d36a9a00ef710682e90deb00b54552e4b5c8bfdfbe8103`. Both disposable fixture containers were stopped; worktrees/logs remain under `/tmp/stock-bot-wave29.kK85O1/`. Existing warnings remain; development data/services were untouched.
|
||||
|
||||
Next after acceptance/commit: **R08 immutable recipe and staged admission**. Freeze windows and selection rules before execution, retain all training candidates, then atomically freeze the winner before validation/test admission. Extend existing one-dataset admission/retry assumptions explicitly; do not add another scheduler. R09 stays blocked, and performance/default/trading/AI activation remains excluded. No new-wave commit, push or PR occurred.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Canonical development backlog
|
||||
|
||||
**First twenty-seven waves committed; failed-trial retries are validated and await commit.** The experiment workbench is committed as `6f64ef6`. **34 of 45 scheduled tasks are fully committed (76% by count)**; R06 now satisfies its retained-input acceptance and is in review. R07 retry/history controls are validated, while broader comparison work and full R05 remain partial. Next after acceptance: R08 chronological validation. Performance work remains paused.
|
||||
**First twenty-eight waves committed; R08 chronological preflight is validated and awaits commit.** Retry work is committed as `b373410`; **35 of 45 scheduled tasks are fully committed (78% by count)**. The new workbench input check verifies exact train/validation/test slices, warmup and independent account clocks. Full R08 remains incomplete until durable phase execution, selection and reports; R05/R07 remain partial. Performance work stays paused.
|
||||
|
||||
## One source of truth
|
||||
|
||||
|
|
@ -77,9 +77,9 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
| [R03 Add projects, hypotheses and evidence-linked findings APIs](tasks/R03.md) | P1 / done | R01, R10, ADR-006 | — | Full-stack research product / M |
|
||||
| [R04 Deliver research workspace and save-findings flow](tasks/R04.md) | P1 / done | R03, W02, ADR-006 | W04 | Full-stack research product / M |
|
||||
| [R05 Freeze complete provenance and cut over durable canonical runs](tasks/R05.md) | P0 / in_progress | F08, S02, R01, R10, D01, W03, C06, ADR-006 | Multi-asset default mark-policy disposition | Full-stack research product / M |
|
||||
| [R06 Create immutable experiments and bounded sweep expansion](tasks/R06.md) | P1 / review (validated, uncommitted) | Accepted R05 retained-input component; R01/R10/F08/S02/D01/W03/C06/R12, ADR-006 | — | Full-stack research product / M |
|
||||
| [R06 Create immutable experiments and bounded sweep expansion](tasks/R06.md) | P1 / done | Accepted R05 retained-input component; R01/R10/F08/S02/D01/W03/C06/R12, ADR-006 | — | Full-stack research product / M |
|
||||
| [R07 Deliver sweep configuration and comparable-result views](tasks/R07.md) | P1 / in_progress (component) | R06 component API pinned; release after integration, ADR-006 | W04 | Full-stack research product / M |
|
||||
| [R08 Add bounded chronological and reset-segment validation](tasks/R08.md) | P1 / blocked | R06, ADR-006 | — | Quantitative research integrity / M |
|
||||
| [R08 Add bounded chronological and reset-segment validation](tasks/R08.md) | P1 / in_progress (preflight validated) | R06, ADR-006 | — | Quantitative research integrity / M |
|
||||
| [R09 Expose validation, cost and regime evidence in the workbench](tasks/R09.md) | P1 / blocked | R07, R08, ADR-006 | S05 when Regime comparison is enabled; R03 when Saving or linking a research finding is enabled | Full-stack research product / M |
|
||||
| [R10 Protect retained research evidence and artifact integrity](tasks/R10.md) | P1 / done | R01, ADR-006 | — | Full-stack research product / M |
|
||||
| [R11 Select and reuse frozen datasets in the workbench](tasks/R11.md) | P1 / done | D01, O01, ADR-003, ADR-006 | W04 | Full-stack market data/research / M |
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-24.60",
|
||||
"plan_revision": "2026-10-24.62",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "twenty_eighth_wave_validated_awaiting_commit",
|
||||
"plan_status": "twenty_ninth_wave_validated_awaiting_commit",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "User: commit and start after wave27 named safe failed-trial retries; prior slice committed6f64ef6",
|
||||
"tasks": ["R06", "R07"],
|
||||
"authorized_by": "User: commit and continue after validated R06 retry handoff recommended R08 chronological validation; retry work committed b373410",
|
||||
"tasks": ["R08"],
|
||||
"permissions": [
|
||||
"Failed canonical experiment trial retry with immutable diagnostic receipts, SQL fencing and focused history/retry controls; isolated implementation/review and full validation"
|
||||
"R08 preflight foundation: verified chronological dataset windows, prepared reset-account requests and input-only web preview; isolated implementation/review and full validation"
|
||||
],
|
||||
"excluded": [
|
||||
"performance_profiling_or_optimization",
|
||||
|
|
@ -23,7 +23,10 @@
|
|||
"multi_asset_activation",
|
||||
"AI_execution_or_credentials",
|
||||
"historical_binary_provisioning",
|
||||
"cross_experiment_ranking"
|
||||
"cross_experiment_ranking",
|
||||
"durable_validation_admission",
|
||||
"validation_selection_or_performance_claims",
|
||||
"validation_report_persistence"
|
||||
],
|
||||
"pending_policy_decisions": [
|
||||
"ADR-007",
|
||||
|
|
@ -1334,7 +1337,7 @@
|
|||
"epic": "E6",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "review",
|
||||
"status": "done",
|
||||
"dependencies": ["R01", "R10", "F08", "S02", "D01", "W03", "C06", "R12"],
|
||||
"decision_dependencies": ["ADR-006"],
|
||||
"task_file": "backlog/tasks/R06.md",
|
||||
|
|
@ -1346,10 +1349,10 @@
|
|||
"assignment": "/root",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"completed_commit": "b373410320e987ddce1ee8dd5e8a691cf183d527",
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"integration_state": "validated_uncommitted",
|
||||
"integration_state": "validated_committed",
|
||||
"integration_base": "6f64ef62ba233b293ea1374c753bd0b467703792",
|
||||
"worktree": "/home/boki/repos/stock-bot",
|
||||
"execution_component": "Failed-trial retry with immutable diagnostic history",
|
||||
|
|
@ -1363,7 +1366,7 @@
|
|||
],
|
||||
"reviewed_by": "/root/r04_review",
|
||||
"verification_reference": "ROADMAP.md#twenty-eighth-wave-handoff--2026-10-24",
|
||||
"review_notes": "Retained-input experiment and retry acceptance complete; independently reviewed and all integrated gates passed. Awaiting owner acceptance/commit before downstream readiness changes.",
|
||||
"review_notes": "Retained-input experiment/retry acceptance verified and owner accepted; committed b373410. Broader R05 cutover remains separate.",
|
||||
"implementation_slices": [
|
||||
{
|
||||
"owner": "/root/r12_backend",
|
||||
|
|
@ -1398,7 +1401,7 @@
|
|||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": ["W04"],
|
||||
"integration_state": "component_validated_uncommitted",
|
||||
"integration_state": "partial_validated_committed",
|
||||
"integration_base": "6f64ef62ba233b293ea1374c753bd0b467703792",
|
||||
"worktree": "/home/boki/repos/stock-bot",
|
||||
"execution_component": "Per-trial retry controls and retained history",
|
||||
|
|
@ -1418,7 +1421,7 @@
|
|||
"scope": "Shared DTO, migration allowlist/old fixtures, actual native browser workflow, integrated gates and planning"
|
||||
}
|
||||
],
|
||||
"partial_commit": "6f64ef62ba233b293ea1374c753bd0b467703792"
|
||||
"partial_commit": "b373410320e987ddce1ee8dd5e8a691cf183d527"
|
||||
},
|
||||
{
|
||||
"id": "R08",
|
||||
|
|
@ -1426,7 +1429,7 @@
|
|||
"epic": "E6",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "blocked",
|
||||
"status": "in_progress",
|
||||
"dependencies": ["R06"],
|
||||
"decision_dependencies": ["ADR-006"],
|
||||
"task_file": "backlog/tasks/R08.md",
|
||||
|
|
@ -1435,12 +1438,39 @@
|
|||
"specialization": "Quantitative research integrity",
|
||||
"write_locks": ["validation-contract", "sql-migrations"],
|
||||
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
|
||||
"assignment": null,
|
||||
"assignment": "/root",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": []
|
||||
"release_gates": [],
|
||||
"integration_state": "component_validated_uncommitted",
|
||||
"integration_base": "b373410320e987ddce1ee8dd5e8a691cf183d527",
|
||||
"worktree": "/home/boki/repos/stock-bot",
|
||||
"execution_component": "Chronological validation preflight and exact dataset slicing",
|
||||
"component_exclusions": [
|
||||
"durable experiment/phase admission and immutable selection/report",
|
||||
"walk-forward aggregation and cost-sensitivity execution"
|
||||
],
|
||||
"reviewed_by": "/root/r04_review",
|
||||
"verification_reference": "ROADMAP.md#twenty-ninth-wave-handoff--2026-10-24",
|
||||
"review_notes": "Preflight foundation independently reviewed and all integrated gates passed. Full task stays in progress: no durable recipe/admission, selection, report, walk-forward or cost-sensitivity execution yet.",
|
||||
"implementation_slices": [
|
||||
{
|
||||
"owner": "/root/r12_backend",
|
||||
"worktree": "/tmp/stock-bot-wave29.kK85O1/backend",
|
||||
"scope": "Exact v2 slice export, prepared phase requests and extracted unchanged risk clock, authenticated preview API and pure/API/PostgreSQL regressions"
|
||||
},
|
||||
{
|
||||
"owner": "/root/r12_frontend",
|
||||
"worktree": "/tmp/stock-bot-wave29.kK85O1/frontend",
|
||||
"scope": "Explicit UTC preflight panel/client and interaction tests; ordinary sweep remains distinct"
|
||||
},
|
||||
{
|
||||
"owner": "/root",
|
||||
"scope": "Shared DTO/export, native reset/suffix regression, actual browser no-write workflow, full integration and planning"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "R09",
|
||||
|
|
@ -6684,7 +6714,7 @@
|
|||
"Original input/review snapshot remains immutable; fresh retry requires current approval and records its receipt separately. Existing lifetime automatic recovery budget remains unchanged."
|
||||
],
|
||||
"twenty_eighth_wave_validation": {
|
||||
"state": "validated_uncommitted",
|
||||
"state": "validated_committed",
|
||||
"scope": "R06 retained-input experiment acceptance complete; R07 retry/history component complete, broader task partial",
|
||||
"artifacts": "/tmp/stock-bot-wave28.AqRnN8",
|
||||
"source_archive": "/tmp/stock-bot-wave28.AqRnN8/validated-source.tar.gz",
|
||||
|
|
@ -6765,6 +6795,96 @@
|
|||
"Chromium only; existing bundle-size/Rust warnings and four manual Rust test exclusions remain. Initial focused SQL test parameter-type fixture error was corrected before the frozen 11/101 suite; final integrated gates passed on their first run."
|
||||
],
|
||||
"cleanup": "Both exact --rm disposable PostgreSQL/Redis fixture containers stopped successfully. 27 authored source/test files archived and hashed; isolated worktrees/logs retained. Development/production services and data untouched.",
|
||||
"next": "Accept/commit this R06 retry completion, then start R08 bounded chronological parameter selection and reset-segment validation on the accepted retained-input experiment foundation. Pin explicit training/validation/test/warmup boundaries and selection rule before execution; preserve all candidate evidence and label reset-segment results honestly. Keep performance paused and R05/R07/AI/multi-asset/default activation gates intact."
|
||||
"next": "Accept/commit this R06 retry completion, then start R08 bounded chronological parameter selection and reset-segment validation on the accepted retained-input experiment foundation. Pin explicit training/validation/test/warmup boundaries and selection rule before execution; preserve all candidate evidence and label reset-segment results honestly. Keep performance paused and R05/R07/AI/multi-asset/default activation gates intact.",
|
||||
"completed_commit": "b373410320e987ddce1ee8dd5e8a691cf183d527"
|
||||
},
|
||||
"twenty_ninth_wave": ["R08"],
|
||||
"twenty_ninth_wave_base": "b373410320e987ddce1ee8dd5e8a691cf183d527",
|
||||
"twenty_ninth_wave_notes": [
|
||||
"Explicitly partial preflight: prepared input checks are not frozen experiments/reports or OOS evidence; no new SQL/admission/queue/engine semantics.",
|
||||
"Existing one-dataset experiment and retry contracts require a later coordinated staged admission branch; first validate exact slices, availability-aware warmup and phase account clocks.",
|
||||
"Future fixed selection protocol: every train candidate must have a comparable finite totalReturn; maximize then tie by original candidate.index. Validation and test assess only that frozen winner."
|
||||
],
|
||||
"twenty_ninth_wave_validation": {
|
||||
"state": "component_validated_uncommitted",
|
||||
"scope": "R08 read-only chronological preflight foundation; full R08 remains in_progress and R09 blocked",
|
||||
"integration_base": "b373410320e987ddce1ee8dd5e8a691cf183d527",
|
||||
"log_directory": "/tmp/stock-bot-wave29.kK85O1",
|
||||
"source_archive": "/tmp/stock-bot-wave29.kK85O1/validated-source.tar.gz",
|
||||
"source_files": {
|
||||
"apps/stock/config/package.json": "8113f4137acc8303540319431e196ac40a52413698ff85b6940a1367d7c2317c",
|
||||
"apps/stock/config/src/contracts/chronological-validation.ts": "3dfa61b02e95d29d12d1f1077c2c4fd2ade32606188fc9188dc380c6ab963122",
|
||||
"apps/stock/orchestrator/src/data/historical-dataset-v2.ts": "f76516192c213ce206a0869298b349572cc6ee375892c4b7af834b567dd76a32",
|
||||
"apps/stock/web-api/src/routes/experiments.routes.ts": "154dae18a156609ecdcb7d6d8153ad032109a21fab00d4934e49df3dc57562e6",
|
||||
"apps/stock/web-api/src/services/canonical-research.service.ts": "95a1638bc6e30cfedca37b6eb0515ebcaf042214a8ad2550447e9bfb0eec3564",
|
||||
"apps/stock/web-api/src/services/canonical-risk-clock.ts": "3df138ffa327aca9c1bd1f4cf3fb9b4a20e7fc1f0d5ebd908184dd15bbbc4c4b",
|
||||
"apps/stock/web-api/src/services/experiments.service.ts": "86839986119642dd3886aefd011564860c226738b36eabf724633592e8229b2a",
|
||||
"apps/stock/web-api/src/services/validation-preview.ts": "8d09ff2ba19eb6fdace30a4936f77d10fe30fc06af8935d133d1d4c3a2bf34d0",
|
||||
"apps/stock/web-app/src/features/experiments/components/ChronologicalValidationPreflight.tsx": "684a1bfedb068f4c54fe26872ded053039b4e1670b4e91b0841b5d92512b3192",
|
||||
"apps/stock/web-app/src/features/experiments/components/ExperimentEditor.tsx": "03778008549386acbec221d510555bf251d6db3e4ecf26fe7532a567ec9b8454",
|
||||
"apps/stock/web-app/src/features/experiments/services/chronologicalValidationApi.ts": "4a189d11658aba2450fe556b9ca401c2b07849df0e03328d35810e2220d4d9f9",
|
||||
"apps/stock/web-app/src/features/experiments/services/experimentApi.ts": "a45619f25c9ecc59a30ad576398aecc57efd458e23e04621a98baf438a4e1159",
|
||||
"test/e2e/workbench.test.ts": "b52302ccec7c4d90c4f06483f70927d825ee7565787ed3c9be38fd32dbf7303e",
|
||||
"test/fixtures/chronological-validation.ts": "44dd7ca82cf102e202d3fdc835961ff74c33cf846a9f523c998ff8db831d9e9d",
|
||||
"test/integration/chronological-validation-api.test.ts": "e8e360ff187b075dec16277d4f35c03db29f83c6c438c345632d3d711a8dd49a",
|
||||
"test/integration/chronological-validation-native.test.ts": "822bdca6aac5b33219f6a3b68d45eaa5efe4151b4d103a8a8e31e70864d2c258",
|
||||
"test/integration/chronological-validation-ui.test.tsx": "debdb04c07e68b6c5212f70d19b5f93abf352a535ec432d4f8ebe226adbf760b",
|
||||
"test/integration/chronological-validation.test.ts": "15dce3033886c919f8e4f458fc6c9b9ce45c445dd667130bcd72a312315bcf0c",
|
||||
"test/postgres/chronological-validation.test.ts": "d13a1749defdbd2a67c3f74af195fc3872b81985671d38062ba2a3b5a4066859"
|
||||
},
|
||||
"checks": [
|
||||
{
|
||||
"command": "CARGO_BUILD_JOBS=2 bun run check",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/check.log",
|
||||
"outcome": "All repository gates passed: build/source/contracts/secrets/lint; 93 tooling, 43 utility, 44 calculation, 786 integration and 150 Rust tests, zero failures. Four existing manual Rust tests ignored."
|
||||
},
|
||||
{
|
||||
"command": "PIPELINE_TEST_DATABASE_URL=<disposable PG> BACKTEST_TEST_REDIS_URL=<dedicated Redis /15> bun run test:postgres",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/postgres.log",
|
||||
"outcome": "194 tests / 1655 assertions passed across 22 files. New four-test preflight suite proves unchanged full-table snapshots/no writes, one-connection transactions, current approval/archive gates, ordinary policy preservation and missing/corrupt-input handling."
|
||||
},
|
||||
{
|
||||
"command": "PIPELINE_TEST_DATABASE_URL=<disposable PG> BACKTEST_TEST_REDIS_URL=<dedicated Redis /15> bun run test:e2e",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/e2e.log",
|
||||
"outcome": "12 Chromium workflows / 306 assertions passed. New flow prepares three explicit windows, inspects exact inputs/hash, rejects insufficient warmup, invalidates on bounds/name edits and confirms no datasets/experiments/runs/outbox/results/template writes through retry/reload. All 11 previous workflows passed."
|
||||
},
|
||||
{
|
||||
"command": "bun test test/integration/chronological-validation-native.test.ts",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/native-focused.log",
|
||||
"outcome": "Two native regressions /371 assertions passed in isolated backend worktree and are included in full integration totals. All phases start with original cash, no positions/orders and fresh strategy state; warmup cannot decide/fill. Changing only test suffix prices leaves earlier slice requests, decisions and native results unchanged."
|
||||
},
|
||||
{
|
||||
"command": "bunx tsc --project /tmp/stock-bot-wave29.kK85O1/tests-tsconfig.json --noEmit",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/integrated-test-types-final.log",
|
||||
"outcome": "Strict new tests/browser/dependent source types passed. Initial root test dynamic-index assertion needed an as-const tuple; final fix changes only types, not runtime values."
|
||||
},
|
||||
{
|
||||
"command": "bunx eslint <shared DTO/new tests/browser test> --max-warnings 0; bunx prettier --check <all changed TS/TSX/JSON>; git diff --check",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/integrated-test-lint.log",
|
||||
"outcome": "Scoped test lint, changed-file formatting and whitespace checks passed; final planning metadata separately formatted and validated."
|
||||
},
|
||||
{
|
||||
"command": "CARGO_BUILD_JOBS=2 bun run --cwd apps/stock/engine build:release",
|
||||
"log": "/tmp/stock-bot-wave29.kK85O1/native-release.log",
|
||||
"outcome": "Release native addon restored before PostgreSQL/Chromium gates; SHA256 ef00eed556f5c32332d36a9a00ef710682e90deb00b54552e4b5c8bfdfbe8103 unchanged. No Rust, runner, dispatcher or SQL changes."
|
||||
}
|
||||
],
|
||||
"reviews": [
|
||||
{
|
||||
"reviewer": "/root/r04_review",
|
||||
"scope": "All 14 backend/frontend overlay file hashes, root precise observation-label delta, native tests/fixture, browser test and partial-scope planning",
|
||||
"outcome": "Accepted without remaining blockers. Independently ran backend pure/API 13 tests /161 assertions and frontend 33/125; reviewed author PG 4/46 and root native 2/371 evidence. Root completed combined gates. Frontend changed one label after overlay review to distinguish completed observations from execution opens."
|
||||
}
|
||||
],
|
||||
"limitations": [
|
||||
"Prepared inputs are non-durable. POST /api/v2/experiments/validation/preview writes no datasets, experiments, runs or reports and performs no strategy selection or financial execution. UI provides no validation submit/save control.",
|
||||
"Current approved retained deterministic built-ins, one eligible asset/series and installed build only. Zero label horizon; trainable/nonzero-horizon models reject. Ordinary sweeps remain a separate existing workflow.",
|
||||
"Warmup readiness counts usable observations, not profitability or statistical adequacy. Completed observations available exactly at tradeEnd may terminal-mark only; later arrivals cannot inform decisions/terminal marks. Existing open execution semantics remain unchanged.",
|
||||
"Future fixed protocol is all-candidate finite comparable training totalReturn, maximizing then tying by original candidate index; validation/test assess the same locked winner. That selection is declared but not executed or durably frozen in this slice.",
|
||||
"Durable recipes, staged admission, write-once selection/report, holdout access history, walk-forward/reset-series reporting and cost sensitivity remain R08 acceptance work; R09 stays blocked. R05/R07 remain partial.",
|
||||
"No performance measurements/optimization, new scheduler/simulator, candidate code, multi-asset/default/paper/live/AI activation, new-wave commit, push or PR. Chromium only; existing bundle-size/Rust warnings remain."
|
||||
],
|
||||
"cleanup": "Both exact --rm disposable PostgreSQL/Redis containers stopped successfully. Nineteen source/test files archived and hashed; worktrees and logs retained. Development/production services and data untouched.",
|
||||
"next": "After acceptance/commit, continue R08 with immutable experiment-owned recipe and a coordinated guarded admission branch. Freeze all windows/source/phase inputs and selection policy before training; commit the write-once complete-training winner before admitting the same winner to validation/test. Extend existing one-dataset admission/retry/result assumptions explicitly, preserve normal experiments and recovery, and persist immutable evidence. Do not call preflight OOS validation or release R09 prematurely; performance remains paused."
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,6 +93,6 @@ Lock order is parent → experiment → run → strategy family. Atomic acceptan
|
|||
|
||||
### Validated retry handoff
|
||||
|
||||
R06's retained-input acceptance is complete and independently reviewed; status is `review` / `validated_uncommitted`. Existing bounded expansion/cancellation/compact comparison behavior is preserved. Full repository gates, PostgreSQL (190 tests / 1609 assertions) and Chromium (11 workflows / 285 assertions) passed. Exact source hashes and logs: `manifest.json` → `twenty_eighth_wave_validation`.
|
||||
R06's retained-input acceptance is complete and independently reviewed; owner accepted and committed it as `b373410` (`done` / `validated_committed`). Existing bounded expansion/cancellation/compact comparison behavior is preserved. Full repository gates, PostgreSQL (190 tests / 1609 assertions) and Chromium (11 workflows / 285 assertions) passed. Exact source hashes and logs: `manifest.json` → `twenty_eighth_wave_validation`.
|
||||
|
||||
The retry suite proves exact failure snapshots, duplicate/stale intent handling, lifetime counter monotonicity, rollback, old-attempt fencing, Redis recovery, current original-version approval and actual Rust completion with one result. SQL23 adds guards only to experiment retry semantics; ordinary run lifecycle behavior remains intact. No engine or dispatcher changes were required. Downstream R08 remains blocked until acceptance/commit; broader R05 cutover is still separate.
|
||||
The retry suite proves exact failure snapshots, duplicate/stale intent handling, lifetime counter monotonicity, rollback, old-attempt fencing, Redis recovery, current original-version approval and actual Rust completion with one result. SQL23 adds guards only to experiment retry semantics; ordinary run lifecycle behavior remains intact. No engine or dispatcher changes were required. R08 is released from this prerequisite by acceptance/commit; broader R05 cutover is still separate.
|
||||
|
|
|
|||
|
|
@ -85,6 +85,6 @@ The first experiment UI component is committed as `6f64ef6`. Add per-trial faile
|
|||
|
||||
### Validated retry controls handoff
|
||||
|
||||
The retry/history component is independently reviewed and `component_validated_uncommitted`. The actual Chromium workflow retries a failed canonical trial, verifies the original immutable inputs despite template edits, replays the accepted receipt after completion and reopens saved failure history and the native result. Interaction tests cover uncertain responses, stale refresh/route responses, cancellation coordination, null/history/error states and explicit discard/new intent. Exact logs and hashes: `manifest.json` → `twenty_eighth_wave_validation`.
|
||||
The retry/history component is independently reviewed and committed as `b373410`; full R07 remains partial. The actual Chromium workflow retries a failed canonical trial, verifies the original immutable inputs despite template edits, replays the accepted receipt after completion and reopens saved failure history and the native result. Interaction tests cover uncertain responses, stale refresh/route responses, cancellation coordination, null/history/error states and explicit discard/new intent. Exact logs and hashes: `manifest.json` → `twenty_eighth_wave_validation`.
|
||||
|
||||
Full R07 remains in progress for broader cross-experiment comparison and table measurements. All performance work stays paused. No new finance, statistics or result-ranking logic was added.
|
||||
|
|
|
|||
|
|
@ -68,3 +68,19 @@ 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.
|
||||
|
||||
## Authorized first component — 2026-10-24
|
||||
|
||||
R06 is accepted/committed as `b373410`. Begin with a read-only chronological preflight using the existing approved canonical template, bounded grid and retained source dataset. POST `/api/v2/experiments/validation/preview` prepares explicit train/validation/test slices, availability-aware warmup diagnostics, exact source/phase hashes and reset-account requests. The existing experiment editor exposes this input check without a submit/save control.
|
||||
|
||||
The fixed future selection protocol maximizes every candidate's finite comparable training total return, breaking ties by original candidate index. Failed/missing/incomparable/null candidates block later selection. Validation and test assess that same winner; neither retunes. Only deterministic unfitted built-ins and zero label horizon are supported. Warmup can overlap prior phases; evaluation intervals cannot overlap. No financial policy is recalculated; only dataset identity and calendar-derived risk-session clocks change per phase.
|
||||
|
||||
This component is explicitly **prepared input, not durable experiment evidence**. It writes no datasets, runs, experiments or reports and performs no selection or holdout execution. Existing SQL22/23 require one dataset per experiment; changing that admission/retry contract belongs to the next coordinated durable slice. Full R08 remains incomplete until frozen recipe, selection gating, reports, reset-segment validation and cost-sensitivity acceptance are met. No findings/regime integration or performance work is included.
|
||||
|
||||
### Validated preflight handoff
|
||||
|
||||
The first component is independently reviewed and `component_validated_uncommitted`; full R08 remains `in_progress`. Exact bars and legacy conversion provenance survive slicing; immediate source lineage stays in the outer preview. Warmup diagnostics respect actual availability and retained strategy ordering, including observations at/after the evaluation end. Existing account-clock calculation is reused for each phase without changing financial policy.
|
||||
|
||||
Full repository checks passed (786 integration /150 Rust tests), PostgreSQL (194 tests /1655 assertions), Chromium (12 workflows /306 assertions), strict test types, lint and formatting. Native regressions prove independent initial cash/positions/state, no warmup orders/fills and earlier-phase invariance to a changed test suffix. Browser/database tests prove preview makes no retained-data/job/template writes. Hashes and logs: `manifest.json` → `twenty_ninth_wave_validation`.
|
||||
|
||||
Next: immutable experiment-owned recipe and guarded staged admission, with all candidate training evidence complete before a write-once winner selection and validation/test admission. Existing ordinary experiment/retry behavior must remain intact. This preflight does not satisfy immutable report reopening, holdout access history, walk-forward aggregation or cost-sensitivity execution; R09 remains blocked.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue