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

@ -8,7 +8,7 @@
[manifest.json](manifest.json) owns scheduling metadata: status, priorities, dependencies, ADR approvals, assignments and write locks. Task Markdown owns implementation scope/evidence/acceptance. This index and the [graph](dependencies.mmd) are derived views. Only the planning/integration owner updates scheduling state.
**Current total: 100 retained IDs — 88 done, 1 in progress, 7 deferred, 4 merged.** RP18 completes the bounded October multi-session pilot; RP01–RP17 add the authorized real-data workflow and its dataset reuse, export and workflow recovery follow-ups. The earlier 68 IDs retain their state. E11 adds seven authorized cleanup tasks and one conditional replay extraction; see the manifest for current scheduling. The original backlog accounted for 55 IDs. F09/P07 added projection/profiling work; the owner deferred P08's TypeScript optimization. Merged records preserve traceability; never execute them separately. Deferred work requires its stated trigger and explicit activation.
**Current total: 100 retained IDs — 89 done, 7 deferred, 4 merged.** RP18 completes the bounded October multi-session pilot; RP01–RP17 add the authorized real-data workflow and its dataset reuse, export and workflow recovery follow-ups. The earlier 68 IDs retain their state. E11 adds seven authorized cleanup tasks and one conditional replay extraction; see the manifest for current scheduling. The original backlog accounted for 55 IDs. F09/P07 added projection/profiling work; the owner deferred P08's TypeScript optimization. Merged records preserve traceability; never execute them separately. Deferred work requires its stated trigger and explicit activation.
States: ready, claimed, in_progress, review, done, blocked, deferred, merged. “Ready” means no code/ADR prerequisite, not execution authority. Implementation dependencies require accepted integration. `release_gates` govern enabling an end-to-end feature, not component coding or integration; conditional gates apply only to the named capability. F05 may integrate before F06, but its replay behavior is not released until F06 proves it.
@ -199,4 +199,4 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
- [RP23: Cross-study findings client](tasks/RP23.md) — done, `8dc8724c`; typed comparisons accept null/omitted source while preserving canonical versioned evidence and supplied-source identity checks.
- [RP24: Single-run finding acknowledgements](tasks/RP24.md) — in progress; verify returned source and selected citations before displaying saved success.
- [RP24: Single-run finding acknowledgements](tasks/RP24.md) — done, `f80ae2f3`; verify every returned source/citation and preserve uncertain drafts, including canonical and historical single-run findings.

View file

@ -1,8 +1,8 @@
{
"schema_version": 1,
"plan_revision": "2026-10-27.120",
"plan_revision": "2026-10-27.121",
"repository_base": "b7aeca4",
"plan_status": "single_run_finding_acknowledgement_in_progress",
"plan_status": "single_run_finding_acknowledgement_complete",
"execution_authorized": true,
"execution_scope": {
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
@ -3759,7 +3759,7 @@
"epic": "E12",
"priority": "P2",
"severity": "Medium",
"status": "in_progress",
"status": "done",
"dependencies": [
"R04",
"R09",
@ -3773,13 +3773,16 @@
"finding-dialog-acknowledgement"
],
"blocker": null,
"integration_state": "in_progress",
"review_status": "pending",
"completed_commit": null,
"integration_state": "accepted",
"review_status": "accepted",
"completed_commit": "f80ae2f3f33687ea6e71a9151d876f9081a46dd5",
"completion_evidence": "real-data-research.md",
"release_gates": [],
"authorization": "Owner: commit and continue. Correct the verified single-run finding response gap; no real research execution or deferred work.",
"integration_base": "1a75377a"
"integration_base": "1a75377a",
"reviewer": "/root",
"planning_commit": "2da899da",
"review_notes": "Root reviewed universal source/reference identity comparison with absent/null normalization preserving historical citations. Nine red cases reproduced incorrect success/crash. Finding/source UI 62 tests / 328 assertions; complete built Chromium workbench 23 / 852, including real committed-write acknowledgement loss, blocked duplicate creation and exact saved evidence reopening. Application/authored types, contracts, strict scoped lint/formatting, secrets and diff passed. No independent review/full repository check/full integration rerun claimed. Disposable stores stopped; no real study writes or deferred work."
}
],
"review_note": "Independent skeptical revision: four superseded tasks retain stable IDs; deferred work is not a dependency of scheduled tasks. Release gates are distinct from implementation prerequisites.",

View file

@ -16,3 +16,5 @@ Acceptance and tests:
- Run the focused finding/source UI tests, authored/application types, strict scoped lint/formatting, web build and the research browser workflow where available. Record actual outcomes and any limitations. No new real-data research or paper/live activation.
Definition of done: reproduce the skipped identity check before changing source, apply the smallest correction, review the diff against both canonical and legacy response shapes, pass the relevant checks, update canonical task state and commit. No new architecture decision is required.
Accepted after root review: plan `2da899da`, implementation `f80ae2f3`. Nine baseline regressions failed before the fix (incorrect saved success, including a crash on missing evidence). Finding/source UI suites passed 62 tests / 328 assertions; the complete built Chromium workbench passed 23 / 852, including actual committed-write recovery and unchanged run counts. Application/authored types, contracts, explicit scoped lint, formatting, secrets and diff checks passed. Disposable stores were stopped. [Execution evidence](../../real-data-research.md#rp24--single-run-finding-acknowledgements).

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.