Skip to content

Implement incremental corrective commits with a final whole-PR review gate #109

Description

@BaseInfinity

Goal

Evaluate an incremental review workflow where completed slices are tested, self-reviewed, independently reviewed, and committed so the remaining uncommitted review scope becomes progressively smaller.

Required invariant

The final release/merge gate must review the whole branch diff against its merge base, plus any remaining uncommitted work. Reviewing only uncommitted changes is insufficient because defects can exist in committed slices or in interactions between slices.

Research questions

  • Which native Codex review scopes cover staged, uncommitted, individual commit, and whole-branch changes?
  • How should test/review proof be bound and invalidated after each fix or commit?
  • Should Fable High review each slice, or only the final whole-branch candidate after self-review and Sol High pass?
  • Does committing clean slices materially reduce review latency without hiding cross-slice risk?
  • What exact commands and evidence make the workflow understandable and reproducible?

Candidate workflow

  1. Implement one bounded slice with TDD.
  2. Run affected tests and required proof.
  3. Perform exact-diff author self-review.
  4. Run independent Sol High review.
  5. Fix findings and repeat until clean.
  6. Commit that clean slice.
  7. Repeat for later slices.
  8. Before merge/release, run full tests and review the complete merge-base-to-HEAD branch diff plus any remaining changes.
  9. Run Fable High only after the final self-review and Sol High gates are clean.

Acceptance criteria

  • Benchmark current monolithic review against incremental slice review.
  • Document exact native commands and their review scope.
  • Never commit failing tests and never merge failing CI.
  • Preserve the final whole-branch Sol High and Fable High gates.
  • Explicitly handle fixes that invalidate earlier proof.
  • Prototype enforcement only if the measured workflow is simpler or faster without reducing coverage.

Boundary

Research/backlog item; not a blocker for the current 0.7.36 release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: P0Stop-the-line critical path; work before lower-priority roadmap items

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions