docs(research): close backtest dialog navigation story

This commit is contained in:
Boki 2026-10-27 15:34:55 -04:00
parent 0d022ecc2e
commit fe3fd55610
5 changed files with 30 additions and 8 deletions

View file

@ -231,3 +231,19 @@ Root validation:
- Application and authored test types, scoped lint/formatting and diff checks passed. An additional economic-comparison suite could not load `zod` in the isolated implementation worktree; all four comparison cases passed in the root full check. No dependency workaround was committed.
Logs: `/tmp/stock-bot-rp13-baseline.log`, `/tmp/stock-bot-rp13-independent.log`, `/tmp/stock-bot-rp13-comparison.log`, `/tmp/stock-bot-rp13-root-check.log`, `/tmp/stock-bot-rp13-root-test-types.log`, `/tmp/stock-bot-rp13-postgres.log` and `/tmp/stock-bot-rp13-browser.log`. PostgreSQL/Redis were fresh disposable fixtures. Conditional performance work and development/paper/live execution remain inactive.
## RP14 — Backtest creation navigation
Planning commit `cf04fb36` scopes the verified dialog-owned navigation defect; implementation `0d022ecc` is accepted. The manifest contains 79 completed tasks, seven deferred tasks and four merged redirects: 90 IDs total.
The creation dialog's Close controls already protected an edited draft or pending Save, but its immutable-strategy link bypassed both rules. A dialog-local click capture now reuses the same pending ref and discard confirmation for ordinary same-tab links. Clean and deliberately confirmed navigation still works; modified/middle clicks, explicit new contexts and already-prevented events retain their behavior. The shared selector, router, backend and financial contracts are unchanged. This correction covers links inside the creation dialog, not global navigation.
Both original baseline probes failed on `dcffa2ea`; three new regression cases also failed before the fix. Independent reviewer `/root/review_recovery_changes` accepted 72 focused backtest/strategy UI tests / 488 assertions. Coverage includes exact draft preservation, accepted/clean navigation, Save plus link before rerender, pending ownership, failed-save confirmation, new-context defaults and existing Close/unmount behavior.
Root validation:
- `CARGO_BUILD_JOBS=2 bun run check`: passed — 134 tooling, 43 utility, 44 calculation, 1,364 integration and 150 Rust tests. Existing 14 conditional integration skips and four ignored Rust measurements remain. Build, application types, contracts, strict lint and secret audit passed.
- Complete Chromium suite: 21 scenarios passed, zero failures, 783 assertions. The catalog workflow declines navigation and preserves its draft, then holds the real save response after the database commit. Clicking the strategy link while pending neither navigates nor prompts; releasing the response opens that exact saved definition with original parameters. Exactly one definition and zero runs/dispatches are verified.
- Application and authored test types, focused lint/formatting and diff checks passed. The browser fixture waits for the initial backtest catalog read to finish before delaying the save, so that unrelated read cannot consume its delay.
Logs: `/tmp/stock-bot-rp14-baseline.log`, `/tmp/stock-bot-rp14-red.log`, `/tmp/stock-bot-rp14-independent.log`, `/tmp/stock-bot-rp14-root-check.log`, `/tmp/stock-bot-rp14-root-test-types-final.log` and `/tmp/stock-bot-rp14-browser.log`. PostgreSQL/Redis were fresh disposable fixtures. No development research execution, paper/live activation or conditional performance work was performed.