docs(prp): refresh PRP-36 after Feature Frame V2#301
Conversation
Contract Refresh gate (PRP-36 Task 1) executed against dev @ f2bf7c8. Patches PRP-36 to match what PRP-35 actually shipped vs what it assumed. - Add PRPs/ai_docs/prp-35-final-contract-snapshot.md (one-off, authoritative) - Item 7: backtesting V2 dispatch deferred to #299 (not in PRP-35 final scope) - Task 8: re-scoped to V1 fold-path bucket metrics only; V2 lands with #299 - Item 10: DEFAULT_V2_GROUPS order corrected (CALENDAR at position 2) No implementation code touched. PRP-36 execution remains gated until this lands.
Reviewer's GuideDocs-only PR that (1) adds an authoritative snapshot of the final PRP-35 feature-frame contract and (2) patches PRP-36’s assumptions and Task 8 scope to match what actually shipped, explicitly documenting the deferral of backtesting V2 dispatch and correcting DEFAULT_V2_GROUPS ordering. Flow diagram for PRP-36 contract refresh and V2 dispatch deferralflowchart TD
A[PRP-35 shipped on dev @ f2bf7c8] --> B[PRP-36 Task1 Contract Refresh probe]
B --> C{Assumption 7 holds? backtesting V2 dispatch}
C -- No: deferred --> D[Create prp-35-final-contract-snapshot]
D --> E[Patch PRP-36 assumption 7 as VERIFIED FAILED]
E --> F[Rescope Task 8 to V1 fold path only]
F --> G[Correct DEFAULT_V2_GROUPS ordering]
G --> H[Backtesting V2 dispatch + V2 bucket metrics tracked in issue_299]
H --> I[PRP-36 Task2 onward unblocked after this docs PR merge]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Tracking: #295 (Forecast Intelligence roadmap). Related: #299 (PRP-35 / V2 backtesting deferral).
Why
Executes the PRP-36 Task 1 Contract Refresh gate against
dev @ f2bf7c8(post PR #300 merge). Captures what PRP-35 actually shipped vs what PRP-36
assumed, and patches PRP-36 in-place so its execution can start cleanly.
Per PRP-36 line 1286 (its own gate): "If ANY assumption above fails Task 1
verification: open a
chore(docs): refresh PRP-36 against PRP-35 final contractPR that edits THIS PRP file in place, THEN proceed to Task 2."Drift detected
Probed 5 files cited by PRP-36 (
contract_v2.py,rows_v2.py,forecasting/schemas.py,forecasting/service.py,scenarios/feature_frame.py) plusv2_loaders.pyandbacktesting/service.py.Changes
New file:
PRPs/ai_docs/prp-35-final-contract-snapshot.md— authoritativesnapshot of PRP-35's final contract on
dev @ f2bf7c8. Captures all 11assumption verifications, the actual default 38-column manifest, the
shipped
v2_pinned_constants()dict (11 keys), thev2_loaders.pyexportsurface, and a per-task readiness table.
Patched:
PRPs/PRP-36-forecast-intelligence-B-model-zoo-backtesting.mddispatch PRP-35 Task 13 added" (there is no V1/V2 dispatch to preserve);
dropped the matching log-line clause. V2 bucket-metric emission lands
jointly with feat(forecast): add feature frame v2 (PRP-35) #299.
(TARGET_HISTORY, CALENDAR, ROLLING, TREND, PRICE_PROMO, LIFECYCLE);noted that ordering is documentation-only since the manifest drives
column order.
No implementation code touched. PRP-36 execution remains gated until this
docs PR lands.
Scope verification
git diff --check→ no whitespace errorsgit diff --stat→ 2 files changed, 310 insertions(+), 9 deletions(-)PRPs/PRP-36-…mdandPRPs/ai_docs/prp-35-final-contract-snapshot.mdTest plan
PRPs/**).Summary by Sourcery
Refresh PRP-36 documentation against the actual PRP-35 Feature Frame V2 contract and record the one failed assumption so downstream PRP-36 work can proceed cleanly.
Documentation: