REA signal recording notes (unofficial)
REA can ask what a selected sigrok decoder stack observes in an existing recording — without talking to hardware. Prefer signal-recordings.md.
Minimal path
export REA_SIGROK_COMMAND=/absolute/path/to/sigrok-cli
rea decode-signal-recording /artifacts/uart.vcd \
--decoders uart:rx=RX:baudrate=9600 --input_format vcd \
--annotations uart=rx-data --format json
MCP decode_signal_recording uses the same fields (path, decoders, optional input_format / annotations).
Mental model
- Capture elsewhere; decode here.
- Decoder syntax follows sigrok's stack/options — each selected channel needs a target (for example
uart:rx=RX). - Omitting
input_formatrequests sigrok autodetection; prefer explicit formats in case notes. - Resource limits via
prlimitare part of the contract, not optional polish.
Legal note
Recordings may still contain proprietary protocols or personal data. Decode only files you are authorized to examine.
RepoRead is unofficial. Prefer signal-recordings.md.
FAQ
Does REA talk to logic-analyzer hardware?
No. Upstream states this path does not acquire samples or communicate with hardware — it decodes an existing recording you select.
Host requirements?
Linux with caller-supplied sigrok-cli 0.7.2 (libsigrokdecode) and util-linux prlimit (default /usr/bin/prlimit, overridable via absolute REA_SIGROK_PRLIMIT_COMMAND). macOS/Windows are refused because the address-space limit cannot be enforced the same way.
How do I point at sigrok-cli?
export REA_SIGROK_COMMAND=/absolute/path/to/sigrok-cli then rea decode-signal-recording ...
Who chooses baud rate / wiring?
You do. Channel names must match the recording; REA does not guess wiring, baud rate or protocol. Missing channel targets become invalid_request even if sigrok exits successfully with fallbacks.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).