agentleFS
dislop-aidislop-ai/dislop/AGENTS.md

dislop

AGENTS.md2 starsChanged 7 days agoApache-2.0View on GitHub

Guidelines for contributors and AI agents working in the dislop repository.

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository7 other files it gives its agents.

The file

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

7 rules. About 0 are common, 0 are distinctive, and 7 are 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.

  • 7

    Very specific

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

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

    Micro-Kernel Purity (src/kernel/): Keep src/kernel/ completely agnostic to specific prose clichés or UI template rules.

    line 7
  2. Very specific:

    Only deterministic pack.check(doc, ctx) hooks may call ctx.reportDefect(...) (error | warning).

    line 9
  3. Very specific:

    Voice Reference: Follow docs/brand-and-voice-guide.md and docs/brand/voice.json.

    line 19
  4. Very specific:

    Mandatory Pre-Flight Check: Before shipping or posting outbound copy, run node ./bin/dislop.mjs check <file> --no-llm --fail-on warning and …

    line 20
  5. Very specific:

    Local-First Default: Default routing (routing: "local") performs zero network uploads.

    line 24
  6. Very specific:

    Offline Deterministic Tests: All unit and integration tests (npm test via node --test) must run 100% offline using local mock servers or …

    line 25
  7. Very specific:

    Pending Website Extraction: Do not modify site/, content/, or awesome/ during CLI work until the website repo extraction in …

    line 26

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

Guidelines for contributors and AI agents working in the dislop repository.

1. Architecture Boundaries

  • Micro-Kernel Purity (src/kernel/): Keep src/kernel/ completely agnostic to specific prose clichés or UI template rules. All linguistic, UI, and slide rules belong inside modular Packs under packs/<scope-or-lang>/<scenario>/{pack.json,scripts/,prompts/} (scripts/*.mjs via definePackScripts for deterministic checks/gates, and prompts/*.md for lazy-loaded LLM instructions).
  • Dual-Track Enforcement:
    • Only deterministic pack.check(doc, ctx) hooks may call ctx.reportDefect(...) (error | warning).
    • Prompt rules (pack.resolvePrompt and .pack.md) are structurally restricted to emit Suggestions (strong | moderate | hint) and must never fail CI (Exit Code 0).
  • High-Restraint Default Packs: Built-in prose packs (packs/en/prose, packs/zh/prose) must only flag zero-information filler (safe to delete) or self-contained syntactic AI shells—never ordinary domain claims that merely contain an abstract verb.
  • Strict Single-Language Separation:
    • src/, packs/common/, packs/en/, README.md, and PRODUCT.md must stay strictly in English (no mixed Chinese specimen strings).
    • packs/zh/ contains pure Chinese rules, prompts, and examples.

2. Zero AI Slop in Outbound Copy (Global Guiding Principle)

  • Plain, Direct Public Voice: Every public-facing text in dislop (READMEs, documentation, CLI help, release notes, issues, PR comments, benchmark notes, and social posts or replies) must read like plain, direct engineering prose—never AI filler, sycophantic praise (Great point!, Spot on!), balanced marketing triads, rhetorical-question openers, pull-quote closers, or costumed editorial roleplay.
  • Voice Reference: Follow docs/brand-and-voice-guide.md and docs/brand/voice.json.
  • Mandatory Pre-Flight Check: Before shipping or posting outbound copy, run node ./bin/dislop.mjs check <file> --no-llm --fail-on warning and confirm 0 Defects and 0 Suggestions (and run dislop verify after edits to confirm numbers, links, and quotes stay intact).

3. Privacy & Testing Guardrails

  • Local-First Default: Default routing (routing: "local") performs zero network uploads. Ambient environment keys (OPENAI_API_KEY, etc.) must always pass through src/runtime/privacy-gate.mjs.
  • Offline Deterministic Tests: All unit and integration tests (npm test via node --test) must run 100% offline using local mock servers or injected adapters—never live external LLM APIs.
  • Pending Website Extraction: Do not modify site/, content/, or awesome/ during CLI work until the website repo extraction in docs/MIGRATION-TODO.md is completed.

4. Verification Commands

npm test
npm run dogfood

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.