feat(research): retain exact experiment and report citations in findings
This commit is contained in:
parent
46a4f13acd
commit
06039d17ba
36 changed files with 4170 additions and 253 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-24.70",
|
||||
"plan_revision": "2026-10-24.71",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "thirty_third_wave_functional_validated_awaiting_commit",
|
||||
"plan_status": "thirty_fourth_wave_validated_awaiting_commit",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "User: commit and continue; accepted full R08 committed 397cd0e1603b7ccd01bf80c9ff3930ba2a1b9963",
|
||||
"tasks": ["R07"],
|
||||
"authorized_by": "User: commit and continue; accepted R07 functional comparison committed 46a4f13acd5fdce08f1b19e465f428471656269f",
|
||||
"tasks": ["R09"],
|
||||
"permissions": [
|
||||
"Read-only comparisons across two saved standalone experiments, explicit reference trial and preserved native summaries; no rankings or financial recomputation"
|
||||
"R09 exact experiment/report source links in existing research findings; historical verification, web save/reopen and explicit unavailable regime evidence."
|
||||
],
|
||||
"excluded": [
|
||||
"performance_profiling_or_optimization",
|
||||
|
|
@ -1402,12 +1402,12 @@
|
|||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": ["W04"],
|
||||
"integration_state": "partial_validated_uncommitted",
|
||||
"integration_state": "partial_validated_committed",
|
||||
"integration_base": "397cd0e1603b7ccd01bf80c9ff3930ba2a1b9963",
|
||||
"worktree": "/home/boki/repos/stock-bot",
|
||||
"execution_component": "Read-only cross-experiment comparison with explicit reference and retained input compatibility",
|
||||
"component_exclusions": ["Large-table performance measurements remain paused"],
|
||||
"component_readiness": "Cross-experiment comparison is independently reviewed and all root gates pass. Functional acceptance awaits owner commit; only explicitly paused large-table measurement remains outstanding in full R07.",
|
||||
"component_readiness": "Accepted functional sweep/comparison/retry UI committed46a4f13. Only paused/unrun large-table measurement remains outstanding; accepted component satisfies R09 functional dependency.",
|
||||
"reviewed_by": "/root/r04_review",
|
||||
"verification_reference": "ROADMAP.md#thirty-third-wave-handoff--2026-10-24",
|
||||
"review_notes": "Final exact source snapshots accepted. Full repository, PostgreSQL/Redis, Chromium and authored types/lint/format pass. Matching retained inputs is not financial/statistical equivalence; no performance measurement claimed.",
|
||||
|
|
@ -1427,7 +1427,7 @@
|
|||
"scope": "Shared DTO/export and route, real native browser acceptance, integrated gates and planning"
|
||||
}
|
||||
],
|
||||
"partial_commit": "b373410320e987ddce1ee8dd5e8a691cf183d527"
|
||||
"partial_commit": "46a4f13acd5fdce08f1b19e465f428471656269f"
|
||||
},
|
||||
{
|
||||
"id": "R08",
|
||||
|
|
@ -1487,8 +1487,8 @@
|
|||
"epic": "E6",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "blocked",
|
||||
"dependencies": ["R07", "R08"],
|
||||
"status": "review",
|
||||
"dependencies": ["R08"],
|
||||
"decision_dependencies": ["ADR-006"],
|
||||
"task_file": "backlog/tasks/R09.md",
|
||||
"findings": ["RES-01", "WEB-01"],
|
||||
|
|
@ -1496,7 +1496,7 @@
|
|||
"specialization": "Full-stack research product",
|
||||
"write_locks": ["web-experiments"],
|
||||
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
|
||||
"assignment": null,
|
||||
"assignment": "/root",
|
||||
"branch": null,
|
||||
"pull_request": null,
|
||||
"completed_commit": null,
|
||||
|
|
@ -1512,7 +1512,37 @@
|
|||
"tasks": ["R03"]
|
||||
}
|
||||
],
|
||||
"component_readiness": "After accepted wave33 functional commit, replace whole-R07 prerequisite with a satisfied_component_dependencies record for accepted comparison/sweep/retry UI, retaining R08 dependency. Paused table measurement is not a functional prerequisite; do not mark ready before commit."
|
||||
"component_readiness": "R08 and R03 committed; R07 functional component accepted. S05 does not retain per-session as-of regime annotations, so positive regime slicing remains unavailable.",
|
||||
"integration_state": "validated_uncommitted",
|
||||
"integration_base": "46a4f13acd5fdce08f1b19e465f428471656269f",
|
||||
"worktree": "/home/boki/repos/stock-bot",
|
||||
"execution_component": "Exact retained experiment/report citations through existing findings, with explicit unavailable regime evidence",
|
||||
"satisfied_component_dependencies": [
|
||||
{
|
||||
"task": "R07",
|
||||
"scope": "Accepted functional sweep/comparison/retry UI; paused table measurement not required for citations",
|
||||
"commit": "46a4f13acd5fdce08f1b19e465f428471656269f"
|
||||
}
|
||||
],
|
||||
"implementation_slices": [
|
||||
{
|
||||
"owner": "/root/r12_backend",
|
||||
"worktree": "/tmp/stock-bot-wave34.02YVEd/backend",
|
||||
"scope": "SQL27 optional revision source and historical verifier; research service and role emission; pure/API/PostgreSQL tests"
|
||||
},
|
||||
{
|
||||
"owner": "/root/r12_frontend",
|
||||
"worktree": "/tmp/stock-bot-wave34.02YVEd/frontend",
|
||||
"scope": "Existing finding form generalized, page source actions, historical source links and explicit regime unavailable; UI tests"
|
||||
},
|
||||
{
|
||||
"owner": "/root",
|
||||
"scope": "Shared DTO/types, migration registry/old workspace fixtures, native browser workflow and combined gates/planning"
|
||||
}
|
||||
],
|
||||
"reviewed_by": "/root/r04_review",
|
||||
"verification_reference": "ROADMAP.md#thirty-fourth-wave-handoff--2026-10-24",
|
||||
"completion_scope": "Supported source-linked findings and unavailable-regime display validated. Positive regime slicing remains conditional on a retained as-of annotation contract and is not claimed implemented or tested."
|
||||
},
|
||||
{
|
||||
"id": "R10",
|
||||
|
|
@ -7278,7 +7308,7 @@
|
|||
"Root integrates shared contract and actual native browser lifecycle; backend/frontend isolated; independent reviewer; no new-wave commit/push/PR."
|
||||
],
|
||||
"thirty_third_wave_validation": {
|
||||
"state": "partial_validated_uncommitted",
|
||||
"state": "partial_validated_committed",
|
||||
"log_directory": "/tmp/stock-bot-wave33.c3IAY2",
|
||||
"integration_base": "397cd0e1603b7ccd01bf80c9ff3930ba2a1b9963",
|
||||
"scope": "R07 functional comparison; table measurement explicitly not run, so full original R07 checklist remains partial.",
|
||||
|
|
@ -7357,7 +7387,123 @@
|
|||
"No performance/profiling/benchmarks. Full R07 retains paused table measurement; its accepted functional component may satisfy R09 after commit.",
|
||||
"R05 provider/default cutover and candidate/AI/multiasset/paper/live gates remain unchanged."
|
||||
],
|
||||
"commits": "Wave32 committed397cd0e. Wave33 remains uncommitted; no push or PR.",
|
||||
"fixture_cleanup": "Both exact disposable PostgreSQL37f4d89... and Redisf1e69a88... containers stopped and removed after final gates. Development services untouched; worktrees and local evidence retained."
|
||||
"commits": "Committed as 46a4f13acd5fdce08f1b19e465f428471656269f at owner request; no push or PR.",
|
||||
"fixture_cleanup": "Both exact disposable PostgreSQL37f4d89... and Redisf1e69a88... containers stopped and removed after final gates. Development services untouched; worktrees and local evidence retained.",
|
||||
"completed_commit": "46a4f13acd5fdce08f1b19e465f428471656269f"
|
||||
},
|
||||
"thirty_fourth_wave": ["R09"],
|
||||
"thirty_fourth_wave_base": "46a4f13acd5fdce08f1b19e465f428471656269f",
|
||||
"thirty_fourth_wave_notes": [
|
||||
"Existing result/sample/phase/warmup/reset/cost display retained. Add one optional exact source to each immutable artifact revision, existing run/metric references unchanged.",
|
||||
"Source variants standalone experiment/chrono report/walk-forward report; no copied metric store or new API/entity. Omitted revision source preserves old; explicit null detaches new revision only.",
|
||||
"Same-client historical full retained-result verification, complete report/member facts, readonly snapshot reads; no current approval/build/cancel gate or operational row locks.",
|
||||
"SQL27 additive nullable JSONB+source membership guard, existingSQL20/22–26 unchanged. Sources/results retain existing deletion guards.",
|
||||
"Generic detail exposes optional server standalone boolean, absent fails closed for source action. Existing single-run finding behavior/ambiguous response handling remains.",
|
||||
"No retained as-of regime annotations exist; explicit unavailable counts/coverage. No classifier, inferred labels, current analytics API or fabricated sample counts.",
|
||||
"No performance, native financial changes, candidate/AI/default/multiasset/paper/live activation or new-wave commits/push/PR."
|
||||
],
|
||||
"thirty_fourth_wave_validation": {
|
||||
"state": "validated_uncommitted",
|
||||
"integration_base": "46a4f13acd5fdce08f1b19e465f428471656269f",
|
||||
"log_directory": "/tmp/stock-bot-wave34.02YVEd",
|
||||
"scope": "Supported R09 source-linked findings and explicit unavailable-regime state; positive regime slicing requires future retained annotations.",
|
||||
"source_archive": "/tmp/stock-bot-wave34.02YVEd/validated-source.tar.gz",
|
||||
"source_archive_sha256": "7df43baf277dc28d7ee186aee233ad13c134b20e0bd86a7300688acb6e0fd8af",
|
||||
"source_hashes": {
|
||||
"apps/stock/config/src/contracts/experiments.ts": "7aeaa124defd8442899ca3271ea9b9b68bc4c63202179cd53c7129f318dee1af",
|
||||
"apps/stock/config/src/contracts/research.ts": "236c16b3fa14852d04b03cb0b301fdb2009efe92446ba9882b6eb69e62e0b93a",
|
||||
"apps/stock/web-api/src/migrations/migration-runner.ts": "f7fe806f1db54e64ced73803aaee86802e3c3fd34cb379a7946d9be548e34cad",
|
||||
"apps/stock/web-api/src/services/experiments.service.ts": "597a3ef594979792fd68bb6f2814be21d1651b0478003e7e06c133f93c2699e7",
|
||||
"apps/stock/web-api/src/services/research-evidence.ts": "251a0fbe755767ac0e3c6e944478e2721c6b7a8f85de6a3ba9ffa7d177880419",
|
||||
"apps/stock/web-api/src/services/research-source-evidence.ts": "af4fcc6d521e6c24a89c033ff2590119a677fde1d084fc03a6e6fa620d0aad5f",
|
||||
"apps/stock/web-api/src/services/research.service.ts": "ff67ae381b44bade01c57b79500e699b1b2c480ca57b33e689f4d050d0f435a4",
|
||||
"apps/stock/web-app/src/features/experiments/ChronologicalValidationDetailPage.tsx": "7465d19a4990e98db6b0abd07694a8f9486e32da59559a4adf90f4843a8e9395",
|
||||
"apps/stock/web-app/src/features/experiments/ExperimentDetailPage.tsx": "0fd4235395968578486f888c7b12ef8f7c2f560cd4dbe509022a556fbff8e386",
|
||||
"apps/stock/web-app/src/features/experiments/WalkForwardDetailPage.tsx": "0082f0a45f6aedad30edf1d872f41cf82d1a1b1137976cb6004fb76eb5d6b460",
|
||||
"apps/stock/web-app/src/features/experiments/components/RegimeEvidenceUnavailable.tsx": "cdff056dc3a2a39a61c4cc43d361e16103f68b605bb9a9fc088c11f533a0ef61",
|
||||
"apps/stock/web-app/src/features/experiments/components/SourceFindingAction.tsx": "06cdb2c3e82f1ea2742629a258ebeb0b061c76de5a40ccb4a235025d3dc39655",
|
||||
"apps/stock/web-app/src/features/experiments/services/experimentApi.ts": "b864f6150977056eb44d877f4660b5240f9416ea8dae8d31ca216a3db818a276",
|
||||
"apps/stock/web-app/src/features/research/components/FindingSource.tsx": "a563b4197d4874cbbd494c73fc24519de3b60b626b74a14cc7fbb5158aa197b0",
|
||||
"apps/stock/web-app/src/features/research/components/ResearchEntry.tsx": "c6eb7c7d521cec389481ef69751c46f2cb3f33f23e4207873fcadb09060a28ab",
|
||||
"apps/stock/web-app/src/features/research/components/SaveFindingDialog.tsx": "c8e3b7694b38492dc6cd82de4b71d42c92a99caf8a460b7e450600a373d4b08e",
|
||||
"apps/stock/web-app/src/features/research/components/findingSources.ts": "568a51427c0e7194d632122fd01add02e41c43ed7dec941421230b029e7a38c1",
|
||||
"apps/stock/web-app/src/features/research/services/researchApi.ts": "addcbd429d4f0166a32e12e923b24b83ee7ba3fe4ad430706fd2cc1c07d7ca56",
|
||||
"database/postgres/init/27-research-evidence-sources.sql": "ea14fefc7d8ea7db3c3560d73b2ecc25b98928b78542d52878592359778e013e",
|
||||
"libs/core/types/src/research.ts": "7b452fda376a62fc04621ab65fe1e43b28db4d54a6e7275d640cb66e2f7f19bf",
|
||||
"test/e2e/fixture.ts": "af5ff8a097493f9d148c49eae7867d0d368ec392a269840bf180306e0e13b81a",
|
||||
"test/e2e/workbench.test.ts": "ec63e37eca432725043f3ffdd6c7f92161012960bcc7fea03fb48f277ff92e17",
|
||||
"test/integration/research-api.test.ts": "899351377ebc18618117978300c89973c10c339dfd8732d3e41059ceca710a40",
|
||||
"test/integration/research-source-evidence-api.test.ts": "799c4e3feede464efb4a417f25b10f8a012c93dd47725fb0f4aaf13043d0a199",
|
||||
"test/integration/research-source-evidence.test.ts": "630889c002b757639ddeb27c58318ce53a25a3c655b2b1bc190bad90e95ebaba",
|
||||
"test/integration/research-source-ui.test.tsx": "64c8a9578adf91346177a4bf9482e0eacbbc843e8246fac60aa9d3f985ffaa35",
|
||||
"test/postgres/chronological-validation-durable.test.ts": "b6a6854921b95b36eb86b474b24ddd3702187e99397d0e8173f8e43ad2ceeac9",
|
||||
"test/postgres/migration-runner.test.ts": "386353604af2036dd54a80e85031ab8553a652024e6ce44160f71e3fa8900e59",
|
||||
"test/postgres/research-source-evidence.test.ts": "d41bbe8b9dbc3a86ae48c395ba5055c40a4c425dde7c0ba9c7fb04cce5713c44",
|
||||
"test/postgres/research-workspace.test.ts": "94b4ef7d05f4edbc78cca3433b15327c89c1fba30006b3cd0864dde168b1672e"
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"command": "CARGO_BUILD_JOBS=2 bun run check",
|
||||
"log": "integration-check-final.log",
|
||||
"result": "Passed all repository gates: secret audit/build/types/contracts/lint; 93 tooling, 43 utility, 44 calculation, 1024 integration and 150 Rust tests; zero failures. Four preexisting manual Rust cases remain ignored."
|
||||
},
|
||||
{
|
||||
"command": "bun run test:postgres",
|
||||
"log": "integration-postgres-final.log",
|
||||
"result": "Passed: 235 tests /2099 assertions on final release source against disposable PostgreSQL/Redis, including real pre-SQL24 upgrade compatibility."
|
||||
},
|
||||
{
|
||||
"command": "bun run test:e2e",
|
||||
"log": "integration-browser-final.log",
|
||||
"result": "Passed: 16 Chromium workflows /569 assertions against the same-origin production build and unchanged release engine. Actual cost/chronological/walk-forward citations preserve exact native metrics and historical source identity."
|
||||
},
|
||||
{
|
||||
"command": "Strict all authored/affected test TypeScript; explicit source/test ESLint; changed-source Prettier",
|
||||
"logs": [
|
||||
"root-tests-types-final.log",
|
||||
"authored-lint-final.log",
|
||||
"workspace-fixture-lint.log",
|
||||
"source-format-final.log",
|
||||
"compatibility-lint-final.log",
|
||||
"compatibility-format-final.log"
|
||||
],
|
||||
"result": "Passed, including new tests and modified existing API/workspace/migration/browser fixtures."
|
||||
},
|
||||
{
|
||||
"command": "git diff --check; manifest references/dependency DAG; exact overlay/source SHA256 and historical SQL verification",
|
||||
"result": "Passed: 55 unique task references, acyclic implementation DAG, 20 exact accepted agent files and all 30 integrated source hashes. SQL20/22–26 byte-for-byte unchanged."
|
||||
}
|
||||
],
|
||||
"review": {
|
||||
"independent_reviewer": "/root/r04_review",
|
||||
"backend": "Accepted eight-file overlay: focused6 tests/39 assertions, native PostgreSQL7/84; full source facts, retained financial/analytics corruption, recomputed report forgery, readonly concurrent snapshot, active lease migration preservation and immediate-constraint guard bypass regression.",
|
||||
"backend_archive": "/tmp/stock-bot-wave34.02YVEd/backend-final.tar",
|
||||
"backend_archive_sha256": "570048079836cbad776963774dfe76b5ccd6cd0067fce8fa5fae9a12f8f28033",
|
||||
"frontend": "Accepted12-file overlay: independent sourceUI30/140 and author combined401/1682. Existing single-run form preserved; explicit run/metric selections, historical source/revisions, lazy R03 reads, unknown-response freeze, new-tab inspect and absent-regime labels.",
|
||||
"frontend_archive": "/tmp/stock-bot-wave34.02YVEd/frontend-final.tar",
|
||||
"frontend_archive_sha256": "316c1a4371097e1ac507aaf7e5fd227ebc0a14d327a34587713dc7045e8e3c4a",
|
||||
"root": "Shared DTO/standalone seam, migration registry/current workspace fixtures and actual native browser helper independently reviewed. Focused native cost/walk2/169 proves all3 source kinds, exact native scalar/null values, revision history and source reopening; oldworkspace9/121 and API10/200 compatibility pass.",
|
||||
"corrections": "Review closed same-transaction SQL constraint timing bypass, public-document metadata shape gap, missing raw metric units and new-tab inspection navigation guard. Existing corrupt-evidence API test now uses a real transaction callback mock and asserts no pool reads; assertions preserved. Final database gate exposed a pre-SQL24 fixture regression from the new role projection; key-presence/JSON-null extraction now fails closed on missing metadata while keeping historical reads working. Actual pre24=false/post24=true upgrade regression passes; full gates rerun. Initial failing PG log retained as integration-postgres-before-role-compatibility.log.",
|
||||
"task_completion": "Reviewer accepts R09 supported scope after root gates. Positive regime_slice_reconciliation is not run/inapplicable without retained as-of annotations; not falsely enabled by S05."
|
||||
},
|
||||
"engine": {
|
||||
"debug_sha256": "75e33ffdd1e2738537879e62243a9d8f63665864835a58c46087bb4b78f274ff",
|
||||
"release_sha256": "ef00eed556f5c32332d36a9a00ef710682e90deb00b54552e4b5c8bfdfbe8103",
|
||||
"note": "Existing authoritative Rust engine unchanged. Debug built by fullcheck; verified unchanged release restored before final database/browser gates."
|
||||
},
|
||||
"limits": [
|
||||
"One exact source per artifact revision, selected existing run/metric references. No copied metric/report store or new findings endpoint; prose remains unvalidated.",
|
||||
"Standalone parameter/cost experiments can cite completed members without certifying the rest of an incomplete/cancelled study. Chronological sources require sealed report; series cites only published validation/test segments, with training fully verified underneath.",
|
||||
"Historical citation checks ignore mutable admission/approval/build/archive/cancel gates but verify immutable identity, every sealed member and retained canonical financial results.",
|
||||
"Regime evidence, sample counts and coverage explicitly unavailable. S05 internal signal/current analytics endpoint is not a retained as-of annotation artifact. Positive regime reconciliation not implemented or claimed tested.",
|
||||
"Existing finding creation remains non-idempotent; ambiguous writes freeze and require checking saved records, without automatic retry.",
|
||||
"Performance, R07 table measurement, R05 provider/default cutover and candidate/AI/multiasset/paper/live activation remain paused or separately gated."
|
||||
],
|
||||
"commits": "Wave33 committed46a4f13. Wave34 remains uncommitted; no push or PR.",
|
||||
"fixture_cleanup": {
|
||||
"result": "Both exact disposable --rm containers stopped after successful final gates; development services untouched.",
|
||||
"postgres": "c9d963c8b00dd98b4b4058fa91a9ad19cdf57ca4239853c3d55d8aa3b23e48d1",
|
||||
"redis": "f5edaed388c92939721f4afe32e18619068587a87b07d12ffadbd38fa2168bd3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue