@zack/devwork-triage-loop

Portable maintainer-review loop for inspecting issues, drafting follow-up comments, and deciding whether to resolve, revise, or hand off.

Install
agentpm install @zack/devwork-triage-loop@0.1.0
Load
import { loadLoop } from '@agentpm/sdk';
const loop = await loadLoop('@zack/devwork-triage-loop@0.1.0');
Weekly installs
1
0%
Last publish
Today
v0.1.0
Phases
inspect-issue
Entry
Inspect the issue thread, current repository state, and maintainer context to decide whether there is enough evidence to draft a follow-up or whether the work should hand off.
Access intent
Tools: allowedKnowledge: allowedMemory read: allowed
Outcomes
  • draft-comment
    The issue has enough context to prepare a maintainer-facing follow-up comment.
  • handoff
    The issue should hand off because the current maintainer does not have enough authority, context, or repository access to proceed.
draft-comment
Draft the next maintainer comment, summarize the current issue position, and capture any follow-up notes that should survive this review pass.
Access intent
Tools: allowedKnowledge: allowedMemory read: allowedMemory write: allowed
Outcomes
  • ready-for-resolution
    The draft is ready for a final resolve-or-handoff decision.
  • needs-more-context
    The draft exposed a missing detail and the issue should return to inspection before a maintainer response is finalized.
resolve-or-handoff
Decide whether to resolve the current review pass, revise the drafted comment, or hand the work off to another maintainer.
Access intent
Tools: blockedKnowledge: allowedMemory read: allowedMemory write: allowed
Outcomes
  • resolve
    The issue review pass is complete and the current maintainer decision can close the loop.
  • revise-comment
    The current comment needs another drafting pass before the maintainer decision is settled.
  • handoff
    The issue should hand off because the next step belongs to another maintainer or queue owner.
Transitions
inspect-issueondraft-commentdraft-comment
inspect-issueonhandoff$handoff
draft-commentonready-for-resolutionresolve-or-handoff
draft-commentonneeds-more-contextinspect-issue
resolve-or-handoffonresolve$end
resolve-or-handoffonrevise-commentdraft-comment
resolve-or-handoffonhandoff$handoff