Skip to content

feat: delegate ticket PR lifecycle to babysit-pr - #26

Merged
shaug merged 2 commits into
mainfrom
scott/issue-24-delegate-babysit-pr
Jul 21, 2026
Merged

feat: delegate ticket PR lifecycle to babysit-pr#26
shaug merged 2 commits into
mainfrom
scott/issue-24-delegate-babysit-pr

Conversation

@shaug

@shaug shaug commented Jul 21, 2026

Copy link
Copy Markdown
Owner

TL;DR

Make implement-ticket delegate every published pull request to repository-owned babysit-pr while retaining ticket implementation, initial review, and independently verified closeout.

Summary

  • Require both review-code-change and babysit-pr before ticket implementation state is created
  • Define an acyclic composition, exact candidate handoff, exclusive mutation ownership, authority mapping, and deterministic terminal-result mapping
  • Make ready_pr mean the current PR has passed every applicable non-merge gate, rather than merely existing with pending remote work
  • Remove duplicated CI, feedback, post-fix review, drift, and merge mechanics from implement-ticket
  • Preserve initial review, mainline verification, tracker transition, dependency refresh, cleanup, and unchanged epic terminal-state consumption
  • Add contract tests and forward scenarios for missing dependencies, feedback and CI fixes, stale evidence, drift, ownership transfer, resume behavior, closed PRs, and transitive epic orchestration

Validation

  • just format
  • just lint
  • just test
  • git diff --check

Tickets

Fixes #24

shaug added 2 commits July 20, 2026 20:03
## Summary
- Make `babysit-pr` a required pre-mutation dependency of `implement-ticket`
- Define a candidate-bound handoff, exclusive ownership, policy mapping, and terminal result contract
- Remove duplicated post-publication mechanics while preserving initial review and caller-owned closeout
- Update epic composition, documentation, contract tests, and forward evaluations

## Why
- Give the published pull request lifecycle one canonical owner
- Preserve ticket execution guarantees without maintaining two independent CI, feedback, review, drift, and merge loops
## Summary
- Add 18 raw-artifact composition cases with grader expectations stored separately
- Run each result-blind evaluator packet in a fresh process and capture observations before grading
- Prove expected results and fixture identity do not enter evaluator context
- Cover whole-epic routing before dependencies and Linear-to-GitHub handoff through closeout

## Why
- Turn the ticket-composition scenarios into executable forward evidence instead of prose-only assertions
- Detect context leakage and composed-policy regressions that static contract tests cannot expose
@shaug
shaug marked this pull request as ready for review July 21, 2026 04:39
@shaug
shaug merged commit d6b3ddd into main Jul 21, 2026
1 check passed
@shaug
shaug deleted the scott/issue-24-delegate-babysit-pr branch July 21, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delegate implement-ticket PR lifecycle to babysit-pr

1 participant