docs(research): close creation acknowledgement task

This commit is contained in:
Boki 2026-10-28 09:29:02 -04:00
parent 57ba86d035
commit ea9ea975c7
4 changed files with 29 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: 107 retained IDs — 95 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: 107 retained IDs — 96 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.
@ -210,4 +210,4 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
- [RP28: Frozen data reads for research](tasks/RP28.md) — done (`4b9c6428`); exact retained exports with complete content/hash verification in the typed client.
- [RP29: Original hypothesis reads](tasks/RP29.md) — done (`fa78b6a7`); reopen saved hypotheses and select their original immutable revisions through the typed client.
- [RP30: Revision acknowledgement custody](tasks/RP30.md) — done (`e4056c7d`); verify saved revision identity/content/evidence before clearing web drafts.
- [RP31: Creation acknowledgement custody](tasks/RP31.md) — in progress; verify project/hypothesis/note/finding creations before leaving drafts or displaying saved success.
- [RP31: Creation acknowledgement custody](tasks/RP31.md) — done (`57ba86d0`); verify project/hypothesis/note/finding creations before leaving drafts or displaying saved success.

View file

@ -1,8 +1,8 @@
{
"schema_version": 1,
"plan_revision": "2026-10-28.134",
"plan_revision": "2026-10-28.135",
"repository_base": "b7aeca4",
"plan_status": "research_creation_acknowledgements_in_progress",
"plan_status": "research_creation_acknowledgements_complete",
"execution_authorized": true,
"execution_scope": {
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
@ -3638,7 +3638,7 @@
"epic": "E12",
"priority": "P1",
"severity": "High",
"status": "in_progress",
"status": "done",
"dependencies": ["R04", "RP24", "RP30"],
"decision_dependencies": [],
"task_file": "backlog/tasks/RP31.md",
@ -3646,13 +3646,16 @@
"assignment": "/root",
"write_locks": ["research-creation-acknowledgements"],
"blocker": null,
"integration_state": "in_progress",
"review_status": "pending",
"completed_commit": null,
"integration_state": "accepted",
"review_status": "accepted",
"completed_commit": "57ba86d0358ff1de2bf341d29644e10e4eef040f",
"completion_evidence": "real-data-research.md",
"release_gates": [],
"authorization": "Owner: commit and continue. Verify existing research create acknowledgements and preserve uncertain drafts using existing controls; no real research execution or deferred work.",
"integration_base": "a490e95f"
"integration_base": "a490e95f",
"reviewer": "/root",
"planning_commit": "b09b2de4",
"review_notes": "Root reviewed project/hypothesis/note/finding creation acknowledgements, normalized proposal fields and preserved uncertain drafts. All 34 baseline regressions failed before the fix. Final focused UI 231 tests / 1,594 assertions; complete built Chromium 25 / 931 with four real committed creations, corrupted acknowledgements, blocked original drafts, one POST each, exact reopened records, unchanged native result and bounded row counts. App/authored types, contracts, scoped lint/formatting, secrets and diff passed. Placeholder success fixtures now match submitted narrative; note wire inputs include existing shared defaults. No independent review/full repository or integration rerun/native rebuild claimed. Disposable stores stopped; no real study changes 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

@ -17,3 +17,5 @@ Acceptance/tests:
- Run relevant workspace/finding/source/canonical UI tests, complete browser workbench, application/authored types, contracts, strict scoped lint/formatting, secrets and diff checks. No native rebuild or performance work.
Definition of done: focused red regressions, small checks using existing request schemas/uncertainty handling, root review, passing gates, usage/evidence/task updates and commits. No new architecture approval or real study activation.
Accepted after root review: plan `b09b2de4`, implementation `57ba86d0`. All 34 baseline creation-acknowledgement regressions failed before implementation. Final workspace/finding/source/canonical UI suites passed 231 tests / 1,594 assertions. Complete production-built Chromium workbench passed 25 / 931, including real committed project/hypothesis/note/finding creations with corrupted acknowledgements, preserved blocked drafts, one POST each and exact reopened records. Final counts retain one run/dispatch, one project/hypothesis revision and two artifact revisions, with unchanged native result. Application/authored types, contracts, strict scoped lint, formatting, secrets and diff checks passed. Existing placeholder success fixtures now acknowledge actual submitted narrative; note requests carry the shared schema's existing null-link/empty-evidence defaults. Disposable PostgreSQL/Redis stores were stopped. [Execution evidence](../../real-data-research.md#rp31--verified-creation-acknowledgements).

View file

@ -536,3 +536,18 @@ Verification:
- Application/authored-test types, contracts, strict scoped lint, formatting, secret audit and diff checks passed. The old positive finding fixture incorrectly returned its original revision; it now acknowledges the actual new ID/ordinal/body. Authored typing caught a nested-union narrowing issue in the browser assertion, corrected with the artifact's top-level discriminator. Root reviewed normalization, immutable identity/evidence and draft custody. No independent review, full repository check/full integration rerun or native rebuild is claimed. The production build retains the existing nonblocking Vite chunk warning.
Logs: `/tmp/stock-bot-rp30-red.log`, `rp30-ui-final.log`, `rp30-browser.log`, `rp30-browser-final.log`, `rp30-typecheck.log`, `rp30-authored-types.log`, `rp30-contracts.log`, `rp30-lint.log`, `rp30-format.log` and `rp30-secrets.log`, all under `/tmp/stock-bot-`. Disposable PostgreSQL and Redis fixtures were stopped and removed after verification. No real study was changed or admitted; fixture-native runs only. All seven conditional tasks remain deferred.
## RP31 — Verified creation acknowledgements
Plan `b09b2de4`, implementation `57ba86d0`. Project, hypothesis and note forms previously navigated or closed using a readable returned ID without comparing the saved proposal. Finding creation verified its source/citations but not its narrative or initial revision state. These forms now check normalized title/proposition, exact description/body/criteria and declared origin where applicable, active initial revision state and narrative project/parent identity. Notes require null hypothesis/source and no evidence. Findings retain their existing reference/source checks and require matching text/origin and unvalidated initial state.
Mismatches use the existing uncertain-create controls, preserving raw draft fields without navigation, a saved-success link or automatic replay. Checking saved records keeps the draft blocked; explicit new-request/discard controls remain the operator's decision. Valid human/AI/unknown declarations, empty notes, canonical/legacy citations and null/omitted aggregate sources continue to work. Request normalization reuses shared schemas; note POSTs now explicitly carry the backend's existing null-hypothesis/empty-evidence defaults. No backend, engine, schema, financial computation, permission, quota or archive/update/revision behavior changed. The walkthrough describes uncertain creation recovery.
Verification:
- All **34 baseline creation-acknowledgement regressions failed** before implementation. Final workspace/finding/source/canonical UI suites passed **231 tests / 1,594 assertions**. Cases cover changed proposal fields, foreign project/parent, archived/noninitial/validated records, fabricated note linkage/source/evidence, blocked raw drafts, one POST/no success navigation, saved-record refreshes, valid normalization, declared origins, empty notes and existing canonical/legacy citation behavior.
- Complete production-built Chromium workbench: **25 passed / 931 assertions**, zero failures. The new scenario commits ordinary project/hypothesis/note/finding creations and corrupts only their browser acknowledgements. All four drafts remain blocked with one POST each; deliberate review/discard reopens exact original content and citations. Final counts remain one run/dispatch/project/hypothesis revision and two artifact revisions. The original native result is unchanged. Existing revision-custody and financial/reproduction workflows also pass.
- Application/authored-test types, contracts, strict scoped lint, formatting, secret audit and diff checks passed. Older finding success fixtures returned placeholder text/origin; they now echo the actual submitted narrative. The note wire expectation includes the shared defaults above. These accounted for the initial four focused-suite failures; the final suite passes. The last test-helper cleanup uses the actual declared-origin type rather than an AI-only cast; final focused/types/lint/format checks passed again, with no runtime/browser-source change.
- Root reviewed creation normalization, draft custody and retained citation identity. No independent review, full repository check/full integration rerun or native rebuild is claimed. The production build retains the existing nonblocking Vite chunk warning. No browser gate retry or fixture cleanup change was needed in RP31.
Logs: `/tmp/stock-bot-rp31-red.log`, `rp31-ui.log`, `rp31-ui-final.log`, `rp31-browser.log`, `rp31-typecheck.log`, `rp31-authored-types.log`, `rp31-contracts.log`, `rp31-lint.log`, `rp31-format.log` and `rp31-secrets.log`, all under `/tmp/stock-bot-`. Disposable PostgreSQL and Redis fixtures were stopped and removed after verification. No real study was changed or admitted; fixture-native runs only. All seven conditional tasks remain deferred.