
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
agentpostmortem
Advanced tools
Postmortem workflow plugin for OpenCode: failure memory, prevention rules, guardrailed retry
agentpostmortem adds a complete postmortem loop to OpenCode: capture failures, analyze root causes, create guardrails, and retry with context-aware constraints.
This repository is the standalone plugin distribution (not the OpenCode source tree).
/retry --explain)./postmortem-eval) without telemetry.postmortem_inspect: view the latest redacted last-run snapshotpostmortem_record_failure: persist a durable failure recordpostmortem_why_failed: deterministic analysis + 1-3 prevention rulespostmortem_rules: list/show/enable/disable/edit/rate/import rulespostmortem_failures: list/show/forget/delete/prune/purge failurespostmortem_retry: generate a retry prompt with relevant guardrails (--explain supported)postmortem_disable_lessons: disable/enable injection for the current sessionpostmortem_config: show/set storage mode (user or repo)postmortem_eval: local-only repeat-failure evaluation metricsSee INSTALL.md for full setup.
Quick start:
opencode.json plugin array.npx --package agentpostmortem postmortem-init in your project.The sections below show realistic command sequences you can run in OpenCode. For the full per-command catalog, see commands.md.
/inspect --json --errors
/record-failure --yes --json
/why-failed --latest --json
Use this when a run fails and you want a durable record plus deterministic hypotheses before trying fixes.
/rules --action list --json
/retry --explain
/retry --yes
This sequence helps you review active rules, see why each rule was selected, then execute a guarded retry prompt.
/disable-lessons --json
/disable-lessons --enable --json
/postmortem-config --action show --json
Use /disable-lessons when you want a temporary clean session, then re-enable guardrail injection when you are ready.
/failures --action list --json
/failures --action show --id <failure-id> --json
/forget <failure-id>
You can inspect specific incidents and retire low-value memory entries while preserving the rest of your history.
/postmortem-eval --json --window 20
This reports repeat-failure metrics so you can measure whether new rules are reducing recurrence.
examples/minimal/opencode.json - minimal plugin config for a projectexamples/minimal/README.md - minimal setup walkthrough and file mapexamples/minimal/commands.md - full flag-by-flag reference for every commandexamples/minimal/playbooks.md - end-to-end incident response and maintenance workflowsexamples/minimal/commands/ - per-command deep-dive examplessrc/ - plugin implementation (TypeScript source)src/templates/ - command and skill templates copied by postmortem-inittest/ - test suitescripts/ - init script sourceexamples/ - runnable configuration and command examplesdist/ - build output (npm ESM + bundled fallback).opencode/postmortem.json and { "storage": "repo" }.FAQs
Postmortem workflow plugin for OpenCode: failure memory, prevention rules, guardrailed retry
We found that agentpostmortem demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.