mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 09:56:23 +00:00
* feat(cli)!: keep over-budget CLI results recoverable by default An over-budget CLI result without --evidence_output now saves its complete Evidence to a private retained-Evidence cache under the user cache directory and returns the summary with the file's path, size and digest, so it pages with inspect-analysis-view without a rerun. Files are named by the complete record's Evidence ID, created exclusively as 0600 by the Evidence bundle writer in a 0700 directory the user owns, reused by repeat runs and never overwritten. Each retention removes records unused for 7 days, then the least recently used over delivery.cli_retained_evidence_bytes (REA_CLI_RETAINED_EVIDENCE_BYTES, default 256 MiB). --no-retain or a 0 setting writes nothing; a record that cannot be kept falls back to the rerun arguments with the reason. Fixes #14594 BREAKING CHANGE: An over-budget CLI result without --evidence_output is now saved to REA's private retained-Evidence cache and reported as {summary, evidence_bundle, delivery} with delivery.retained cache-file, instead of writing nothing. Pass --no-retain, or set REA_CLI_RETAINED_EVIDENCE_BYTES=0, to write nothing as before. * fix(cli): key retained Evidence by its content and keep its owner's facts Review fixes for default CLI retention: - Name files by the SHA-256 of the complete record's exact JSON, since the Evidence ID leaves out caller paths; report it as evidence_bundle.sha256. - Remove a bundle that outgrows the cache after the write. - Renew a record's age when inspect-analysis-view reads it. - Re-check a record's use time before evicting it. - Never use a cache whose path holds a value marked sensitive, and redact retention failure reasons. - Report a save that committed but then failed with its receipt and cleanup owner, as --evidence_output does. - Request source records whenever the cache may receive a bundle. - Refresh the advertised-schema summaries for the new setting. * fix(cli): withdraw the receipt of a bundle the cache discards A bundle that outgrew the cache was removed after the writer had already recorded its publication receipt, so output recovery could name a missing file. Retention now withdraws that receipt whenever it keeps nothing, unless the file committed and its failure is reported. * fix(cli): retain publication receipt when removing an oversized retained bundle fails
Documentation directory
Find an installation step, investigation guide, or contributor reference by task. The REA website has worked examples and product pages.
Getting started
- Installation and setup
- Supported targets and requirements
- Client configuration and troubleshooting
- CLI and Evidence
- Guided MCP prompts and completion
Desktop applications
- Desktop installation directories
- Desktop application capture
- Desktop application state
- Desktop application tasks
- Desktop application export
- Desktop build computer
- Desktop build witness
Agent environments
Native binaries
- Native binary investigation
- Go binary build metadata
- DWARF compile units
- Offline binary diagnostics
- ELF separate debug files
- ELF and Mach-O initializer functions
- ELF unwind function ranges
- Linux kernel build config
- Recorded crash evidence
- Windows Shell Link shortcuts
- Acquired NTFS metadata
- Binary hardening
- ELF note tables
- ELF dependency tables
- Linux kernel modules
- PE Authenticode certificate tables
- PE import and delay-load tables
- PE TLS callbacks and load configuration
- PE x64 exception-directory function ranges
- Match native functions across builds
- Rust binary dependency metadata
- Static CUDA and HIP code objects
JavaScript and Electron
- JavaScript Application Graph
- Cross-layer JavaScript application workflows
- JavaScript artifact reconstruction
- JavaScript source recovery
- Passive Node and Electron runtime observation
- JavaScript static/runtime reconciliation
- Electron file-page observation
- V8 code cache inspection
- Electron fuse state
- Static JavaScript route inventory
- Bun standalone executables
- Deno compile executables
- Node.js single executable applications
Browser and captured websites
- Website observation with CDP
- Browser scenario contract
- Website runtime source attribution
- Historical web network captures
- HTTP/3 capture lab
- Captured website source locations
- Captured website module relationships
- Captured website scripts and static JavaScript analysis
- Offline Playwright traces
Android applications
- Static Android APK analysis
- Apktool resource decoding
- ADB device inspection and acquisition
- Flutter build identification
- Android boot and vendor_boot images
- APK signature schemes
Apple applications
.NET assemblies
Firmware
- Firmware analysis
- Android OTA update payloads
- Flattened devicetree inspection
- ESP flash images
- ESP images
- U-Boot FIT images
- Intel HEX and S-record images
- UF2 and DfuSe images
- U-Boot legacy uImage containers
HarmonyOS packages
Packages and metadata
- Offline API contract inventory
- CycloneDX dependencies
- Maven POM and Gradle module metadata
- Release exposure
- Model file declarations
- Python packaged applications
- CPython pyc inspection
- Erlang BEAM files
- Godot PCK archives
- UnityFS AssetBundle archives
- iNES containers
- WeChat mini-program wxapkg archives
- ISO 9660 disc images
- tar and gzip-compressed tar archives
- GPU asset headers: DDS, GLB, KTX and KTX2
WebAssembly
EVM contracts
Databases and recorded packets
Process capture and instrumentation
Provider setup and formats
- Ghidra provider semantics
- DOS MZ and COM analysis with Ghidra
- Optional NativeAOT metadata recovery
- MIPS ELF analysis through Ghidra
- PSP static ELF analysis through Ghidra
- RISC-V ELF analysis through Ghidra
- Windows Ghidra P0
- Headerless raw-binary analysis with Ghidra
- IDA provider
- JEB instrumentation and analysis
- GameCube DOL analysis through Ghidra
- PowerPC ELF analysis through Ghidra
- Kuna provider
- Reverse-engineering tool integrations
Contracts and evidence
- MCP runtime contracts
- Target failures
- Directory identity
- Reconstruction obligation ledgers
- Reconstruction coverage
Development and verification
- Documentation ownership and authoring
- Settings and recovery
- REA limit inventory
- MCP tool design
- Testing REA
- Client and agent verification
- Reconstruction readiness conformance
- Releasing REA
- Testing lanes and provider verification
- Measure MCP catalog costs in Codex
- Static analysis in GitHub Actions
Release migrations
Signal recordings
Generated files and release records
| Path | Owner and update command |
|---|---|
public/product-catalog.json |
Ignored contract projection; npm run docs:generate |
verification/managed-conformance-*.json |
Ignored managed conformance projections; npm run evidence:generate |
error-contract.schema.json |
Tracked schema from contracts; npm run docs:error-schema |
user-visible-errors.csv |
Generated error code and category per domain and provider-owned error case; npm run docs:error-schema |
releases/<version>.contributions.json |
Durable release contribution record; follow the release guide |
Regenerate catalogs and Evidence projections from their canonical source.
Release records preserve the exact commit messages and references for each release.
Guides share authored images in assets/.