docs: keep onboarding and recovery text plain for everyone

AGENTS.md now asks for jargon-free onboarding, setup, update and recovery text, and the installation guide describes the npx cache repair.
This commit is contained in:
morluto committed 2026-11-30 10:30:38 -05:00
1 parent 3ab956b327
commit c7ed7e2895
2 files changed
+8 -4

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ Ghidra uses ephemeral databases without modifying executable bytes or controllin
`npx rea-agents setup` and `npx rea-agents@latest setup` are the primary onboarding path and must keep working. A setup, registration, or documentation change must not refuse, replace, or stop documenting them. When a registration they wrote goes stale, `npx rea-agents@latest setup` must repair it without manual config edits. Changing this requires a maintainer decision.
REA is for everyone, not only developers. Onboarding, setup, update, and recovery text that people read, including README quick starts, setup output, doctor and error remediation, and update notices, must be plain and jargon-free. Name the one command to run next, and say when people can ask their agent to do it instead. Keep technical detail in reference docs and JSON fields.
Configuration changes must be additive and idempotent, with backups. Installers must not install or upgrade unrelated software, including Homebrew, Node.js, npm, Java, or Ghidra; Ghidra and IDA are bring-your-own. `rea setup` must show its planned changes and require approval before writing files or installing Hopper.
Preserve caller-selected inputs and local evidence, including output, URLs, paths, digests, and metadata. Redact transport authentication credentials and explicitly marked sensitive values; do not infer secrecy from names or text patterns. Do not persist the ambient environment merely because a child inherits it.
+6 -4
View File
@@ -2293,10 +2293,12 @@ makes startup fail; it does not download or resolve another package. Changing
package requests, cache roots, or runtimes selects a different installation. Doctor
reports a registration of another installation as owned but stale, and setup
refreshes it with a backup, when its script still resolves to the CLI script that
an installed `node_modules/rea-agents/package.json` names. A removed cache entry
leaves ownership unknown: restore the same installation first or manually remove
the confirmed REA registration before running setup again. A global installation
provides a more durable path.
an installed `node_modules/rea-agents/package.json` names. When npm has removed
the npx cache entry that `npx rea-agents setup` saved, doctor reports the
registration as owned but stale, and `npx rea-agents@latest setup` replaces it
with a backup. Other removed installations leave ownership unknown: restore the
same installation first or manually remove the confirmed REA registration before
running setup again. A global installation provides a more durable path.
## Package runners and global installation