agentleFS
heuremaheurema/signum/AGENTS.md

signum

AGENTS.md18 starsChanged 7 months agoMITView on GitHub

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep repo-specific working rules in one file and link to deeper docs instead of duplicating them.

    line 12
  2. Very specific:

    Treat root commands/signum.md as the canonical source for pipeline behavior.

    line 30
  3. Very specific:

    Treat platforms/*/commands/*.md as overlays, not peer sources of truth.

    line 31
  4. Very specific:

    Prefer deterministic shell/JSON changes in lib/ over adding more model behavior.

    line 32
  5. Distinctive:

    If a change touches core behavior, update the matching docs or parity checks in the same diff.

    line 33
  6. Distinctive:

    Keep changes bounded: docs-only, deterministic-core, or prompt/orchestration.

    line 34
  7. Very specific:

    When changing verification logic, prefer shell tests in tests/ and keep outputs structured JSON.

    line 35
  8. Distinctive:

    Update this file when a new agent-facing surface, canonical source, or high-risk path is introduced.

    line 57
  9. Very specific:

    Keep this file short; move detailed rationale into ARCHITECTURE.md, docs/SECURITY.md, docs/RELIABILITY.md, or docs/QUALITY_SCORE.md.

    line 58
  10. Distinctive:

    Prefer no-code alternatives when possible: docs, configuration, process changes, or clearer existing workflows beat new code.

    line 63
  11. Distinctive:

    Do not recommend adding dependencies unless the benefit is explicit and stdlib/built-in options are insufficient.

    line 64
  12. Very specific:

    Treat workflow, dependency, auth, security, eval/subprocess/shell, install scripts, public API, schema, command behavior, and runtime …

    line 65
  13. Distinctive:

    Do not publish contributor trust scores.

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md

AGENTS.md

Purpose

  • Give human and AI contributors a short map of the repo surfaces that matter first.
  • Keep repo-specific working rules in one file and link to deeper docs instead of duplicating them.
  • Make it obvious which changes are just docs, which change deterministic core behavior, and which change LLM orchestration.

Agent Entry Points

SurfacePathRoleOwnerNotes
Primary product entry pointcommands/signum.mdCanonical pipeline behavior (CONTRACT -> EXECUTE -> AUDIT -> PACK)@viSource of truth for core Signum behavior
Init/bootstrap entry pointcommands/init.mdBootstraps project.intent.md, project.glossary.json, and optional harness docs@viRoot variant; Claude overlay lives under platforms/claude-code/commands/init.md
LLM promptsagents/Contractor, engineer, reviewer, synthesizer, init synthesizer prompts@viChanges here affect agent behavior directly
Deterministic corelib/Shell checks, DSL runner, scanners, state/policy helpers@viPrefer tests for every behavioral change
Schemas and contractslib/schemas/Contract / proofpack / modules schemas@viTreat schema changes as compatibility-sensitive
Platform overlaysplatforms/Surface-specific command/docs variants@viRoot command/docs remain canonical unless an overlay deviation is explicitly documented
Codex plugin metadata.agents/plugins/marketplace.json, .codex-plugin/plugin.json, platforms/codex/.codex-plugin/plugin.json, platforms/codex/SKILL.mdCodex App marketplace, install manifest, and skill entry point@viKeep version aligned with .claude-plugin/plugin.json; Codex skill remains an overlay
OpenSpec workflowopenspec/config.yaml, .claude/commands/opsx/, .claude/skills/openspec-*/, .codex/skills/openspec-*/Spec-driven change workflow and generated agent entry points@viRegenerate managed instructions with openspec update; review config changes before regeneration
Verification surfacetests/Shell tests for deterministic behavior@viIf a deterministic behavior changes, add/update a test

Repo-Specific Rules

  • Treat root commands/signum.md as the canonical source for pipeline behavior. See docs/reference.md.
  • Treat platforms/*/commands/*.md as overlays, not peer sources of truth. Intentional deviations must be documented in docs/overlay-deviations.json.
  • Prefer deterministic shell/JSON changes in lib/ over adding more model behavior.
  • If a change touches core behavior, update the matching docs or parity checks in the same diff.
  • Keep changes bounded: docs-only, deterministic-core, or prompt/orchestration. Do not mix all three unless the change is impossible to split.
  • When changing verification logic, prefer shell tests in tests/ and keep outputs structured JSON.

High-Risk Paths

  • commands/signum.md — canonical orchestration behavior
  • agents/contractor.md, agents/engineer.md, agents/synthesizer.md, agents/reviewer-claude.md — model prompts
  • lib/dsl-runner.sh — verify DSL execution surface
  • lib/policy-scanner.sh, lib/policy-resolver.sh — execution policy enforcement
  • lib/contract-injection-scan.sh — prompt/contract injection defense
  • lib/schemas/*.json — compatibility-sensitive contract/proofpack formats
  • .agents/plugins/marketplace.json, .codex-plugin/plugin.json, platforms/codex/.codex-plugin/plugin.json, platforms/codex/SKILL.md — Codex App marketplace, install, and orchestration surface
  • openspec/config.yaml, .claude/commands/opsx/, .claude/skills/openspec-*/, .codex/skills/openspec-*/ — OpenSpec workflow configuration and generated orchestration prompts

First Reads By Task Type

  • Understand the product: README.md, project.intent.md, docs/how-it-works.md
  • Change core pipeline behavior: commands/signum.md, docs/reference.md, matching tests/*
  • Change init/bootstrap behavior: commands/init.md, agents/init-synthesizer.md, lib/init-scanner.sh, lib/init-harness-scaffold.sh, tests/test-init*.sh
  • Change docs/parity policy: docs/reference.md, docs/overlay-deviations.json, lib/doc-parity-check.sh, tests/test-doc-parity.sh
  • Change Codex App plugin support: .agents/plugins/marketplace.json, .codex-plugin/plugin.json, platforms/codex/.codex-plugin/plugin.json, platforms/codex/SKILL.md, tests/test-codex-plugin-metadata.sh
  • Change OpenSpec workflow support: openspec/config.yaml, generated .claude/ and .codex/ OpenSpec entries; run openspec update and openspec doctor --json
  • Change future architecture direction: docs/plans/2026-03-15-large-project-support-roadmap.md, docs/thin-cli-extraction-plan.md

Update Protocol

  • Update this file when a new agent-facing surface, canonical source, or high-risk path is introduced.
  • Keep this file short; move detailed rationale into ARCHITECTURE.md, docs/SECURITY.md, docs/RELIABILITY.md, or docs/QUALITY_SCORE.md.
  • Review after major pipeline, schema, or platform overlay changes.

Review guidelines

  • First check whether the PR should exist at all: non-trivial changes need linked Issue or Discussion intent before code review.
  • Prefer no-code alternatives when possible: docs, configuration, process changes, or clearer existing workflows beat new code.
  • Do not recommend adding dependencies unless the benefit is explicit and stdlib/built-in options are insufficient.
  • Treat workflow, dependency, auth, security, eval/subprocess/shell, install scripts, public API, schema, command behavior, and runtime behavior changes as high-risk.
  • For high-risk PRs, ask for maintainer attention instead of continuing ordinary review unless maintainer/override-intake is present.
  • Public comments must be polite, concise, and actionable.
  • Do not publish contributor trust scores.

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.