docs(research): close original hypothesis read task
This commit is contained in:
parent
fa78b6a791
commit
4a28bb9ffd
4 changed files with 29 additions and 9 deletions
|
|
@ -506,3 +506,18 @@ Verification:
|
|||
- Application/authored-test types, contracts, strict scoped lint, formatting, secrets, web production build and diff checks passed. Authored adversarial fixtures were corrected to construct malformed wire copies without assigning to readonly typed fields. The build retains the existing nonblocking Vite chunk warning. Root reviewed exact-path permission and strict content/hash validation; no independent review, native rebuild, browser rerun or full repository `check` is claimed.
|
||||
|
||||
Logs: `/tmp/stock-bot-rp28-red.log`, `rp28-focused-final.log`, `rp28-integration-final.log`, `rp28-tooling.log`, `rp28-postgres-final.log`, `rp28-typecheck.log`, `rp28-authored-types.log`, `rp28-contracts.log`, `rp28-lint.log`, `rp28-format.log`, `rp28-secrets.log` and `rp28-web-build.log`, all under `/tmp/stock-bot-`. The disposable PostgreSQL container was stopped after verification. No real study was changed or executed. All seven conditional tasks remain deferred.
|
||||
|
||||
## RP29 — Original hypothesis and revision reads
|
||||
|
||||
Plan `bbcec1c4`, implementation `fa78b6a7`. `ResearchClient.hypothesis(id, signal?)` and `hypothesisRevisions(id, signal?)` read the existing authenticated endpoints. They preserve complete ownership/archive metadata and immutable revision IDs, ordinals, title, proposition, validation criteria, timestamps and actual authorship. Reads accept human/AI/unknown origins and operator/service/agent authors; the existing creation acknowledgement still requires an AI-authored, unvalidated hypothesis. History checks parent identity and unique revision IDs/ordinals without reordering the response.
|
||||
|
||||
README documents selecting the exact revision ID saved in the journal or finding and stopping if it is absent. A human edit to the latest proposition cannot substitute for the original question. Archived questions remain readable, and a finding's immutable hypothesis-revision linkage remains unchanged. No route, permission, database, financial engine, candidate execution, recovery or UI behavior changed. These reads issue no mutations, retries or replacement research jobs.
|
||||
|
||||
Verification:
|
||||
|
||||
- Two missing-capability tests failed before implementation. Final client/cycle suites passed **54 tests / 600 assertions**, covering complete original text/criteria, human edits and archival, service authorship, strict creation acknowledgements, wrong identities, malformed fields, empty/mixed-parent/duplicate history, missing selection, invalid IDs, HTTP failures, aborts and both read deadlines with an uncooperative transport.
|
||||
- Complete tooling: **169 passed / 14,558 assertions**, zero failures. Focused counts overlap that suite. The initial 168 / 14,546 run preceded the added creation-acknowledgement regression and is not added to the final total.
|
||||
- Actual authenticated PostgreSQL AI workflow: **6 passed / 299 assertions**. Issued credentials reopen AI-created questions after fixture-only human revision and archival, recover both exact immutable revisions, and read service questions. Missing IDs return 404 and revoked credentials return 401. Read requests remain GET-only and hypothesis/revision/artifact/experiment/run counts stay unchanged. Existing isolated-candidate/native runs still pass; their findings retain the original hypothesis revision after a later human edit.
|
||||
- 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue