agentleFS
PromptPartnerPromptPartner/agentsmith/skills/autonomous-run/SKILL.md

autonomous-run

Skill177 starsChanged 2 months agoMITView on GitHub

Prepare, start, inspect, resume, or stop a finite local overnight coding run after a human has accepted a Wayfinder terminal spec; coordinates a declared Claude/Codex maker and independent checker without pushing, merging, or writing to external systems.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    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 begin implementation unless all of these are true:

    line 15
  2. Very specific:

    If scripts/autonomous-run.py exists, use it.

    line 28
  3. Distinctive:

    Only after explicit operator authorization:

    line 46
  4. Very specific:

    Before start creates local Git or state artifacts, and before resume restarts work, the controller serializes a repository-local collision …

    line 59
  5. Very specific:

    Use status <id>, stop <id>, or resume <id>.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Autonomous run — bounded overnight execution

This skill is for a finite approved implementation, not a recurring watcher. For recurring work use the autonomous-loops profile. For unresolved product or architecture decisions, run Wayfinder first.

Hard gate

Do not begin implementation unless all of these are true:

  1. The terminal spec is committed under docs/specs/ with status: accepted, accepted_by, and accepted_at. An agent may author only status: draft.
  2. A separate implementation-ticket ID is named. The decision ticket is not executable work.
  3. The operator explicitly invokes or authorizes start. Producing or checking a spec never self-authorizes implementation.

Linear and every other external system still follow the installed write-consent rule. The v1 controller has no external-write adapter at all.

Prepare the contract

If scripts/autonomous-run.py exists, use it. Its installed template is .harness/templates/autonomous-run.json (the harness source checkout uses templates/autonomous-run.json):

python3 scripts/autonomous-run.py prepare --run-id <short-id> --spec docs/specs/<name>.md --ticket <implementation-ticket> --maker codex --checker claude --template .harness/templates/autonomous-run.json

This only creates a manifest. Review its exact allowed/denied paths, verifier, models, attempt cap, wall-clock limit, budgets, and optional scope.resources keys such as port:3000 or db:local/test. Resource keys coordinate cooperating local runs; they do not replace operating- system port binding or database isolation. Commit the manifest before execution; the controller refuses an uncommitted contract. Concurrent worktrees share writable Git metadata needed for local commits, so this guard prevents accidental collisions between cooperating runs; it is not a security boundary for mutually untrusted makers.

Start and supervise

Only after explicit operator authorization:

python3 scripts/autonomous-run.py start .harness/runs/<short-id>.json

The controller creates an isolated local branch/worktree, launches a fresh maker, validates its receipt, scope and Git transition, then creates a disposable detached worktree for the sandboxed deterministic verifier and a fresh checker. A rejection becomes the next maker's input. Three failed attempts, invalid state, denied scope, immutable-deadline or reported-budget exhaustion, Git metadata drift, or checker mutation escalates instead of widening authority. Verification fails closed unless macOS sandbox-exec or Linux bubblewrap is available.

Before start creates local Git or state artifacts, and before resume restarts work, the controller serializes a repository-local collision scan. Ancestor/descendant fixed prefixes from scope.allowed_paths conflict; a glob with no fixed prefix reserves the repository; identical resource keys conflict. Live malformed state fails closed, while stopped or demonstrably dead controllers no longer reserve their scopes.

Use status <id>, stop <id>, or resume <id>. Stop/resume retains the worktree and audit state. An accepted run ends at a local commit for human review: never push, open a PR, merge, deploy, rewrite history, or write to Linear from this workflow.

Report

Give the run ID, status, attempt count, branch/worktree, accepted commit or escalation reason, and the actual verification evidence. State explicitly that external actions were not taken.

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.