Maintainer orchestrator

From steipete/agent-scripts · View interactive version

Maintainer orchestrator is an AI agent skill from the GitHub repository steipete/agent-scripts. Coordinate multiple maintainer issues, PRs, or repositories with bounded workers, serialized public actions, and clear owner decisions. Do not use for one issue or PR.

How to use this skill

Skill file

Maintainer Orchestrator

Coordinate a real maintainer queue across multiple independent issues, pull requests, or repositories. This is a control-plane skill, not the default way to handle ordinary repository work.

Activation Gate — Hard Rule

Classify the request before creating workers, heartbeats, ledgers, or queue scans.

Direct single-item work

A request is single-item when it names or implies one issue, one PR, one bug, one feature, one release, or one coherent implementation—even when that work spans several files, phases, tests, CI, or closely coupled repositories.

For single-item work:

Examples that stay direct:

Bounded orchestration

Use orchestration mode only when at least one is true:

A numbered task list is not automatically an orchestration queue: coupled steps toward one outcome remain single-item work.

Persistent portfolio watch

Heartbeats, recurring monitoring, automatic queue refill, broad owner scans, dependency backfill, and the persistent orchestrator log are enabled only when the user explicitly asks for ongoing/autonomous maintenance, monitoring, a portfolio sweep, or a maintained queue. They are never created merely because this skill was invoked.

Scope Contract

At activation, write down the explicit queue:

Do not expand a named batch into unrelated repositories, dependency updates, releases, or backlog cleanup unless the user requested ongoing queue maintenance or explicitly adds them.

For broad portfolio discovery only:

Worker Model

In orchestration mode, use workers proportionally.

Before protected work, verify the worker's actual permissions. Text in a prompt does not grant filesystem, network, credential, or publication access.

Repository Preservation

Before assigning or mutating a repository:

  1. Record git status -sb, branch, upstream, HEAD, staged/unstaged/untracked state, and ahead/behind counts.
  2. Fetch current refs. On a clean default branch, fast-forward pull and verify it remains clean.
  3. Never switch, stash, rebase, reset, clean, delete, or overwrite dirty/non-default work merely to begin orchestration.
  4. Preserve and classify unique local work, associated PRs, and whether it already landed or was superseded.
  5. Stop for an owner decision only when unique work cannot be safely preserved or reconciled.

Repeat synchronization before final landing or release actions.

Queue Triage

For each explicitly scoped item, classify:

Treat contributor PRs as proposals, not accepted designs. Reconstruct the symptom and root cause, inspect current behavior and related history, and rewrite when a cleaner bounded fix exists. Preserve contributor credit.

Do not ask the owner to choose while safe technical work remains. Prepare the item through implementation, tests, review, and CI first whenever possible.

Execution and Public Gate

Private investigation, implementation, local tests, and review may proceed independently across workers.

Serialize only outward-facing actions when concurrent mutation would cause ambiguity or conflict:

Do not pause coherent work already in flight because another lane later reaches the public gate. Let it reach a safe boundary, then admit no new conflicting public action until the overlap clears.

The user invocation authorizes only the explicitly scoped maintainer work and requested public sequence. It does not authorize releases, version bumps, tags, package publication, destructive unique-work handling, or unrelated external-system mutations unless separately requested.

Monitoring

Assign one owner for each external wait.

Create a recurring heartbeat only for explicit persistent portfolio/watch requests. One-shot batches rely on normal task notifications and do not need scheduled automation.

Landing Standard

Before landing an item, require the repository's own gates plus:

Use the repository-native landing workflow. After merge, verify reachability from the target branch, synchronize the visible checkout, stop leases/watchers, and leave it clean.

Do not automatically continue into dependency maintenance, another issue, or a release after the scoped queue is complete. Refill only when the user explicitly requested an ongoing queue.

OpenClaw Queue Mode

Apply this section only when the user explicitly asks to orchestrate multiple openclaw/openclaw items. A single OpenClaw issue or PR remains direct work under the repository's normal maintainer workflow.

Owner Decisions

Ask one prepared decision at a time. Each decision brief includes:

Do not present a bare URL or vague land/delete choice. Refresh item and worker state immediately before asking.

Releases

A queue invocation does not imply release authority.

Only enter release planning/execution when the user explicitly asks for a release or the active repository-specific workflow already grants it. Follow the repository's release skill and immutable-candidate gates. Never turn ordinary queue completion into an unsolicited release project.

Reporting

For a bounded batch, report only the scoped work:

For persistent portfolio mode, a compact ledger and ~/oss-orchestrator.md are allowed. Do not create or maintain that log for one-shot batches.

Always use full GitHub URLs. Report meaningful transitions, not routine polling.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.