docs(research): close typed artifact read task
This commit is contained in:
parent
e39989c4d5
commit
84d2a67d74
4 changed files with 29 additions and 9 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: 101 retained IDs — 89 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: 101 retained IDs — 90 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.
|
||||
|
||||
|
|
@ -201,4 +201,4 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
|
|||
|
||||
- [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.
|
||||
|
||||
- [RP25: Typed artifact reads](tasks/RP25.md) — in progress; reopen retained findings/notes and exact revision history through the existing research client.
|
||||
- [RP25: Typed artifact reads](tasks/RP25.md) — done, `e39989c4`; authenticated reads preserve exact retained revisions, authorship, evidence and historical qualifications.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-27.122",
|
||||
"plan_revision": "2026-10-27.123",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "typed_artifact_reads_in_progress",
|
||||
"plan_status": "typed_artifact_reads_complete",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -3790,7 +3790,7 @@
|
|||
"epic": "E12",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "in_progress",
|
||||
"status": "done",
|
||||
"dependencies": [
|
||||
"A03",
|
||||
"RP23"
|
||||
|
|
@ -3803,13 +3803,16 @@
|
|||
"research-client-artifact-reads"
|
||||
],
|
||||
"blocker": null,
|
||||
"integration_state": "in_progress",
|
||||
"review_status": "pending",
|
||||
"completed_commit": null,
|
||||
"integration_state": "accepted",
|
||||
"review_status": "accepted",
|
||||
"completed_commit": "e39989c4d5f41754da04bc12acf740026ef05a91",
|
||||
"completion_evidence": "real-data-research.md",
|
||||
"release_gates": [],
|
||||
"authorization": "Owner: commit and continue. Add existing read-only artifact/history APIs to the typed client; no real study edits, new research execution or deferred work.",
|
||||
"integration_base": "b2f98814"
|
||||
"integration_base": "b2f98814",
|
||||
"reviewer": "/root",
|
||||
"planning_commit": "f9b97c30",
|
||||
"review_notes": "Root reviewed two authenticated GET methods and distinct retained-read versus strict creation contracts. Exact immutable revisions, ownership/authorship, units, source, canonical/legacy evidence and history identities preserved. Client/cycle 40 tests / 399 assertions; tooling 155 / 14,355; final actual PostgreSQL/native workflow 4 / 236 with sealed sources, human revisions, service notes, revoked credentials and unchanged run counts. Authored/application types, contracts, scoped lint/format, secrets and diff passed. No independent review/build/browser/full integration rerun claimed. Disposable store stopped; no real research edits 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.",
|
||||
|
|
|
|||
|
|
@ -17,3 +17,5 @@ Acceptance and tests:
|
|||
- Run focused client/cycle and complete tooling tests, authored/application types, contracts, scoped lint/formatting, secrets and the actual PostgreSQL AI workflow. No native/web rebuild or browser change is required for this client-only addition.
|
||||
|
||||
Definition of done: reproduce the missing client capability, implement the two existing API reads, review canonical versus legacy and read versus creation boundaries, pass relevant checks, document exact-revision usage, update task state and commit. No new architecture decision is needed.
|
||||
|
||||
Accepted after root review: plan `f9b97c30`, implementation `e39989c4`. Two initial capability tests failed before implementation. Final client/cycle tests passed 40 / 399 assertions; complete tooling passed 155 / 14,355; the actual PostgreSQL/native workflow passed 4 / 236. Focused/tooling counts overlap. Authored/application types, contracts, strict scoped lint, formatting, secrets and diff checks passed. Exact AI and human revisions, existing sealed sources, service notes, revoked credentials and unchanged run counts were verified. The disposable database was stopped. [Execution evidence](../../real-data-research.md#rp25--typed-artifact-and-history-reads).
|
||||
|
|
|
|||
|
|
@ -446,3 +446,18 @@ Verification:
|
|||
- 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.
|
||||
|
||||
## RP25 — Typed artifact and history reads
|
||||
|
||||
Plan `f9b97c30`, implementation `e39989c4`. AI callers can now reopen saved findings/notes with `ResearchClient.artifact(id, signal?)` and their immutable histories with `artifactRevisions(id, signal?)`. These use the existing authenticated GET endpoints. The original saved revision ID selects the original interpretation even after later edits; README documents checking for its presence instead of substituting latest.
|
||||
|
||||
Read decoders preserve ownership, archival state, revision IDs/ordinals, actual authorship, source, evidence units, availability and legacy qualifications. Parent identities, duplicate history IDs/ordinals, metric references and result/engine labels are checked. Human revisions and service notes can be read without weakening the existing strict AI/canonical finding-creation contract. A shared availability predicate preserves its previous behavior. No financial calculation or backend/schema change was introduced.
|
||||
|
||||
Verification:
|
||||
|
||||
- Two baseline capability tests failed before implementation. Final client/cycle suites: **40 passed / 399 assertions**. Cases include exact historical selection after a human revision, qualified legacy evidence, archived service notes, malformed/foreign responses, duplicate histories, invalid IDs, aborts and HTTP failures. Reads issue no writes or automatic retries.
|
||||
- Complete tooling: **155 passed / 14,355 assertions**, zero failures; includes the focused tests, so counts are not additive.
|
||||
- Actual authenticated PostgreSQL/isolated-native workflow: **4 passed / 236 assertions**. Existing sealed-report findings reopen exactly. The cross-study findings are read through the new client, revised by a fixture-only human service call, and both immutable revisions are recovered with identical native evidence and distinct authorship. Service notes remain readable; revoking the actual research credential returns 401 on both reads. Run counts remain unchanged. The initial 4 / 232 run preceded additional sealed-source readback assertions and is not added to the final total.
|
||||
- Application/authored-test types, contracts, explicit scoped lint, formatting, secret audit and diff checks passed. Initial authored-test checks caught fixture type widening and optional-source typing; corrected fixtures passed. Root reviewed the read/create and canonical/legacy boundaries. No independent review, build, browser or full integration-suite rerun is claimed for this client-only addition.
|
||||
|
||||
Logs: `/tmp/stock-bot-rp25-red.log`, `rp25-client-green.log`, `rp25-tooling.log`, `rp25-postgres.log`, `rp25-postgres-final.log`, `rp25-typecheck.log`, `rp25-authored-types.log`, `rp25-contracts.log`, `rp25-lint.log`, `rp25-format.log` and `rp25-secrets.log`, all under `/tmp/stock-bot-`. The disposable PostgreSQL container was stopped after verification. No real study was edited or executed, automatic cycle resume was not added, and all seven conditional tasks remain deferred.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue