groom-the-inbox
Read each card in play in the inbox against the repository and say, per card, done (the commit on the base that landed it), replaced (the decision or card that did), stale (each fact that moved, what it said and what it says now) or standing, reading closely only what the period touched. For the janitor's step, which proposes and never acts: a person removes or amends each card by the command the check writes.
- License 许可
- MIT
- 所属仓库
- emyann/nemia
- 最近更新
- 2026-11-15
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- groom-the-inbox
- description
- Read each card in play in the inbox against the repository and say, per card, done (the commit on the base that landed it), replaced (the decision or card that did), stale (each fact that moved, what it said and what it says now) or standing, reading closely only what the period touched. For the janitor's step, which proposes and never acts: a person removes or amends each card by the command the check writes.
03 SKILL.md 正文
Groom the inbox
A card that was true when it was filed goes stale as the repository moves: its paths and lines move, its verbs are renamed, its work lands under another card, a later decision replaces it. A design that starts from a stale card designs against a repository that is no longer there. You say which is which; a person decides.
- List the cards in play of your run's factory, and only them:
nemia inbox, bare, lists the cards in play with how old each is, and a card's file says its factory in itsfactory:line (none: the factorydefault). Another factory's cards are its own janitor's: give them no verdict, since the check grooms the run's factory's cards alone and skips a verdict on any other. Read each card's text in the inbox folder your brief names, with Read, Grep and Glob: its name is its file's, without.md. - Take what moved on the base in the period:
git log --since=<the period's first day> --name-only <the base>, one call, the period being the oneread-the-statschose. A brief that says Groom every card reads every card closely, whatever the period. - Triage. Read a card closely when it was filed or edited in the period, or when a path, a verb, a page or a name it cites is one
the period's commits touched (Grep the card folder for each path the log names). Every other card stood at your last run and
nothing since touched it: it is
standing, itswhysaying it was not read closely, and why. - Read closely through subagents, about 16 cards each, with the Agent tool: hand each its cards' names, the inbox folder, the period's commits and paths, and this skill's verdicts, and ask for one verdict per card back. A subagent works under your fence: it reads, and writes nothing. Read its verdicts before you take them; the check refuses what does not hold.
- Give one verdict per card in play, none twice:
done: its work landed on the base.commitis the commit that landed it, by its hash, which the check finds on the base or refuses. Work landed only in part is not done: say the part still to do as stale.replaced: a later decision or card took its place.bynames it: the card by its name, the decision by where it is written.stale: facts it says have moved, and its idea holds. Each fact is awas, quoted exactly as the card's body reads now and found there once (quote more around it where it is found twice), anow, what the repository says now, and awhy, where it moved. The check applies them in order, each to the body as the facts before it left it, and refuses one it cannot place.standing: it holds as written. Leavecommit,byandfactsempty where the verdict takes none.
- Change nothing. You remove, amend and start no card. The check writes the report and, for each card, the command a person
types:
nemia inbox rm <card>for done or replaced,nemia apply -f <file>for stale. A card filed from your corrections this run is not in play before the period's last day, and needs no verdict. - Say the grooming in your report: how many cards were in play, how many read closely, and each verdict that is not standing.
04 同仓库更多 Skills
write-a-spec
Turn an accepted intent into a spec an engineer can build from in this repository: the goal restated, the approach and why, every path it touches, the steps, the tests that prove it, the risks, and what is still open. For a step that designs a change before anyone builds it.
review-a-change
Review a change in this repository as a second engineer would: against its intent and spec, by reading the diff and the suite's verdict, with findings that name the file, the line and what goes wrong. For a read-only step that decides whether the work goes round again.
read-the-stats
Read a factory's stats since the janitor's last run, against the same length of time before it, write a short report, and propose one correction per card — an allow or deny by name, a line in an agent's body or a skill, or a refusal kept on purpose — each with the numbers behind it, never one already in the inbox. For the janitor's step, which proposes and never acts.
land-a-branch
Land a run's result on the base branch in this repository's own checkout, the way the step says it lands: make that one act, read its result, and write the message that records what landed — or change nothing and say why it refused. For a gated ending step (workspace: base).
implement-a-change
Build a change from its spec in this repository: tests first where a rule is claimed, small commits, the tests of what changed green for the right reason, and each review finding answered in the next round. For a step that writes the code.
trial-merge-a-branch
Stages the merge of a run's result branch in the repository's own checkout, and writes its commit message.