Skip to content
memex

Reference

memex audit

List where intent is missing or a citation is broken.

What it does

For the whole repo, or the paths and globs you name: files with no header, folders with no README, files grown too long, one-liners that run long, unresolved references and duplicate ids. Each kind names its fix.

It is a report, not a gate: it exits 0 whatever it finds, and 1 only if a path you named does not exist.

Flags

--limit N
Caps each kind’s list.
--json
One JSON document, kinds in order, with the finding count.

One folder

repo
$ memex audit src
audit       src · 148 files · 12 folders · 2 findings
headers     (showing 1 of 1; files with no header)
  src/a.rs
(no header): add a comment block atop the file; its first sentence states the file's purpose
cites       (showing 1 of 1; unresolved)
  src/z.rs  → NAME-404
(cites): fix the reference or remove it

← All verbs