agentleFS
redhat-etredhat-et/ripwire/AGENTS.md

ripwire

AGENTS.md2.4k starsChanged 3 months agoApache-2.0View on GitHub

This repository follows the AGENTS.md convention. The full agent guide is CLAUDE.md; this file is the short form, and the two do not disagree. ripwire is a zero-runtime-dependency C++23 CLI that parses a codebase, ranks symbols by Personalized PageRank, and streams a deterministic minified XML map to stdout. No build type. -DCMAKE_BUILD_TYPE=Release defines NDEBUG, which compiles the DISCLOSE( msg ) trace out and blinds every degrade-path gate. CI builds both flavours; locally, use the plain one. Sanitizer build, required before…

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 12 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the redhat-et/ripwire repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about redhat-et/ripwire

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub, Bluesky and Hacker News (14 times).

On GitHub · 9

4 more on GitHub

On Hacker News · 2

The file

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

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

  • 1

    Very specific

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

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

    No build type. -DCMAKE_BUILD_TYPE=Release defines NDEBUG, which compiles the DISCLOSE( msg ) trace out and blinds every degrade-path gate.

    line 15

≈ “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

ripwire — agent instructions

This repository follows the AGENTS.md convention. The full agent guide is CLAUDE.md; this file is the short form, and the two do not disagree.

ripwire is a zero-runtime-dependency C++23 CLI that parses a codebase, ranks symbols by Personalized PageRank, and streams a deterministic minified XML map to stdout.

Setup

cmake -S . -B build && cmake --build build -j

No build type. -DCMAKE_BUILD_TYPE=Release defines NDEBUG, which compiles the DISCLOSE( msg ) trace out and blinds every degrade-path gate. CI builds both flavours; locally, use the plain one.

Test

python3 test/pargates.py . ./build/ripwire -j 6     # full gate suite, parallel — run in the foreground
t=$(mktemp -d); ./build/ripwire . >"$t/a"; ./build/ripwire . >"$t/b"; diff -q "$t/a" "$t/b"   # determinism: byte-identical (outputs OUTSIDE the crawled tree)
./build/ripwire . | xmllint --noout -                     # XML well-formedness

Sanitizer build, required before a PR:

cmake -S . -B asan -DRIPWIRE_ASAN=ON && cmake --build asan -j
LSAN_OPTIONS=suppressions=lsan_suppressions.txt ./asan/ripwire . >/dev/null

A new test/*check.sh must be added to test/regression.sh in the same commit, or test/manifestcheck.sh fails.

Rules that will fail your change if you break them

  • Gate first, code second. Rankings and call graphs look plausible whether or not they are right.
  • Determinism. Sorted crawl order before ID assignment; fixed-block reductions in canonical order; no floating-point reassociation in the PageRank translation unit.
  • Honest output. Floors are labelled counts_floor="1"; a zero is "none found", not "none exists"; every truncation is disclosed. Do not add a surface that rounds or guesses silently.
  • ASSUME( cond ) for invariants; DISCLOSE( sink, why ) for recoverable errors (the sink sets the output field that tells the reader; DISCLOSE( msg ) alone ships nothing); PANIC for corruption. Never ASSUME( false ) on a degrade path — release deletes the fallback behind it.
  • No std::map / std::unordered_map — HashMap<> for hash lookup, gtl::btree_map for ordered iteration, dynamic_map for bounded hot paths.
  • Allman braces, spaces inside parens (f( x )), ~160–200 column wraps, index-vs-count naming (nodeId vs nodeCount).

Documentation

NeedFile
Full C++ style, guardrails G1–G5, submission checklistCONTRIBUTING.md
Pipeline, data model, determinism contractdocs/ARCHITECTURE.md
Measured claims and their provenancedocs/EVALS.md
Per-verb reference (generated from the binary)docs/COMMANDS.md
Index of everything under docs/docs/README.md
The authoritative flag list./build/ripwire --help

--help is generated from the binary. If a document disagrees with it, the document is the bug.

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.