docs(research): close verified finding acknowledgement task

This commit is contained in:
Boki 2026-10-27 22:14:58 -04:00
parent f80ae2f3f3
commit b2f988144b
4 changed files with 28 additions and 9 deletions

View file

@ -432,3 +432,17 @@ Verification:
- Authored-test/application types, contracts, explicit scoped ESLint, formatting, secret audit and diff checks passed. The initial lint invocation warned that scripts were ignored; rerunning with `--no-ignore` checked them successfully. No full build or full integration-suite rerun was needed for this client-only correction.
Logs: `/tmp/stock-bot-rp23-client-red.log`, `rp23-client-cycle-green.log`, `rp23-independent-client.log`, `rp23-postgres.log`, `rp23-tooling.log`, `rp23-authored-types.log`, `rp23-typecheck.log`, `rp23-contracts.log`, `rp23-lint.log`, `rp23-format.log` and `rp23-secrets.log`, all under `/tmp/stock-bot-`. Independent review accepted the source, test coverage and final gates. RP21's real findings were not rewritten and no new real-data research was executed. The seven conditional tasks remain deferred; generic CLI resume was not introduced.
## RP24 — Single-run finding acknowledgements
Plan `2da899da`, implementation `f80ae2f3`. The web dialog verified returned evidence identities only for findings attached to an aggregate experiment/report. A single-run finding has null aggregate context, so even an empty or substituted citation list appeared saved. A missing list could crash the evidence view. Nine focused cases reproduced those failures before the source change.
The existing verification now applies to every finding. It compares selected run, metrics version, metric path and strategy version, plus aggregate source identity. Absent/null source and absent/null historical strategy versions normalize consistently with existing server responses; canonical versions remain exact. Unverifiable acknowledgements preserve the draft and use the existing uncertain-save controls. The browser displays server-resolved values and performs no financial recalculation. The older canonical success fixture now contains the actual selected references instead of an empty list.
Verification:
- Finding/source UI suites: **62 passed / 328 assertions**, including missing/empty/extra and substituted citations, source mismatches, canonical null/omitted source, legacy null/omitted version, report findings and draft custody.
- Complete production-built Chromium workbench: **23 passed / 852 assertions**, zero failures. The new scenario executes one native fixture run and commits one actual finding, strips evidence only from the acknowledgement, verifies the blocked draft and single POST, then reopens/reloads the original correct finding. Runs/dispatch/artifacts remain 1/1/1. Existing real single-run, report, legacy-history and isolated-candidate workflows also pass. The browser fixture now includes the already accepted SQL33 migration.
- Web production build, application/authored-test types, contracts, strict scoped lint, formatting, secret audit and diff checks passed. Root reviewed the correction against canonical and historical response shapes. No independent agent review, full repository check or full integration-suite rerun is claimed. The build retains the existing nonblocking Vite chunk-size warning.
Logs: `/tmp/stock-bot-rp24-red.log`, `rp24-ui.log`, `rp24-browser.log`, `rp24-typecheck.log`, `rp24-authored-types.log`, `rp24-contracts.log`, `rp24-lint.log`, `rp24-format.log` and `rp24-secrets.log`, all under `/tmp/stock-bot-`. Browser records use disposable stores; their PostgreSQL and Redis containers were stopped after verification. No saved real study was edited or new real-data research admitted. All seven conditional tasks remain deferred.