docs(research): plan revision acknowledgement verification (RP30)
This commit is contained in:
parent
4a28bb9ffd
commit
dd8955ecbf
4 changed files with 48 additions and 3 deletions
|
|
@ -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: 105 retained IDs — 94 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.
|
||||
**Current total: 106 retained IDs — 94 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.
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -209,3 +209,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) — in progress; verify saved revision identity/content/evidence before clearing web drafts.
|
||||
|
|
|
|||
|
|
@ -355,3 +355,7 @@ flowchart TD
|
|||
A03 --> RP29
|
||||
R03 --> RP29
|
||||
RP25 --> RP29
|
||||
|
||||
R04 --> RP30
|
||||
RP24 --> RP30
|
||||
RP29 --> RP30
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-28.131",
|
||||
"plan_revision": "2026-10-28.132",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "research_hypothesis_reads_complete",
|
||||
"plan_status": "research_revision_acknowledgements_in_progress",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -3606,6 +3606,28 @@
|
|||
"reviewer": "/root",
|
||||
"planning_commit": "bbcec1c4",
|
||||
"review_notes": "Root reviewed retained hypothesis read versus strict AI creation acknowledgements and original immutable revision selection. Two missing-capability red tests; final client/cycle 54 tests / 600 assertions; complete tooling 169 / 14,558; actual PostgreSQL AI workflow 6 / 299. Human revisions/archival, service authorship, wrong identity/duplicate histories, actual issued/revoked credentials, exact finding linkage and unchanged read-only counts verified. App/authored types, contracts, scoped lint/formatting, secrets and diff passed. Fixture-only authorship typing corrected. No independent review/full integration or repository check/native rebuild/browser rerun claimed. Disposable store stopped; no real study changes or deferred work."
|
||||
},
|
||||
{
|
||||
"id": "RP30",
|
||||
"title": "Verify saved research revisions before clearing drafts",
|
||||
"epic": "E12",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "in_progress",
|
||||
"dependencies": ["R04", "RP24", "RP29"],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/RP30.md",
|
||||
"complexity": "M",
|
||||
"assignment": "/root",
|
||||
"write_locks": ["research-revision-acknowledgements"],
|
||||
"blocker": null,
|
||||
"integration_state": "in_progress",
|
||||
"review_status": "pending",
|
||||
"completed_commit": null,
|
||||
"completion_evidence": "real-data-research.md",
|
||||
"release_gates": [],
|
||||
"authorization": "Owner: commit and continue. Preserve web revision drafts until saved identity/content/evidence are verified; reuse existing uncertainty controls. No real research execution or deferred work.",
|
||||
"integration_base": "4a28bb9f"
|
||||
}
|
||||
],
|
||||
"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.",
|
||||
|
|
|
|||
18
docs/development/backlog/tasks/RP30.md
Normal file
18
docs/development/backlog/tasks/RP30.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# RP30 — Verify saved research revisions before clearing drafts
|
||||
|
||||
Parent E12. Priority P1 / High draft-custody defect. Complexity M. Dependencies R04, RP24, RP29. Owner continuation authorizes implementation and commits. All seven conditional tasks remain deferred.
|
||||
|
||||
Verified baseline: `ResearchEntry.save` awaits `researchApi.reviseHypothesis` or `reviseArtifact` but ignores the returned record, immediately clears editing and reloads. The transport checks only a broad envelope/record ID. A stale, foreign or altered successful acknowledgement therefore discards the draft. The existing finding-create dialog already verifies its source/reference acknowledgement; the revision form already preserves uncertain drafts and prevents automatic replay for transport failures/conflicts.
|
||||
|
||||
Scope: verify the revision acknowledgement in the existing form before clearing its draft. Match entry/project/parent identity, immutable owner and artifact kind/hypothesis linkage; require a distinct revision ID and expected next ordinal, normalized submitted title/body/proposition/criteria/content origin and unvalidated state. Artifact revisions must preserve the original source and exact evidence reference identities, including legacy null/omitted strategy-version compatibility. Reuse shared request schemas and existing reference conversion/canonical comparison. Do not recalculate or compare financial values in the browser. A mismatch uses `ResearchApiError` with uncertain status and the current blocked-draft/discard-and-review controls; no automatic retry or false success refresh.
|
||||
|
||||
Affected files: `apps/stock/web-app/src/features/research/components/ResearchEntry.tsx`, existing research workspace/finding UI tests, `test/e2e/workbench.test.ts`, and walkthrough usage. No backend/API/schema, engine, evidence resolution, permission, archive/project/create workflows, generic client framework or real research execution changes. Preserve valid normalized submissions, declared human/AI/unknown origins and historical evidence.
|
||||
|
||||
Acceptance/tests:
|
||||
|
||||
- Reproduce stale/foreign/altered successful acknowledgements losing the draft before the fix. Hypothesis, note and finding forms retain text and selected origin/criteria, disable resubmission and preserve one POST on verification failure. Loading, missing history and ordinary 4xx/conflict controls retain existing behavior.
|
||||
- Reject wrong entry/project/owner/parent/kind/linkage, old or unexpected revision identity/ordinal, changed submitted fields/state, missing/extra/substituted evidence identities and changed aggregate source. Check normalized title/proposition, body/criteria preservation, valid new IDs/ordinals, canonical and legacy null/omitted strategy versions and null/omitted source successes.
|
||||
- Actual production-built Chromium commits an ordinary hypothesis and evidence-backed finding revision, corrupts only their acknowledgement, verifies preserved blocked drafts and one POST each, deliberately discards/reloads and reopens the original committed revision with exact content/evidence. No duplicate revisions or new runs/dispatches; original Rust result remains unchanged.
|
||||
- Run relevant workspace/finding/source UI suites, complete built browser workbench, application/authored types, contracts, strict scoped lint/formatting, secret audit and diff checks. No native rebuild or performance work.
|
||||
|
||||
Definition of done: red regressions, smallest form correction using existing schemas/uncertain-state handling, root review, passing gates, task/evidence updates and commits. No new architecture decision or real study activation is needed.
|
||||
Loading…
Add table
Add a link
Reference in a new issue