Directories
¶
| Path | Synopsis |
|---|---|
|
Package catcher is Echo's running side: an inbox of captured messages, the HTTP API connectors and tools talk to, the seal policy that decides what may leave and the SMTP sink.
|
Package catcher is Echo's running side: an inbox of captured messages, the HTTP API connectors and tools talk to, the seal policy that decides what may leave and the SMTP sink. |
|
Package check finds problems in captured messages: placeholders that were never filled in, PHP errors printed into an email, links to a development machine, SMS that cost several parts, webhooks that fail.
|
Package check finds problems in captured messages: placeholders that were never filled in, PHP errors printed into an email, links to a development machine, SMS that cost several parts, webhooks that fail. |
|
Package client talks to a running Echo (`rhythm echo up`) over its HTTP API.
|
Package client talks to a running Echo (`rhythm echo up`) over its HTTP API. |
|
cmd
|
|
|
rhythm-echo
command
Command rhythm-echo captures every email, SMS, webhook and API call a site sends, seals staging so none of it reaches real people and compares what each action sends before and after a change.
|
Command rhythm-echo captures every email, SMS, webhook and API call a site sends, seals staging so none of it reaches real people and compares what each action sends before and after a change. |
|
rhythm-echo/internal/started
Package started records when the process started, before the packages that can hold it up do.
|
Package started records when the process started, before the packages that can hold it up do. |
|
Package codes finds what an end-to-end test needs from a message it just caused: the one-time code in a login or checkout email or SMS and the links that sign someone in, verify an address, reset a password or unsubscribe.
|
Package codes finds what an end-to-end test needs from a message it just caused: the one-time code in a login or checkout email or SMS and the links that sign someone in, verify an address, reset a password or unsubscribe. |
|
Package compare diffs two runs: for each action that's in both, it matches the messages sent before and after and reports the ones that stopped (BROKE), appeared (NEW), changed (who they go to, the subject, the text, the fields of a payload, how many times) or problems that went away (FIXED).
|
Package compare diffs two runs: for each action that's in both, it matches the messages sent before and after and reports the ones that stopped (BROKE), appeared (NEW), changed (who they go to, the subject, the text, the fields of a payload, how many times) or problems that went away (FIXED). |
|
Package compat checks a captured email the way a comparison page expects a mail catcher to: HTML reports the HTML and CSS features that common clients drop (flexbox in Outlook for Windows, a <style> block Gmail throws away and similar) and Spam asks a SpamAssassin daemon for a score.
|
Package compat checks a captured email the way a comparison page expects a mail catcher to: HTML reports the HTML and CSS features that common clients drop (flexbox in Outlook for Windows, a <style> block Gmail throws away and similar) and Spam asks a SpamAssassin daemon for a score. |
|
Package config loads Echo's project settings from .echo/config.yaml: how the catcher behaves (seal or observe, what may be reached), what counts as staging and production, plus the actions `snapshot` and `compare` run.
|
Package config loads Echo's project settings from .echo/config.yaml: how the catcher behaves (seal or observe, what may be reached), what counts as staging and production, plus the actions `snapshot` and `compare` run. |
|
Package conformance checks a connector against Echo's wire protocol.
|
Package conformance checks a connector against Echo's wire protocol. |
|
cmd/conformance
command
Command conformance runs Echo's strict stand-in on its own, for the connectors' end-to-end tests until `rhythm echo conformance` exists:
|
Command conformance runs Echo's strict stand-in on its own, for the connectors' end-to-end tests until `rhythm echo conformance` exists: |
|
gen
command
Command gen writes wire/schema.json, Echo's wire protocol as a JSON Schema, from the Go types in package wire.
|
Command gen writes wire/schema.json, Echo's wire protocol as a JSON Schema, from the Go types in package wire. |
|
connectors
|
|
|
wordpress
Package wordpress installs Echo's WordPress connector: one mu-plugin, embedded in the binary, that reports every wp_mail() and wp_remote_*() call to Echo and obeys its seal.
|
Package wordpress installs Echo's WordPress connector: one mu-plugin, embedded in the binary, that reports every wp_mail() and wp_remote_*() call to Echo and obeys its seal. |
|
wordpress/cmd/plugin-zip
command
Command plugin-zip writes Echo Staging Seal as a zip, the form WordPress.org and Plugins > Add New > Upload take:
|
Command plugin-zip writes Echo Staging Seal as a zip, the form WordPress.org and Plugins > Add New > Upload take: |
|
Package consent checks a site's cookie consent: it loads pages in a browser with no choice, after Accept and after Reject, records every tracker hit, cookie and consent signal and judges them.
|
Package consent checks a site's cookie consent: it loads pages in a browser with no choice, after Accept and after Reject, records every tracker hit, cookie and consent signal and judges them. |
|
browse
Package browse runs consent checks in Chrome: one fresh context per run, the egress guard, the recorder that turns the browser's events into consent events and the steps of a run (PRD 13.6).
|
Package browse runs consent checks in Chrome: one fresh context per run, the egress guard, the recorder that turns the browser's events into consent events and the steps of a run (PRD 13.6). |
|
browse/egress
Package egress is the consent check's egress guard (PRD 13.7): small in-process HTTP proxies on 127.0.0.1 that every request Chrome makes goes through.
|
Package egress is the consent check's egress guard (PRD 13.7): small in-process HTTP proxies on 127.0.0.1 that every request Chrome makes goes through. |
|
cli
Package cli is the rhythm echo consent command: its flags, its subcommands (detect, report, verify, cmps, trackers, prune), its messages and how it turns a consent result into output and an exit code.
|
Package cli is the rhythm echo consent command: its flags, its subcommands (detect, report, verify, cmps, trackers, prune), its messages and how it turns a consent result into output and an exit code. |
|
cmp
Package cmp finds a page's consent management platform, clicks Accept or Reject on its banner the way a visitor does and checks the choice was stored.
|
Package cmp finds a page's consent management platform, clicks Accept or Reject on its banner the way a visitor does and checks the choice was stored. |
|
consenttest
Package consenttest holds in-memory stand-ins for every consent stage, golden results and the helpers lane tests use to get another stage without importing its package: Need skips a test until that stage is linked, Use registers fakes for one test.
|
Package consenttest holds in-memory stand-ins for every consent stage, golden results and the helpers lane tests use to get another stage without importing its package: Need skips a test until that stage is linked, Use registers fakes for one test. |
|
evidence
Package evidence writes a consent result's evidence folder: the hashes of every file, consent.json, its optional ed25519 signature and the manifest; it also verifies a folder against them.
|
Package evidence writes a consent result's evidence folder: the hashes of every file, consent.json, its optional ed25519 signature and the manifest; it also verifies a folder against them. |
|
signal
Package signal decodes consent signals: Google's gcs and gcd parameters, Consent Mode and other consent calls recorded by the page hooks, IAB TCF and GPP strings and each CMP's stored state.
|
Package signal decodes consent signals: Google's gcs and gcd parameters, Consent Mode and other consent calls recorded by the page hooks, IAB TCF and GPP strings and each CMP's stored state. |
|
signal/cmpstate
Package cmpstate reads the choice a consent management platform stored: one pure parser per CMP over its cookie or storage values (Cookiebot, OneTrust, CookieYes, Complianz, Usercentrics, Borlabs, Didomi, iubenda and the IAB TCF string).
|
Package cmpstate reads the choice a consent management platform stored: one pure parser per CMP over its cookie or storage values (Cookiebot, OneTrust, CookieYes, Complianz, Usercentrics, Borlabs, Didomi, iubenda and the IAB TCF string). |
|
tracker
Package tracker is the consent tracker catalog: which requests, cookies and storage keys belong to which tracker, what each one is for and whether it needs consent.
|
Package tracker is the consent tracker catalog: which requests, cookies and storage keys belong to which tracker, what each one is for and whether it needs consent. |
|
verdict
Package verdict judges a recorded consent result: it runs the checks of the catalog under the chosen policy, lists inconclusive runs and compares a result with a baseline.
|
Package verdict judges a recorded consent result: it runs the checks of the catalog under the chosen policy, lists inconclusive runs and compares a result with a baseline. |
|
Package dns checks a domain's mail deliverability records (SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI) without sending anything.
|
Package dns checks a domain's mail deliverability records (SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI) without sending anything. |
|
Package headers analyzes a received email's headers: what the receiving server concluded about SPF, DKIM and DMARC, how the message is signed, which service sent it and the path it took.
|
Package headers analyzes a received email's headers: what the receiving server concluded about SPF, DKIM and DMARC, how the message is signed, which service sent it and the path it took. |
|
Package hub is Echo for agencies: one catcher that many staging sites send to, which keeps what each site sent apart and across restarts.
|
Package hub is Echo for agencies: one catcher that many staging sites send to, which keeps what each site sent apart and across restarts. |
|
integrations
|
|
|
action
Package action tests Echo's GitHub Action (action.yml at the repository root) and the shell scripts it runs: the release check in .github/scripts and the summary and comment helpers next to this file.
|
Package action tests Echo's GitHub Action (action.yml at the repository root) and the shell scripts it runs: the release check in .github/scripts and the summary and comment helpers next to this file. |
|
ci-fixture
Package cifixture tests the CI fixture in this folder: a one-page PHP shop that Echo's GitHub Action tests and the Windows and macOS CI jobs snapshot and compare.
|
Package cifixture tests the CI fixture in this folder: a one-page PHP shop that Echo's GitHub Action tests and the Windows and macOS CI jobs snapshot and compare. |
|
image
Package image tests Echo's container image (the Dockerfile at the repository root) and the promise behind it: an image that replaces Mailpit in Docker Compose, DDEV, Lando and Sail needs Mailpit's API to answer in Mailpit's shape.
|
Package image tests Echo's container image (the Dockerfile at the repository root) and the promise behind it: an image that replaces Mailpit in Docker Compose, DDEV, Lando and Sail needs Mailpit's API to answer in Mailpit's shape. |
|
internal
|
|
|
browser
Package browser runs headless Chrome for Echo's consent checks.
|
Package browser runs headless Chrome for Echo's consent checks. |
|
browser/internal/pingen
command
Command pingen writes browser/cft_pins.go: the Chrome for Testing version Soundcheck downloads and the SHA-256 of each platform's archive.
|
Command pingen writes browser/cft_pins.go: the Chrome for Testing version Soundcheck downloads and the SHA-256 of each platform's archive. |
|
browser/norodflag
Package norodflag turns off rod's hidden command line flag.
|
Package norodflag turns off rod's hidden command line flag. |
|
browser/proc
Package proc holds the process helpers that differ between Unix and Windows: how a child is asked to stop when its context is canceled and how a browser and its children are stopped.
|
Package proc holds the process helpers that differ between Unix and Windows: how a child is asked to stop when its context is canceled and how a browser and its children are stopped. |
|
browser/retry
Package retry runs a browser's start-up step again when it failed for a reason a later try can get past: a browser that was slow to start on a busy machine, or a driver that dropped the request while the last session's browser was still shutting down.
|
Package retry runs a browser's start-up step again when it failed for a reason a later try can get past: a browser that was slow to start on a busy machine, or a driver that dropped the request while the last session's browser was still shutting down. |
|
flagtext
Package flagtext words flag errors the way every rhythm echo command does: flags spelled as the help spells them (--fail-on, not -fail-on) and an unknown one with the flag it most likely meant.
|
Package flagtext words flag errors the way every rhythm echo command does: flags spelled as the help spells them (--fail-on, not -fail-on) and an unknown one with the flag it most likely meant. |
|
importguard
Package importguard holds only tests: they keep the browser out of every package that doesn't need it, Soundcheck's module out of the build and os/exec out of the consent packages.
|
Package importguard holds only tests: they keep the browser out of every package that doesn't need it, Soundcheck's module out of the build and os/exec out of the consent packages. |
|
kitcheck
Package kitcheck holds contract tests for what Echo relies on in the rhythm kit: masking in kit/secrets, the temp-file cleanup in kit/cache and the fail-closed signature check in kit/update.
|
Package kitcheck holds contract tests for what Echo relies on in the rhythm kit: masking in kit/secrets, the temp-file cleanup in kit/cache and the fail-closed signature check in kit/update. |
|
testenv
Package testenv sizes the browser tests for the machine they run on.
|
Package testenv sizes the browser tests for the machine they run on. |
|
Package mask hides credentials in what Echo stores: headers, URLs, text, JSON payloads and raw MIME.
|
Package mask hides credentials in what Echo stores: headers, URLs, text, JSON payloads and raw MIME. |
|
Package mcp is Echo's Model Context Protocol server, so coding agents can ask what a site sent ("what did checkout send?", "what changed since the snapshot?") instead of scraping a terminal.
|
Package mcp is Echo's Model Context Protocol server, so coding agents can ask what a site sent ("what did checkout send?", "what changed since the snapshot?") instead of scraping a terminal. |
|
Package model holds what Echo records: the messages a site sends (email, SMS, webhooks, chat alerts, analytics and payment calls), the actions that made it send them and the issues and changes found when checking and comparing runs.
|
Package model holds what Echo records: the messages a site sends (email, SMS, webhooks, chat alerts, analytics and payment calls), the actions that made it send them and the issues and changes found when checking and comparing runs. |
|
Package proxy is Echo's HTTP(S) proxy: the bridge for apps and SDKs that send without going through a connector's hooks (the Twilio and Stripe PHP SDKs call cURL directly, Python and Go read HTTPS_PROXY).
|
Package proxy is Echo's HTTP(S) proxy: the bridge for apps and SDKs that send without going through a connector's hooks (the Twilio and Stripe PHP SDKs call cURL directly, Python and Go read HTTPS_PROXY). |
|
Package recognize turns an outbound HTTP request into a message: it works out the channel (SMS, chat, webhook…), the provider and the recipients and content and says what a sealed staging site should be answered with.
|
Package recognize turns an outbound HTTP request into a message: it works out the channel (SMS, chat, webhook…), the provider and the recipients and content and says what a sealed staging site should be answered with. |
|
Package relay lets a client see a captured email in their own inbox before launch without breaking the seal: a reader releases one message to one address, the address must match the relay's allowlist and the message goes out through the agency's own SMTP account over TLS.
|
Package relay lets a client see a captured email in their own inbox before launch without breaking the seal: a reader releases one message to one address, the address must match the relay's allowlist and the message goes out through the agency's own SMTP account over TLS. |
|
Package replay sends signed test webhooks (Stripe, Standard Webhooks, GitHub, WooCommerce, generic HMAC) to a staging site, so Echo can capture what the site sends in response: "payment_intent.succeeded → order email + SMS + CRM call".
|
Package replay sends signed test webhooks (Stripe, Standard Webhooks, GitHub, WooCommerce, generic HMAC) to a staging site, so Echo can capture what the site sends in response: "payment_intent.succeeded → order email + SMS + CRM call". |
|
Package report renders Echo's results: a live line per captured message (`rhythm echo watch`), the terminal summary of a run or a comparison, plain text for logs and screen readers, JSON, Markdown, JUnit XML, a standalone HTML inbox with message previews and a print-ready agency report that sums up a site's comparisons.
|
Package report renders Echo's results: a live line per captured message (`rhythm echo watch`), the terminal summary of a run or a comparison, plain text for logs and screen readers, JSON, Markdown, JUnit XML, a standalone HTML inbox with message previews and a print-ready agency report that sums up a site's comparisons. |
|
Package runner runs a project's actions against a running Echo: for each one it triggers the site (an HTTP request, a command, a replayed webhook), lets queued senders catch up, waits until the site falls quiet, then records the messages that action caused, with their issues.
|
Package runner runs a project's actions against a running Echo: for each one it triggers the site (an HTTP request, a command, a replayed webhook), lets queued senders catch up, waits until the site falls quiet, then records the messages that action caused, with their issues. |
|
Package sendmail is a sendmail-compatible shim: `rhythm-echo sendmail` reads a message on stdin (as /usr/sbin/sendmail does) and hands it to Echo instead of delivering it.
|
Package sendmail is a sendmail-compatible shim: `rhythm-echo sendmail` reads a message on stdin (as /usr/sbin/sendmail does) and hands it to Echo instead of delivering it. |
|
Package store keeps Echo's files in the project's .echo/ folder: named snapshots, recent runs and comparisons, each a directory holding run.json (or comparison.json).
|
Package store keeps Echo's files in the project's .echo/ folder: named snapshots, recent runs and comparisons, each a directory holding run.json (or comparison.json). |
|
testbed
|
|
|
consent/bench
command
Command bench is the consent benchmark: it runs rhythm-echo consent against every scenario of testbed/consent/scenarios.yaml, good state then broken, judges each result against the scenario's expect and forbid lists, runs the control pass over every good state, the environment probes and the performance measures of PRD 19, then writes docs/benchmark-consent.md and testbed/consent/bench/work/results.json.
|
Command bench is the consent benchmark: it runs rhythm-echo consent against every scenario of testbed/consent/scenarios.yaml, good state then broken, judges each result against the scenario's expect and forbid lists, runs the control pass over every good state, the environment probes and the performance measures of PRD 19, then writes docs/benchmark-consent.md and testbed/consent/bench/work/results.json. |
|
consent/bench/hwm
Package hwm measures one process's own peak resident memory, leaving out its children.
|
Package hwm measures one process's own peak resident memory, leaving out its children. |
|
consent/bench/peakmem
command
Command peakmem runs a command and writes its own peak resident memory (in KiB, children left out) to a file: the consent benchmark's runner wraps rhythm-echo in it in Docker mode, so the figure is Echo's and not that of the Chrome it starts and reaps.
|
Command peakmem runs a command and writes its own peak resident memory (in KiB, children left out) to a file: the consent benchmark's runner wraps rhythm-echo in it in Docker mode, so the figure is Echo's and not that of the Chrome it starts and reaps. |
|
consent/dns
command
Command dns is the sealed Docker testbed's resolver: it answers every A query, whatever the name, with one address (the gate's) and never forwards anything.
|
Command dns is the sealed Docker testbed's resolver: it answers every A query, whatever the name, with one address (the gate's) and never forwards anything. |
|
consent/judge
Package judge decides whether a run of rhythm-echo consent on a testbed scenario caught it: it reads the consent envelope, matches it against the scenario's expect and forbid lists (scenarios.yaml), checks the tracker sink stayed empty and that every stand-in tag the page names was loaded.
|
Package judge decides whether a run of rhythm-echo consent on a testbed scenario caught it: it reads the consent envelope, matches it against the scenario's expect and forbid lists (scenarios.yaml), checks the tracker sink stayed empty and that every stand-in tag the page names was loaded. |
|
consent/scenarios
Package scenarios reads testbed/consent/scenarios.yaml, the manifest of the consent testbed: the 25 bad and 15 good scenario sites, what each broken state must make Echo find and what it must not, plus the security fixtures the environment probes use.
|
Package scenarios reads testbed/consent/scenarios.yaml, the manifest of the consent testbed: the 25 bad and 15 good scenario sites, what each broken state must make Echo find and what it must not, plus the security fixtures the environment probes use. |
|
consent/server
Package server serves the consent testbed's scenario sites and the stand-in tracker tags on loopback, with a sink that counts every hit that reaches it, so tests can prove held hits never leave the browser.
|
Package server serves the consent testbed's scenario sites and the stand-in tracker tags on loopback, with a sink that counts every hit that reaches it, so tests can prove held hits never leave the browser. |
|
consent/server/cmd/consent-testbed
command
Command consent-testbed serves the Echo consent testbed in Go mode: every scenario site by its host name (c01.shop.test ...
|
Command consent-testbed serves the Echo consent testbed in Go mode: every scenario site by its host name (c01.shop.test ... |
|
Package web is Echo Inbox, the live view `rhythm echo up` serves at /: one list of everything captured (email, SMS, chat, webhooks, payments, analytics), a detail pane with HTML, Text, Headers, Raw, JSON, Checks and Attachments tabs, search, filters, delete, live updates and, when up has a relay, Release for one email.
|
Package web is Echo Inbox, the live view `rhythm echo up` serves at /: one list of everything captured (email, SMS, chat, webhooks, payments, analytics), a detail pane with HTML, Text, Headers, Raw, JSON, Checks and Attachments tabs, search, filters, delete, live updates and, when up has a relay, Release for one email. |
|
Package wire is the small JSON protocol between Echo and the connectors inside a site (the WordPress mu-plugin, the Laravel package, the Node package): a connector reports each email and each outbound HTTP request.
|
Package wire is the small JSON protocol between Echo and the connectors inside a site (the WordPress mu-plugin, the Laravel package, the Node package): a connector reports each email and each outbound HTTP request. |
Click to show internal directories.
Click to hide internal directories.