Swamp Triage
Investigate why any swamp model or workflow is failing, without knowing anything about the domain it automates. Every method and workflow run leaves a @swamp/method-summary or @swamp/workflow-summary report behind as versioned model data, written on failure as well as success — so the full history of a target is already on disk with nothing extra instrumented. investigate resolves a target by name at call time, walks that history back to the boundary where it stopped working, and classifies the error into auth / unreachable / timeout / tls / rate_limit / not_found / config, each with a concrete next step. The distinction it exists to make is auth vs unreachable: a remote answering 403 is healthy and rejecting your credential (go to the vault), while a remote that never answers is a network problem (go to the host) — the two read almost identically in a notification and lead opposite ways. Unrecognised errors are reported as unknown verbatim rather than filed under a plausible-looking category. Read-only: it reads what previous runs recorded and never invokes the failing target.
Global Arguments
| Argument | Type | Description |
|---|---|---|
| repoDir? | string | Repository root to investigate. Defaults to the repo the model runs in. |
| Argument | Type | Description |
|---|---|---|
| target | string | Name of the model or workflow to investigate. |
| kind | enum | Which definitions to search. 'auto' searches models then workflows. |
| maxVersions | number | How many recorded runs to walk back through when looking for the |
Resources
Investigate why any model or workflow in this repo is failing, and raise the finding through Apprise. Domain-agnostic: the target is named at run time, so this is the same workflow whether the thing that broke talks to a network controller, a DNS server, or an object store. swamp workflow run @sntxrr/investigate-apprise --input target=<name> Requires @sntxrr/apprise-notify and a model instance of it named `apprise`: swamp extension pull @sntxrr/apprise-notify swamp model create @sntxrr/
Investigate why any model or workflow in this repo is failing, and post the finding straight to ntfy. Domain-agnostic: the target is named at run time, so this is the same workflow whether the thing that broke talks to a network controller, a DNS server, or an object store. swamp workflow run @sntxrr/investigate-ntfy --input target=<name> Requires @mgreten/ntfy-notify and a model instance of it named `ntfy`: swamp extension pull @mgreten/ntfy-notify swamp model create @mgreten/ntfy-noti
Added 2 workflows
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned