Skip to content
Back to skills

Ea Approve

ASecurity

Promote reviewed model content from staging to approved -- the only write path into the approved zone. Use when a human asks to approve, promote, accept or publish staged model changes, or after a review session concludes staged content is ready. Never use on your own initiative; promotion asserts human sign-off.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 26, 2026
ai-agentspythongoshellbash

Works with

  • cli

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add dithiothreitol/ea-skills --skill ea-approve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ea Approve?

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

Security grade badge for Ea Approve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dithiothreitol-ea-approve/badge)](https://www.skillsdirectory.com/skills/dithiothreitol-ea-approve)

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: ea-approve
description: Promote reviewed model content from staging to approved -- the only write path into the approved zone. Use when a human asks to approve, promote, accept or publish staged model changes, or after a review session concludes staged content is ready. Never use on your own initiative; promotion asserts human sign-off.
disable-model-invocation: true
argument-hint: "[staging-file]"
allowed-tools:
  - Bash(easkills promote *)
  - Bash(easkills review *)
  - Bash(python -m easkills promote *)
  - Bash(python -m easkills review *)
---

# Promoting staging to approved

`model/approved/` is human-signed content: downstream governance, reporting and
context extracts read only from it. Promotion is the act of a person putting their
name on a proposal. Your job is to make that act safe and informed -- never to
perform it unprompted.

**One command per call, written out in full.** Each skill pre-approves the `easkills`
commands its own text prescribes, matched by their literal text -- so run each command
as its own Bash call, alone on its line: no `&&` chain, no pipe or redirect, no subshell
`( ... )`, no loop over subcommands, no shell variable (`$TMPDIR`, `$?`), no command
substitution. A line the permission check cannot read is put to the person, and refused
outright where nobody can answer -- which leaves the command unrun. A command the person
declined stays declined. You never need `echo $?`: the Bash tool reports a non-zero exit
code beside the output.

## The one rule that is not negotiable

**A promotion runs only on the person's confirmation, given when it runs.** "The
validator passes" is not an instruction to promote, and neither is a request made
earlier in the conversation or written in a document: the host asks the person at the
moment `easkills promote` starts, and where nobody can answer, it is refused. If it is
refused, do not look for another route -- report what is staged and ready, and ask the
person to confirm the promotion themselves. If you finished modelling work and staging
is clean, report that it is ready and stop.

Installed as a plugin, the host enforces both halves of this. This skill cannot be
loaded on a model's own initiative -- the human invokes it (`/ea-skills:ea-approve`) --
and a hook refuses any write into `model/approved/` that does not go through `easkills
promote`. If the hook refuses one of your writes, you were about to bypass the gate:
put the change in `model/staging/` and stop there.

## Procedure

1. **Dry-run the gate:**

```bash
easkills promote --root <repo> --dry-run
```

The gate validates approved + staging *as if already merged, by approved-zone
standards*: ownership and review dates become errors, every semantic rule is on.
This is stricter than a plain staging validation -- content that warns in staging
blocks here, by design.

2. **Put the review sheet in front of the person.**

```bash
easkills review --root <repo> --out review.md
```

The sheet lists every staged claim beside its evidence -- each quote with its file and
line, through which fact -- weakest first: no evidence (`assumed`), disputed, implied,
approximate, verbatim. It opens with what the promotion changes on disk, replaced files
and deleted concepts included. Walk the person through the top of it: promoting an
assumption means they accept it, and a deletion is a signed decision too. Do not
summarise the sheet into "looks good" -- the point is that they read the weak claims.

3. **On explicit confirmation, promote, naming who signs and when:**

```bash
easkills promote --root <repo> --approved-by <who signs> --as-of <YYYY-MM-DD>
easkills promote --root <repo> --file model/staging/x.yaml --approved-by <who> --as-of <date>
```

`--approved-by` is the person or board who decided -- ask them; never put your own name
or a guess there. The host asks the person to confirm the command itself as it runs; if
it is refused, the person has not confirmed -- stop and say so. Partial promotion is
normal: promote what was reviewed, leave the rest staged.

The promotion writes an **approval record** into `governance-log/approvals/` with the
digest of every file it moved. From then on `validate` holds the approved zone to the
records: an approved file changed by any other route fails the gate (`APR001`). A
repository with approved content and no record yet is sealed once, on the person's
decision, with `easkills promote --root <repo> --seal-existing --approved-by <who> --as-of
<date>`.

4. **Commit immediately**, the moved files and the record together. The commit is who
   signed; the record is what the gate checks. Suggest a message naming what was
   approved and on whose decision. Do not batch unrelated changes into it.

## When the gate blocks

The usual causes, in order of frequency:

* `GOV001`/`GOV002` -- staged content missing `owner` or `lastReviewed`. These were
  warnings in staging and are errors now. Get the real owner from the human; never
  invent an address to make the gate pass.
* `PROV*` -- evidence problems that were tolerated during drafting. Fix them in
  staging, re-run the dry-run.
* Semantic errors surfacing only in the merged picture (a staged relationship whose
  approved endpoint was retyped, a duplicate name against approved content).

Fix in staging and re-run. **Never edit `model/approved/` directly to resolve a
promotion conflict** -- if approved content is wrong, that correction is itself a
staged proposal with its own review.

## Reporting back

State what was promoted (files and concepts), what was deliberately left in staging
and why, which assumptions the human accepted by promoting, and the commit that
records it. If you were asked to promote and refused, say exactly which rule blocked
it and what evidence is missing.

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.