docs(research): close revision acknowledgement task
This commit is contained in:
parent
e4056c7d13
commit
a490e95fd2
4 changed files with 29 additions and 9 deletions
|
|
@ -521,3 +521,18 @@ Verification:
|
|||
- Application/authored-test types, contracts, strict scoped lint, formatting, secret audit and diff checks passed. Initial authored-test typing caught widened fixture authorship strings; explicit fixture typing and a string comparison corrected the assertions without changing runtime behavior. Root reviewed read-versus-create validation and original revision selection. No independent review, full integration/repository check, native rebuild or browser rerun is claimed for this client-only addition.
|
||||
|
||||
Logs: `/tmp/stock-bot-rp29-red.log`, `rp29-client-final.log`, `rp29-tooling-final.log`, `rp29-postgres.log`, `rp29-typecheck.log`, `rp29-authored-types.log`, `rp29-contracts.log`, `rp29-lint.log`, `rp29-format.log` and `rp29-secrets.log`, all under `/tmp/stock-bot-`. The disposable PostgreSQL container was stopped after validation. No real study was changed or executed. All seven conditional tasks remain deferred.
|
||||
|
||||
## RP30 — Verified revision acknowledgements
|
||||
|
||||
Plan `dd8955ec`, implementation `e4056c7d`. The web revision form previously ignored the saved record and cleared its draft after any readable successful response. It now checks entry/project/parent identity, immutable ownership and artifact kind/hypothesis linkage, a distinct revision ID and next ordinal, normalized submitted text/criteria/origin and unvalidated state. Artifact source and evidence reference identities must match, with legacy null/omitted strategy-version and source compatibility. Cited financial values remain server-resolved and are not recalculated or compared by the form.
|
||||
|
||||
Unverifiable acknowledgements use the existing uncertain-save error and blocked-draft controls. There is one POST and no success refresh; title/body/criteria/origin remain available until deliberate discard and history review. Valid normalized saves still clear the draft and reload. The walkthrough describes recovery after a potentially committed write. No backend, financial engine, schema, permission, archive/project/create workflow or execution policy changed. Root removed the unrelated RP29 prerequisite, retaining the actual R04/RP24 dependencies.
|
||||
|
||||
Verification:
|
||||
|
||||
- All **48 baseline acknowledgement regressions failed** before implementation because stale/foreign/altered successful responses discarded the draft. Final workspace/finding/source/canonical UI suites passed **190 tests / 1,265 assertions**. Cases include hypothesis/note/finding identity, ownership, parent/linkage, old/unexpected revision, changed text/criteria/origin/state, missing/extra/substituted evidence and changed source, plus valid normalization, legacy reads and no automatic retries/refreshes.
|
||||
- Complete production-built Chromium workbench: **24 passed / 892 assertions**, zero failures. The new scenario commits ordinary hypothesis and evidence-backed finding revisions, corrupts only their browser acknowledgements, verifies blocked original drafts and one POST each, deliberately discards/reloads, and reopens exact two-revision histories. Run/dispatch counts stay 1/1; both narrative histories end at two revisions and the original native result is unchanged.
|
||||
- The initial browser run passed 23 and failed the existing archive test during fixture cleanup (`pendingWebSockets=1`, tracked sockets 0). The new scenario passed in that run. The complete rerun passed with unchanged application/test source; both logs are retained. No cleanup implementation, timeout or retry policy was changed to conceal the failure.
|
||||
- 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue