agentleFS
vu1nvu1n/pillbox/.claude/skills/brief-amend/SKILL.md

brief-amend

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

Propose an amendment when a coding task conflicts with a ratified (read-only) brief decision. Use when the gate blocks you with "ratified decision is read-only" or "amendment-required", or when you realize a task cannot be done without changing an active decision. The correct escalation — never edit the decision to make your code pass.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Commit ONLY the amendment + SIGNOFF (no code).

    line 44

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

Proposing a brief amendment

A ratified (status: active) decision is READ-ONLY to coding work. If your task cannot be done without changing it, you do not edit the decision and you do not force the code through. You propose an amendment and STOP for human ratification. (Rewriting the decision to ratify your own code is the one failure this system exists to prevent.)

When this applies

  • The gate blocked your commit with a ratified-edit or amendment-required message, or
  • You can see your task contradicts an active decision's invariant before you start.

Procedure

  1. Do not edit the decision doc, and git restore any conflicting code you wrote. You cannot make a change valid by rewriting the constraint it violates.
  2. Write .brief/amendments/<anchor-id>.md:

    # Amendment proposal: <anchor-id>
    
    **Decision:** doc://<project>/<doc-id>@latest#<anchor-id>
    **Proposed by:** <agent/run>   **Date:** <date>
    
    ## What should change
    <the new invariant, or the clause to retire — precisely.>
    
    ## Why
    <the engineering reason the standing decision no longer holds, or the new requirement.>
    
    ## Code that needs it
    <the change blocked by the current decision; files / sketch.>
    
    ## Impact / risk
    <what else the decision protects; what breaks if it changes; migration notes.>
  3. Record <anchor-id> amend-proposed: <one-line reason> in .brief/SIGNOFF.
  4. Commit ONLY the amendment + SIGNOFF (no code). Never --no-verify.
  5. Stop and report the task is blocked pending ratification. Do not keep trying to land the code, and do not look for a workaround.

A human ratifies the amendment (optionally advised by the brief-review skill); only then does the decision move to a new revision and the code land.

After ratification, run brief doctor. The new revision changes the anchor's hash, so every code ref pinned to the old revision is now stale-ref — the code was written against a decision that has since moved. doctor lists each one; re-verify the code still conforms and re-pin (brief pin). This is the drift a ratify silently creates, caught mechanically instead of by a human noticing.

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.