formal

An agent runbook for checking and troubleshooting formal methods: techniques that use mathematical models to verify that software behaves as specified. It lists source documents, commands, files, and escalation details for the formal-methods toolchain.

In plain words
What is it for?
Use it to check the formal tools, run formal verification commands, inspect generated summaries, and prepare evidence when a required check fails.
Why use it?
It gives developers a repeatable way to investigate formal verification and CI failures, including whether a problem occurs only in CI or also locally.

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/itdojp/ae-framework/formal
Clone the repo
git clone --depth 1 https://github.com/itdojp/ae-framework
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 661 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.00661
Opus 5 $0.00000 $0.00331
Sonnet 5 $0.00000 $0.00132
Haiku 4.5 $0.00000 $0.00066

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

Security

Grade A, and why

formal 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 yesterday.

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.

docs/agents/formal.md · 94 lines

How it starts

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

Agents Runbook: Formal Methods

🌍 Language / 言語: English | 日本語


English

When to use

  • when you need to verify that the formal methods toolchain is available and consistent
  • when you need to isolate the cause of a formal-related CI failure before escalating

What to load (primary sources)

  • docs/quality/formal-runbook.md
  • docs/quality/formal-full-run.md
  • docs/quality/formal-csp.md

Commands (copy/paste)

pnpm -s run tools:formal:check
pnpm -s run verify:formal
pnpm -s run formal:summary
pnpm -s run spec:check:tla

Artifacts to check

  • artifacts/formal/*
  • artifacts/formal/formal-summary-v1.json
  • artifacts/formal/formal-summary-v2.json
  • artifacts/hermetic-reports/formal/summary.json
  • Formal Aggregate summary in the PR comment stream

Escalation / follow-up

  • when tools are missing or versions do not match, record the raw tools:formal:check result without paraphrasing
  • record separately whether the failure is CI-only or reproducible in a local environment
  • if the failure blocks required checks, attach the latest formal summary artifact before requesting review help

日本語

When to use

  • 形式手法ツールチェーンの稼働確認が必要なとき
  • formal 関連 CI の fail 原因を切り分けるとき

What to load (primary sources)

  • docs/quality/formal-runbook.md
  • docs/quality/formal-full-run.md
  • docs/quality/formal-csp.md

Commands (copy/paste)

pnpm -s run tools:formal:check
pnpm -s run verify:formal
pnpm -s run formal:summary
pnpm -s run spec:check:tla

Artifacts to check

  • artifacts/formal/*
  • artifacts/formal/formal-summary-v1.json
  • artifacts/formal/formal-summary-v2.json
  • artifacts/hermetic-reports/formal/summary.json
  • PR comment stream 上の Formal Aggregate summary

Escalation / follow-up

  • ツール未導入やバージョン不一致は、tools:formal:check の生出力をそのまま記録する
  • CI 固有失敗かローカル再現可能かを分離して記録する
  • required checks を block する failure では、review 依頼前に最新の formal summary artifact を添付する

Read the full file on GitHub · 94 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. yesterday First seen · 94 lines · 0 tokens per session scan A aae1e5b1e7fd

Subscribe to this mod's changes

formal is an agent published in the GitHub repository itdojp/ae-framework (2 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 661 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.

Related

Other agents, from other repositories

playwright-test-generator

Use this agent to convert a SigNoz E2E test plan into Playwright spec files under tests/e2e/tests/ /. Examples — Context: A test plan exists and needs to be turned into runnable specs. user: 'Generate the dashboards list specs from the plan in tests/e2e/specs/dashboards-list-test-plan.md' assistant: 'Using the…

SigNoz/signoz · 0 tokens

playwright-test-healer

Use this agent to debug and fix failing SigNoz E2E Playwright tests. Examples — Context: A spec is red. user: 'tests/e2e/tests/dashboards/list.spec.ts is failing, fix it' assistant: 'Using the healer agent to debug each failing scenario and adjust the spec.' Context: After a frontend change a previously-green spec…

SigNoz/signoz · 0 tokens

playwright-test-planner

Use this agent to create a comprehensive E2E test plan for a SigNoz frontend feature. Examples — Context: A new feature has shipped and we need test coverage. user: 'Plan E2E tests for the alerts list page' assistant: 'I'll use the planner agent to read the relevant frontend source, navigate the page in a real…

SigNoz/signoz · 0 tokens

codex

Production OpenAI-Codex-capable rootfs/initramfs.

the-void-ia/void-box · 0 tokens

claude

Production Claude-capable rootfs/initramfs.

the-void-ia/void-box · 0 tokens

doc-style

Markdown documentation prose — RFCs, ADRs, files under docs/, and READMEs — follows the same one-paragraph-per-line rule as commit messages. Write each paragraph on a single line; do not hard-wrap prose to a fixed column. The renderer reflows it to the reader's display width, whereas manual mid-paragraph line breaks…

the-void-ia/void-box · 0 tokens