Repository navigation
Description
Parent/controller: #3751
Sequence: IV01 — protocol and preregistration authority
Feeds: matched-condition runner, independent adjudication, and pilot report
One-PR objective
Define the complete, versioned preregistration for measuring the intervention value of RIPR-assisted repair against matched controls before any qualifying study outcomes are observed.
This slice owns study identity, task/attempt assignment, resource-budget rules, stopping rules, outcome cells, leakage controls, validation, and deterministic projections. It does not execute agents, adjudicate repairs, or publish a pilot result.
Protocol model
Add a repository-owned contract equivalent to:
ripr_intervention_study.v1
study_id and protocol version
exact repository / task-series identity
eligibility and exclusion rules
matched task strata
condition = control | ripr_assisted
assignment and counterbalancing law
operator/model/tool/resource-budget identity
allowed RIPR evidence surface
contamination / prior-exposure controls
attempt and retry policy
primary and secondary outcome axes
independent adjudication plan
missing / invalid / instrument outcome rules
stopping rule
planned analysis and claim ceiling
Use current repository receipt/evidence primitives where available. Do not create a generic experiment platform.
Required study laws
- Tasks are selected and matched before outcomes are known.
- Assignment cannot be changed after attempt outcome or grader signal is visible.
- Control and RIPR-assisted conditions receive equivalent model/operator/runtime/tool budgets except for the declared intervention.
- The intervention surface is exact: available receipt(s), views, and commands are named rather than summarized as “use RIPR.”
- Prior exposure, branch reuse, cross-condition artifacts, shared scratch state, and operator leakage have explicit prevention/disposition rules.
- Retries, timeouts, cancellations, invalid attempts, and missing evidence remain in the denominator according to the preregistered policy.
- The stopping rule cannot depend on a favorable interim estimate.
- Public conclusions are bounded to the exact task series, model/operator profile, and intervention form.
Outcome axes
Preregister at least:
- behavior alignment / defect removal;
- discriminating proof quality;
- change scope and unnecessary churn;
- review findings and repair burden;
- completion/terminal state;
- time and bounded resource use;
- maintainability/readability under independent review;
- false-confidence or unsupported-claim events.
Do not combine these into one compensating score unless the protocol explicitly declares a non-authoritative summary.
Fixtures and falsifiers
Prove validation rejects:
- assignment after observing outcome;
- different model/tool/resource budget between conditions;
- a control attempt that can read RIPR outputs;
- a RIPR-assisted attempt receiving extra undeclared repository context;
- task replacement after a difficult failure;
- retry only in the weaker condition;
- dropping timeouts or invalid attempts from the denominator;
- stopping after a favorable interim result;
- grader identity or rubric absent;
- protocol mutation after the first attempt without a new study identity.
Acceptance
- One strict study/preregistration schema and validator exists.
- Task eligibility, matching, assignment, budgets, leakage controls, retries, stopping, and analysis are explicit.
- Outcome axes remain non-compensating and independently observable.
- Invalid and incomplete attempts have typed denominator-preserving treatment.
- JSON and Markdown derive from one deterministic semantic object.
- The matched-condition runner and adjudicator can consume the protocol without reinterpreting it.
- No study attempt, repair implementation, grader execution, conclusion, release, or publication occurs.
Non-goals
No general A/B testing service, no product telemetry, no model ranking beyond the declared study, no retrospective protocol fitting, and no claim that a valid preregistration proves intervention value.
Activity
fix(eval): retake RIPR-SPEC-0182 after landed inline-test cage
merge(main): keep landed RIPR-SPEC-0181 cage; retain 0182 study schema
fix(eval): retake RIPR-SPEC-0183 after landed identity registry
merge(main): keep landed RIPR-SPEC-0182 identity registry; retain 018…
fix(eval): retake RIPR-SPEC-0184 after landed executed-control contract
merge(main): keep landed RIPR-SPEC-0183 executed-control; retain 0184…
fix(eval): retake RIPR-SPEC-0185 after landed public command catalog
merge(main): keep landed RIPR-SPEC-0184 command catalog; retain 0185 …
EffortlessSteven commentedon Oct 3, 2026
Delivery & Review Status — 2026-10-03
PR #4875 owns the implementation at commit �7f42f518dfd4b0d27bd04ee05607af2f41969fd.
Current State & Findings
Next Action
Rebase PR #4875 onto main, resolve the registry conflicts, apply the two contract fixes, and verify with cargo test -p ripr domain::intervention_study.
feat(eval): preregister matched RIPR intervention-study schema (#4649) (