Skip to content

Apply Bugbot triage to the standalone Babysit skill #20

Closed

Description

@ericlitman

Context

Open Pstack has two Babysit entry points with intentionally different roles: the standalone babysit skill and the poteto-mode Babysit playbook. The playbook applies the canonical Bugbot/review-automation rubric at plugins/pstack/skills/poteto-mode/references/bugbot-triage.md; the standalone skill currently does not reference it.

michael-denyer/pstack-claude commit 661af2ba063642332d26a7da27e2b59369b0beae fixes the standalone behavior, but does so by adding a second copy under skills/babysit/references/. Open Pstack should adopt the behavior without duplicating the rubric.

Acceptance criteria

  • The standalone plugins/pstack/skills/babysit/SKILL.md requires fix/dismiss/ask triage for Bugbot and similar review automation.
  • It links to the existing canonical plugins/pstack/skills/poteto-mode/references/bugbot-triage.md through a valid relative path.
  • No second bugbot-triage.md copy is added under skills/babysit/.
  • The poteto-mode Babysit playbook keeps using the same canonical rubric.
  • Static link/invariant checks fail if either Babysit entry point loses the rubric.
  • The exact packaged candidate is installed in Claude Code and Codex, and the standalone Babysit entry point reads and applies the shared triage policy.

Source refs

Activity

  1. added
    bug
    on Aug 26, 2026
  2. ericlitman commented on Aug 26, 2026

    @ericlitman
    OwnerAuthor

    Triage decision

    Outcome: Ready

    The standalone Babysit skill lacks the canonical Bugbot fix/dismiss/ask policy already used by the poteto-mode Babysit playbook. The inconsistency is real, and the smallest complete correction is one link to the existing rubric plus one invariant; no second rubric copy is needed.

    Context

    Open Pstack intentionally has two Babysit entry points. The poteto-mode playbook references plugins/pstack/skills/poteto-mode/references/bugbot-triage.md; the standalone plugins/pstack/skills/babysit/SKILL.md only says to act on feedback it agrees with and does not name Bugbot, fix/dismiss/ask, or risk-based escalation.

    Michael Denyer's 661af2ba063642332d26a7da27e2b59369b0beae demonstrates the missing behavior but adds a duplicate rubric because that port lacks this repository's existing binding. Open Pstack should reuse its single canonical file.

    Why still real

    • Supported: two separate Babysit entry points exist and have intentionally different roles.
    • Supported: only the poteto-mode entry point binds the canonical Bugbot rubric today, so identical bot feedback can receive different triage policy.
    • Supported: ../poteto-mode/references/bugbot-triage.md resolves from the standalone skill directory, and the skill already uses cross-skill references with the same path shape.
    • Disproved: the secondary-port file layout should be copied. A second bugbot-triage.md would create duplicate policy ownership.
    • Disproved: the canonical rubric itself must change. A skill-side binding fully closes the behavioral gap while keeping the upstream-identical rubric untouched.
    • Disproved: a current static check protects the relationship. No existing test names both entry points or the rubric.
    • Unverified until completion: the packaged artifact preserves and follows the cross-skill link in both harnesses.

    Scope and non-goals

    Add one explicit standalone-skill rule requiring fix/dismiss/ask classification for Bugbot and similar automation, including ask-by-default handling for security, data, and high-severity findings, and link it to the existing canonical rubric. Add the smallest invariant in the existing static test path to prove both entry points remain bound and exactly one rubric copy exists.

    Do not copy the rubric under skills/babysit, edit the canonical rubric's introductory prose, merge the two Babysit entry points, or redesign unrelated review handling.

    Acceptance criteria

    • plugins/pstack/skills/babysit/SKILL.md explicitly requires fix/dismiss/ask triage for Bugbot and similar review automation, including ask-by-default treatment for security, data, and high-severity findings.
    • The standalone skill links to ../poteto-mode/references/bugbot-triage.md, and the relative path resolves in source and in the packaged plugin.
    • Exactly one bugbot-triage.md exists under the packaged plugin; no copy is added beneath skills/babysit.
    • The poteto-mode Babysit playbook continues to reference the same canonical rubric.
    • A focused invariant in tests/skill-collision-repro.sh fails when the canonical file is absent, either entry point loses its binding, the standalone relative link stops resolving, or an extra rubric copy appears. CI runs that invariant through its existing static step.
    • The canonical rubric remains byte-identical to Cursor 0.14.2/0.14.3.
    • The exact candidate artifact is installed independently in Claude Code and Codex. In each, the standalone Babysit entry point can access the shared rubric and demonstrates representative fix, dismiss, ask, and high-risk escalation treatment.

    Open risks and unresolved questions

    • A source link can pass while an installed harness cannot traverse or apply it. Consequence: static evidence alone is insufficient. Guard: inspect and exercise the exact installed candidate in both harnesses.
    • Reviewer agreement: both Fable and Codex recommended Ready. Fable emphasized the existing cross-skill path pattern; Codex emphasized installed behavioral proof. The canonical criteria retain both.
    • None beyond the packaged cross-harness proof.

    Verification

    • From plugins/pstack/skills/poteto-mode/scripts: bun install --frozen-lockfile, bun run test, and bun run typecheck.
    • From the repository root: run the manifest JSON-parse used by CI and PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh; confirm the new binding/single-copy cases fail when deliberately broken in their fixture.
    • Inspect the packaged tree for exactly one rubric and resolve the standalone link from its installed location.
    • Install the exact candidate in Claude Code and Codex. In each harness, invoke standalone Babysit against representative automated-review comments and record installed version, surface, action, observed fix/dismiss/ask class, and high-risk escalation result.

    Source refs

    • Source issue: Apply Bugbot triage to the standalone Babysit skill #20
    • Source issue database ID: 5252426605; captured updated_at: 2026-08-26T01:42:22Z; normalized body SHA-256: b88e43c18e94117bc9577913fb497f9969b4f9039a952ad447659dcdf1f901c3.
    • Non-triage source comments: none.
    • Secondary-port commit: michael-denyer/pstack-claude@661af2b
    • Repository baseline: 74c5cb2110039d4e6cdd749a04a0988ba150ba9c; plugins/pstack/skills/babysit/SKILL.md; plugins/pstack/skills/poteto-mode/playbooks/babysit.md; plugins/pstack/skills/poteto-mode/references/bugbot-triage.md; tests/skill-collision-repro.sh; .github/workflows/ci.yml.
    • Duplicate/prior-implementation search: none found.
    • Current review fingerprint: the generated marker on the first line of this comment.

    Premise review evidence

    Outcome and decisive reason

    Ready. The inconsistent policy binding is directly observed, the existing canonical rubric is reusable, and two independent reviewers agree on the narrow link-plus-invariant correction.

    Grounded premise findings

    • Supported: two entry points and a playbook-only rubric binding.
    • Supported: valid cross-skill relative path and one current canonical copy.
    • Disproved: copying the secondary-port rubric.
    • Disproved: editing the rubric is necessary.
    • Disproved: an existing static check covers this relationship.
    • Unverified until completion: installed cross-skill traversal and behavioral application.

    Reviewers

    • claude:claude-fable-5@xhigh: completed; Status ISSUES; Recommendation READY; biggest risk was a future broken cross-skill link escaping source-only validation.
    • codex:gpt-5.6-sol@xhigh: completed; Status ISSUES; Recommendation READY; biggest risk was the packaged harness ignoring or losing the shared reference.

    Disagreement and adjudication

    No outcome disagreement. Both reviewers rejected the duplicated-rubric port. The lead also rejects changing the upstream-identical rubric intro because the direct skill-side rule and binding are sufficient.

    Rejected alternatives

    • Adding skills/babysit/references/bugbot-triage.md.
    • Editing the canonical rubric merely to name a second consumer.
    • Merging or restructuring the two Babysit entry points.
    • Relying on a grep without packaged behavioral proof.
    • Expanding into unrelated stale cross-references or review flows.

    Residual risks

    Only packaged-link traversal and actual policy application remain; exact-candidate checks guard both.

    Provider dropouts

    None.

    Prior triage

    No prior valid triage comment existed at capture time.

  3. added a commit that references this issue on Aug 26, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions