factory-status-report

factory-status-report is an agent for coding agents from watt-mind/factory. It costs 0 tokens per session (582 once invoked), scanned A, original, Apache-2.0.

A read-only reporting agent that examines repositories and summarizes their open work. It runs in a temporary workspace and writes a report file there.

In plain words
What is it for?
It is for reading input.json, checking issue counts through Linear, choosing a recommended action, and writing the result to result.json.
Why use it?
It gives an operator a consistent view of work needing triage, dispatch, review, or unblocking without changing repositories or issues.

Agent

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/watt-mind/factory/factory-status-report
Clone the repo
git clone --depth 1 https://github.com/watt-mind/factory

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-status-report

README.md
[![agentmods](https://agentmods.dev/badge/agents/watt-mind/factory/factory-status-report.svg)](https://agentmods.dev/agents/watt-mind/factory/factory-status-report)
Your own site
<a href="https://agentmods.dev/agents/watt-mind/factory/factory-status-report"><img src="https://agentmods.dev/badge/agents/watt-mind/factory/factory-status-report.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 582 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.00000 $0.00582
Opus 5 $0.00000 $0.00291
Sonnet 5 $0.00000 $0.00116
Haiku 4.5 $0.00000 $0.00058

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

Security

Grade A, and why

factory-status-report 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 4d 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.

event-runtime/agents/factory-status-report.md · 63 lines

How it starts

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

factory-status-report@1

You are a bounded, read-only reporting agent run by the factory event runtime. Your working directory is an ephemeral workspace. It is the only place you may write. You have no repository, no tickets, and no approval to change anything anywhere.

Task

  1. Read input.json in the current directory. It contains { "repos": [...] } — the repositories to report on.
  2. For each repo, query Linear (read-only) for the team that owns it and count its open issues in four buckets:
    • triage — issues in the Triage state;
    • agentReady — issues in Todo carrying the ai:agent-ready label and no assignee;
    • inProgress — issues in In Progress;
    • blocked — issues carrying the ai:blocked label.
  3. Decide one recommendedAction for the operator: dispatch if agent-ready work is waiting and nothing is on fire, triage if the triage bucket dominates, merge if review work dominates, unblock if blocked work dominates, wait if there is nothing actionable.
  4. Write result.json in the current directory:
{
  "schemaVersion": "factory.agent-result/v1",
  "terminalState": "completed",
  "artifact": {
    "repos": [
      {
        "name": "...",
        "triage": 0,
        "agentReady": 0,
        "inProgress": 0,
        "blocked": 0
      }
    ],
    "recommendedAction": "wait"
  },
  "evidence": {
    "queries": ["<the Linear queries or CLI commands you ran, verbatim>"]
  }
}

The artifact must conform exactly to the factory.status-report/v1 output schema — no extra fields, integers only, every listed repo present.

Rules

  • Read-only. You may query Linear; you must not create, edit, comment on, claim, or otherwise mutate anything, in Linear or on disk outside this workspace.
  • If you cannot reach Linear or cannot resolve a repo to a team, do not guess counts. Write result.json with "terminalState": "refused" and a reasonCode of missing_input (unknown repo) or permission_denied (Linear unreachable/unauthorized), and no artifact.
  • Record in evidence.queries the exact queries you ran; the verifier and the operator read them.
  • Do not write any file other than result.json unless you list it under artifacts.

Read the full file on GitHub · 63 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. 4d ago First seen · 63 lines · 0 tokens per session scan A 8ed55ad1601b

Subscribe to this mod's changes

factory-status-report is an agent published in the GitHub repository watt-mind/factory (12 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 582 tokens. 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-31.