docs(research): record bounded signal study and close RP21/RP22

This commit is contained in:
Boki 2026-10-27 21:48:50 -04:00
parent b7116473e6
commit 24d20dd5d8
5 changed files with 95 additions and 16 deletions

View file

@ -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: 98 retained IDs — 85 done, 1 in progress, 1 blocked, 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: 98 retained IDs — 87 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.
@ -193,6 +193,6 @@ Owner authorized planning and per-task implementation commits. [Execution plan a
- [RP20: Production research authentication](tasks/RP20.md) — done, `7de497e9`; normal API startup uses the existing research resolver, with actual issued-credential and quota regressions.
- [RP21: Bounded volatility-filter study](tasks/RP21.md) — blocked by RP22; inputs reviewed, original first-admission receipt retained with zero runs; two fixed isolated mean-reversion configurations, retrospective September holdouts and at most ten trials. Reuses existing candidate code.
- [RP21: Bounded volatility-filter study](tasks/RP21.md) — done; ten isolated trials, exact receipt recovery, independently audited results and reopened findings. Both variants lost money on test and whole-window cost runs; credential revoked.
- [RP22: Candidate decimal admission](tasks/RP22.md) — in progress; preserve known-program decimal normalization without changing original research input.
- [RP22: Candidate decimal admission](tasks/RP22.md) — done, `b7116473`; additive SQL33 preserves known-program decimal normalization and exact raw-input receipts.

View file

@ -1,8 +1,8 @@
{
"schema_version": 1,
"plan_revision": "2026-10-27.116",
"plan_revision": "2026-10-27.117",
"repository_base": "b7aeca4",
"plan_status": "candidate_decimal_admission_fix",
"plan_status": "bounded_signal_study_complete",
"execution_authorized": true,
"execution_scope": {
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
@ -3659,7 +3659,7 @@
"epic": "E12",
"priority": "P2",
"severity": "Medium",
"status": "blocked",
"status": "done",
"dependencies": [
"RP20",
"A02",
@ -3676,15 +3676,21 @@
"write_locks": [
"aapl-september-signal-study"
],
"blocker": "SQL32 compares raw minNotionalVolume string with normalized known-program request. First training admission rolled back; zero runs/experiments. Preserve exact receipt.",
"integration_state": "inputs_reviewed_admission_recovery_pending",
"blocker": null,
"integration_state": "validated_external_workflow",
"completion_evidence": "real-data-research.md",
"release_gates": [],
"review_status": "pending",
"review_status": "accepted",
"completed_commit": null,
"authorization": "Owner continuation follows bounded AI signal-study recommendation. At most ten isolated research trials on fixed September partitions. No fabricated human review, paper/live activation or deferred optimization.",
"scope_notes": "Reuse unchanged bundled mean-reversion code in existing isolated-candidate mode; two fixed configurations differ only by volatility filter. No candidate source rewrite. Availability inventory only; no September prices/returns or results inspected. See task for frozen parameters, policy, windows, limits and evidence requirements.",
"integration_base": "2949680b"
"scope_notes": "Completed exact frozen two-variant September study using unchanged bundled MR artifact. No additional tuning, replacement trials, strategy source rewrite or paper/live activation. See evidence for retrospective source/availability and short-holdout limitations.",
"integration_base": "2949680b",
"reviewer": "/root/review_recovery_changes",
"planning_commit": "2949680b",
"execution_claim_commit": "86013538",
"execution_fix_commit": "b7116473e6902e52d5ffcb89b2ccaa77cf9951c0",
"artifact_directory": ".data/research-pilots/aapl-202409-signals/",
"review_notes": "Ten isolated trials completed once; original raw input/body/key/preview hash and four acknowledged resources preserved across RP22 recovery. Independent input (25,078), financial (49,406) and closure (513) assertions passed; all 42 stored scalar references (34 distinct run/metric pairs) reconcile. Seven real web views reopened; saved run rows unchanged. Final risk section reopening is distinct from numerical native-artifact checks. Dedicated credential revoked and actual token request rejected with 401. Both test and whole-window cost returns negative; no alpha/deployment claim."
},
{
"id": "RP22",
@ -3692,7 +3698,7 @@
"epic": "E12",
"priority": "P1",
"severity": "High",
"status": "in_progress",
"status": "done",
"dependencies": [
"A02",
"RP17"
@ -3705,12 +3711,17 @@
"candidate-parameter-sql-admission"
],
"blocker": null,
"integration_state": "planned",
"review_status": "pending",
"completed_commit": null,
"integration_state": "accepted",
"review_status": "accepted",
"completed_commit": "b7116473e6902e52d5ffcb89b2ccaa77cf9951c0",
"completion_evidence": "real-data-research.md",
"release_gates": [],
"authorization": "Necessary regression fix discovered during authorized RP21 execution; preserve frozen strategy/financial policy and exact failed receipt."
"authorization": "Necessary regression fix discovered during authorized RP21 execution; preserve frozen strategy/financial policy and exact failed receipt.",
"reviewer": "/root/review_recovery_changes",
"planning_commit": "b51612e5",
"branch": "rp22/candidate-decimal",
"worktree": "/tmp/stock-bot-rp22-decimal",
"review_notes": "Known-program strict fixed-eight comparison only; existing admission/financial guards and raw inputs preserved. Final PostgreSQL gate passed 14 tests / 310 assertions; actual AI fixture explicitly advanced to SQL33 and passed 4 / 178. Integration passed 1,382 tests with 14 existing conditional skips. Types/contracts/lint/format/secret/diff passed; no build during frozen study. Normal runner verified exact installed migration (already registered by dev startup), zero study runs/receipts and unchanged build before exact recovery."
}
],
"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.",

View file

@ -58,3 +58,5 @@ Relevant paths: `apps/stock/orchestrator/src/strategies/canonical-mean-reversion
Availability-only inventory on October 27 read timestamps/counts/null-volume counts, not prices or returns: September contains 20 dates, each 79 raw rows from 13:30 through 20:00 UTC. Strict session capture must establish that the selected 78 rows are valid. September was chosen from coverage before its price inspection, but is earlier than the already inspected October pilots: this is **predeclared retrospective holdout research**, not prospective validation after October or a guarantee against global selection bias. Fixed AAPL selection and a dataset captured in 2026 are also retrospective. The small partitions cannot establish durable alpha.
[Nasdaq's Labor Day notice](https://www.nasdaqtrader.com/TraderNews.aspx?id=ETA2024-49), [2024 calendar](https://www.nasdaqtrader.com/content/technicalsupport/2024tradingcalendar.pdf) and [hours](https://www.nasdaq.com/market-activity/stock-market-holiday-schedule) support the declared sessions. An action-free September is an inference from [Apple's dividend/split history](https://investor.apple.com/dividend-history/), not a certified action feed. [EOD's intraday documentation](https://eodhd.com/financial-apis/intraday-historical-data-api) describes UTC bar starts and delayed finalization/corrections: interval-end availability is a simulated zero-delay assumption, not observed vendor arrival.
Accepted October 27, 2026 (America/Toronto): ten single-attempt isolated trials completed with the exact frozen artifact, policy and partitions. RP22 fixed a SQL comparison defect before the first experiment existed; explicit receipt-backed continuation reused the original acknowledged resources, raw input, key and preview hash. Both variants had negative net test and whole-window cost results. Independent input, financial and closure audits passed 25,078 / 49,406 / 513 assertions. Seven actual web views reopened, results stayed unchanged, and the dedicated credential was revoked and rejected with 401. No new strategy code, extra trials or deployment. [Execution evidence](../../real-data-research.md#rp21--bounded-volatility-filter-study) records findings, identities and limits; the original predeclaration above remains unchanged.

View file

@ -18,3 +18,5 @@ Acceptance/tests:
- After review/commit, apply through the normal migration runner's lock/transaction. Reopen the study's original receipt state, retry only the exact idempotent stopped request and continue from saved acknowledged resources. Never restart the entire cycle, recreate its hypothesis/family/version, alter risk/parameters, or exceed ten trials.
Exclusions: general SQL parameter engine, signal changes, migration history rewrites, deleting/replacing research artifacts, new candidate/version IDs for recovery, paper/live activation, performance work. Regression risk is weakened direct SQL validation or string coercion in arbitrary strategy schemas. Compare independently with the actual TypeScript parser; retain the original failed receipt as evidence.
Accepted October 27, 2026: planning `b51612e5`, implementation `b7116473`. Independent review accepted strict known-program normalization and receipt recovery. Strengthened direct/startup/AI PostgreSQL checks passed 14 tests / 310 assertions; the AI fixture was then explicitly advanced to SQL33 and reran 4 / 178. Integration passed 1,382 tests, with 14 existing conditional skips. Application/authored-test types, contracts, lint, formatting, secret audit and diff checks passed. No build changed RP21's retained worker/native/sandbox bytes. Normal runner verification confirmed the exact installed function and zero study runs before the unchanged request was recovered. [Evidence and limitations](../../real-data-research.md#rp22--decimal-admission-and-exact-receipt-recovery).