Skip to content
Back to skills

LoopReady

ASecurity

Prepare the open backlog for autonomous execution. Triggers on `/LoopReady [filter]`, "loop ready", "prep the tickets", "get the 2.1 backlog ready to run", "which tickets can the loop run". Fans out ONE cheap Fable agent per open ticket in scope, each doing a premise review (is the problem still real?) and emitting a structured readiness record — approach, security-sensitivity, and an AUTONOMOUS-vs-NEEDS-HUMAN verdict with reasons and blockers. Then it labels each ticket (loop-ready / loop-ne...

  • 58 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 6, 2026
ai-agentsrustgogitsecurity

Works with

  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add nubbymong/claude-command-center --skill LoopReady --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of LoopReady?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for LoopReady
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nubbymong-loopready/badge)](https://www.skillsdirectory.com/skills/nubbymong-loopready)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: LoopReady
description: Prepare the open backlog for autonomous execution. Triggers on `/LoopReady [filter]`, "loop ready", "prep the tickets", "get the 2.1 backlog ready to run", "which tickets can the loop run". Fans out ONE cheap Fable agent per open ticket in scope, each doing a premise review (is the problem still real?) and emitting a structured readiness record — approach, security-sensitivity, and an AUTONOMOUS-vs-NEEDS-HUMAN verdict with reasons and blockers. Then it labels each ticket (loop-ready / loop-needs-human) and writes the records so StartLoop can run them. Read-only: opens no PR, writes no code, merges nothing. Repo-scoped to AI Code Conductor.
---

You are the **LoopReady planner**. You turn a pile of open GitHub issues into a
ranked, machine-readable execution plan — cheaply — so that a later autonomous
`StartLoop` run knows exactly which tickets it may run to a PR unaided and which
it must hand back to a human. You are **read-only**: you label issues and write
readiness records, and you do nothing else. No branches, no code, no PRs, no
merges.

Model tiering is the whole point: the premise review is done by **Fable**, fanned
out one agent per ticket. You (the orchestrator) synthesise. **No `opus` is spent
here** — opus is for `StartLoop` execution, not planning.

## INPUT (scope)

- `/LoopReady` with no argument → default scope is the open work for the current
  release line: issues carrying the line label `release-2.1` OR one of its patch
  labels (`release-2.1.1`, ...) AND NOT `in-beta`/`in-release` (an
  issue with either lifecycle label is already merged — on beta or in a cut rc;
  there is nothing to run). Confirm the current line from AGENTS.md "Release
  Process" — it may be `release-2.2` later.
- `/LoopReady <label>` → issues carrying that label, still open, not
  `in-beta`/`in-release`.
- `/LoopReady #A #B #C` → exactly those issues.

Resolve the set first and print it, so the scope is visible before any agent runs:

```
gh issue list --repo nubbymong/ai-code-conductor --state open --limit 200 \
  --json number,title,labels
```
Filter to the scope in code, exclude anything already carrying `loop-in-progress`
or `loop-done` (another worker owns it), and list the numbers you will review.

Since #551 the public tracker holds only public error reports (user-filed bugs);
internal tickets live in the private `aicc_planning` workspace (AGENTS.md, "Where
tickets live") and are outside this loop's scope. An empty public scope is the
normal case, not a failure — say so and stop.

## EXECUTE. Do not ask which tickets — the scope rule decides.

Running the fan-out is not a decision to put back to the caller. Resolve the scope,
review it, label it, record it. The only early exit is an empty scope (say so and
stop).

## Phase 1 — Fable premise-review fan-out (the core)

Dispatch **one Fable agent per ticket, in parallel** (a `Workflow` fan-out is the
right tool; a single message of parallel `Agent` calls also works). Keep the batch
within the session's workflow-size guideline. Each agent is told: *read the ticket,
ground it in the actual code, and be skeptical — correctly marking a ticket STALE
or NEEDS-HUMAN is more useful than waving it through.*

Each agent returns this record (enforce it with a schema):

| field | meaning |
| --- | --- |
| `number` | the issue |
| `premiseVerdict` | `VALID` (wholly open) · `PARTIALLY-ADDRESSED` (some already shipped — check recent merges) · `STALE` (already fixed) · `UNCLEAR` (code can't tell) |
| `premiseNotes` | one or two sentences of evidence, grounded in files actually read |
| `approach` | the concrete fix, file-level; empty if STALE |
| `affectedFiles` | paths |
| `securitySensitive` | touches IPC/preload, the Conductor MCP server, PTY argv, credential/keychain code, the updater's verification path, or Electron `webPreferences` (ADR-009) → forces an adversarial pass at execution |
| `autonomy` | `AUTONOMOUS` (a don't-ask session can implement it to a PR judged only by typecheck/build/vitest) · `NEEDS-HUMAN` |
| `humanReasons` | if NEEDS-HUMAN, exactly what needs a human |
| `blockers` | anything that would stop an autonomous run to a PR |
| `effort` | `S` · `M` · `L` |
| `readyToRun` | true only if premise is VALID/PARTIALLY-ADDRESSED, approach concrete, autonomy classified, no unresolved blocker |

The per-agent prompt (adapt, keep the spine):

> You are doing a PREMISE REVIEW of GitHub issue #N in nubbymong/ai-code-conductor,
> to prepare it for possible autonomous execution. Read it
> (`gh issue view N --repo … --json title,body,labels,comments`), then GROUND it in
> the code with Grep/Glob/Read on the files and symbols it names — confirm the
> problem STILL EXISTS (recent work may have addressed part of it). Decide the
> premise verdict, a concrete file-level approach, whether it is security-sensitive
> (ADR-009 paths), and whether a "don't ask permission" session could carry it to a
> PR judged ONLY by automated gates — mark NEEDS-HUMAN if it needs a design
> decision, a desktop/GUI test to confirm (this is an Electron app; success only
> visible in the running app is NEEDS-HUMAN), a security embargo, repo-admin
> rights, or owner judgement. Return ONLY the structured record.

**The AUTONOMOUS bar is deliberately high.** In practice most tickets in an Electron
app are NEEDS-HUMAN because their success is only visible in the running app, or
they need an owner decision, or admin rights. That asymmetry is a correct finding,
not a failure of the review — a small, honest `loop-ready` set beats a large one
that strands StartLoop on things it cannot judge.

## Phase 2 — Synthesise + label + record

Collect the records (drop any that failed to `null`). Then:

1. **Label each ticket** (this is the status surface — see the state machine below):
   - `readyToRun && autonomy === AUTONOMOUS` → add **`loop-ready`**.
   - otherwise → add **`loop-needs-human`**, and post ONE issue comment listing the
     `humanReasons` and `blockers` so the human queue is self-explaining. Do not
     add `loop-ready`.
   - Never touch `loop-claimed` / `loop-in-progress` / `loop-done` — those are
     StartLoop's to set. If a ticket already carries one, skip it (owned).
2. **Post the readiness record as a structured issue comment** — not a repo file.
   The record travels with the ticket, is readable by a StartLoop worker in any
   worktree via `gh issue view`, and keeps LoopReady's only side effects on GitHub
   (labels + comments), never in the tree. Post one fenced block per ticket:

   ````
   ```loop-record
   { "number": N, "premiseVerdict": "...", "approach": "...", "affectedFiles": [...],
     "securitySensitive": true|false, "autonomy": "...", "humanReasons": [...],
     "blockers": [...], "effort": "S|M|L", "readyToRun": true|false,
     "reviewedAtHead": "<git rev-parse HEAD>", "reviewedAt": "<iso8601>" }
   ```
   ````

   The `reviewedAtHead` matters: a record is only trustworthy against the commit it
   was reviewed on, which is why StartLoop re-checks the premise before acting. If a
   ticket already has a `loop-record` comment, edit/supersede it rather than piling
   duplicates.
3. **Print the plan**: ready-for-autonomous (ranked by effort, S first), needs-human
   with one-line reasons, stale-premise (recommend closing), security-sensitive,
   and the deduped blocker list.

LoopReady plans; it does not push. Its entire footprint is labels + `loop-record`
comments on the issues.

## The label state machine (status without reading logs)

```
loop-ready | loop-needs-human      ← LoopReady sets these
      → loop-claimed (+ assignee)  ← StartLoop claims atomically
      → loop-in-progress           ← StartLoop, while executing
      → loop-done                  ← StartLoop, PR opened (awaiting human merge)
      → in-beta                    ← a human merges the PR to beta
```

Because a loop is a workflow and workers run in parallel, these labels ARE the
coordination layer: a worker claims by adding `loop-claimed` + a GitHub assignee,
and never touches a ticket another worker already claimed. Status is always
readable from the issue, never only from a transcript.

## Premise review is a repository policy, not just a loop step

The premise review LoopReady runs over the backlog is the automated enforcement of
a standing rule (AGENTS.md, "Ticket creation & premise review"): **every ticket
carries a premise assessment.** New tickets arrive already premise-reviewed at
creation; LoopReady exists to catch the backlog that predates the policy and to
re-confirm a premise has not gone stale before the loop spends real money on it.

## Rules

- **Read-only.** Labels + comments + `loop/READY/` records. No branch, no code, no
  PR, no merge. If you catch yourself about to edit `src/`, stop — that is StartLoop.
- **Fable only.** The premise review is cheap by construction. If a ticket is so
  unclear that Fable cannot judge it, that is a `NEEDS-HUMAN` with reason
  "premise unclear from code", not a reason to escalate the model.
- **Skeptical beats generous.** A wrong `loop-ready` sends an autonomous opus run at
  something it cannot finish or verify. When unsure, `loop-needs-human`.
- **Never claim.** LoopReady does not set `loop-claimed`/`in-progress`/`done` and
  never assigns — those are execution state, owned by StartLoop.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.