Skip to content

work-items(work): absorb v4 loop-prompt execution rules into the skill #479

Description

@kyle-sexton

Category: behavioral/operational · Source: 2026-07-19 deep-dive audit (external PR audit: 7/7 GOOD; gaps below are process, not code quality). Session-scoped prompt rules that are skill gaps.

Absorb into the skill

  • Orchestrator-dispatch posture as the documented default (= work-items(work): loop orchestrator implements issues inline instead of dispatching per-issue subagents #451): pick → spawn implementation subagent in out-of-tree worktree → collect → bookkeeping. Orchestrator never edits source.
  • Canonical PR contract shipped in EVERY subagent brief: body skeleton (Summary/Fix/Verification), Closes #N, ## Related, per-plugin version bump + CHANGELOG, attribution trailer + session link. Audit: 3 red PRs + fixer round-trips were pure rework from learning the contract via CI; 2/7 PRs dropped the trailer (template drift = no shared template).
  • Post-green review pass: after CI green, fetch review threads once; fix branch-owned findings via the owning subagent; classification reply; RESOLVE addressed threads; VALID-but-deferred findings REQUIRE a filed follow-up issue cited in reply + ## Related; then hand to babysit. Self-audit confirmed the lane never looked back at its PRs.
  • High-blast-radius diff gate: PRs touching skill frontmatter descriptions/trigger keywords, cross-plugin contracts, or hooks get an orchestrator full-diff read before opening (self-audit: least-confident PR was exactly this class, passed through on CI alone).
  • Concurrency + batch caps as userConfig (defaults, not hardcoded): audit showed 2-concurrent and 10-batch both binding for zero quality reason. Same-plugin serialization awareness until repo: per-change version bump + top-insert CHANGELOG serialize concurrent same-plugin PRs (conflict by construction) #464 lands.
  • Skip ready-with-open-PR (interim in-progress detection; retire when work-items(work): status: ready issues with an open PR stay pickable — no in-review state (re-pick risk) #463 lands).
  • Never-merge boundary stated explicitly (merging = babysit lane / human).

Related

#451 dispatch · #462 PR template · #463 in-progress marker · #464 version serialization

Stays prompt-level

Week priority directive + pick-order weighting; batch numbers chosen for the week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highSignificant impact, or blocks an imminent release; staff this cycle.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions