docs(research): close candidate default parameter story
This commit is contained in:
parent
1502ab41dc
commit
1a60c04603
5 changed files with 40 additions and 12 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: 93 retained IDs — 81 done, 1 in progress, 7 deferred, 4 merged.** 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: 93 retained IDs — 82 done, 7 deferred, 4 merged.** 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.
|
||||
|
||||
|
|
@ -185,4 +185,4 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
|
|||
- [RP15: CLI recovery evidence](tasks/RP15.md) — done, `e3d6512b`; preserve accepted receipts when journal persistence fails.
|
||||
- [RP16: Automatic publication lineage](tasks/RP16.md) — done, `cc49f038`; accept valid server-assigned parents and exact publication retries.
|
||||
|
||||
- [RP17: Candidate default parameters](tasks/RP17.md) — in progress; decode normalized validation children without changing original inputs or hashes.
|
||||
- [RP17: Candidate default parameters](tasks/RP17.md) — done, `1502ab41`; decode normalized validation children without changing original inputs or hashes.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-27.107",
|
||||
"plan_revision": "2026-10-27.108",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "candidate_defaults_validation_in_progress",
|
||||
"plan_status": "candidate_defaults_validation_complete",
|
||||
"execution_authorized": true,
|
||||
"execution_scope": {
|
||||
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
|
||||
|
|
@ -3535,7 +3535,7 @@
|
|||
"epic": "E12",
|
||||
"priority": "P1",
|
||||
"severity": "High",
|
||||
"status": "in_progress",
|
||||
"status": "done",
|
||||
"dependencies": [
|
||||
"A02",
|
||||
"R08"
|
||||
|
|
@ -3545,13 +3545,18 @@
|
|||
"complexity": "S",
|
||||
"assignment": "/root/audit_research_entry_recovery",
|
||||
"write_locks": [
|
||||
"validation-response-contract"
|
||||
"validation-response-contract",
|
||||
"candidate-default-admission"
|
||||
],
|
||||
"blocker": null,
|
||||
"integration_state": "pending",
|
||||
"integration_state": "accepted",
|
||||
"completion_evidence": "real-data-research.md",
|
||||
"release_gates": [],
|
||||
"review_status": "pending"
|
||||
"review_status": "accepted",
|
||||
"completed_commit": "1502ab41dca04e580cd4cc2d2662694ead41c687",
|
||||
"integration_base": "f185f2e253b49c8879745ff6b543933278ffba97",
|
||||
"reviewer": "/root/review_recovery_changes",
|
||||
"review_notes": "Independent decoder/SQL review accepted; 40 focused tests / 297 assertions. Root fullcheck passed 1371 integration and 150 Rust tests. Real AI workflow/startup suite 9/217, direct SQL guards 2/25, full browser 21/785. Empty/partial defaults, original input and exact retry preservation, immutable upgrade/reapplication and adversarial parameter rejection verified. SQL precedence correction from review included; real-data-research.md records evidence."
|
||||
}
|
||||
],
|
||||
"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.",
|
||||
|
|
|
|||
|
|
@ -4,10 +4,14 @@ Parent E12. Priority P1 / High workflow defect. Complexity S. Dependencies A02 a
|
|||
|
||||
Verified baseline: `validationPhasePreview` retains normalized candidate parameters in each child, while shared `parseValidationDetail` incorrectly compares training child parameters with the original partial input. An actual preparation/child-builder/service-read probe accepts explicit defaults but rejects omitted defaults after valid admission. Evidence: `/tmp/candidate-validation-defaults-probe.test.ts` and its `.log` (one control pass, one regression failure). This decoder serves both web and AI clients and nested walk-forward details.
|
||||
|
||||
Scope: compare each child candidate with the already validated phase parameters: normalized retained request for training, frozen winner for holdouts. Preserve original raw root inputs, child generation, hashes, exact retries and strict version/parameter/evidence identity checks. No backend normalization change, migration, financial policy change or new abstraction.
|
||||
Real PostgreSQL verification exposed the coupled admission defect: migration 29's `validate_experiment_manifest` compares expanded request parameters with raw candidate input, rejecting the same supported empty/partial inputs with SQLSTATE 23514 before admission. `/tmp/stock-bot-rp17-defaults-debug.log` records the exact guard failure. The read-only decoder probe established the separate response mismatch, not successful database admission.
|
||||
|
||||
Ownership: implementation agent owns the shared validation response decoder and focused contract regression tests; root owns real authenticated PostgreSQL workflow coverage, shared documentation and integration. Independent review required. No concurrent edits to these contracts.
|
||||
Scope: compare each child candidate with the already validated phase parameters: normalized retained request for training, frozen winner for holdouts. Add a forward SQL migration so the admission comparison expands only defaults declared by the exact retained package, with explicit caller values taking precedence. Preserve original raw root inputs, child generation, hashes, exact retries and all other version/parameter/evidence/authorization checks. No historical-row rewrite, financial policy change or new abstraction.
|
||||
|
||||
Acceptance/tests: omitted and partial default parameters decode actual server-generated training details; explicit parameters and built-ins remain valid. Holdouts use the selected winner. Altered child parameters, version, request or winner still fail. Nested walk-forward details accept valid defaulted candidates. A real research-agent submission can be read and retried with exactly the original body/key and no duplicate runs; full native chronological workflow with defaults can seal evidence. Preserve caller input and preview hashes throughout.
|
||||
Ownership: one implementation agent owns the shared validation response decoder and focused contract regressions; a separate SQL owner owns the additive migration and direct guard regressions. Root owns real authenticated PostgreSQL workflow/browser coverage, shared documentation and integration. Independent review required. No concurrent edits to the same contracts.
|
||||
|
||||
Acceptance/tests: omitted and partial default parameters decode actual server-generated training details; explicit parameters and built-ins remain valid. Holdouts use the selected winner. Altered child parameters, version, request or winner still fail. Nested walk-forward details accept valid defaulted candidates. A real research-agent submission can be read and retried with exactly the original body/key and no duplicate runs; full native chronological workflow with defaults can seal evidence. Preserve caller input and preview hashes throughout. Direct SQL mutations that substitute an explicit parameter or invented default remain rejected; migration reapplication is safe and existing immutable records remain unchanged.
|
||||
|
||||
Gates: focused response/validation/walk-forward/client tests; authored and application types, scoped lint/formatting; root repository check; real PostgreSQL AI workflow and relevant browser validation paths using disposable stores. No real development research execution or paper/live activation. Conditional performance stories remain deferred.
|
||||
|
||||
Accepted October 27, 2026; implementation `1502ab41`. Independent review accepted the decoder and SQL32 correction. Root full check passed (1,371 integration / 150 Rust tests); authenticated AI/startup tests passed 9 / 217 assertions, direct SQL guards 2 / 25, and all 21 browser scenarios / 785 assertions. Application/authored types, lint and formatting passed. Migration 32 is included in the existing additive startup allowlist; no development database was migrated during this work. [Combined evidence](../../real-data-research.md) records the initial SQL precedence correction and worktree-only dependency limitation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue