Skip to content
Back to skills

Decide

ASecurity

Adjudicate Foreman decision proposals, record accepted decisions as the repo's ADRs, and turn PR review comments into proposals. Use when a worker proposes a decision, when PR comments arrive, or when the user wants decisions recorded.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgoapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add olimorris/foreman --skill decide --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Decide?

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

Security grade badge for Decide
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/olimorris-decide/badge)](https://www.skillsdirectory.com/skills/olimorris-decide)

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: decide
description: Adjudicate Foreman decision proposals, record accepted decisions as the repo's ADRs, and turn PR review comments into proposals. Use when a worker proposes a decision, when PR comments arrive, or when the user wants decisions recorded.
---

# Decisions

## Set up once per repo

When `decisions.record` is `"ledger"` in `.foreman/config.json`, the user chose to keep decisions only in Foreman's ledger. Skip these steps, never open a decisions PR, and leave accepted decisions in the ledger. The `adr` tool refuses everything but `index` while it's set. Only the user changes that, with `foreman interview`.

1. Call `adr` with the action `detect`. It reads the base branch, not the user's checkout, and saves the convention to `decisions.adr` in `.foreman/config.json`: folder, numbering, title line, status field, superseded handling, README and template. Show the user the result in two lines and ask them to confirm it.
2. If it finds no ADR folder, ask the user whether to start one in `docs/decisions`. Only on a yes, call `adr` with the action `init`. The folder and its README arrive with the first decisions PR. When the user has an `adr` skill, in `.foreman/skills/adr/SKILL.md` or `~/.config/foreman/skills/adr/SKILL.md`, the new folder takes its title line and status style, and its README describes that format.
3. If the convention's README or template has writing rules, read them now. Every record you accept must follow them.
4. If the `user-skills:adr` skill is listed, load it now. It's the user's format for every record you accept. Where it disagrees with an existing ADR folder, the folder's convention wins.

## Adjudicate a proposal

A watcher line `proposed T1: D4 <title>` means a worker proposed one. T1 stays running while you decide. Read `.foreman/decisions/D4.md`, then:

- **Already settled** (an accepted decision or ADR covers it, or the brief's intent answers it): call `reject` with a reason that points at the record, e.g. "ADR 35 already says one file per layer".
- **Only a local choice**: reject with a reason telling the worker to decide inside its own paths. When `autonomy.decisions` is "all", ask the user first, as for a cross-cutting one.
- **Really an edit outside the worker's paths** (it needs a file it doesn't own, and nothing other tasks rely on changes): reject it, saying it isn't a decision, and call `own` for T1 with that file. `own` tells the worker it can edit it. If another task owns the file, `own` names it, so wait for that task to finish or ask its worker to make the change.
- **Cross-cutting**: `autonomy.decisions` in your session-start context says whether you ask the user or decide it yourself:
  - "none": decide it yourself.
  - "breaking", the default: ask when accepting it would make a breaking change, by the repo's definition in your session-start context, with no backwards-compatible route, or it covers a protected path. Decide the rest, including one that reverses an accepted decision or ADR.
  - "visible": also ask when accepting it would reverse an accepted decision or ADR, or it changes what a person sees or uses, such as CLI output, config, UI or an API.
  - "all": ask about every proposal.

  To ask, record the question with `ask`, giving the question, the `decision` D4 and your recommended answer as `call`, then ask the user. Put the question first, with the options in a line each. The worker carries on with whatever the decision doesn't block, so don't hold anything else up. Accept or reject as they say, which records their answer to the question on its own.

  To decide it yourself, do it now. Make the call that best serves the user's intent and the plan. To reject, give a reason the worker can act on. To accept, rewrite the title and body to the repo's ADR rules. With an `adr` skill, write the body in its format, with its sections in its order, and leave out the title line and status, since `adr` with the action `write` adds those. Call `accept` with the `decision` D4, the `title` (the decision, and what it protects), the rewritten `body` as text, and the `paths` it covers, such as `src/export/**`. Add `supersedes` with the ADR numbers it reverses, and `slug` when the repo's filenames use a style the default slug won't match.
- **It would break one of the user's never rules**: this one waits for the user whatever `autonomy.decisions` says, "none" included. Record the question with `ask`, giving the question and the `decision` D4, then ask them. Put the question first, with the options in a line each. Accept or reject as they say, which records their answer to the question on its own.

Accepting a worker's proposal without asking records it as Foreman's call. It shows in the proposer's PR under Decisions, and in the run summary, so the user checks it when they review. Approving the PR agrees with it.

Accepting messages the proposer and every in-flight worker whose owned paths overlap its `paths`. A decision with no paths goes to every worker. Rejecting messages only the proposer.

## Overrule a decision Foreman made

When the user disagrees with a decision Foreman accepted, usually in a comment on the task's PR, call `reject` for D4 with the user's reason. It messages every worker the acceptance reached, telling them to undo work that follows it. Once the decision is in the decisions PR, `reject` refuses. Propose a decision that supersedes it instead, and accept it as the user said.

## Draft decisions from planning

During intake, record the user's draft decisions with `propose` (they show as proposed by `orchestrator`). Accept each one only after the user confirms it.

## PR comments that state a rule

When `pr-comments` wakes you, read the new comments. A comment that disagrees with a decision or call listed in the PR's Decisions section overrules it: for a decision, see "Overrule a decision Foreman made", and for a call, tell the worker to change it with `send`. A comment that states a rule beyond this one PR ("we never block the main thread on disk I/O", "exports always keep the original audio") becomes a proposal. Propose it with a `title` stating the rule and a `body` quoting the comment and linking the PR, then accept it, since the user wrote it. Comments about this PR only are for the worker, so pass them on with `send`.

## Record accepted decisions in the repo

Skip this section when `decisions.record` is `"ledger"` in `.foreman/config.json`.

Open the decisions PR without asking. When a few decisions have been accepted, and always once every task in the plan has a PR or has stopped, call `adr` with the action `write` and no `dry_run`. Then tell the user the PR link in one line. It makes one docs-only branch from the base branch, writes the records with the next free numbers, moves superseded ones the way the repo does, then pushes and opens a PR. The user's checkout isn't touched. The PR's title is short, such as `docs: record ADR 206 on the scrub update rate`, and its description has the full decision titles. When `autonomy.merging.maxRisk` is "low" or above, the watcher merges it itself once every check passes, because it only adds records under the decisions folder. You never merge it. If something stops that, a `decisions-waits` line says why, and you tell the user in one line that the PR waits for them. With `maxRisk` "none" the user merges it. The watcher reports when that PR gets comments or is merged. After the merge, call `adr` with the action `index`.

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.