Skip to content

Move watch-pr and fix-pr scripts into agentrepo checks #325

Open
1 of 3 issues completed
Open

Description

@tbhb-agent

Outcome

Check watching, red-PR diagnosis and description restoration run as tested Go instead of shell, under the shell freeze of #588. Watching and diagnosis land under agentrepo checks, next to the evaluator from #242. Description restoration lands under agentrepo pr, one shared command for fix-pr and merge-pr. Remaining skill scripts are thin exec shims.

Diagnosis already shipped: the Go command (#832), its report parity tests (#959) and routing of the consumer entry point to it (#960).

Size is L across three children, and no pull request carries the whole epic.

Done when

  1. Watching: agentrepo checks watch replaces the watcher's behavior and the consumer-facing watcher routes to it, with the contract unchanged. Evidence: feat(checks): move pull request watching into Go #793 closed.
  2. Diagnosis: agentrepo checks diagnose produces the failure report and the consumer entry point routes to it. Evidence: feat(checks): move pull request failure diagnosis into Go #794 closed, with feat(checks): diagnose failures in Go #832, test(checks): verify diagnosis report parity #959 and feat(checks): route diagnosis through the Go command #960 merged.
  3. Description restoration: fix-pr and merge-pr both produce the result of agentrepo pr populate-description for the same PR and draft. Evidence: feat(pr): move shared description restoration into Go #795 closed.

Children

Depends on #321 for shared GitHub access and #333 for binary distribution.

Out of scope

Owner

devtools coordination session. Operator authority: None.

Activity

  1. added
    change:featPR adds or changes a feature (Conventional Commit type feat)
    on Oct 20, 2026
  2. removed
    change:featPR adds or changes a feature (Conventional Commit type feat)
    on Oct 22, 2026
  3. tbhb-dev-reviews commented on Oct 31, 2026

    @tbhb-dev-reviews

    Refinement: NOT READY — restoration overlaps the merge epic, and the live type is still Feature

    Checked

    Gaps

    1. GitHub still types Move watch-pr and fix-pr scripts into agentrepo checks #325 as Feature, despite its L epic body, children and explicit absence of a single implementation PR. Change the actual type to Epic.
    2. Restoration has conflicting owners. feat(pr): move shared description restoration into Go #795 owns agentrepo pr populate-description and both wrappers; sibling Move the merge-pr, merge policy and agent-merge-pr scripts into agentrepo merge #324 child A pull request description draft is rebuilt from the published pull request in Go #873 separately owns agentrepo merge description, and The lint, populate-description, squash-message and review scripts become wrappers over agentrepo merge #874 AC1 owns the merge-pr restoration wrapper. A pull request description draft is rebuilt from the published pull request in Go #873 preserves misleading suffix guidance that feat(pr): move shared description restoration into Go #795 AC9 fixes. Assign ownership once, update A pull request description draft is rebuilt from the published pull request in Go #873/The lint, populate-description, squash-message and review scripts become wrappers over agentrepo merge #874 and Move the merge-pr, merge policy and agent-merge-pr scripts into agentrepo merge #324 to consume the shared result, and record the boundary in Move watch-pr and fix-pr scripts into agentrepo checks #325. The identical scripts on main verify this is the same behavior.
    3. Outcome and Done when 1 promise an unchanged watcher contract, but test(checks): prove watch command parity against the pinned shell #978 AC3 and feat(checks): watch pull requests in Go #961 explicitly permit nonempty-then-empty snapshots to TIMEOUT with status 2 instead of shell ALL GREEN. Main verifies the difference: packages/agents/source/skills/watch-pr/shared/scripts/watch-checks.sh:165 breaks when pending is zero, then :181 reports green with zero failures. State the safety exception and its evidence in Move watch-pr and fix-pr scripts into agentrepo checks #325; reconcile unchanged-contract wording in feat(checks): move pull request watching into Go #793/feat(checks): add the Go pull request watch command #976 with test(checks): prove watch command parity against the pinned shell #978.
    4. Add the Epic's own D4 verification and an evidence-bearing closing comment to Done when. Child closure alone does not cover scans for this epic's text/posts or epic-2. Correct Children too: feat(pr): move shared description restoration into Go #795 now declares M, not S.

    Split

    Keep watching / delivered diagnosis / shared restoration. No further implementation split is needed for #325 itself. Resolve the duplicate restoration allocation in #873/#874 before coding. Use existing #961/#962 and #978 parity work for watching, with an explicit disposition of superseded #824; do not start another implementation. Diagnosis is complete.

    Definition of done

    Ticks mean child ACs/Verify plans cover the requirement, not that unfinished delivery checks passed. The requested Epic checklist contains D4, epic-1 and epic-2; other base items apply to child PRs.

    Round: 2 of 3

  4. changed the issue type fromtoon Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refinement:activeA refinement round is open; not ready for implementation

    Type

    Fields

    Work type

    Planned

    Priority

    Intangible

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions