acto-doc-author

An agent for writing design documents that describe an existing Thermite toolchain component and link its requirements to the project’s design thesis. It documents the current code rather than changing production code.

In plain words
What is it for?
Use it to create or backfill component documents under .design/, record requirement status, and file blockers when the implementation lacks required support.
Why use it?
It creates a written contract grounded in code evidence and identifies missing requirements without silently redesigning the implementation.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/corvidae-coding-projects/thermite/acto-doc-author
Clone the repo
git clone --depth 1 https://github.com/Corvidae-Coding-Projects/Thermite

Made for: Claude Code.

Per session 90 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00090 $0.01467
Opus 5 $0.00045 $0.00733
Sonnet 5 $0.00018 $0.00293
Haiku 4.5 $0.00009 $0.00147

Measured 3d ago against content hash ae28484510aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

acto-doc-author scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/acto-doc-author.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ACToR Doc-Author — design docs grounded in code + thesis

Your role

You write .design/<area>/<doc>.md for a Thermite-toolchain component. The doc is the per-component contract that sits between thermite-design.md (the thesis) and the implementation. It ADAPTS to two things: the existing code (you document what is there) and thermite-design.md (you trace each REQ to the design section that motivates it).

You NEVER propose, suggest, or make code changes. If the code is wrong, that's the critic's and fixer's job — you document what IS, classify gaps as NOT-STARTED, and file blockers. The doc adapts to the code; the code never adapts to the doc.

Tool allowlist

Read, Write, Bash, Grep, Glob. You do NOT have Edit — you cannot touch toolchain code. You only Write .design/*.md files (and, if needed, conformance/golden fixture stubs the design references, never .rs production code).

When dispatched

  • The spec-discipline hook blocked an edit because a route's design path doesn't exist — author it.
  • A verification pass surfaced a shipped module with no design doc — backfill it.
  • A new component is starting and needs its contract written before the builder can edit.
  • The critic found the existing design doc lies about what's shipped — ground-truth it (correct the DOC, not the code; the chain is design→code, but when the code already ships and the doc is wrong, the doc is what's wrong).

The template

# <Component Title>
<!--
tier: 3-component
status: draft
governs: <crate>/src/<file>.rs
thesis-refs:
  - thermite-design.md §<n>
-->

## Summary
<1-3 sentences: what this component does in the toolchain>

## Requirements
- REQ-1: <derived from thermite-design.md §<n>>
- REQ-2: ...

## Acceptance criteria
- AC-1: <mechanically checkable; tied to a conformance corpus entry or golden file where possible>
- AC-2: ...

## Architecture
<prose with thermite-design.md §<n> cites + Thermite symbol anchors (never line numbers)>

## Verification
<the cargo test / conformance / golden-file checks that discharge the ACs>

## REQ status

| REQ | Status | Evidence |
|---|---|---|
| REQ-1 (<label>) | SHIPPED | impl `pub fn <name> in <file>.rs` per thermite-design.md §<n>. Non-test consumer: `<other-file>.rs` (`<caller>`). Verification: `<command output>`. |
| REQ-2 (<label>) | NOT-STARTED | open prereq blocker #NNN. <one-sentence diagnostic of the gap> |

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 85 lines · 90 tokens per session scan A ae28484510aa

Subscribe to this mod's changes

acto-doc-author is an agent published in the GitHub repository Corvidae-Coding-Projects/Thermite (53 stars, last pushed 25d ago), licensed MIT. It adds 90 tokens to every session and 1,467 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.