Skip to content

Docs refactor — CLAUDE.md signal-to-noise, README as a product pitch#209

Merged
josephnef merged 1 commit into
masterfrom
docs-refactor
Jul 7, 2026
Merged

Docs refactor — CLAUDE.md signal-to-noise, README as a product pitch#209
josephnef merged 1 commit into
masterfrom
docs-refactor

Conversation

@josephnef

Copy link
Copy Markdown
Collaborator

What

Both top-level docs rewritten for their actual audiences. Net: −873/+375 lines.

README (408 → 183) — a product pitch for humans

  • Leads with Why devourer: no kernel module / no DKMS pain, cross-platform via libusb (incl. Android/Termux), faster-than-kernel startup, per-packet radiotap control (rate/power/channel per frame), FHSS-speed hopping, 5/10 MHz narrowband, built-in radio instrumentation.
  • Chip information lives only in the Supported hardware table — the HAL genealogy, chip-id dispatch and strategy-interface prose is gone from README (CLAUDE.md keeps it, where the maintainer-agent needs it).
  • Project layout section removed.
  • The 115-line env-var catalogue is a single pointer to the env: tags in src/DeviceConfig.h — one source of truth, nothing to rot.
  • Example binaries become a plain-language table ("Wi-Fi motion sensing from beamforming reports"); register addresses and driver jargon stay out of everything above the library-usage section; curated docs/ index with the visual RF primer first for newcomers.

CLAUDE.md (573 → 303) — the agent-facing operational guide

  • Cut what duplicates other sources: chip essays (→ README table), per-env-var essays (→ DeviceConfig.h field docs), frequency-hopping / bench-init narratives (→ docs/).
  • Kept every hard-won, non-obvious fact as a compact list: the 8822E 0x41e8 RX-desense quirk, CSI-mask inert-vs-jammed-slice, thermal meter units aren't °C, EVM (not SNR) as the saturation tell, Jaguar3 TX_WITH_RX-before-InitWrite, the SDR-not-sniffer bench rule, the canonical-SA three-place convention, generated-tables rule.
  • Fixed stale claims: TX power ramp described against the live runtime API (the deprecated SetTxPowerOverride/ApplyTxPower forwarders were still referenced), change-log phrasing ("no ... any more", "previously named ... one release cycle") removed, DEVOURER_RX_ENERGY_MS defined where it's referenced (a gap in the old text).

All 13 README links verified to exist; cross-references between the two files updated.

🤖 Generated with Claude Code

CLAUDE.md (573 -> 303 lines): the agent-facing operational guide. Cut the
per-chip essays (pointer to the README table), the env-var encyclopedia
(DeviceConfig.h field tags are the reference; kept a daily-driver list and
the non-obvious measured facts — 8822E 0x41e8 RX desense, CSI-mask
inert-vs-jammer, thermal units are not deg C, EVM is the saturation tell,
Jaguar3 TX_WITH_RX-before-InitWrite), and the frequency-hopping /
bench-init narratives (pointers to docs/). Fixed stale claims: the TX
power ramp is described against the live runtime API (not the deprecated
SetTxPowerOverride/ApplyTxPower forwarders), change-log phrasing removed,
Rtl8812aDevice stated timelessly as a deprecated alias. Defined
DEVOURER_RX_ENERGY_MS where linkhealth references it.

README (408 -> 183 lines): a product pitch for humans. Chip information
lives only in the Supported hardware table; the HAL/dispatch internals
stay in CLAUDE.md. Leads with a "Why devourer" differentiator list
(no-DKMS, cross-platform, faster-than-kernel startup, per-packet radiotap
control, FHSS-speed hopping, 5/10 MHz narrowband), then quick start, an
example-binary table in plain language, library usage, and a curated
docs/ index (RF primer first). Project layout section removed; the
env-var catalogue is a pointer to the env: tags in src/DeviceConfig.h.
Jargon is kept out of everything above the library-usage section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@josephnef josephnef merged commit 870569d into master Jul 7, 2026
15 checks passed
@josephnef josephnef deleted the docs-refactor branch July 7, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant