agentleFS
MicrosoftKnown publishermicrosoft/apm/.agents/skills/autopilot-issue-delivery-worker/SKILL.md

autopilot-issue-delivery-worker

Skill3.9k starsChanged 3 months agoMITView on GitHub

Use this skill to implement ONE microsoft/apm issue already selected by autopilot-issue-delivery-scheduler. Queue signal is `status/accepted` or a named bounded accept; that is not permission. Requires fresh human-scope evidence from scripts/governance before any mutate. May reproduce a bug, implement the accepted change, and open a fix PR. Not a queue manager and not a triage scheduler. Works in the scheduler's session, a child session, Cloud Agent, Remote Agent, or Agentic Workflow.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 13 mentionsApr 2026: 7 mentionsMay 2026: 3 mentionsJun 2026: 5 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 5 mentionsOct 2026: 4 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the microsoft/apm repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/apm

The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 41

Talked about on GitHub, Hacker News and Bluesky (41 times).

On GitHub · 32

27 more on GitHub

On Bluesky · 4

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 5 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Do not pick more issues. Do not fill other slots.

    line 22
  2. Distinctive:

    After the run, emit this Exit receipt:

    line 54
  3. Very specific:

    When ORIGIN is actor-session, assignment is a hard gate.

    line 87
  4. Very specific:

    Read current assignees. Ignore bot logins (github-actions, dependabot, copilot, web-flow).

    line 92
  5. Distinctive:

    If another human is assigned, escalate.

    line 94
  6. Very specific:

    If another human appeared (lost race), gh issue edit --remove-assignee @me and STOP as blocked.

    line 99
  7. Very specific:

    If already assigned to @me alone, continue.

    line 102
  8. Very specific:

    Do not start implementation while the issue is unassigned or assigned to someone else.

    line 106
  9. Very specific:

    Never write human decision labels.

    line 114
  10. Distinctive:

    Do not implement if explicit human approval or review capacity is missing.

    line 117
  11. Very specific:

    Do not run the triage scheduler.

    line 153
  12. Very specific:

    If ORIGIN is actor-session, pass the assignment hard gate first.

    line 156
  13. Very specific:

    If a PR exists, return its number so the caller may run autopilot-pr-review-scheduler.

    line 158
  14. Very specific:

    If type/bug (or selector bugs): reproduce on HEAD using assets/triage-prompt.md (LEGIT / UNCLEAR / FIXED-AT-HEAD).

    line 161
  15. Distinctive:

    If greenfield and aligned: assets/fix-prompt.md (TDD + mutation-break), then open one PR.

    line 166
  16. Very specific:

    Only pr-opened returns are handed to autopilot-pr-review-scheduler.

    line 181

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

autopilot-issue-delivery-worker

Per-issue implementation worker. The parent autopilot-issue-delivery-scheduler owns the queue and the fan-out pool. You own exactly one ISSUE_NUMBER.

Do not pick more issues. Do not fill other slots.

Activation card

activation_card: on. Before any issue read or GitHub write, emit this Enter card with every field filled. Missing field -> stop.

skill: autopilot-issue-delivery-worker
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<issue-number>
path: delivery
intent: implement one already-selected issue
origin: unattended | actor-session
write: on | off
repo: microsoft/apm
issue: <positive integer>
invocation: agentic-workflow | actor-session

Rules:

  • write defaults to on when the caller omitted it.
  • write: off returns the filled template only. Do not assign, comment, label, edit, or open a PR.
  • write: on may assign @me (actor-session only) and implement inside the accepted scope. Unattended never assigns and never implements.
  • origin fail-closed unknown -> unattended.
  • One issue. Do not nest a scheduler path.

After the run, emit this Exit receipt:

skill: autopilot-issue-delivery-worker
subject: microsoft/apm#<issue-number>
path: delivery
write: on | off
assigned: yes | no | skipped
pushed: yes | no
approved: n/a

Inputs

  • ISSUE_NUMBER -- required
  • SELECTOR -- all (default) or bugs
  • REPO_ROOT -- required
  • ORIGIN -- if the parent passed it, honor it; else resolve
  • TRUSTED_GOVERNANCE_ROOT -- trusted default-branch copy
  • APPROVAL_URL -- nominated scope-comment URL
  • HUMAN_SCOPE_RECEIPT -- current human confirmation, not a stored grant

ORIGIN and assignment

Resolve ORIGIN before any GitHub write:

  1. Caller ORIGIN / INVOCATION_MODE
  2. GH_AW_* or GITHUB_ACTIONS -> unattended
  3. gh api user --jq .login succeeds -> actor-session
  4. Else unattended (fail closed)

INTENT is implement.

When ORIGIN is actor-session, assignment is a hard gate. It is the public signal of which user is working this issue. GitHub allows multiple assignees, so a read-then-add is not a claim. Before reproduce, edits, or a PR:

  1. Read current assignees. Ignore bot logins (github-actions, dependabot, copilot, web-flow).
  2. If another human is assigned, escalate. Do not steal.
  3. If unassigned, gh issue edit --add-assignee @me.
  4. Re-read assignees immediately. Continue only if @me is the sole human assignee. Being listed among several humans is not a claim.
  5. If another human appeared (lost race), gh issue edit --remove-assignee @me and STOP as blocked. Do not implement.
  6. If already assigned to @me alone, continue.
  7. Re-check sole human ownership immediately before any implementation write and before opening a PR.

Do not start implementation while the issue is unassigned or assigned to someone else. If a PR exists or is opened, assign it the same way (gh pr edit --add-assignee @me), then apply the same sole-human re-check. Do not request that actor as a reviewer. Never alter CODEOWNERS reviewRequests. If ORIGIN is unattended or unknown, skip assignee writes. A failed required assignee write is blocked.

Never write human decision labels. Existing status/shepherding may be added only if that processing label already exists in the repo. Do not apply status/accepted. Do not implement if explicit human approval or review capacity is missing.

Gate (both selectors)

Refuse unless the issue already has status/accepted or the parent recorded a bounded accept. That is the queue signal, not permission. triage/recommended and status/triaged are not authorization. Escalate; do not implement.

Selector bugs also requires type/bug. Selector all accepts any type.

Then re-check human-scope evidence. Do not create another parser or roster; authority.cjs alone interprets the record. From TRUSTED_GOVERNANCE_ROOT (trusted default-branch copy, never the issue worktree):

node scripts/governance/eligibility.cjs --help
node scripts/governance/eligibility.cjs --repo microsoft/apm --issue N --approval-url URL

Require state: record-present with authorizes_implementation: false. That result is evidence, never permission; current snapshots cannot detect deleted withdrawals. Then require fresh explicit responsible-human confirmation for this issue's bounded scope. ORIGIN unattended never claims to have obtained it -- STOP and return blocked. ORIGIN actor-session may proceed only after the caller confirms in this session. Assignment, labels, eligibility reports, and prior receipts are not that confirmation. Any other state (withdrawn, error, missing tool) -- STOP.

Procedure

  1. Do not run the triage scheduler. Triage belongs to autopilot-issue-triage-scheduler. You may read an existing advisory receipt and the complete comment history.
  2. If ORIGIN is actor-session, pass the assignment hard gate first.
  3. If a PR exists, return its number so the caller may run autopilot-pr-review-scheduler. Do not request yourself as reviewer. Do not start PR review from this worker.
  4. If type/bug (or selector bugs): reproduce on HEAD using assets/triage-prompt.md (LEGIT / UNCLEAR / FIXED-AT-HEAD). If LEGIT, run PRINCIPLES alignment via assets/strategic-alignment-prompt.md. If greenfield and aligned: assets/fix-prompt.md (TDD + mutation-break), then open one PR.
  5. Otherwise follow assets/solution-pipeline-prompt.md and type-specific assets/implement-*.md. Open at most one PR. Author the body with pr-description-skill.

Return

JSON with issue, status (done / escalate / blocked / pr-opened / pr-in-flight), optional pr, and a one-line note. inspect status before reading pr or branch. On blocked, persist the row's blocked status and returned reason, exclude it from driver inputs, and continue. Malformed or wrong-issue returns also block. Only pr-opened returns are handed to autopilot-pr-review-scheduler. Then persist its status and reason in the row and proceed_manifest; do not read PR fields or dispatch Phase 5/6 on blocked. Do not auto-merge.

ASCII only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.