Changelog
Release history for ShieldCortex. Install the latest: npm install -g shieldcortex
v5.22.2
Latest
2026-11-29
Patch on 5.22.1. Action Guard remains off by default. When it is turned on, a supported memory tool call or a Markdown memory write that would store a risky standing instruction now gets a require-approval verdict. What happens next depends on the host: when enforcing, Claude Code and OpenClaw ask for approval where a prompt is available, and an enforcing Hermes install, which has no approval prompt, blocks the write. This is a bounded wording check, not a comprehensive one. Also adds a free-space check to shieldcortex doctor, lets the dashboard Library page past 1,000 filtered memories, and makes automatic capture use your configured caps. Node floor unchanged.
- Action Guard requires approval before a risky standing instruction is stored in memory, when it is turned on — a supported memory tool call, or a write to a Markdown memory file, that would store a risky standing instruction now gets a require-approval verdict. Action Guard remains off by default. When enforcing, Claude Code and OpenClaw ask for approval where a prompt is available; an enforcing Hermes install, which has no approval prompt, blocks the write. This is a bounded wording check, not a comprehensive one: it does not catch every risky instruction. For Hermes, Markdown memory writes are covered only in the standard global and profile memory directories. This check has no outage fallback.
- OpenClaw uses strict settings if a policy lock returns a malformed Action Guard result — with a lock on disk, a missing or malformed result puts OpenClaw in strict degraded mode rather than using unlocked settings. An empty result is valid if the guard held only the readiness gate and the partial lock adds no guard settings. In that case, OpenClaw cannot distinguish an erroneous empty result from the expected one.
- A current posture report does not clear a rejected one — a trust-rejected report does not age out and counts as unknown beside a current report for the same runtime, profile and plane. A content rejection counts as unknown beside that current report only until the existing 7-day threshold. An insecure report directory, or one that cannot be listed, also counts as unknown.
ShieldCortex checks the config directory. On Windows it checks nothing above it. Elsewhere the path check stops at your home, or at the filesystem root for paths outside your home. If the config directory is your home, named directly or by its real path, only the directory itself is checked.
ShieldCortex checks the opened report’s type, size and identity, plus owner and mode bits outside Windows. It does not read ACLs. It rejects a report if its timestamps change during the read. These checks are not atomic with every read and do not authenticate the writer.
- Doctor checks free space on the ShieldCortex home volume —
shieldcortex doctor adds a free-space check on the volume that holds the ShieldCortex home directory. If the optional embeddings package is missing or incomplete, doctor exits 1 unless you explicitly skip embeddings with SHIELDCORTEX_SKIP_EMBEDDINGS=1. Doctor finding the optional embeddings package installed does not prove the embedding model is healthy.
- The dashboard Library can page past 1,000 filtered memories — paging through a filtered Library view is no longer limited to the first 1,000 memories. Search is still capped at 1,000 results. Rows that tie on the sort order keep a stable order while the data is unchanged; memories added or removed while you page can shift the offsets.
- Automatic capture uses your configured caps — automatic memory capture now uses the caps you have configured. If the database is unavailable, the pre-compact hook skips capture without writing to stdout.
Before you upgrade: Action Guard remains off by default. If you have turned it on, a supported memory tool call or a Markdown memory write that would store a risky standing instruction now requires approval. When enforcing, Claude Code and OpenClaw ask for approval where a prompt is available, and an enforcing Hermes install, which has no approval prompt, blocks the write. For Hermes, Markdown memory writes are covered only in the standard global and profile memory directories. The check is bounded wording, not comprehensive, and has no outage fallback.
ShieldCortex 5.22.2 release notes in CHANGELOG.md at tag v5.22.2
v5.22.1
2026-11-23
This release publishes the changes tagged as 5.22.0, with corrected release notes; 5.22.0 itself was never published to npm. It makes Action Guard classify a command that reads, writes or uploads a named credential store as requiring approval. Action Guard is still off by default. On Claude Code and OpenClaw, the running guard’s new rule changes nothing unless you have turned Action Guard on. On Claude Code and OpenClaw the outage fallback is reached only when Action Guard is turned on, so with it off neither host reaches the fallback; once it is reached, it follows each host’s own outage policy. The Hermes plugin is different: an enabled Hermes plugin uses its own enforce setting, which the shared Action Guard setting does not change. Turning it on is not the same as enforcing. When it is on and enforcing, more calls ask: the new rule asks rather than blocks, and each host handles that ask as it handles any other Action Guard ask. On Claude Code and OpenClaw, Watch only warns and allows ordinary dangerous-tier calls, and Enforce when ready remains in shadow until readiness conditions and reviewed effectiveness evidence are met. Catastrophic matches still block, and self-protection matches are handled as when enforcing. An enforcing Hermes install, which has no approval prompt, blocks the call. The enabled Hermes plugin enforces by default, ignores the readiness gate, and switches to advisory only on an explicit opt-out such as SHIELDCORTEX_ENFORCE=0. Explicit enforcement does not need a protect pin. It does not cover every credential file, and some spellings of the stores it does name are still allowed, as in earlier releases.
- Action Guard now asks for approval before a command reads, writes or uploads a named credential store, when on and enforcing — before this, only six sensitive spellings asked (the SSH directory,
authorized_keys, id_rsa, .aws/credentials, the /etc account files and .env). Reading a netrc file, or an upload of a file inside a .secrets directory to a loopback host or to a destination held in a variable, was allowed with no signal. The existing touch-sensitive-path approval now also covers .netrc and _netrc, .git-credentials, the GitHub CLI hosts.yml, the Docker config.json, .pgpass, .pypirc, .vault-token, the gcloud and Azure token files, any .secret or .secrets directory (the directory itself and anything under it), and id_ed25519, id_ecdsa or id_dsa when not written directly after .ssh/, or in a .ssh/ directory on an absolute path that is not a home .ssh directory. Each is matched as a whole file name, so a name such as .netrc.example, hosts.yml.bak or .secretsmanager is not the store, and the match does not depend on the upload’s destination. A store name whose parts are joined by repeated slashes or ./ segments is the same store. A relative key written directly after .ssh/ is still allowed, as before; written with a doubled slash or /./ after .ssh it now asks. The GitHub CLI, gcloud, Docker and Azure directories under a home directory are themselves a store when a command names the directory as a whole (the directory, the directory with a trailing slash, or a wildcard over its contents), so listing one asks as listing the SSH directory already does. Another file inside them, such as the GitHub CLI’s config.yml, is not the store, and a project’s own .docker/ or .azure/ folder is not a store directory (listing a project’s .docker/ folder is unchanged), though a store file named inside it, such as .docker/config.json, asks like any other copy of that file. Every store name uses one boundary: the name is found wherever a shell path can start (after an operator, a quote or an escape, or attached to an option word) and wherever it can end. The absolute .ssh/ key rule has a narrower start: the start of a word, an operator, a quote, an equals sign, or an option word, but not a backslash or a file-marker prefix such as curl’s @. An option word is a single dash followed by a run of letters; the name may begin after any letter of the run, so a cluster of short options with the operand attached to its last letter counts too, as does the same word opened by a quote or carrying a backslash before the dash or a letter. A store name given as an operand that is not a file (a git log -S string, a jq path, a grep pattern) also asks; that over-asking is accepted. .kube/config and .npmrc are left out on purpose, and, while the guard is running, a Read tool call on a credential file is unchanged. Known gap: a private key (id_ed25519, id_ecdsa or id_dsa) in a .ssh/ directory on an absolute path that is not a home directory is still allowed when the path carries a file-marker prefix, a leading backslash, a doubled leading slash, or a colon or space in a parent directory name, and so is such a key in a home .ssh directory written with /./ or a doubled slash between the home directory and .ssh. Earlier releases allowed these too, and id_rsa still asks under every one of these spellings. Also still allowed, as in earlier releases: a relative key written directly after .ssh/, even when that read is uploaded, and .aws, which has none of this release’s separator or directory handling. Only the exact .aws/credentials spelling asks, so an archive of the .aws directory, an upload of the credentials file written with a doubled slash, a wildcard over the credentials name, and changing into the .aws directory and uploading the credentials file from there, are allowed. This rule asks rather than blocks. While the guard is running, that ask happens only when it is on and enforcing. On Claude Code and OpenClaw, Watch only warns and allows ordinary dangerous-tier calls, and Enforce when ready remains in shadow until readiness conditions and reviewed effectiveness evidence are met. Explicit enforcement does not need a protect pin. An enforcing Hermes install, which has no approval prompt, blocks the call. The enabled Hermes plugin enforces by default and ignores that readiness gate; it switches to advisory only on an explicit opt-out such as SHIELDCORTEX_ENFORCE=0. The Claude Code hook denies it when Claude Code has no prompt to show. Action Guard’s other blocking checks, such as the catastrophic ones, still apply to the same call. The outage fallbacks (the Claude Code hook, OpenClaw and Hermes) carry the same store list and boundary and match on the text of the call, so while the guard is unreachable a Read of a store file, or a store name quoted in a command, can also match even though the running guard allows it. Each host’s existing outage policy then applies. When enforcing (the default for that outage policy, not a change to Action Guard’s off-by-default setting), the Claude Code hook asks, or denies when Claude Code has no prompt to show; OpenClaw denies by default; and an enforcing Hermes install blocks. Advisory mode (enforce: false, or SHIELDCORTEX_ENFORCE=0 for Hermes) allows an ordinary dangerous-tier match and logs a warning. Catastrophic matches still block, and self-protection matches are handled as when enforcing.
Before you upgrade: if Action Guard is on and enforcing, more calls ask for approval, including a command that reads, writes, lists or uploads one of the named stores, and a Write or Edit on one of those files. Turning it on is not the same as enforcing. On Claude Code and OpenClaw, Watch only warns and allows ordinary dangerous-tier calls, and Enforce when ready remains in shadow until readiness conditions and reviewed effectiveness evidence are met. An enforcing Hermes install, which has no approval prompt, blocks the call. The enabled Hermes plugin enforces by default, ignores the readiness gate, and switches to advisory only on an explicit opt-out such as SHIELDCORTEX_ENFORCE=0. Explicit enforcement does not need a protect pin. Catastrophic matches still block, and self-protection matches are handled as when enforcing. A store name that is not used as a file can also ask, for example in a git log -S string, a jq path or a grep pattern; that over-asking is accepted. While the guard is unreachable, the fallbacks match on the text of the call, so a Read or a quoted store name can match there. Some spellings are still allowed, as in earlier releases, including some spellings of an id_ed25519, id_ecdsa or id_dsa path in a .ssh/ directory, a relative key written directly after .ssh/, and .aws spellings other than the exact .aws/credentials. .kube/config and .npmrc are left out on purpose.
ShieldCortex 5.22.1 release notes on GitHub
v5.22.0
2026-11-23
Tagged but never published to npm; superseded by 5.22.1. The publish run was stopped before any package was published because the tagged release notes were missing two review corrections: how each host handles the new ask (including the Claude Code deny when there is no prompt to show) and what the outage fallbacks match (a Read of a store file or a quoted store name). 5.22.1 carries the same code with corrected notes. Do not install 5.22.0; it is not an npm release.
v5.21.1
2026-11-22
Patch on 5.21.0, which it replaces; 5.21.0 is deprecated on npm. Makes the memory-directive screen fast on code-heavy writes, and stops a memory cap in config.json that has no valid ShieldCortex signature from lowering the memory eviction limits. Guard posture and defaults are unchanged. Action Guard stays off by default. Node floor unchanged.
- A memory cap without a valid signature can no longer lower the memory eviction limits —
memory caps in config.json apply as written only when the file has a verifying embedded signature (written by shieldcortex config --memory-cap, or by shieldcortex config --resign after a hand edit). Unsigned, tampered, stale-embedded or legacy-only-signed caps are unverified: values below the built-in limits (LTM 1000, STM 100) are ignored, and higher values are kept up to the setter maximum (LTM 100,000, STM 10,000). An unverified cap above that maximum is clamped to it, so normal consolidation can then evict the excess; a signed cap applies as written. A warning names the reason, and doctor’s Memories row names the reason and the built-in default floors. To keep an unsigned or legacy-only-signed cap, set it with config --memory-cap. If config.json’s signature does not verify (for example after a hand edit), config --memory-cap refuses to re-sign it: review config.json, preview with config --resign, then sign with config --resign --confirm <sha256>. Known limit: a later config write, including an automatic cloud-sync write, signs the file as it stands, so an unsigned cap edit present at that moment becomes verified. Default caps, Guard posture and config writes are unchanged.
- The memory-directive screen no longer takes seconds on some short memory writes that contain code blocks or inline code — 5.21.0 made the screen’s main check linear, but deciding which code blocks and quoted spans to set aside still went through older helpers, so some writes of a few kilobytes containing code could take seconds to screen. Those helpers now do bounded work per match: on the shapes we measured, a 50 KB write is screened in well under a second, and every verdict is the same as before. The same helpers also serve the existing untrusted-content (L2) scan, which gets faster on the same shapes with unchanged verdicts.
Before you upgrade: if you lowered memory.maxLongTermMemories or memory.maxShortTermMemories below 1000 / 100 by editing config.json by hand, that lower cap is now ignored, with a warning, until you sign it: set it again with shieldcortex config --memory-cap, or, if config.json’s signature no longer verifies, review the file and recover it with shieldcortex config --resign. Raised caps keep working up to LTM 100,000 / STM 10,000; a cap above that without a valid signature is now clamped to it, and normal consolidation can then evict the excess. A signed cap applies as written.
ShieldCortex 5.21.1 release notes on GitHub
v5.21.0
2026-11-21
Deprecated on npm and replaced by 5.21.1. Minor on 5.20.4. Adds a memory-directive screen for writes into agent memory, and signed setters for the memory caps and ShieldCortex’s own disk budget (shieldcortex config --memory-cap and shieldcortex config --disk-budget). Fixes no-op consolidation runs on a store that sits exactly at its caps, and three shieldcortex doctor rows: Disk, Memories and Runtime posture. What an operator may notice. A standing instruction about a control that an agent tries to write into memory is no longer stored silently: automatic memory capture refuses the write and records an audit entry, and an agent’s MCP remember or import_memories call is held in quarantine for you to review. Your own shieldcortex remember command is unchanged and never screened. The screen is a deterministic floor, not a detector of intent: it is lexical, English-only, and makes no model call, so a reworded instruction with no control words in it gets past it. shieldcortex doctor folds stale runtime reports into one line per agent (--verbose lists them); the runtime posture rows are only ever pass or info, so exit codes and the warn and fail counts are unchanged, though the pass count can change compared with 5.20.4. Defaults are unchanged: LTM 1000, STM 100, disk budget 100 MiB. This release does not turn on one-tap phone approval. Action Guard and its defaults are unchanged, and nothing about what the guard allows or blocks changes. Action Guard stays off by default. Node floor unchanged. 5.20.4 is not listed on this page; its notes are on the GitHub releases page.
- A memory-directive screen for writes into agent memory — a standing instruction that relaxes a control, claims authority, hides something from you in a direct form, routes secrets, overrides the agent’s identity in a direct form, sets a permissive default, or sends everything to an outside address is no longer stored silently. Memory is read back as context in every later session, so a note such as “from now on, skip the confirmation prompt” becomes an order the agent follows next week. The screen needs both an agent-directed standing frame (an imperative, “you”, the agent as subject, an identity or mode change, or “from now on” style wording) and evidence about a control in the same sentence; neither half fires alone, so the screen stays quiet on runbooks and preference notes, as on tightening rules (“never skip review”), third-party reports of an attack, and historical approvals. Where it runs:
shieldcortex scan --source=memory_candidate reports it as memory_directive with the pattern names (never the text) and, in the default balanced mode, quarantines; automatic memory capture (the Claude Code hooks, the OpenClaw cortex-memory hook and the OpenClaw realtime plugin’s assistant-output capture) refuses the write and records an audit entry under memory_candidate; an agent’s MCP remember or import_memories call is held in quarantine for you to review, and releasing it from quarantine in the dashboard stores it. The MCP quarantine_review tool can no longer approve such a hold (single or by source): it stays pending for you, while every other quarantined item can still be approved there as before. Text a recall appends to a stored memory (enrichment) is screened the same way; a hit drops the appended text and leaves the memory as it was. Your own shieldcortex remember command is unchanged and never screened. This is a deterministic floor, not a detector of intent: it is lexical, English-only, and makes no model call, so a reworded instruction with no control words in it gets past it, and a false belief stored without any control in it (for example a wrong fact about which environment is production) is not covered. Action Guard and its defaults, the injection scanner, and every other scan label are unchanged. An older installed build without the screen keeps capturing memories on the existing screen alone and says so once (the OpenClaw plugin also counts it in shieldcortex-status as memory_directive_screen_unavailable). A screen that throws is treated the same way: it is reported once, never with the text or the error, and counted as unavailable rather than as a refusal. Persistence wording on its own keeps the verdicts it had before (a preference note such as “From now on, always use British English spelling.” can still be held under memory_candidate); this screen only adds holds. The screen’s cost grows linearly with the size of the text. A long memory with no sentence punctuation and the same control wording repeated used to take seconds per write (5-12 s for 200 KB, longer for some shapes); 200 KB now takes under a third of a second, with the same verdicts.
shieldcortex config --memory-cap ltm=N[,stm=M] and shieldcortex config --disk-budget <size> set the memory caps and ShieldCortex’s own disk budget as signed writes — until now the only way to raise a cap was to hand-edit the signed config and run config --resign, and the disk budget was fixed at 100 MiB. --memory-cap takes ltm=N, stm=N or both (LTM 100 to 100000, STM 10 to 10000, whole numbers) and writes memory.maxLongTermMemories / memory.maxShortTermMemories. --disk-budget takes a whole number with an optional unit (250MB, 1GB, 500MiB, or a byte count; 50 MiB to 50 GiB) and writes storage.diskBudgetBytes. Both print the old and new values, refuse an invalid value or a config whose memory or storage entry is not an object without writing anything, and keep the existing refusals for a tampered, unreadable or symlinked config. They run as their own command: combined with any other config option they are refused before anything is written. Neither deletes anything: lowering a cap below the current count prints a warning that the next normal consolidation evicts the oldest unpinned memories. Doctor’s Disk check, maintain, the safety backup before memories repair-project-keys and the session-capture size-pressure valve now use the budget; an absent or invalid stored budget means the 100 MiB default, and so does a budget in a config.json whose signature does not verify (tampered or unsigned): it is ignored with one warning, never adopted or re-signed. The valve starts trimming at half the budget and never above its old 50 MB threshold: the live database file keeps its own 100 MB block whatever the budget, so a raised budget does not delay capture cleanup, and at the default nothing changes. The scheduled cleanup, import_memories and the consolidation preview now use your configured caps; they used the built-in 1000/100 and could undo a raised cap. Defaults are unchanged: LTM 1000, STM 100, disk budget 100 MiB.
- The brain worker no longer logs “Predictive consolidation triggered: STM at 100% (critical threshold)” every five minutes on a store that sits exactly at its caps — consolidation evicts only rows over a cap, so at 100/100 STM with nothing ready to promote each run changed nothing. A tier over its cap triggers critical consolidation. Fullness-based triggers, including the critical STM threshold, now run only when there is work to promote or expire; a store exactly at its caps with no such work no longer triggers a no-op run. It uses your configured caps instead of a fixed 100/1000. A run that changes nothing is logged once an hour at most, in plain words, and so is the light-tick summary line for such a tick.
- Doctor’s Disk row no longer fails on realtime audit evidence — the row is judged on the memory data (database, repair and other logs, state); the realtime audit plane is shown as its own number, not counted against the budget. Audit evidence has no retention yet and nothing here deletes it, so audit growth alone is at most a warning, with the existing wording. Every part of the row is measured without following symbolic links, so an
audit link pointing elsewhere cannot subtract bytes the total never counted. On the default budget, a warning or failure also names shieldcortex config --disk-budget <size>.
- Doctor’s Memories row names a command that helps when long-term memory is at its cap — at 95% of the LTM cap up to the cap itself, the row says that at the cap consolidation evicts the oldest, least-used unpinned memories, and its fix is
shieldcortex config --memory-cap ltm=<twice the cap>, capped at the setter’s 100000 maximum; at the maximum it says the cap cannot be raised further and names no command. shieldcortex consolidate is named when STM or LTM is over its cap, the state it changes — for example right after the cap is lowered — and doctor never suggests raising a cap the store is already over.
shieldcortex doctor no longer lists every old runtime report, and old reports no longer set the host’s runtime posture — each agent process (the Claude Code hook, the OpenClaw plugin, the Hermes plugin) writes a small report of what it is doing. Reports from processes that had since exited stayed on disk, so one host printed 35 Runtime posture rows, most of them from dead processes, and its host row read unknown (Hermes, tool-gate) on a machine with no Hermes. A report is now stale only on evidence that its writer is gone: doctor checked the process id and it has exited (or now belongs to another process); nothing has been heard from it for 7 days; it is a Claude Code session (the hook has no long-running process to check) that has been silent for more than a day while a newer session for the same agent is reporting now. Silence alone, a later start time, or the HOSTS table calling an agent absent is not proof that something ended: a report from an agent HOSTS calls absent (from a container, say, or a non-standard home) is judged until one of those rules applies, and a quiet Claude Code session with no newer session beside it, and two OpenClaw or Hermes processes that both report, are all still judged. A stale report is never judged for the host row, which now reads weakest of N record(s) judged (M found, K stale not judged). An old report never makes the host look healthier than no report at all: an agent that is present but whose reports are all stale keeps one no reporting instance row (present, no current report), judged exactly like an agent that never reported, so it can never be green. HOSTS calling an agent absent only means it gets no such row. When nothing at all is left to judge (every report found is stale and its agent absent) the host row reads no live instances reporting instead of unknown. The default report prints the reports that are not stale as before and one line per agent for the rest, such as 1 current, 16 stale hidden (--verbose to list), adding (K unverified) when doctor could not confirm some of the current ones (a process it cannot check, or a report it could not read); --verbose lists every report as before. doctor --json still has every row and adds stale (true or false) and staleReason to each posture row; shieldcortex policy-evidence adds stale and stale_reason to each record and stale_count to the summary, and its summary judges the same reports as doctor. No field is removed. A process the host confirms is running is never stale, so a running agent that reports posture unknown is still listed and still sets the host row to unknown, also when the HOSTS table calls its agent absent. The OpenClaw and Hermes plugins now also record their PID namespace (on Linux the id of /proc/self/ns/pid) in a small file beside each report, <report name>.pidns, holding only that number (or null where it cannot be read). Doctor treats a vanished process id as proof of exit only when that namespace is its own. A report with no namespace file, or with one that is unreadable, a symlink, oversized, malformed, not private to the user, or older than the report, is treated as namespace unknown and aged by the 7-day rule instead. The same applies to a report from a container and to a report from an older plugin. The report format itself is unchanged (still version 1), and older shieldcortex CLIs only read *.json files, so they never see the namespace file. Plugins and CLIs from different releases therefore accept each other’s reports as before, in either upgrade order. Known limits: on macOS and Windows doctor cannot check whether a process is still running, so an OpenClaw or Hermes report there is never stale by a process check, only by age; reports from older plugins on Linux likewise go stale only by age until those plugins are upgraded. No report file is deleted by doctor; the Claude Code hook removes its session reports after 48 hours, and the OpenClaw and Hermes plugins remove their own (and the namespace files beside them) after 7 days, when they next write one. These rows are only ever pass or info, so exit codes and the warn and fail counts are unchanged. The pass count can change compared with 5.20.4: when stale reports stop being judged, the host row can move from info to pass. Folding stale rows into one line changes no count, and nothing about what the guard allows or blocks changes. A report doctor refuses to trust (in a directory others can write, a symlink, not private to the user, owned by another user, over the size cap, or unreadable) is never aged out: whatever its age it is judged, as before, and, in the cases above, keeps the host from being green, because whoever could plant such a file could also set its date. Only a report this user wrote privately whose content is invalid goes stale after 7 days. Known limit: when a current report for the same agent and profile is also present, a refused report in that same profile is still left out of the host row; this predates 5.21.0 and is not fixed in it.
ShieldCortex 5.21.0 release notes on GitHub
v5.20.3
2026-11-20
Patch on 5.20.2. Two fixes, as listed in the published release notes.
- OpenClaw realtime plugin — the realtime plugin is installed from npm at the exact version.
shieldcortex update boot-env retry — the retry reads every EnvironmentFile of the gateway unit.
ShieldCortex 5.20.3 release notes on GitHub
v5.20.2
2026-11-18
One of the two fixes listed in the changelog at the v5.20.2 tag; the other is a fix to shieldcortex update.
- MCP tool alert retry — When only some MCP tool alerts were delivered, an ordinary retry now sends the outstanding alerts instead of repeating the whole batch. Crashes, concurrent checks or an expired checkpoint can still cause repeats.
ShieldCortex v5.20.2 tag on GitHub
v5.20.1
2026-11-16
Patch on 5.20.0. Fixes to the package check added in 5.20.0, to shieldcortex update, protect, config and doctor, and to false positives on Action Guard’s self-protection floor, plus a transitive dependency bump. Three things an operator may notice. shieldcortex config with an option it does not know now exits 2 instead of printing help and exiting 0. sudo shieldcortex protect over a policy lock that already verifies keeps that lock’s reviewed-script pins and refuses a looser replacement, and protect --dry-run exits 1 when the real write would be refused. shieldcortex doctor gains an info-only Codex tool boundary row, which cannot change its exit code. Two doctor Action Guard rows (the notify webhook and the absent policy lock) now show info instead of a warning when doctor positively proves Guard is off everywhere, so they no longer count towards doctor --strict failing. No configuration or schema change. The agent-config watch webhook payload gains two optional fields on a package-check follow-up (packageCheckFollowUp, packageChecks). Action Guard stays off by default. Node floor unchanged.
shieldcortex config refuses an option it does not know instead of printing help — a typo such as shieldcortex config --action-guard-enabled matched nothing, printed the full help text and exited 0, so it looked as if the setting had been applied. An unknown option now exits 2 before anything is read or written, so a typo beside a real flag does not apply the real flag either. One unknown option is reported as Unknown option "<flag>"., followed by Did you mean <flag>? when exactly one real flag is within two edits of it; several are listed on one line with no guess. Both forms end with a pointer to shieldcortex config --help. An = spelling such as --mode=strict is refused the same way: the value is never printed (the option is shown as --mode=…), and for a real flag the message says to pass the value as a separate word. --help, -h and a bare shieldcortex config still print help. A script that relied on exit 0 from a misspelled config option now gets exit 2. No setting or default changes; Action Guard stays off by default.
shieldcortex protect no longer replaces a verified policy lock with a looser one, and keeps its reviewed-script pins — re-running sudo shieldcortex protect on a host that already had a lock used to write the new candidate over it. A bare run reset the lock’s reviewed-script pins to an empty list, and --from-config could pin looser values than the lock held. When the existing lock verifies for the agent uid, protect now compares every key that lock covers before replacing it, and prints each one as old value -> new value. A bare run carries the lock’s reviewed-script pins forward as they are, without opening or re-hashing the script files. The replacement is refused, with a REFUSED line for each reason and nothing written, when the candidate would leave out a key the lock covers, loosen a value (Action Guard on or enforcing to off, broker off to on, an auto-approve entry the lock does not have, a weaker defence mode, a different memory posture or inject mode), drop a pin or add a new one. A verified lock holding fields this version does not recognise is refused as well, because rewriting it would erase them. protect --dry-run now exits 1 when the real write would be refused, including for a destination that would not verify for the agent; before, it printed a warning and exited 0. An existing lock that does not verify is never trusted: none of its pins are carried forward and nothing is compared against it. It is replaced only when it can be read without following a symlink and stays unchanged through the run; otherwise protect refuses and writes nothing. The existing lock’s content and file identity are checked once more just before the atomic rename, and a change there stops the replacement. Limits: another privileged process replacing the lock between that last check and the rename is not excluded; there is still no way to add a reviewed-script pin to a host that is already locked; and there is still no unprotect. A first protect on a host with no lock behaves as before. No Guard default changes; Action Guard stays off by default.
- Doctor no longer warns about the notify webhook or an absent policy lock when it has positive proof Action Guard is off — the
Action guard notify row and the absent policy-lock row drop from warn to info, with no fix hint, only when doctor positively proves that no Action Guard plane is armed. An unknown or unproven state keeps its warning and fix hint. These two rows no longer count towards a doctor --strict failure; other rows, including the Action guard posture row, still warn as before.
- Doctor no longer suggests turning Action Guard off to clear a posture mismatch — when the signed setting is off or advisory and a live plane is stricter, the Action guard posture row states both directions and names no command. It no longer offers a single command that would turn that plane off or drop it to advisory. The human report now prints that explanation, with or without
--verbose; before, it printed only the shieldcortex guard posture --help line. doctor --ai holds to the same rule. When the posture row is failing, or the AI note cites it, the suggested command must be one of four read-only commands: shieldcortex guard posture, shieldcortex guard posture --json, shieldcortex doctor or shieldcortex doctor --verbose. Any other command, however it is spelled or quoted, is replaced with shieldcortex doctor --verbose. In that case the note never shows the model’s own words: the hypothesis line is a fixed sentence and the command is one of those four read-only commands. For other findings, a command that would change a posture is still replaced when it is one of these: the shieldcortex config --action-guard-* setters, an OpenClaw or Hermes plugin disable, uninstall or remove, an openclaw or hermes config set or unset on the plugins, and a SHIELDCORTEX_ENFORCE= assignment, quoted or not. A hypothesis that names one of those is not shown. shieldcortex guard posture --help, which the row names, now prints the guard help instead of a usage error. Off remains the default. Nothing about what the guard allows or blocks changes.
- Doctor states both directions when one plane is stricter and another looser than the signed setting — with signed advisory, an OpenClaw plugin entry that enforces and Hermes reporting off, the Action guard posture row said only that putting every plane on the signed setting would turn a plane up. It did not say that the enforcing plane would drop to advisory. The row now works out each direction on its own and states every one that applies: matching the stricter plane down to the signed setting, and what that does to the plane; putting a looser plane on the signed setting, which turns that plane up; and raising the signed setting to the stricter plane, which also turns a plane up. That last direction is stated only when it is true: Hermes does not read config.json, so when the Claude Code hook is not wired and no OpenClaw plugin entry follows the signed setting, raising it turns no compared plane up and the row does not say it would. The same holds when the only stricter plane is one Hermes profile. When the signed setting is enforce-when-ready, the only plane that can be stricter is Hermes enforcing, and Hermes has no enforce-when-ready posture: the row says so (Hermes enforces, or an explicit
SHIELDCORTEX_ENFORCE opt-out makes it advisory) instead of saying the plane would drop into a readiness-gated shadow, and it does not count Hermes as a looser plane that could be put on the signed setting. A mismatch with no stricter plane, and a hook/plugin mismatch over a signed off or advisory setting with no looser plane, read exactly as before. The row still names no command that changes a posture. Off remains the default. Nothing about what the guard allows or blocks changes.
- Doctor says what Action Guard does not cover on Codex —
shieldcortex doctor gains an info row, Codex tool boundary, shown when it finds a Codex or OpenClaw posture record. It says ShieldCortex does not deny or hold Codex-native tool calls. On bare Codex (the CLI, .codex in the home directory) ShieldCortex installs no Codex hook, so native shell and apply_patch calls run with only Codex’s own sandbox and approvals. For Codex run by OpenClaw, OpenClaw-owned tools reach the ShieldCortex OpenClaw plugin’s before_tool_call check; one past probe observed that with the plugin in observe mode only, and a deny or hold on that path is untested. Codex-native shell and apply_patch through OpenClaw’s native hook relay are unverified. The row also says that a benign allow normally writes no audit row, so a missing row does not mean the check was skipped. It is info-only: it never changes doctor’s exit code, including under --strict, and the existing Codex row that says not a tool gate stays. Wording and documentation only: no hook is added, no posture changes, and nothing about what the guard allows or blocks changes. Action Guard stays off by default.
- Watch no longer holds three routine headless calls on the self-protection floor, and an approval now matches an OpenClaw exec retry — the floor (touch-guard-config, touch-approval-store, touch-decisions-ledger, disable-action-guard) still holds real writes to this host’s guard config, approval store, decisions ledger and OpenClaw config. Three shapes that only read, or only mentioned, those paths no longer trip it. First, a
/dev/null discard (2>/dev/null, &>/dev/null, > /dev/null) is no longer counted as a write by the read-only carve-outs, so an ls of the approvals directory or a cat of the guard config with its errors discarded is judged as the read it is. Any other redirect in the same command still keeps the gate, and >/dev/null/../x is not a discard. Second, ssh [plain options] host '<command>', as the first word of the command, is judged by its remote command, by the same read-only test that already relieves the identical local read, so a cat of the OpenClaw config over ssh runs. A remote write, a local redirect or tee, sudo ssh, $(…), an interpreter, and the options that run a local command or write a local file (-o ProxyCommand, -F, -E) keep the gate, and so does anything that can feed ssh’s stdin: a pipe into ssh, or any < anywhere in the command (a redirect, a here-string or a process substitution). The guard does not assume the host is a different machine. Third, in a Python script read from disk, a docstring (a triple-quoted literal that is a whole logical line) is blanked like a comment, so a usage block naming the guard config or python3 scripts/x.py is neither guard-state access nor an unreadable script. Nothing is blanked if the rest of the script holds any readback channel: any __ name beyond __name__/__main__/__init__/__future__ (argparse’s description=__doc__ included: a script that hands its docstring to code keeps it scanned, and pinning it is the route), any dynamic lookup (getattr, globals, vars, eval, format), frame or code-object access, help readback or stdout capture, a self-path (argv, a .py literal) or stdin, or an import outside a small stdlib set. A docstring holding a URL is always kept. That check reads the script’s names the way Python does, after Python’s identifier folding, so __doc__, globals or getattr in a fullwidth spelling still keeps the docstring scanned, and so does a coding declaration that names a codec other than UTF-8 or ASCII. A lone / in such a script (the Path.home() / "x" operator) is no longer read as a script to run; a directory path such as python3 app/ still is. A pinned script (shieldcortex allowlist add) is neither opaque nor scanned for its own source; the command that runs it still is. A headless denial now tells the agent to ask the owner to pin a reviewed script with shieldcortex allowlist add <path>. Separately, an approval (shieldcortex approve, or approve --denial) now matches a retry of the same OpenClaw exec call when only its free-text label changed. For the tool names exec and mcp__openclaw__exec only, title, description and label are left out of the approval match when the call has a command; the command, working directory and every other field still have to match, and approvals stay one-shot and time-limited. Every other tool name, including other mcp__…__exec tools, still matches on the whole input, and the one-tap approval stays an exact match. Not changed: a Python (or other interpreter) program run over ssh that reads the OpenClaw config is still held, as the same read run locally is. Also not changed: getattr remains a shell-out sink in a Python script read from disk, whatever the attribute name, so a script that reads an argparse flag as getattr(args, "reason", "") is still searched for child scripts; reading the declared flag as args.reason instead is allowed, pinned or not. Off remains the default; no posture changes.
shieldcortex update no longer gives up on the OpenClaw plugin over a gateway secret reference, or tells you to re-run itself to fix it — when OpenClaw refused update’s openclaw plugins install --force @drakon-systems/shieldcortex-realtime@latest because gateway.auth.token is a secret reference it could not resolve for that install, the plugin step stopped there. The closing screen then gave shieldcortex update as the OpenClaw fix, which only repeats the refused install, while the Guard row on the same screen gave the force install. The step now runs the same install once more, and only once: the same openclaw, arguments and environment as the first attempt, with no shell. It does not look for openclaw anywhere else. It then reports the version that landed. If that is refused too, the step, the footer and the closing screen’s “plugin couldn’t be updated” row name openclaw plugins install --force @drakon-systems/shieldcortex-realtime@latest, to run from the shell where openclaw resolves the reference, and never shieldcortex update. When the plugin step fails with its own fix command and the Guard row reports the plugin out of date or cannot confirm OpenClaw is checking tool calls, that row now gives the same command (the force install, or openclaw plugins reload shieldcortex-realtime --wait after an unsettled swap) instead of a different one. When the end-of-run check finds the gateway running with no ShieldCortex plugin, both rows still give that check’s own command. Any other install failure is not retried. OPENCLAW_HOME reaches both installs unchanged, and update still reads, loads and passes no secret. Off remains the default. Nothing about what the guard allows or blocks changes.
shieldcortex update no longer refreshes the Hermes plugin when a plugin directory’s manifest could not be looked up — when Hermes cannot be asked, update may refresh $HERMES_HOME/plugins/shieldcortex only if it is the sole possible copy under that home. That check chose each directory’s manifest with an existence test, and an existence test answers “not there” for a permission error too. A plugin directory one category level down (plugins/<category>/<name>, in the home or in a profile) that could be statted but not searched (chmod 600, for example) was treated as having no manifest and skipped, so the refresh could go ahead while a second copy might be sitting there. The check now keeps three answers apart at both depths it scans: a manifest, no manifest (ENOENT or ENOTDIR for each of plugin.yaml, plugin.yml and plugin.json), and a lookup that failed for any other reason. On a failed lookup update writes nothing, as it already does for an unreadable listing or manifest. Nothing changes when Hermes answers, or on a host whose plugin directories are all readable. No change to Action Guard or configuration; Action Guard stays off by default.
- Package check: a malformed OSV answer is never read as clean, the agent-config watch’s check no longer sits on the delivery path, and overlapping checks keep a malicious record — three changes to the 5.20.0 package check. An OSV reply that is not in the documented shape (not a JSON object, an unknown key such as an error body, a
vulns that is not a list, an entry without a string id, a withdrawn that is not a real RFC 3339 date-time, aliases that is not a list of strings, or more pages than were fetched) is now treated as a lookup that could not finish: unchecked for the exact query, the malicious-package check was unavailable for that package in the batch. It never evicts a cached hit and never outweighs a malicious answer from the other query. A well-formed MAL- entry inside an otherwise malformed reply still counts; in a batch reply only when its results line up one-to-one with the queries. {} and {"vulns": []} are still clean. The agent-config watch’s check of an added or changed MCP server launched by npx/uvx now sends any finding as a follow-up notification after that file’s change notification, instead of looking the package up first and appending the result to the change notification. Delivery, the audit row and the baseline no longer wait for a lookup. The lookups for every changed file run together inside one window (at most 2.5 s, closed by the half-way point of the watch’s 5 s budget); an answer that arrives after the window is dropped. A follow-up that is not delivered is recorded as a notify-error row for its file, once, and is not retried. The webhook payload marks a follow-up packageCheckFollowUp: true and carries the findings as packageChecks (up to three { name, malicious, reasons } entries); a follow-up’s severity is high only when a checked package is known malicious, not because the change it follows was high severity. Because those lookups now run together, a cache write merges the records its own check added or evicted into the file as it is at that moment instead of replacing the file, and an eviction removes only the record its check saw when it started, never one written after that. When two checks of the same package version overlap and one gets a clean answer while the other gets a malicious one, the malicious record is kept whichever finishes last, so that version still blocks with the network away. Two clean answers still evict a stale record, as does a clean check that starts after the malicious one has written; an expired record is dropped and never blocks. Each cached row is also validated on its own: a valid cached MAL- hit is kept and an invalid row is discarded, so a malformed row cannot cancel another package’s online or valid cached malicious hit. Unchanged: only MAL- hits are cached (6 h, directory 0700, file 0600), a clean answer is never cached, a cache that cannot be read or written never fails a check, a lookup that cannot finish fails open except for an unexpired cached MAL- hit, and the watch’s check stays report-only. No change to what Action Guard allows or blocks for a well-formed answer; Action Guard stays off by default.
- Package checks resolve npm versions more efficiently and preserve cached malicious hits across concurrent processes — exact pins use the per-version manifest; ranges and tags use abbreviated registry metadata, preferring a satisfying
latest tag before the highest matching version. A missing selected manifest falls back to full metadata. Neither abbreviated metadata nor a per-version manifest normally supplies publication time. With age checking enabled, one full metadata request per command is shared across exact pins and ranges/tags; later resolved refs report age unchecked rather than claiming they are old. An age lookup failure still leaves the version, install hooks and OSV MAL- block in force. minAgeDays: 0 skips age fallback requests. npm range and unpinned selection follows npm’s own latest-tag eligibility and fallback ordering for deprecated and Node-incompatible manifests: a bare or @* install takes a prerelease latest, including on a package that has only prereleases; other ranges do not unless they name a prerelease, and exact requested tags remain exact. engines.node is judged against the Node running the check, not the installer’s Node. When the selected manifest’s engines.npm would change npm’s pick under an npm that rejects it, the selected version’s OSV answer, age and hooks are still reported, and a name-only MAL- hit is kept and blocks (pin a version to pass) instead of being cleared by that version’s answer. Registry-tarball hook findings exclude prepare-only scripts. Cache reads use the opened file rather than a second path lookup, with nonblocking, no-follow opens and regular-file checks, so a FIFO path cannot stall the guard. Writes take a short cross-process lock and publish atomically; unavailable cache writes never cancel the current malicious-package block. A live lock is not reclaimed, while an old lock with a confirmed dead owner is. The 3 s lookup budget and the MAL- hard block on every posture remain unchanged.
- Production dependency audit: transitive
hono and @hono/node-server bumped — hono 4.13.13 → 4.13.18 and @hono/node-server 2.1.5 → 2.1.8. Both come in through @modelcontextprotocol/sdk. Lockfile only, no ShieldCortex source change.
ShieldCortex 5.20.1 release notes on GitHub
v5.20.0
2026-11-12
Minor on 5.19.0. Adds pre-install package vetting to Action Guard and the agent-config watch, and fixes read-only command classification, prompt recall, update guidance and agent-config tamper scanning. With Action Guard on, an install the guard already sees has its package and requested version resolved against the npm registry or PyPI and queried against OSV for that exact version. A known-malicious (MAL-) hit is blocked on every posture, including advisory and shadow. An OSV advisory, a recently published version, an npm lifecycle script or a source-only PyPI release only adds plain-English reasons to the approval card and the audit row; age or hooks alone never block. A lookup that cannot finish within the 3 s budget is reported as unchecked, never as clean, and fails open, except that an unexpired cached MAL- hit still blocks. actionGuard.packageVetting.enabled: false turns it off. Action Guard remains off by default.
- Action Guard: pre-install package vetting via OSV, version age and install hooks — an install the guard already sees (
npm/pnpm/bun add or install, yarn add, npx, bunx, pnpm dlx, yarn dlx, pip/pip3, uv add, uv pip install, uvx, pipx) now has its package and requested version resolved against the npm registry or PyPI and queried against OSV for that exact version. A MAL- (known malicious) hit is blocked at the catastrophic tier on every posture, including advisory and shadow. An OSV advisory, a version published less than actionGuard.packageVetting.minAgeDays (default 7) ago, an npm lifecycle script or a source-only PyPI release only adds plain-English reasons to the approval card and the audit row (packageVetting); age or hooks alone never block. A lookup that cannot finish within the 3 s budget is reported as unchecked: <reason>, never as clean, and fails open, except that an unexpired cached MAL- hit still blocks. Only MAL- hits are cached (6 h, under .shieldcortex/state in the home directory, owner-only) so the offline block works; a clean answer is never cached. The malicious-package check covers every package in the command through OSV querybatch requests sent in chunks of at most 500 (a failed chunk is reported as check unavailable, never clean), independent of the 8-package registry cap. A name-only MAL- hit is resolved to the version the install would fetch; when that cannot be confirmed the install is blocked with an accurate reason, and a pin is the way through. Custom-index and public installs of the same package are vetted separately, vetting runs before native provenance is recorded, and npm aliases (foo@npm:pkg@1) are vetted by their target. Custom registries and indexes are recognised from flags before or after the verb and from npm_config_registry/PIP_INDEX_URL-style env prefixes. The vetting opt-out is dropped under a policy lock or the strict posture, including when it sits in the deprecated interceptor.actionGuard alias. The agent-config watch applies the same check, report-only, to a newly added MCP server launched by npx/uvx. Wired into the Claude Code hook and the OpenClaw plugin; actionGuard.packageVetting.enabled: false turns it off. On the webhook card, which carries only fixed phrases, the findings appear by kind (known malicious, published advisory, recently published, install scripts, check unavailable), and the package name, version and OSV id stay on the interactive card and the audit row. Deprecated or archived package detection is not part of this release.
- Action Guard: the read-only inspection relief no longer hides a
grep it cannot read, or a jq filter that loads a module — the read-only inspection relief, which was not in any earlier release, stops the guard rating a search pattern or file name as a command when a statement is only a read. For grep, egrep and fgrep it now applies only when every option is one that takes no value: a cluster of no-value short flags such as -n, -rn or -inw, an exact no-value long option such as --line-number, --color, --binary or --no-group-separator, or --. An option that takes a value (-A 2, -A2, -B 3, -C1, -m 1, -m1, -e PATTERN, --exclude-dir DIR, --max-count N), a -NUM context, an abbreviated long option or an unknown option now leaves the statement to be rated as before, wherever the option appears. For jq, every option must be one jq documents, and the guard reads the command the way jq does. It skips the words an option takes as its value (--arg NAME VALUE, --indent N), so a -- in that position is a value, not the end of options: jq --arg name -- -f prog.jq data.json loads prog.jq and is no longer relieved. A real -- still ends the options, so a data file named -f after it (jq -- . data.json -f) is still relieved, and so is a filter that starts with a dash (jq -1 data.json, jq -.a data.json). --run-tests, whose test file holds programs, is refused too. A filter that can load a module (an include or import directive, or a modulemeta call) is no longer relieved. The words count only in the filter itself, and only as code, so a field such as .import, an object key such as {import: 1}, a variable such as $include, a string such as "import", an --arg value or a file name holding one of the words is still relieved. -L/--library-path and -f/--from-file were already refused. grep -n PATTERN FILE, grep -- PATTERN FILE and ordinary jq data reads are still relieved.
- Update panel no longer tells you to turn Action Guard on — when Guard is off, the closing update panel still says
off (the default) and no longer prints Turn on: shieldcortex config --action-guard-enable. The one-time notice for an upgrade that crosses 4.54.15 says Guard is opt-in and how to check status; it does not print the enable command. Off remains the default. Nothing about what the guard allows or blocks changes.
- Recall sanitiser: a conversation-info header stays on one line — a header that opened with
conversation info ( and closed on a later line used to strip every line in between, including owner text and a lane marker. The qualifier cannot cross a line break. Whitespace before ( and between ) and : cannot cross one either, so conversation info followed by a line break and (owner text): no longer strips that next line. A normal one-line header, including one with spaces or tabs in those positions, is unchanged.
- Prompt recall no longer returns the same top-k for unrelated OpenClaw 2026.10.x turns — the recall query is the first six distinct terms of the sanitised prompt, and the sanitiser did not know the 2026.10.x turn boilerplate: the leading
[Tue 2026-11-03 11:48 UTC] envelope timestamp (removed only after a ⟦openclaw:ctx⟧ envelope) took four of the six terms on every turn, and a short owner message had the rest filled from the trailing visible-reply guidance. The sanitiser now also removes closed <<<BEGIN_OPENCLAW_INTERNAL_CONTEXT>>> blocks, a closed OpenClaw runtime context: … End OpenClaw runtime context. block, the trailing run of guidance paragraphs (matched sentence by sentence, only at the end; owner text that follows a guidance sentence in the same paragraph is kept, as is the same sentence quoted inside the owner’s own paragraph) and the leading timestamp. Framework blocks are removed only where the framework puts them, and only when the prompt carries framework evidence that does not come from the block itself: a closed block at the start of the prompt or in the trailing run is removed when the sanitiser already consumed a framework wrapper for this prompt or the text opens with the envelope timestamp, and a BEGIN line counts only as the exact marker or the timestamp followed by the marker (owner words before the marker make it owner text). Without that evidence, for example outside OpenClaw, closed blocks are kept; when in doubt the sanitiser keeps. An owner message that is itself a complete BEGIN/END or runtime-context pair, or quotes one mid-text, is kept, and a step that would leave nothing returns its input, so the hook never gates a real message as too short. Known limitation: inside a real OpenClaw wrapper an owner message that is wholly such a pair cannot be told apart from the framework’s own blocks, so that one turn’s recall query falls back to the boilerplate (what happened before this fix on every turn); it is never empty and never gated, and it keeps the owner’s words. Lane detection reads the prompt without the internal-context step, because lane markers such as [Subagent Context] sit inside those blocks; it does drop the leading timestamp, so a timestamped Automated liveness check probe is now the automation lane (no recall) instead of an interactive run that filled the doctor’s Recall repetition sample.
scan-skill now flags instruction files that redirect an agent’s API endpoint or rewrite its configuration — a new agent_config_tamper category (HIGH, counted as a hard signal so SKILL.md/HOOK.md files are not density-capped) matches instructions to set endpoint/proxy variables (*_BASE_URL, *_API_BASE, AZURE_OPENAI_ENDPOINT, HTTPS_PROXY, ALL_PROXY and the lowercase proxy names) with a URL on the same line, literal assignments of those variables to a URL (VAR=https://…, export VAR="…", ENV VAR=…, "VAR": "https://…", VAR: https://…, process.env.VAR = "…", os.environ["VAR"] = "…", with the scheme in any case), instructions to write agent config files (.claude/settings*.json, .codex/config.toml, .cursor/mcp.json, .gemini/settings.json, mcp.json) with the file as the verb’s object on the same line or as a Markdown verb line ending in a colon with the path on one of the next three lines, adding MCP servers (a real add/enable/connect instruction) or hook blocks, or a real disable of sandbox/approval settings (turn off, disable, run without, or setting them to off/never). Write verbs include paste, copy, drop and place. Dangerous toggles (skipDangerousModePermissionPrompt, enableAllProjectMcpServers) are flagged only when set to an enabled value. Not flagged: setting the sandbox to read-only or turning it on; a negated instruction such as “never turn off the sandbox” (negation by “do not”, “don’t”, “never”, “avoid” or “without”, though double negatives such as “don’t forget to” are not negation); prose that only names a variable or file; a placeholder value such as HTTPS_PROXY=<your-proxy-url>; “add an MCP server section”; descriptive “we disable approvals”; and a compound preposition such as “Place the fixture next to mcp.json in the docs folder.” (next to, according to, instead of and a few like them). The verb’s own destination is unchanged: “add X to”, “write X back to”, “copy X over to”, “set this up in” and “change the value of” an agent config file are still flagged. At memory admission the category alone does not hard-block a trusted writer; it stays HIGH for instruction-file scans and still blocks low-trust sources. Every quantifier in the category is length-capped.
ShieldCortex 5.20.0 release notes on GitHub
v5.19.0
2026-11-09
Minor on 5.18.2. Action Guard’s audit log gains an audit-only native-exec provenance signal. With Action Guard on, the Claude Code hook and the OpenClaw plugin record, per session, the files the agent wrote or compiled. When a later call runs, preloads or names one of those files and it is now an ELF, Mach-O or PE image that the recorded call changed, its audit row gets an optional nativeExec field: exec, load or reference, plus agent-written, compiled-output or ambiguous, and sameCall for a compile and run in one call. It is a log entry only: no decision, severity, taint-escalation, approval or posture code reads it, so nothing is denied, held or escalated that was not before. A benign allow that carries it gets one audit row of its own; auditAllows: false turns that row off. Records live under .shieldcortex/native-provenance/ in the home directory, named by a keyed hash of the path and holding no path text; sessions idle for over 24 hours are swept when a later session first records. No configuration or schema change beyond the optional audit field. Action Guard stays off by default. Node floor unchanged.
- Action Guard: audit-only native-exec signal — the audit row can now show when a call runs or loads a native image (ELF, Mach-O or PE) that the agent wrote or compiled earlier in the same session. With Action Guard on, the Claude Code hook and the OpenClaw plugin record each call’s write targets (write-family tools, shell redirections,
tee, dd of=, curl -o, wget -O) and compiler outputs (cc, gcc, g++, clang, tcc, nvcc, ghc, rustc, gfortran, ld with -o, the default a.out except for rustc and ghc, and go build -o) as create-once records, one directory per session. Each record file name is an HMAC of the path keyed by the session, and the record holds only a kind, the file’s pre-call stat and a timestamp, so the store holds no path text. A session’s records are swept once its store directory has gone over 24 hours without changing, and only when another session records for the first time, not on a timer. Running, loading or naming a recorded file does not reset that age, so a session that keeps using its images without recording anything new can lose its records after 24 hours, and later uses are then not labelled. The store refuses a root or session directory that is a symlink, is not a directory, or (where the platform has getuid, so not on Windows) is owned by another user, when it checks; it reads a record only if it is a small regular file; and the probe, recording, path resolution and the sweep of one call share one 250 ms budget, after which nothing more is labelled, recorded or swept. A call whose verdict is block records nothing, on both planes. A later call that runs, preloads (LD_PRELOAD, LD_AUDIT, DYLD_INSERT_LIBRARIES) or names such a path gets an optional nativeExec field on its audit row, if the file now has a native header and the recorded call changed it. The field is enums only: action (exec, load or reference), provenance (agent-written, compiled-output or ambiguous) and sameCall for a compile and run in one call. sameCall is prospective: the output is named from the compile command, its header is not read, and it does not prove the compile or run happened. The field is added after the decision is final, and no decision, severity, taint-escalation, approval or posture code reads it. A benign allow that carries it gets one audit row of its own: on the Claude Code hook with the usual redacted args, on the OpenClaw plugin with a tool-name-only preview (<tool> :: native-exec) and no args. On both planes that row’s actionKey is the tool name alone. auditAllows: false turns that row off. That row also counts the call for enforce-when-ready, so the readiness count is unchanged. The native-header test can mislabel non-native files: any file starting MZ reads as PE, and 0xcafebabe is the Java class-file magic as well as the Mach-O universal magic; that affects the log label only. The signal is best effort and does not cover paths built at runtime, bare names found on PATH, a computed cd, writes it does not recognise (cp, mv, archive extraction, writes inside a script), loads whose path is not a literal in the call, executable-memory mapping, or calls with no session id. On both planes the decision is identical with and without the store, in clean and tainted sessions.
- Native-exec signal: no argument value in the OpenClaw row, and no
sameCall past the deadline — two corrections from release review to the signal above, before it shipped. On the OpenClaw plugin, the single row a benign allow gets for a native-exec observation was bound with the call’s arguments, though its preview names the tool only; the binding’s actionKey kept every dash-prefixed command token as written, so a --token= value could be left in the local audit row. That row is now bound with no arguments: its actionKey is the tool name, and its session key, readiness pin and single-row readiness count are unchanged. The benign contract-drift row shares that code path and had the same gap in released versions since 4.54.15 (a drifted call’s dash-prefixed arguments in its local actionKey); it is fixed the same way. Both rows also carried path text from the command in their own fields: they copied the verdict’s expandedSubstitutions and reviewedScripts. Both rows are now built from a fixed field list: tool name, fixed severity and scores, rule names, the native-exec enums, and the drift contract with its dropped key names and judging revision. No field carries a value from the call’s arguments. The drift row had carried reviewedScripts in released versions since 4.54.15 and expandedSubstitutions since 5.1.0, in the local audit row only; the cloud entry was not affected. The Claude Code hook already wrote this row from its redacted args and a verdict reduced to severity, decision and rule names. Separately, a compile and run in one call could still be labelled sameCall after the call’s shared 250 ms budget had run out, because that label reads no store; the evaluator now checks the budget before adding the label. Neither change affects what the guard allows, holds or denies.
ShieldCortex 5.19.0 release notes on GitHub
v5.18.2
2026-11-07
Patch on 5.18.1. Two fixes. On macOS, shieldcortex approve now refuses when it cannot read the terminal’s process table whole, instead of picking a session leader from the rows it could read; approval on Linux and other platforms, and same-UID authentication, are unchanged. In the OpenClaw plugin, the llm_input audit row for an in-process injection hit now names the matched rules as closed-set category:pattern ids, never the matched text; what the guard allows or blocks does not change. The 5.18.1 notes now say which unread calls keep the strict path. No configuration change. The local llm_input audit row gains one optional field (injectionPatterns); the cloud audit entry keeps its shape, but for such a hit its threat_indicators now lists those ids instead of the summary. Action Guard stays off by default. Node floor unchanged.
- macOS:
approve no longer picks a session leader from a process table it could only partly read — to check that shieldcortex approve was started by a person, not an agent, the provenance check finds the session leader on the controlling terminal from ps -t <tty> -o pid=,stat=. The parser used to skip any row it could not parse and treat any second field containing an s as the leader mark, so a cut-off table, a row with an extra column, or a stat field that is not one ps prints could still produce a leader. The table is now read whole or not at all. Every nonblank row must be exactly <pid> <stat>: the pid a positive decimal with no sign or leading zero, the stat one run state followed by the optional flags in ps’s own order, each at most once, and no pid may appear twice. Only a lowercase s flag marks a leader. Anything else, including no leader or more than one, gives sid 0, and approve refuses with no-session-leader as before. Blank lines, padding and a trailing CR are still allowed. Linux is unchanged, and so are same-UID authentication and the rest of the approval path. The runtime pty probe is separate.
- OpenClaw: an injection hit on
llm_input now names the pattern — the conversation-firewall audit row used to say only how many detections there were, so a false positive could not be traced to a rule. An in-process injection hit now also records injectionPatterns: up to 16 closed-set category:pattern ids. The matched text is still not stored. The MCP fallback still has no local detections to name. If cloud sync is on, the synced entry gains no field: its threat_indicators lists those ids in place of the summary, which still goes in reason, and anything that is not a category:pattern id is dropped. Nothing about what the guard allows or blocks changes.
- 5.18.1 notes: state which unread calls keep the strict path — the 5.18.1 entry had described the strict path as covering every call with an unread part. That holds only for schema-rejected tool input and an exhausted command-evidence budget. A taint-escalated dangerous call whose scan flagged an invoked script the guard did not read, or a command substitution whose file it did not read, warns in watch-only or is shadowed, as it already did in an untainted session. The 5.18.1 entry below says so. No code change.
ShieldCortex 5.18.2 release notes on GitHub
v5.18.1
2026-11-06
Patch on 5.18.0. On OpenClaw, watch-only and enforce-when-ready shadow no longer deny a dangerous call just because a prompt injection was detected earlier in the session. The Action Guard had scanned the call and returned a verdict that only the session taint turned into a block, so watch-only now lets it proceed with a warning and shadow records it and lets it proceed, which stops these denials in cron and other headless runs. Enforcing installs are unchanged, and in every mode catastrophic calls and calls that touch the guard’s own state or config are still held or denied. Calls whose tool input the schema rejected, or whose command evidence walk ran out of budget, still go to a human, or with no approver to the failure policy, which denies unless interceptor.failurePolicy.high is explicitly set to allow. A taint-escalated call whose scan flagged an unread part (an invoked script the guard did not read, or a command substitution whose file it did not read) is not in that class: in watch-only and shadow it proceeds with a warning or a shadow record, as the same call already did in an untainted session. The Claude Code hook is unchanged. No configuration or schema change. Action Guard stays off by default. Node floor unchanged.
- OpenClaw: watch-only and enforce-when-ready shadow no longer deny a dangerous call because the session was tainted — when ShieldCortex detects a prompt injection in an OpenClaw conversation, the Action Guard tightens that session for 15 minutes after the latest detection, and a dangerous-tier call (for example an
exec that reads an AWS credentials file) is escalated from “needs approval” to “block”. That escalated block was treated like a tool input the schema rejected or a command whose evidence walk ran out of budget, so it skipped the watch-only warning and the shadow record and went to the failure policy, which denies when no approver is present, as in cron and other headless runs. These calls were scanned and given a verdict that only taint turned into a block (a script or substitution file they invoke may still have gone unread, see below), so in watch-only (enforce: false) the call now proceeds with a warning, and in enforce-when-ready shadow it is recorded as would_block (no approver) or would_hold and proceeds. Either way the audit row carries escalated (by: "session-taint"). Enforcing installs are unchanged: the escalated call still goes to a human, or to the failure policy when there is no approver (deny by default), and neither an autoApprove entry nor the approval broker can release it. In every mode, catastrophic calls and calls that touch the guard’s own state or config are still held or denied as before. Calls whose tool input the schema rejected, or whose command evidence walk ran out of budget, still skip the watch-only and shadow exits and go to a human, or with no approver to the failure policy, which denies unless interceptor.failurePolicy.high is explicitly set to allow, as before. Other scan gaps are not in that class. A dangerous call whose verdict flags an invoked script the guard did not read (for example one that is missing or over the read cap) or a command substitution whose file it did not read was always advisory in watch-only and shadow when the session was untainted. Before this release, taint escalation turned it into a block that was then denied. Now it warns or is shadowed like the untainted call, with escalated on the audit row. Under enforce it is unchanged. The Claude Code hook has no session-taint escalation and is unchanged.
ShieldCortex 5.18.1 release notes on GitHub
v5.18.0
2026-11-05
Minor on 5.17.4. Two pieces of one-tap approval from Telegram, guard side only. Action Guard webhook notifications for a headless denial or a held approval now end with a readable card block: a plain-English what, why and who, the exact shieldcortex approve command, and Approve/Deny choices carrying only the action id. A new loopback-only shieldcortex guard approve-tap endpoint verifies an HMAC-signed, single-use tap and writes the same one-shot retry grant approve --denial writes. In this release the card is still version 1 and carries no nonce, so no tap can be completed end to end yet; the endpoint is off by default (actionGuard.approveTap.enabled). The retry-grant store moves to a fenced .gen directory layout, so a hook from 5.17.4 or earlier does not see this release’s grants. Approval hashes now bind description and timeout on every tool except Claude Code’s own Bash and the reviewed Workflow surface, and bind __proto__ keys at every depth. shieldcortex doctor says in plain terms when an enforcing host has no notify channel, and reports one warn-only line when the tap endpoint is enabled. No change to what the guard allows or blocks. Action Guard stays off by default. Node floor unchanged.
- One-tap approve from the operator’s chat, guard side — the guard half of answering a headless denial from Telegram on Hermes and Claude Code hosts: a second authenticated path beside
shieldcortex approve --denial <actionId>, served by a new endpoint that is off by default. The guard mints a single-use nonce for a denial card, bound to the action id, an exact versioned digest of the denied call and an expiry of at most 10 minutes; only its sha256 is stored. The notify bridge, after checking the tap came from the configured Telegram user, calls the loopback-only POST /approve-tap endpoint (sudo shieldcortex guard approve-tap --home <dir> --agent-uid <uid> --bridge-uid <uid>) with an HMAC-SHA256 made with a separate approve secret, not the webhook secret. The process holding the key stays root, so the agent cannot signal or debug it, and each grant is written by a keyless child running as the agent’s user. Every check must pass or nothing is written: the HMAC, the approver uid, the nonce (unused, unexpired, consumed atomically, so a replay or a concurrent double submit fails), the exact call digest, and every signal on the denial being in a reviewed tap-eligible registry. Catastrophic, self-protection-floor, unscanned and unreviewed signals stay terminal-only. A passing tap writes a one-shot retry grant, marked via: "tap", spent by the next call from the same directory and tool whose exact digest matches, and only while the guard’s current verdict on that call is still one a tap may answer. The endpoint refuses to start under any spelling of a Node inspector option or when an inspector is open in the process. The approve secret must be a 0600 file owned by the bridge’s user; on a host where the agent runs as that user, or as root, the tap path refuses to arm and says why. Off by default; no change to what the guard allows or blocks, and no change on OpenClaw hosts, which keep the native approval channel. In this release the webhook card is still version 1 and carries no nonce, so no tap can be completed end to end yet: this is the guard half.
- Retry-grant store: new fenced layout, so older hooks do not see 5.18.0 grants — the retry store and the tap nonce store now commit through one fenced writer, so a writer whose lock was taken over as stale can no longer write an older state back. Each store’s state is now the newest file in its
.gen directory (~/.shieldcortex/approvals/retry-control.json.gen/ and approve-tap-nonces.json.gen/); retry-control.json and approve-tap-nonces.json only point to it and hold no state. A guard hook from 5.17.4 or earlier that still reads retry-control.json finds none of this release’s grants there and denies those retries, rather than spending a grant this release also honours; anything such a hook later writes to that file is never read by this release. An existing install’s store is imported once, by its first fenced write; if that first write fails, the old store is dropped (its denials and grants are gone) rather than put back. Deleting either JSON file does not revoke anything: an unspent grant ends only when it is spent, when it expires, or when a still-open retry card for it is answered Deny. To reset a store, stop the agent and every running shieldcortex process, then remove the JSON file and its .gen directory together. A store lock now gives up after a fixed time, well inside the 10-second stale threshold, and never takes over a lock it saw fresh.
- Action Guard webhook notifications now carry a readable card — when the Claude Code hook sends a headless denial (
action_guard_denial with outcome denied_no_prompt_surface) or a held approval request (approval_requested) to the actionGuard.notify webhook, the body now ends with a card object: a plain-English what, why and who, the exact command that allows it, and a ready-to-send text rendering. A denial card also lists Approve and Deny choices that carry only the action id. The card has version: 1: version 1 has no one-tap approve, so a receiver should show the command rather than a button. The guard-side endpoint ships in this release, but the card does not carry its nonce yet. The card is a fixed template and never shows the call’s target: the what line is one of a fixed set of sentences chosen by the kind of action, the why line is the guard’s own fixed reasons, and the who line names the agent, this machine’s hostname (withheld if it looks like a credential) and the session. No branch, path, host, URL, argument, operand or file name from the command or the tool input is ever on the card, and the card never carries the raw command, the full hash or any credential; every line still goes through the credential redactor and is flattened and length-bounded before sending. Every field that was in the body before is unchanged and in the same order, so existing receivers are unaffected, and denials.jsonl is unchanged. The public ActionDescription type gains an optional actionClass member; a description built without one still compiles. shieldcortex doctor’s notify row on an enforcing host with no notify channel now also says, in plain terms, that nobody is told when Action Guard blocks something while nobody is at a prompt; its one-command fix (shieldcortex config --action-guard-notify-webhook <https-url>) is unchanged. No configuration or schema change.
- Security: an approval no longer covers a changed
description or timeout on a tool whose name only looks like a command — shieldcortex approve <hash>, approve --denial retry grants and approval cards bind a call by a hash that leaves out description and timeout, so that re-wording the label on Claude Code’s Bash tool does not need a fresh approval. That exception was given to every tool whose name contained a word such as run, exec, process, script or command, including MCP tools where the description can be the payload: approving a call with one description released the same call with another. The exception now applies only to Claude Code’s own Bash tool (exact name) and the reviewed Workflow script surface. Every other tool has every field bound, so an MCP tool that changes its description or timeout between attempts needs its own approval, and an approval already given for such a call before upgrading no longer matches it: approve it again. No configuration or schema change.
- Security: an approval or one-tap grant no longer covers a call that differs only under a JSON key named
__proto__ — a tool input with a __proto__ key lost that key, and everything under it, from both the approval hash and the exact digest a one-tap grant is bound to, at any depth, so a grant for one payee and amount could be spent by the same call with a different payee and amount hidden under that key. Every key of a tool input is now bound, including __proto__. The exact digest moves to version 3, so a one-tap grant recorded before upgrading is never spent: tap again. shieldcortex approve hashes are unchanged for inputs without a __proto__ key, so approvals already pending for them still match. No configuration or schema change.
ShieldCortex 5.18.0 release notes on GitHub
v5.17.4
2026-11-04
Patch on 5.17.3. Claude SDK toolset cards and audit rows now withhold credential-shaped hosts that the URL parser maps to ASCII. No configuration, schema or breaking API change. Action Guard stays off by default. Node floor unchanged.
- Security: a credential-shaped host is withheld even when the URL parser rewrites it — cards and audit rows already showed
redacted-host for a host whose text, as written or percent-decoded, trips the credential recognisers. A host written in fullwidth characters passed that check, and the URL parser then mapped it to the ASCII key, so the key reached the card and the audit host. The host is now also checked as the URL parser maps it, character by character with case kept, with tabs and line breaks dropped, so mixed-case patterns such as JWTs still match. When that mapping, folded to lowercase, disagrees with the parser’s own host in the number of labels or in any label other than a punycode (xn--) label, the host is withheld; one internationalised label does not exempt the rest of the host. IP addresses and hosts of non-web schemes are not compared this way. A long internationalised name still shows its punycode and its registrable domain, a host written in compatibility characters that map to ASCII letters is shown the same way as the ASCII spelling, and the policy and the driver still get the real URL.
ShieldCortex 5.17.4 release notes on GitHub
v5.17.3
2026-11-02
Patch on 5.17.2. shieldcortex approve and deny no longer mistake four OpenClaw config-location exports in the owner’s login profile for proof of an agent session; process-tree checks and other agent-environment markers still apply. The ClawHub sync step treats an already-submitted version held for scan/review as pending rather than a failed publish, and retries a ClawHub write throttle once. A held version is not published until ClawHub serves it. No configuration or schema change. Action Guard stays off by default. Node floor unchanged.
shieldcortex approve no longer refuses the owner’s own login shell because the login profile exports OpenClaw config locations — any environment variable starting with OPENCLAW_ used to count as proof that approve was launched by an agent, so a human whose profile exports OPENCLAW_HOME, OPENCLAW_STATE_DIR, OPENCLAW_CONFIG_PATH or OPENCLAW_PROFILE was refused at a real SSH terminal. Those four exact names are now skipped by the agent-environment check, so approve and deny give exactly the answer they would give with them unset: the same process-tree checks as for any other terminal decide. A refusal never names one of these four variables. Every other OPENCLAW_* name, including OPENCLAW_SHELL, still refuses as before, as do CLAUDECODE, CLAUDE_CODE_*, HERMES_SESSION_*, CLAWDBOT_* and the other agent markers. As before, a pass is not proof that a human opened the terminal: on a platform whose process tree ShieldCortex does not read, only the environment check runs, so there the four exports alone no longer refuse.
- ClawHub sync: a held version is pending, not a failed publish — on 5.17.2 the first
clawhub publish landed but was held for scan/review, so the public index did not list it; the retry republished, got a “version already exists” error, and the step went red. The sync script now treats a non-zero publish whose output names the target version as already existing as submitted: it does not republish and keeps polling, exiting 0 if ClawHub starts serving the version within the wait and 2 (held/pending, not published) otherwise. Any other publish failure still exits 1. A ClawHub write throttle is retried once after the reported window plus 5s, capped at 120s; a second throttle still fails.
ShieldCortex 5.17.3 release notes on GitHub
v5.17.2
2026-11-02
Patch on 5.17.1 with several fixes. shieldcortex update now restarts the OpenClaw gateway at most once per run, and its closing screen says whether that restart completed, timed out, failed or was skipped. A symlinked config.json is no longer written through, self-healed or replaced, and an unsigned symlinked config.json is held at the strict Action Guard posture by the CLI, doctor, the Claude Code hook and the OpenClaw runtime alike. Once a process has read a posture from config.json, a file that then turns blank, corrupt or unreadable no longer reads as Action Guard off. Audit, SARIF and dashboard “Learn more” links now point at live docs anchors. No schema change. Action Guard stays off by default on a regular config.json. Node floor unchanged. Worth knowing before you update: on a box whose config.json is an unsigned symlink, the hook and the OpenClaw runtime used to take Guard off from the link’s target and now run Guard on and enforcing there, and doctor no longer writes anything.
shieldcortex update restarts the OpenClaw gateway at most once per run — one update run could issue two gateway restarts about 19 seconds apart; the second hit a gateway that was still stopping, and the agent database then refused every turn until a doctor repair run. The restart now runs at most once per process; a later request in the same run waits for that restart and reuses its outcome. The consent rules are unchanged: headless runs still skip the restart unless SHIELDCORTEX_ALLOW_GATEWAY_RESTART=1 is set or stdin is a terminal. The closing screen says whether the restart completed, timed out, failed or was skipped, or that it restarted but could not be confirmed back up, instead of saying “gateway reloaded” when the gateway never came back ready. If changes land after that one restart, update and repair say a restart is still pending and give the restart command rather than reporting the plugin reloaded; if that restart timed out or could not be confirmed, they say the later changes are not loaded yet and point to shieldcortex doctor instead, because restarting again while the gateway may still be starting is what caused the bug. A restart that failed, timed out or could not be confirmed is a yellow row with one next step, not a green tick. A restart command the service manager does not answer within 10 seconds is reported as possibly still restarting, not as a failed restart to run again. Action Guard posture and configuration are unchanged.
- A symlinked
config.json is held, not adopted — a symlinked config.json, live or dangling, is no longer adopted, self-healed or replaced: writes refuse it, and an unsigned one is held at the strict posture. The Claude Code hook and the OpenClaw runtime now agree with the CLI and doctor on that posture: Guard on and enforcing, no auto-approve, broker off, no readiness gate. “Signed” means the same thing on all three: the HMAC is recomputed with the local .integrity-key, and a _sig field or .config-sig file that does not verify no longer counts, so a symlinked target cannot opt out of the strict posture by adding one. A regular file, a dangling link and a symlinked target with a valid signature read as before. The config cache now notices a same-size edit that kept the modification time, and doctor writes nothing and says Guard unknown rather than off when the posture depends on a signature not yet adopted.
- A blanked, corrupt or unreadable
config.json no longer turns Action Guard off in a running process — once a process, including a running OpenClaw gateway, has read a posture from config.json, it keeps that posture while the file is blank, corrupt, non-object JSON, unreadable or cannot be checked on disk, including when several tool calls read it at once, and config writes are refused instead. An I/O error on the file no longer reads as Guard off either. A valid file, including a signed one that turns Guard off, replaces it as soon as it can be read, and removing the file clears it. On a process’s first read, a missing, blank or genuine default-off file still reads as Guard off, as before. The exception is a newly started OpenClaw gateway that cannot check whether config.json is a link: it now reads the file and judges it as it judges a link, so a signed file is in force as written and an unsigned or mis-signed one is held at the strict posture. doctor’s read-only Guard check reports unknown rather than off when the file has since become unreadable or corrupt.
- “Learn more” links point at live docs anchors — audit findings (including SARIF output), the terminal audit report footer and the dashboard Integrations view linked to docs sub-pages that do not exist. They now link to /docs#audit, /docs#attack-vectors, /docs#dependency-scanner, /docs#openclaw-config and /docs#how-it-works.
ShieldCortex 5.17.2 release notes on GitHub
v5.17.1
2026-10-31
Patch on 5.17.0. shieldcortex update now refreshes the Hermes plugin on launcher-based Hermes installs that still have an old hermes-agent/.venv on disk. When Hermes still cannot be asked, update may now refresh a single conventional plugin copy it used to leave alone. No change to Action Guard, the agent config watch or configuration, no schema change. Action Guard stays off by default. Node floor unchanged.
- Hermes plugin refresh on launcher-based installs — on a current Hermes install,
hermes is a launcher at $HERMES_HOME/hermes-agent/.hermes/bin/hermes that runs a bundled Python. When an old hermes-agent/.venv was still on disk, ShieldCortex asked that venv Python instead; it could not import Hermes’ dependencies, so the update wrote nothing and Hermes kept running the previous plugin copy. ShieldCortex now asks the launcher first, then hermes on PATH, and only then the venv. A venv older than the launcher is skipped and named as stale; a candidate that cannot import Hermes passes to the next one, and the error names every path tried, in order. If Hermes still cannot be asked and $HERMES_HOME/plugins/shieldcortex is the sole possible copy, update may refresh it and move the old one to backups/, subject to its write-path preflight and publication checks; it refuses when another possible copy, a profile home or possibly enabled project plugins are detected, and an inaccessible manifest in a category-level plugin directory can be missed. The plugin is never enabled in Hermes’ config. The doctor’s remedy text now describes the new order.
ShieldCortex 5.17.1 release notes on GitHub
v5.17.0
2026-10-30
Minor on 5.16.0. The agent config watch added in 5.16.0 now also covers Gemini CLI: its user and project settings.json, a planted GEMINI.md, and a planted .gemini/settings.json in the drop directories. Minor rather than patch: the watch checks more files, so a change to a Gemini file can now send an agent_config_change notification. No new configuration key, no new webhook event, no schema change. The baseline state file gains a baselinedSpecs list. Action Guard stays off by default. Node floor unchanged.
- Agent config watch covers Gemini CLI —
~/.gemini/settings.json and .gemini/settings.json in the session’s project root are watched for hooks and mcpServers changes, with the same handling as Claude Code, and for the settings that hold a shell command Gemini runs (tools.discoveryCommand, tools.callCommand, mcp.serverCommand). GEMINI.md joins the planted instruction-file names, and .gemini/settings.json is checked in each drop directory. Prompted by the “testmetest” npm worm reported by JFrog in October 2026, which plants execution hooks for Claude, Gemini, Cursor and VS Code. Upgrading is silent: the first run that knows the Gemini files records them as the baseline without an alert, so a Gemini file that was already changed or planted before the upgrade is not reported. A planted GEMINI.md or .gemini/settings.json in a drop directory is high severity; changes to the Gemini settings.json files are ordinary severity. Detection is still at fresh Claude Code startup only, not live. Not covered: Gemini’s base-URL overrides (environment variables or .env entries, so .gemini/.env is not watched), the system-wide Gemini settings file, and the approval-mode, folder-trust and hooks-enabled settings.
ShieldCortex 5.17.0 release notes on GitHub
v5.16.0
2026-10-29
Minor on 5.15.3. It supersedes 5.15.4, which was prepared but never tagged or published to npm, and carries that release’s dependency security update: there is no 5.15.4 on npm, so upgrade from 5.15.3 to 5.16.0. At each fresh Claude Code startup (not on resume, compact or clear), ShieldCortex now checks the agent and editor config files that decide what an agent runs on its own (hooks, MCP servers, environment, tasks, plugin registrations, and the Codex sandbox, trust and provider settings) and sends one notification to the actionGuard.notify webhook when one of them changed outside ShieldCortex. Minor rather than patch: a new background check that is on by default, a new sessionStart.agentConfigWatch config key, a new agent_config_change webhook event, a new doctor row and new state files under ~/.shieldcortex. No schema change. Action Guard stays off by default. Node floor unchanged.
- Agent config watch at session start — on a fresh Claude Code startup, the session-start hook launches a detached background process that hashes the security-relevant keys of these files and compares them with a stored baseline: user-level
~/.claude/settings.json, ~/.claude/settings.local.json, ~/.claude.json, ~/.openclaw/openclaw.json, ~/.openclaw/mcp.json, ~/.cursor/mcp.json and ~/.codex/config.toml; and, in the session’s project root, .claude/settings.json, .claude/settings.local.json, .mcp.json, .cursor/mcp.json and .vscode/tasks.json. Extra project roots can be listed as absolute paths in agentConfigWatch.projectRoots. It also checks fixed instruction-file names (AGENTS.md, AGENTS.override.md, CLAUDE.md, .claude/settings*.json and one level of .codex/) in ~/Downloads, ~/Desktop, $HOME and the top level of /tmp (not on Windows); nothing is walked, and removing such a file is not reported. The first run records the baseline silently; after that, a change ShieldCortex did not make sends one agent_config_change notification per file, naming the file, the kind of change and up to three sanitised entry names plus a count. It never carries the command or value and has nothing to approve. Changes that can redirect the agent’s traffic or credentials (ANTHROPIC_BASE_URL and the other listed env keys, apiKeyHelper, the Codex model provider), weaken the Codex sandbox or project trust, or plant an instruction file are high severity. Each reported change writes a defence_audit row. If no webhook is configured or delivery fails, the baseline is not advanced and the change is reported again at the next fresh startup. Detection happens at fresh startup, not live. The check runs in its own process with a 5-second check budget and fails open, so it cannot delay or break session start. Turn it off with "sessionStart": { "agentConfigWatch": false } in ~/.shieldcortex/config.json (no CLI setter in this release; a hand edit makes the file fail its signature check, see shieldcortex config --resign).
- The baseline is signed — it is stored in
~/.shieldcortex/state/agent-config-watch.json, signed with HMAC-SHA256 using a key in ~/.shieldcortex/keys/agent-config-watch.key. An unsigned, mis-signed, malformed or symlinked baseline, or a baseline deleted while its key remains, is untrusted: the operator is notified, doctor warns, and a new baseline is saved only after that notification and its audit row both succeed. This makes tampering detectable, not impossible: a process running as the same user can read the key, so it can re-sign a modified baseline, or delete the baseline and the key together, and neither is detected.
- Doctor: new
Agent config watch row — shows whether the watch is on, how many files it watches and when it last detected an unexpected change. It warns when a detected change is not yet reported, when a watched file could not be read or parsed, or when the baseline failed its integrity check. It never fails, but its warnings count under doctor --strict. On a box with no actionGuard.notify webhook configured, a detected change cannot be reported, so the row stays ⚠️ (and --strict exits 1) from the first detected change until a webhook is configured or the watch is turned off.
- ShieldCortex’s own writes to watched configs do not raise an alert — setup, uninstall,
migrate, deep-clean, the Codex setup, the OpenClaw plugin install, repair and Action Guard sync record the file’s new baseline when they write it. Under sudo, that new baseline goes to root’s state, so the invoking user’s next fresh Claude Code startup reports ShieldCortex’s own change once.
- Dependency security update —
@hono/node-server 2.0.12 to 2.1.5, transitive via the MCP SDK: its static file serving decoded the request path twice, so middleware on static paths could be skipped. Lockfile only, no ShieldCortex source change. The published production audit stays 0 unwaived; 3 waived (sharp).
ShieldCortex 5.16.0 release notes on GitHub
v5.15.3
2026-10-28
Patch on 5.15.2. shieldcortex update no longer reports the OpenClaw plugin step as finished when OpenClaw refused the install over an unavailable gateway.auth.token secret reference, or saved the plugin files while the previous plugin generation stayed active. Also a test-only change pinning the SKILL.md permission lists, which adds js-yaml as a devDependency only. No change to Action Guard, install or configuration, no schema change. Action Guard stays off by default. Node floor unchanged.
update no longer reports a finished OpenClaw plugin update after a secret-reference refusal or an unsettled plugin swap — when openclaw plugins install refuses because gateway.auth.token is configured as a secret reference that is unavailable in that command path, the OpenClaw plugin step now says so, is reported unfinished (exit 1) and tells you to run shieldcortex update from a shell whose environment resolves that reference, with OpenClaw’s own Fix: lines shown alongside. It no longer names a forced plugin reinstall as the fix, and it loads no secrets itself. When OpenClaw saves the plugin files but reports that the previous plugin generation stays active, the step is reported unfinished as “files saved” even though the on-disk version already matches the CLI; it used to report the step ok while the gateway still ran the old plugin. It now says not to re-run the force install and names openclaw plugins reload shieldcortex-realtime --wait, which waits for the admitted work to settle and finishes the swap. An ordinary timeout or non-zero exit whose target version landed is still reported installed, and an invalid-config exit still shows OpenClaw’s own message.
ShieldCortex 5.15.3 release notes on GitHub
v5.15.2
2026-10-27
Patch on 5.15.1. Documentation only: the skill’s SKILL.md now describes how the OpenClaw memory hook finds its packages. No change to the hook, Action Guard, install or configuration, no schema change. Action Guard stays off by default. Node floor unchanged.
- SKILL.md: how the OpenClaw hook resolves packages — SKILL.md used to say the
cortex-memory hook only runs local binaries and never downloads a package. The hook shipped in the npm package starts mcporter through npx, and with no accessible configured binaryPath and no shieldcortex on PATH it uses npx -y shieldcortex as the server, so npm can fetch either package from the registry. SKILL.md now says so. To keep both lookups local, run npm install -g shieldcortex mcporter.
ShieldCortex 5.15.2 release notes on GitHub
v5.15.1
2026-10-27
Patch on 5.15.0. The ClawHub skill directory now contains only SKILL.md, with no bundled hook or plugin runtime code, so it no longer carries the execFile call that ClawHub’s static scan flagged. ClawHub publication and review status are separate and are not confirmed by this release. No change to the npm packages’ hook, plugin or CLI behaviour, no new configuration, no schema change. Action Guard stays off by default. Node floor unchanged.
- ClawHub skill: instructions only (SKILL.md) — the bundled hook and plugin copies are gone from the ClawHub skill. The hook and the OpenClaw plugin still ship unchanged in the
shieldcortex and @drakon-systems/shieldcortex-realtime npm packages, and SKILL.md now says to install them from npm. Once ClawHub serves this release’s skill, installing from ClawHub will no longer give you a copy of the hook or plugin: run npm install -g shieldcortex and shieldcortex quickstart.
ShieldCortex 5.15.1 release notes on GitHub
v5.15.0
2026-10-26
Minor on 5.14.0. A new read-only shieldcortex guard posture command shows the Action Guard posture of each gate plane, doctor has one Action guard posture row that fails when the planes disagree, and tool-call UUIDs are no longer reported as Heroku API keys. guard posture does not change posture or write any ShieldCortex configuration. No new configuration, no schema change. Action Guard stays off by default. Node floor unchanged. Worth knowing before you update: the doctor row changed, so doctor --strict can grade differently on some boxes.
shieldcortex guard posture (read-only) — prints one line per gate plane: the Claude Code hook, the OpenClaw plugin and Hermes (from its self-report). An absent plane is listed as absent. Exit 0 when the planes agree or none is present, 4 when they disagree; --json prints the reading in a terminal-safe form. It reads configuration files and self-reports, not the running processes. It takes no posture argument: guard posture off, advisory or enforce is a usage error (exit 1) in this release.
- Doctor: one
Action guard posture row — replaces the Action guard config disabled and warn-mode rows. It is ❌ when the Claude Code hook and the OpenClaw plugin disagree, or when a current Hermes self-report is looser than them. When the planes agree, off and advisory stay ⚠️ with their existing warning text and enforce stays ✅. The grade now follows the posture the present planes resolve to rather than config.json alone, so --strict can change: a box whose only plane is an OpenClaw entry that turns the guard on is ✅ instead of ⚠️, and a tampered config.json is graded on what the hook and plugin read from it. Doctor never fixes posture itself.
- HOSTS header — says
Guard mixed exactly when that doctor row fails, which brings Hermes into the header. A box where the hook and the plugin both resolve to advisory is no longer headed Guard on.
- Guard:
guard posture off and guard posture advisory are on the self-protection floor — an agent tool call that runs either one is held like config --action-guard-disable, on the Claude Code hook, the OpenClaw plugin and Hermes, in enforce and advisory, and in each one’s outage fallback. A target the guard cannot read statically is held, and so, conservatively, is an off or advisory word anywhere after guard posture in the same tool call. guard posture enforce, guard posture --json and the read-only guard posture are not held.
- Fix: tool-call UUIDs no longer flagged as Heroku keys — the Heroku rule now needs a Heroku identifier on the same line, within 64 characters before the UUID. Explicit assignments such as
HEROKU_API_KEY=<uuid> are still a high-severity, blocked finding. A tool response whose only finding is a credential is still reported and redacted, but no longer taints the session.
- Fix: OpenClaw prompt provenance — the OpenClaw
llm_input prompt is labelled unknown instead of user, and the internal-content exemption applies only on a host-minted isolated cron or heartbeat session, so a direct message that opens with Read HEARTBEAT.md or System: is now scanned.
ShieldCortex 5.15.0 release notes on GitHub
v5.14.0
2026-10-25
Minor on 5.13.1. The MCP tool-description check now runs automatically each session, the ClawHub skill no longer shells out to npx, and one Action Guard false hold is relieved. Action Guard stays off by default. Node floor unchanged. Worth knowing before you update: session start now launches your user-level MCP servers in the background, and the ClawHub skill's memory hook needs local installs.
- Automatic MCP tool-description check — at each Claude Code session start, ShieldCortex runs the
shieldcortex mcp scan tool-description check in the background against the local (stdio) MCP servers in your user-level configs. Project-local configs are repository-controlled and are never started automatically. Each server is checked at most once every 6 hours unless its launch command, arguments or environment changed. It runs detached and fails open, so session start does not wait for it.
- Alerts via webhook — when a tool's description changed, or a new or changed description looks suspicious (instruction-like text, a risky command pattern, hidden or encoded content), one
mcp_tool_change notification goes to the actionGuard.notify webhook. It names the server and tools but never carries the description text. The webhook does not need Action Guard turned on. With no webhook configured, the finding is kept as pending and retried next session; nothing is shown in the session. Turn the check off with "sessionStart": { "mcpToolCheck": false } in ~/.shieldcortex/config.json (no CLI setter yet; a hand edit makes the file fail its signature check, see shieldcortex config --resign).
- Per-config baselines —
shieldcortex mcp scan keeps a separate tool-hash baseline for each config file, so a project config can no longer overwrite or trigger drift against the global one.
- ClawHub skill passes ClawHub's scan — the ClawHub skill's memory hook no longer runs
npx, so ClawHub no longer holds it for review. It now needs local shieldcortex and mcporter installs on PATH, and logs the npm install -g command to run if either is missing. The hook shipped in the npm package is unchanged.
- Guard: plain reads and
--help — a plain read (cat, grep, jq and similar) of the Claude Code, OpenClaw or ShieldCortex config next to shieldcortex … --help, openclaw models list or another such read is no longer held for approval. Anything redirected, piped elsewhere, editing in place or beside any other program keeps the hold. Only that self-protection hold is relieved: every call 5.13.1 blocks is still blocked.
v5.13.1
2026-10-24
Patch on 5.13.0. Production dependencies are refreshed to clear newly published advisories, and non-finite numbers now fail validation in the affected inputs. No new configuration. Node floor unchanged. The published production audit reads 0 unwaived; 3 waived.
- Dependency refresh and validation (PR #909) —
zod 3.25.76 to 4.6.7, transitive body-parser 2.3.0 to 2.4.0 (with qs and iconv-lite), and fast-uri 3.1.8 to 3.1.9 clear newly published advisories. One validation result changes: non-finite numbers such as Infinity (for example the JSON literal 1e999) are now rejected in unbounded numeric tool inputs and the judge’s itemId. They take the existing invalid-input path, or the judge’s fallback annotation; finite values are unaffected.
ShieldCortex 5.13.1 release notes on GitHub
v5.13.0
2026-10-23
Minor on 5.12.0: a new read-only doctor check. No new configuration and no other behaviour change; Action Guard stays off by default. On a machine with a ShieldCortex copy at 5.2.1 or older in one of the checked locations, the new row is a warning, so shieldcortex doctor --strict exits 1 until that copy is updated or removed. Read the release post.
- Stale ShieldCortex copies in doctor (#674) — a new
Stale ShieldCortex copies row reads the package.json version of shieldcortex copies in the global npm prefixes, nvm node versions, the npx cache and OpenClaw’s plugin tree, and warns on any copy at 5.2.1 or older. Such a copy can share the chained audit database and still adds unchained rows and checkpoint-less deletes that shieldcortex ledger verify reports. The row is read-only and detects only; it does not search project dependency trees.
- Doctor and unusual
package.json entries (#905) — the new row opens each candidate’s package.json without blocking and reads it only if it is a regular file of at most 64 KiB; anything else is listed as version unknown with a reason. A named pipe with no writer is now listed as version unknown instead of making doctor wait for a writer. This bounds the package.json read only, not the whole doctor run.
ip-address advisory (#898) — the transitive ip-address dependency moves to 10.7.4 to clear a newly published advisory (GHSA-rxp7-6hxx-x8q5). Only the lockfile entry changed.
- Withdrawn
sprintf-js advisory waiver retired (PR #901) — GitHub withdrew that advisory on 2026-10-22, so its waiver is removed and the published audit claim now reads 0 unwaived; 3 waived. No dependency or code change.
- Bundled skill file frontmatter (#893) — one
network_endpoints item in the bundled skill file contained a colon followed by a space, which YAML reads as a key/value pair instead of a text line; the wording now uses a semicolon. No behaviour change, and the npm packages were unaffected.
- Dashboard redirect stubs (#689, PR #902) — 14 page stubs for hidden paths are deleted, so the hidden-routes config is the only redirect source. The redirect targets users get are unchanged.
ShieldCortex 5.13.0 release notes on GitHub
v5.12.0
2026-10-22
Minor on 5.11.0: a new CLI path (config --resign), a new config flag and key (config --dashboard-update-check, dashboardUpdateCheck) and new environment variables. With none of the new settings set, embedding model loading and the dashboard update check behave as in 5.11.0, except where a host already exports HF_ENDPOINT. Action Guard stays off by default. Node floor and Cloud pin unchanged. Read the release post.
- Embedding model cache, offline and mirror settings (#632) — three opt-in settings let the local embedding model load from a relocated cache root (
SHIELDCORTEX_MODEL_DIR), run offline from a pre-seeded cache (SHIELDCORTEX_EMBEDDINGS_OFFLINE=1), or download from a validated mirror (HF_ENDPOINT; https required, http only for loopback). Invalid settings fail closed: embeddings stay off and shieldcortex doctor names the variable, with no fallback directory or host. Doctor’s Embeddings row shows these settings and says a passing row covers files only, not inference. This covers the embedding model only and is not a product-wide offline mode: update checks, the dashboard, cloud sync, configured integrations and the optional review-copilot and judge models are separate. An HF_ENDPOINT a host already exports now applies to the embedding model too.
- Config re-sign recovery path (#647) — for a
config.json that fails its signature check, shieldcortex config --resign previews first and writes nothing: it prints the verdict, the sha256 of the current bytes and the names of settings that would leave the strict posture. Confirming with that sha256 re-signs the parse of exactly those bytes with a fresh signature, keeps a timestamped byte backup next to the file and records a config_resigned audit row; it refuses, writing nothing, if the audit log cannot be opened, and exits 2 with AUDIT NOT RECORDED if the row was not written. Re-signs that would loosen Action Guard keys no verified root-owned policy lock covers are refused. The existing recovery paths still work. The signature is still a corruption detector, not tamper protection.
- Dashboard update check can be turned off (#631) —
shieldcortex config --dashboard-update-check false or SHIELDCORTEX_SKIP_UPDATE_CHECK=1 turns off the dashboard’s automatic npm registry version lookup, including on a warm cache and ?force=true; GET /api/version/check then answers checkStatus: "disabled". It stays on by default. This stops that one lookup only: shieldcortex update, the dashboard’s Update button and cloud sync are unchanged.
- Release workflow tag check (#881, maintainers) — the npm release workflow refuses to publish when the
v<version> tag points at a different commit from the one being built. This is a maintainer release check, not a user-facing feature.
- Defence pipeline test pin (#861) — a test-only change pins the
runDefencePipeline* entry-point table to the exports of pipeline.ts. It changes no shipped code.
ShieldCortex 5.12.0 release notes on GitHub
v5.11.0
2026-10-21
Minor on 5.10.7. No new configuration, and Action Guard stays off by default. If config.json fails its signature check, a config write now refuses instead of clearing the warning: restore a backup whose signature verifies, or move it aside and rebuild it through the setters. Read the release post.
- OpenClaw approval-timeout digest at session end (#673, partial) — the OpenClaw plugin can send one report-only digest of recorded approval timeouts at session end to the
actionGuard.notify webhook you already configured: up to 10 entries, plus a count of the rest recorded in the scan. It reports only: approval requests, timeouts and decisions are unchanged, and no part of the message claims a call was blocked or skipped. One webhook only, with no failover and no retry. #673 stays open.
- Config tamper evidence (#647) — a write on a
config.json that fails its signature check no longer re-signs it as valid. Explicit setters refuse with a message and exit 1, and automatic writers skip with one stderr line per process; the file and its stale signature stay as they were. Reads still get the strict fail-closed posture, exactly as before. shieldcortex doctor names the config verdict without side effects. The signature is still a corruption detector, not tamper protection.
- Watch only reads and named signals (#874) — on a session with no prompt surface, Watch only (advisory) no longer denies read-only inspection of ShieldCortex’s own config when the command is only a closed set of plain read verbs on plain arguments. Writes, copies over the file, in-place edits and network sends on that path stay held. The plain-read exception is in the shared classifier, so it also applies under Enforce, which still holds writes on that file and, with no prompt surface, still denies the remaining dangerous tier. Watch only denials now name their signal instead of
redacted-signal. In shieldcortex doctor, the HOSTS header and Claude Code row now say advisory rather than off when the signed guard is on in Watch only, and a per-instance posture line says “does not block” only when that instance’s reported deny count is zero.
- Dependency advisories (PR #876) —
hono moves to 4.13.13 and @modelcontextprotocol/sdk to 1.32.1 to clear advisories published on 20 October. No ShieldCortex source changed.
- npm release workflow (#871) — the release workflow verifies the published versions of both packages with fresh registry reads, allowing 120 polls 10 seconds apart before failing loudly.
ShieldCortex 5.11.0 release notes on GitHub
v5.10.7
2026-10-20
Patch on 5.10.6. No new configuration and nothing to do on upgrade.
- Session leases across Claude Code and OpenClaw (#857) — both now derive one lease identity for the same session id. Surrounding whitespace is trimmed and malformed Unicode is rejected the same way on both, so ids that differ only by surrounding spaces count as one session. Both decline a file-based identity through a symlinked state directory, and a nonblank id whose key cannot be derived is refused on both. This closes the two parity exceptions listed under #854 in 5.10.6. Older distributions without the identity helpers keep their raw-id fallback and cannot guarantee parity.
- Hermes outage log names the deciding tier (#866) — when the API is unreachable and the fallback blocks a call, the log now says
self-protection, catastrophic or dangerous, in the order the decision checks them. Logging only; the block itself was already correct. The Hermes plugin README now describes the same fallback tiers as the main README.
ShieldCortex 5.10.7 release notes on GitHub
v5.10.6
2026-10-20
Patch on 5.10.5. Action Guard stays off by default in the shared ShieldCortex config; this release changes no default.
- Headless denial review (#682) — pending denial identities are kept for 48 hours from their last denial instead of 60 minutes. The review window grants nothing: approval still creates the same short-lived one-shot grant, spent by the first matching call inside its window, not held for a later scheduled run.
- Consolidation tags (#860) — every deleted duplicate’s tags are preserved when consolidation pairs share a survivor.
- Prompt capture sensitivity (#858) — when credentials are redacted from a captured prompt, its stored sensitivity is now at least
CONFIDENTIAL, including a prompt that was PERSONAL. Rows captured before the upgrade keep their stored label.
- CLI help (#767, #777, #838) — command help prints usage and exits before running any dispatched command, opening the database or starting a server, including after an ignored duplicate value flag or an overriding equals-form option. Tokens that the command’s parser actually reads as values remain values. Top-level help now lists every dispatched command.
- Legacy project backfills (#834) — doctor warns rather than fails only when every problem is explained by a legacy project backfill and the protecting trigger is present as ShieldCortex ships it. An unexplained problem, a missing trigger or a same-name trigger with the wrong definition or table keeps the Chained ledger row a failure; ledger verification still reports the ledger as inconsistent.
- Session leases (#854, partial) — the Claude Code hook and OpenClaw plugin now match leases when both receive the same session id, except for ids with leading or trailing spaces and a symlinked ShieldCortex home directory. Different or blank session ids still do not match across the two, and a freeze still refuses both. OpenClaw turns through the Claude CLI still use different ids and remain refused; that case needs a shared id passed to both sides.
- Read-only Guard posture on the update screen (#773 follow-up) — drawing the closing screen no longer signs or rewrites config, creates an integrity key or writes an audit event. If the Guard setting cannot be read or confirmed without writing, the row says it could not confirm the setting and points to doctor rather than reporting the default as fact.
- Database startup retries (#837) — alternative spellings of the same database path now share one normalised lock path, with parent-directory symlinks resolved, so a retry finds the live record left aside by an earlier attempt. With
refuseIfLocked startup refuses before opening SQLite; otherwise it continues without owning the lock.
- Quarantine bulk selection (#831) — the selected count, bulk confirmation and ids sent to the server now cover only selected items that are still pending. Which items are approved or rejected is unchanged.
- Doctor warning hygiene (#651, partial) — confirmed Hermes absence is shown as skipped, while uncertain or broken detection keeps its warning. The policy-lock warning is unchanged. The HOSTS legend describes configured Claude Code and OpenClaw gates, not Hermes or a live check; the multiple-install warning lists observed directories without saying which is stale or safe to delete. Other warnings remain unchanged.
- Hermes enforcement wording (PRs #842, #865) — the enforce-when-ready copy and README now qualify Hermes enforcement by its own
SHIELDCORTEX_ENFORCE setting: the enabled plugin enforces by default unless explicitly opted out, and the readiness flag does not change that setting. Text only; no behaviour change.
- Worker-disposal tests (#624) — the three affected scenarios preload the worker before sending embeds, so they no longer depend on fast thread startup. No production change.
- Sensitivity API unchanged: #859 reverted by #864 — the attempted four-value compatibility restoration was fully reverted before release; no projection, precise aliases or compatibility harness from #859 ship. The public sensitivity API remains as in 5.10.5, including
PERSONAL: code written against 5.7.0–5.10.5 needs no sensitivity-related source change, while exhaustive consumers written against 5.6.0 still need a PERSONAL case.
- Historical release-note corrections — the 5.7.0 claim that adding a sensitivity member was not breaking was wrong for exhaustive 5.6.0 consumers. The OpenClaw setup refusal reporting (#706) and CI test-source type-checking (#541) listed under 5.6.0 actually shipped in 5.7.0; the published 5.6.0 section is left unchanged.
ShieldCortex 5.10.6 release notes on GitHub
v5.10.5
2026-10-18
Patch on 5.10.4: five fixes and one docs correction (#819, #821, #823, #824, #828, #830). No CLI command, config key, default, Node floor or Cloud pin changes.
- Database startup lock ownership during a copy-restore (#819) — the 5.10.4 copy-restore fix (#817) did not cover an ownership check that ran while the copy was still being written. On a filesystem without hard links, a holder that checked ownership at that moment, while its lock record was still empty or only partly written, lost ownership for good. It then skipped
shieldcortex maintain write steps as locked and left its own record behind at shutdown. Such a check now reports no ownership for that moment only, and the holder owns the lock again once its exact record is back. A complete record with any other contents, including another process’s record or the holder’s own record with changed contents, still ends ownership as before.
- OpenClaw plugin minimum version (#821) — the plugin’s peer dependency, its
openclaw.plugin.json manifest (and the copy bundled with the skill) and the README said OpenClaw 2026.3.22, while the package’s install compatibility check already required 2026.4.23. They now say 2026.4.23, and the README no longer suggests that OpenClaw versions below that keep working. Supported hosts do not change, because the install check already required 2026.4.23.
- OpenClaw plugin compatibility docs (#823) — the plugin README now states the ShieldCortex requirement as its declared
^5.0.0 peer range.
- Approving a quarantined item no longer re-queues it (#824) — when the item was held by a detector that does not depend on source trust (for example the skill-level threat detector), approving it ran the re-scan, which held the content again: the original item was marked rejected and a new pending copy appeared. The re-scan’s refusal is still final, as before, but the item now ends as one rejected entry with the reason (
still held on re-scan: ...) and no new pending copy. The MCP quarantine_review approve reply, the dashboard command rail (quarantine approve <id>) and the Quarantine view now say the item was not approved, with the reason, instead of reporting it approved. approve_by_source lists refused items separately, the dashboard single-approve endpoint returns success: false with the reason, and bulk and by-source approvals report how many items were refused.
- Quarantine approval wording (#828) — when a bulk or by-source approval refuses items, the dashboard notice and the
approve_by_source reply now say those items could not be admitted and are rejected, not added to memory. They no longer say a re-scan refused them, because some items are refused without one (for example an item that was originally hard-blocked). The approve confirmation dialogs no longer promise that items will be promoted into memory or that their content will be re-scanned: they say approval is not guaranteed and that an item that cannot be admitted is rejected instead. A bulk approval of only memory-file findings no longer says other items will be tried; if some selected items have left the list since they were selected, the dialog says only that any other selected items that are still pending will be tried. Which items are approved or rejected does not change.
- Rate-limit refusal reason (#830) — when too many approvals ran within a minute, the refused item’s reason said
still held on re-scan: ..., although the rate limit refuses before any scan runs. The reason now says not admitted (memory write rate limit): ... in the MCP quarantine_review approve reply, the dashboard Quarantine view and the dashboard command rail. A refusal from the scan itself still says still held on re-scan: .... The item still ends rejected and is not added to memory, as before.
ShieldCortex 5.10.5 release notes on GitHub
v5.10.4
2026-10-17
Patch on 5.10.3: two fixes (#813, #817). No CLI command, config key, default, Node floor or Cloud pin changes. The stale takeover can still briefly leave the lock path empty; this release does not close that window.
- Database startup lock ownership after a stale takeover (#813) — when another process’s record replaces a process’s lock record, that process now drops its ownership at its next ownership check, so at most one of them reports owning the lock from then on.
shieldcortex maintain checks ownership again before consolidate, embed and vacuum, and once ownership is lost reports that step and every later write step as skipped: locked. While a process’s record is only moved aside (the lock path is empty), it reports no ownership but keeps it, and owns the lock again if the record is linked back. Shutdown checks ownership before releasing and leaves another process’s record in place. The stale takeover can still briefly leave the lock path empty: this fix does not stop another starter from publishing in that moment, and a process that already passed an ownership check is not interrupted mid-step.
- Database startup lock ownership after a copy-restore (#817) — on a filesystem without hard links, when another process’s stale-lock check moves the holder’s lock record aside and puts it back, the record comes back as a copy. The holder now still reports owning the lock after that, so in that case
shieldcortex maintain no longer skips its write steps as locked, and shutdown removes the restored record. Any other contents at the lock path, including another process’s record, still end ownership as before. One timing window remains, tracked in #819 and not fixed in 5.10.4: if the holder checks ownership while its record is still being copied back (the file exists but is still empty or partly written), it can lose ownership for the rest of its life.
ShieldCortex 5.10.4 release notes on GitHub
v5.10.3
2026-10-16
Patch on 5.10.2: five fixes only. Corrections to the 5.10.1 and 5.10.2 release notes (#802) and a CI-only change (#811) ship with it and change no shipped code. No CLI command, config key, default, Node floor or Cloud pin changes.
- Database startup lock (#763) — the lock record is now published complete in one step, so a starting process can no longer claim the lock through another process’s half-written record, and stale-lock takeover and shutdown remove only the exact lock record they checked. One rare window remains: a stale takeover briefly moves the current lock aside before checking it, and if another starter publishes in that moment two processes can end up holding the lock. That window is tracked in #813 and is not fixed in 5.10.3. On filesystems without hard links ShieldCortex falls back to a weaker, time-based check.
shieldcortex maintain no longer closes a database handle that another caller in the same process opened.
doctor and ledger verify explain legacy project backfills (#795) — when every reported problem is a matching project-only mismatch, the reports name an older ShieldCortex copy (5.2.1 or earlier) as the likely cause and advise upgrading or removing it before repair, instead of using tamper wording. In ledger verify --json those problems carry an optional cause field. Mixed or other damage keeps the existing warning. The ledger is still inconsistent, and verification does not change the database.
- More JSON and SARIF outputs keep unsafe terminal characters escaped (#798, #806) —
scan --json, doctor --json, guard readiness --json, maintain --json, ledger verify --json, audit --sarif, mcp scan --sarif and --json, memories import-native --json, remember --json and env scan --json (#798), then audit --json, policy-evidence, xray --json / --sarif and xray --watch --json (#806) now write C1 controls, bidi controls, line separators and invisible characters as JSON Unicode escapes, so viewing these outputs in a terminal can no longer act on them. Parsed values are unchanged, and output without those characters is byte-for-byte the same as before.
- X-Ray no longer replaces a findings file it could not read (#801) — when the findings file is not valid JSON, is not a list, or cannot be read (for example a permission error), a dashboard scan or watch that has findings to save now leaves the file exactly as it is and reports the problem; watch mode prints a warning and keeps watching. A dashboard scan with nothing to save, a watch event with no new finding and the CLI
xray scan do not read the findings file and report nothing about it. A list holding an entry that is not a valid finding is also left as it is instead of being rewritten with the new findings merged in. A missing findings file is still created by the first scan that finds something. Behaviour change for dashboard and API callers: with an unreadable findings file, an X-Ray scan that has findings to save (POST /api/xray/scan), marking or deleting a finding (PATCH and DELETE /api/xray/findings/:id) and quarantining a finding (POST /api/xray/findings/:id/quarantine) now answer 503 instead of replacing the file.
ShieldCortex 5.10.3 release notes on GitHub
v5.10.2
2026-10-16
Patch on 5.10.1: four fixes only. No CLI command, config key, default, Node floor or Cloud pin changes.
- Older copies are refused when they change the project of a chained audit row (#674, part 1) — builds up to 5.2.1 fill in the project on audit rows at every start, chained rows included, which broke
ledger verify on mixed-version hosts where a 5.3+ build had chained the same database. A new trigger now refuses any statement that changes the project of a row with a chain position, whichever build issues it; an update to the same value still goes through. An old copy logs the refusal on stderr at each start and carries on starting. Only the refused statement is rolled back: backfill work the old copy finished earlier in that start stays, and its remaining backfill steps, including held-back (quarantine) items, are skipped for that start and left for the next start of a current build. This is compatibility protection, not a tamper boundary: the trigger can be dropped by anyone with SQL access, other columns are unguarded (ledger verify still detects edits to them), and old copies’ unchained inserts and un-checkpointed deletes are not blocked.
allowlist scan --json keeps unsafe terminal characters escaped (#786) — C1 controls, bidi controls, line separators and invisible characters are written as JSON Unicode escapes, while parsed paths and denial notes keep their original values.
- Recovery text and update re-run lines are cleaned before display (#788) — the repair command, the
doctor report, the MCP server’s startup-failure message and the unresolved-step re-run lines at the end of shieldcortex update now pass the install directory, error text and agent id through the same display cleaner as the update screen. Terminal control sequences, stray line breaks and invisible or direction-changing characters in those values are removed or shown as ⏎ instead of reaching the terminal. Only these values on these screens are covered; other lines the repair command prints are not yet passed through the cleaner. Ordinary text prints as before, and doctor --json still reports the raw values.
- Line breaks inside install and log paths (#799, completes #788) — a line break inside an install or log path now shows as ⏎ inside its value, so it no longer appears as a separate
doctor “NEXT” command or recovery line, and the MCP startup-failure “Details written to” line is cleaned like the message above it.
ShieldCortex 5.10.2 release notes on GitHub
v5.10.1
2026-10-15
Patch on 5.10.0: fixes, wording, tests and CI only. No CLI command, config key, default, Node floor or Cloud pin changes; update exit codes are unchanged, and only service install, service repair, service status and service --help / -h exit codes change. Action Guard stays off by default in the shared ShieldCortex config.
- A calmer
shieldcortex update screen (#773) — the run ends with one headline and one row per part, and each row that needs you names one command. Action Guard switched off is shown as neutral, not as a warning. Internal detail is kept under update --verbose. Exit codes, what update installs, and what Guard allows or blocks are unchanged.
- A failed OpenClaw plugin check is always red (#773 follow-up) — when OpenClaw started without the ShieldCortex plugin, the update screen now shows a red OpenClaw row and a red “Update failed” headline, and no longer ticks Guard as on.
- Scheduled-script review wording (#780) — the update line no longer says new or changed scheduled scripts need a yes before they can run. It says they are not reviewed yet and what trusting one does. Wording only; review, trust and Guard behaviour are unchanged.
- Host-derived text is cleaned before display (#779, #785) — paths, notes and error text on the update screen, in the allowlist scan and in the
allowlist subcommands go through one display cleaner, so escape sequences, control characters and bidi or zero-width characters in those values can no longer redraw or reorder the terminal. Ordinary paths print unchanged.
service exit codes (#768) — service install exits non-zero when the service cannot be enabled, and service repair runs the same install step and now exits 1 in the same case, where 5.10.0 exited 0. service status exits non-zero when the service is not installed and, on Linux and macOS, also when it is not enabled or loaded, not running, or cannot be queried; on Windows an installed service still exits 0. service --help and -h now print the usage and exit 0.
- Dashboard counts and indicators (#692, #693) — Needs you marks a count as last known or as a lower bound (“N+”), and “Nothing needs you” appears only when all three lists confirmed an exact zero. The protection row is labelled Iron Dome and says it does not cover Action Guard, and the sidebar’s data-location line follows the cloud sync setting instead of always saying data stays on this computer.
- Behaviour change for API callers (#692) — an X-Ray findings file that exists but cannot be read or parsed now makes
/api/xray/findings and /api/xray/findings/stats return 503 instead of a zero. /api/review/queue gains pairCoverage and /api/xray/findings/stats gains store; both are additive.
setup help (#766) — setup --help and the install banner say that bare shieldcortex setup asks before wiring each host, while setup <host> wires that host directly. Behaviour is unchanged.
ShieldCortex 5.10.1 release notes on GitHub
v5.10.0
2026-10-15
Minor on 5.9.0. A new shieldcortex maintain command runs storage and memory hygiene in one step: it consolidates STM above its cap, backfills missing vectors (skipped while the embedding model is not cached), vacuums when at least 20% of database pages are free, then runs doctor's Memories, Semantic coverage and Disk checks. It exits 1 while a FAIL remains and sends the remaining FAIL checks by check name to the configured Action Guard webhook at most once per 24 hours for the same FAIL set; memory content is never sent. Minor rather than patch because maintain is a new CLI command. No existing CLI command, config key, default, Node floor or Cloud pin changes. Action Guard stays off by default in the shared ShieldCortex config.
- Plain
maintain deletes and evicts — when STM is over its cap, plain maintain (without --dry-run) runs the first phase of shieldcortex consolidate, not its Dream Mode phase: it promotes worthy STM, deletes decayed STM, evicts unpinned memories older than one hour in either tier while that tier exceeds maxShortTermMemories or maxLongTermMemories, and resolves near-identical long-term pairs by deleting or downvoting one (memory text is never merged). It does not archive. Run --dry-run first to preview.
--dry-run and --json — --dry-run leaves database contents and config unchanged; --json prints a structured report. An unknown argument exits 2.
- Lock handling — a database lock held by another live ShieldCortex process, whether seen before opening or at lock acquisition, makes consolidation, embedding and vacuum skip, not fail; doctor still runs.
- Fixed (#761) — a live startup lock acquired after the initial check now stops database initialization before it can write; maintenance steps skip and doctor still runs.
- Known limit (#763) — the startup lock itself still has pre-existing race windows. They are tracked in #763 and are not fixed in 5.10.0.
- Not included yet — audit-log retention and scheduling of
maintain.
ShieldCortex 5.10.0 release notes
v5.9.0
2026-10-14
Minor on 5.8.0. Four Action Guard and session-lease changes, only where those features are on: fewer false alarms for data-reading heredocs and read-only global npm queries, with tighter coverage for written argv-list global installs and redirection-attached installs. Action Guard stays off by default in the shared ShieldCortex config. No export, CLI command, config key, default, Node floor or Cloud pin changes.
- Data-reading heredocs — Action Guard again allows a narrowly defined, whole-command interpreter heredoc whose body only reads data through recognised literal read spellings. Other heredocs keep the existing scan; a sensitive path can still be reported.
- Written argv-list global installs — a script file that builds a global install as an argument list now joins the approval gate when written, like the string form: when Action Guard is on and enforcing, recognised calls require approval; hosts without an approval prompt, including Hermes, block held calls. The reader is bounded: a global flag beyond 8 KB per call and exec APIs outside its listed sinks are not covered.
- Read-only global npm queries — the session lease now requires the install verb and global flag in the package manager's own command. Queries such as
npm list -g | grep -i x no longer take or get refused by the install lease.
- Redirection-attached global installs — an install such as
npm>/dev/null install -g x keeps install scope. Commands the mapper cannot resolve keep conservative scoping and may include non-installs.
ShieldCortex 5.9.0 release notes
v5.8.0
2026-10-12
Minor on 5.7.0. Prompt recall searches the owner's message instead of the OpenClaw envelope, a new Claude SDK browser and computer toolsets export observes calls by default, and doctor checks for repeated recall candidates. The optional vector plane is off by default. The Node range remains ^22.14.0 || >=24.0.0; no existing export, CLI command, config default, Node floor or Cloud pin changes.
- Recall uses what you asked — the Claude Code
UserPromptSubmit hook strips a complete OpenClaw 2026.9.x envelope before searching. An incomplete envelope or a message without one is queried unchanged.
- Optional vector recall —
"recallVector": true or SHIELDCORTEX_RECALL_VECTOR=1 enables it. It re-ranks and tops up lexical candidates without admitting anything full-text search would not.
- Recall repetition check — a read-only
shieldcortex doctor row warns when recent interactive recalls repeatedly return the same candidate set. It is repetition evidence, not a proven cause.
- Claude SDK toolsets — the new
shieldcortex/toolsets export covers browser use and computer use. Its default mode: 'observe' changes nothing about what runs. Opt-in mode: 'enforce' refuses the deny set and holds approval-required calls. Enforce needs the host's own approver (the inner callback): without one, every held call is refused. With one, a held call reaches that approver as a readable, values-free card, with single-use approvals and a deadline. Approval binds to the host in the SDK's last state report, not the live page; before the first read a typed newline in the browser toolset is still allowed. This export was listed under 5.7.0 by mistake and first ships in 5.8.0.
- Setup wording — status, doctor, help and the README point to
shieldcortex setup and shieldcortex setup claude. This is wording only; install and quickstart still work.
- Threat-graph realtime projection — an unreadable listed day file now reports an error and holds the cursor. A malformed cursor halts projection with a fixed error. Only broken state changes; recovery is an operator action.
- Release tooling: ClawHub status — the ClawHub sync step reports a version still in ClawHub's security scans as
submitted, which proves neither a failed upload nor public availability. A failed ClawHub read is unknown, not absent, and only a version ClawHub actually serves counts as success.
ShieldCortex 5.8.0 release notes
v5.7.0
2026-10-11
Minor on 5.6.0. Two Cloud privacy fixes for the dashboard's bulk quarantine sync, prompt-time recall scoped by lane with a new PERSONAL sensitivity tier, clearer OpenClaw setup failures, and three Action Guard fixes. Action Guard stays off by default in the shared ShieldCortex config, but what the guard does depends on the host: the Hermes plugin, once enabled, has its own enforcement setting. The release notes set out each host. Node floor unchanged (22.14+ or 24).
- Bulk quarantine sync goes through the same gate — the dashboard's "sync quarantine to Cloud" button used to send stored quarantine content as-is. It now applies the same controls as the automatic sync (sensitive-level exclusion, project filter, metadata-only mode), then PII redaction and credential redaction, before anything leaves the device or is queued for retry. A stored row is graded at least as strictly as the live pipeline graded it. Rows that pass the filters are still sent, redacted, unless you use metadata-only; redaction covers recognised kinds and is not a guarantee that every personal detail or secret is caught. The response gains an additive
skipped count.
- Automated turns recall less — in the Claude Code
UserPromptSubmit hook, turns detected as cron or subagent now recall only error, pattern and decision memories labelled PUBLIC, and liveness/automation turns recall nothing by default. Your own unmarked chat is unchanged. recallLanes can change the categories or opt automation in, but non-interactive lanes stay PUBLIC-only. The stored label decides, so a private note labelled PUBLIC by mistake can still reach those lanes. SessionStart context, MCP tool reads and dashboard previews are not lane-scoped.
- New
PERSONAL tier — sits between INTERNAL and CONFIDENTIAL. Your interactive recall still sees it, and the default excludeSensitive keeps it out of Cloud sync. Existing rows keep their labels until you run shieldcortex memories reclassify --execute; without --execute it is a dry run, and it only ever raises a label. Code that switches exhaustively on SensitivityLevel needs a PERSONAL case.
setup openclaw shows every refusal — each native plugin install attempt's refusal is printed, package install first, instead of only the last. A missing OpenClaw config is reported as a config problem. npm installs are no longer told to run npm run build; they are pointed at shieldcortex openclaw install or the realtime package.
- Readiness evidence survives a release — enforce when ready now keys its readiness evidence on the adapter and policy hash, so a release that keeps the policy hash keeps its evidence. When the hash changes, the prior policy's evidence is carried at a discount (
actionGuard.readiness.priorPolicyCarry, default 0.5) and counts only once the new policy has its own fresh window. Malformed pins do not count. Reviewed effectiveness evidence is still pinned to the full adapter and policy version.
- Memory notes that name a dangerous command are recorded, not held — writing a memory-markdown file with no shebang whose plain prose names a dangerous-tier command is now allowed and recorded instead of asking where the guard was enforcing. Catastrophic forms, guard self-protection and sensitive-path mentions, sensitive or guard-owned file paths, shebang bodies, script-like paths and running the file are handled as before. The guard cannot tell prose from a bare command line, so a note made only of a command is writable too. Partial fix for #629.
- Claude Code hook reads a relative script from the call's directory — a relative invoked script is resolved against the call's own working directory when it is an absolute path, not the hook process's. The OpenClaw plugin is unchanged: calls with no or a relative working directory, and the original cross-host discrepancy in #634, are still open.
ShieldCortex 5.7.0 release notes
v5.6.0
2026-10-10
Minor on 5.5.0. The Action Guard changes what it asks about, approval cards speak plain English, consolidate now drains short-term memory, and the local dashboard starts its redesign. Action Guard stays off by default; the guard changes below apply only where you have turned it on. Node floor unchanged (22.14+ or 24).
- Teardown commands ask first — deleting a database or table through a database client, destroying infrastructure with Terraform or OpenTofu, deleting a Kubernetes namespace, volume or node, uninstalling a Helm release, and tearing down cloud groups or accounts used to be allowed and now need your approval. Mentioning them in text, such as a search pattern or a commit message, does not trigger it.
- Script files follow recognised nested calls — a script file now follows the nested script calls the guard recognises, as the same line written inline already did. Not every way of running a second file is recognised yet. Inline
<< heredoc scripts are checked exactly as in 5.5.0: a planned change for them was withdrawn before release, so a heredoc program that reads a data file containing prose about dangerous commands can still be denied on that file, as before.
- Recognised sensitive paths stay unread — a nested file whose path, as spelled, matches the guard's recognised sensitive path spellings (such as SSH key and cloud credential locations) is not read into the guard's scan text. It is asked about on its path and is never auto-allowed. This is a spelling check, not file identity: aliases, symlinks, variables and other spellings of the same path are outside that coverage.
- "Look at" is just prose — writing source that contains a phrase like "Look at the findings" no longer reads as a scheduler command. Real
at and crontab calls still ask. This covers the in-process guard only; the outage fallbacks are unchanged.
- Plain-English approval cards — a held action's card now says what the action does, why it was held and who asked, without showing the raw command. Targets that look like secrets are withheld whole; a secret in an unrecognised shape is not guaranteed to be caught.
shieldcortex consolidate drains short-term memory — it now promotes, expires and evicts memories before Dream Mode and prints what it did. It can remove short-term and long-term memories: long-term ones when that store is over its limit, and one of each identical long-term pair. Only cap eviction skips memories captured in the last hour and pinned ones; expiry and duplicate resolution follow their own rules. Doctor's memory warnings follow your configured limits, so doctor --strict may exit differently on the same store.
--help is safe — install --help, setup --help and doctor --help print usage and do nothing else.
- Dashboard redesign, phase A — five nav items (Home, Needs you, Memory, Protection, Settings), a new Needs you page, plain-word labels, a dark theme by default and larger text. Old page URLs redirect to the tab that replaced them, and Protection and Settings tabs switch normally after a deep link.
What's new in 5.6
v5.5.0
2026-10-08
Minor on 5.4.0. Two fixes for problems in 5.4.0, a new way to see how each runtime is configured, and a doctor warning for stock Iron Dome installs. Action Guard stays off by default. Node floor unchanged (22.14+ or 24).
- Approving on a Mac works again — in 5.4.0
shieldcortex approve refused every human on macOS, so blocked actions could not be approved there. It now finds your Terminal.app or SSH session and still refuses agent-owned shells. It refuses, rather than guesses, when it cannot read the whole process tree, so on Linux with restricted /proc even a real login shell may be unable to approve.
- No more scan stalls on long blank runs — a long run of newlines could stall a scan for 30 seconds or more. Detection is unchanged.
shieldcortex policy-evidence — one record per runtime (Claude Code hook, OpenClaw plugin, Hermes plugin) saying whether it is installed and loaded, how it is configured and any real block it saw, each with its own evidence. These are local self-reports, not attestation, and they show configuration: with enforce when ready on, a record can say enforce while the guard is still watching. shieldcortex guard readiness shows the live gate.
- Iron Dome stock-defaults warning —
doctor warns when Iron Dome still has the default stop phrase or no PII rules, and doctor --strict now exits 1 on such installs.
- Fixes — Claude Code session leases last their full time, so a second session on a leased scope is refused while the first is alive; doctor's disk row names the largest consumer; MCP SDK 1.31.0 past a published advisory.
- Dependency audit — a new
sharp advisory (GHSA-wq5f-xc86-pv6w) is waived, not fixed, after a reachability check: ShieldCortex never hands image bytes to sharp. The waiver expiry stays 2026-12-12. Production audit at this release: 0 unwaived, 4 waived.
What's new in 5.5
v5.4.0
2026-10-06
Minor on 5.3.1. Action Guard gains a third posture, enforce when ready, and two new commands. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). Worth knowing before you update: watch-only installs now hold calls that touch the guard itself, and a broken Claude Code hook now fails closed for catastrophic commands.
- Enforce when ready — a third posture beside off and enforce. It runs the dangerous tier in shadow and logs what it would have held or blocked. It enforces only once this install's own audit shows the guard is operable and reviewed evidence for the running version exists. No such evidence ships yet, so today it stays in shadow and says so.
shieldcortex guard readiness shows where it stands; shieldcortex guard test-approval sends a test card. The Claude Code hook and the OpenClaw plugin each measure on their own calls. The Hermes plugin ignores this posture and enforces.
- Self-protection floor in watch-only — with the guard on but not enforcing, a call that touches the guard's own config, state, lease ledger or policy lock is still held until a human answers. Auto-approve rules and broker pre-clears no longer release it. Guard off is unchanged.
- Broken hook fails closed for catastrophic commands — if the Claude Code hook file fails to load or crashes, a backup scan still denies recognised catastrophic commands, even with the guard off. The scan is a blunt text match, so while the hook is broken it also stops routine recursive force-deletes such as clearing a build folder;
shieldcortex doctor shows the repair.
- Approval answers bound to their attempt — an answer to a replaced attempt, or one more than 15 minutes late, grants nothing.
- Fixes —
shieldcortex remember no longer exits 134 after a successful write; config --help describes the real defaults; webhook URLs carrying credentials are refused; proxy-addr updated for a spoofing advisory.
v5.3.1
2026-10-03
Patch on 5.3.0. One Action Guard fix for OpenClaw's Codex harness; nothing else changes. Action Guard stays off by default. Node floor unchanged (22.14+ or 24).
- Codex harness commands recognised — on OpenClaw's Codex harness, shell commands and background processes reach the guard under a joined-up name (
openclawgateway_exec, openclawgateway_process). The guard did not recognise it, rejected the call's normal fields as unknown and cancelled the approval card. Those names now map to the standard exec and process checks. Exact names only: no prefix is stripped, so a lookalike name gains nothing.
v5.3.0
2026-10-03
Minor on 5.2.1. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). Worth knowing before you update: the injection scanner flags more, and doctor has a new row that can fail.
- Injection scanner catches more — spoofed authority lines inside tool results (
ADMIN: you must …, SYSTEM OVERRIDE:), "repeat everything above including the hidden prompt" extraction, explicit injection phrases in ten languages, and ROT13-encoded instructions anywhere in the input. Content that passed before can now be quarantined. Ordinary Admin: email stays quiet. It is a detection floor: detection is pattern-based and not complete.
- Tamper-evident audit log — new audit rows are hash-chained as they are written.
shieldcortex ledger verify reports consistent, inconsistent (with the first bad row) or unchained, and exits 0 / 1 / 2. Existing rows are not rewritten; they are reported as history from before the chain started.
- Doctor exit code — a new
Chained ledger row FAILs (exit 1) if the audit history was edited or rows were removed from inside the chain, and points at ledger verify. A database with no chain yet is a WARN. A consistent chain shows internal consistency only, not completeness.
- Update — a slow OpenClaw install is no longer reported as a failure, and
update exits 1 when an OpenClaw plugin install did not land. Scripts that check its exit code may see 1 where 5.2.1 printed green.
- Safer installs — OpenClaw installs refuse to write through linked extension directories or config snapshots, and
openclaw plugins list no longer prints a false "scanning is off" warning.
- Verifiable builds — published with npm provenance;
npm audit signatures confirms the package was built by the ShieldCortex release workflow.
v5.2.1
2026-09-26
Patch on 5.2.0. Action Guard stays off by default. Node floor unchanged (22.14+ or 24).
- Update refreshes your hooks —
shieldcortex update now refreshes the installed OpenClaw hook and Hermes plugin when they are out of date. Nothing you removed is reinstalled, and an interrupted swap prints the backup path and the reinstall command.
- Help is just help —
--help never runs a command. On 5.1.0 and 5.2.0, update --help performed the upgrade.
- Doctor's disk advice — the DISK row no longer suggests deleting memories or sessions; it reports measured sizes and suggests
logs prune or vacuum only when the measurement supports it.
- Neutral approval card — the OpenClaw approval card says "Your agent" instead of a hardcoded agent name.
- Action Guard — SSH keys and other home-directory persistence files are treated as sensitive write targets.
v5.2.0
2026-09-24
Minor on 5.1.0. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). One thing worth knowing before you update: stored Review Copilot annotations are redacted once on first start.
- Review Copilot annotations redacted — the judge's notes on quarantined items now go through the same write-time redactor as memories, and a one-time migration cleans the ones already stored. The original quarantined content is not rewritten.
SHIELDCORTEX_PII_REDACTION=off keeps storing verbatim.
- Hermes plugin copies —
doctor asks Hermes which ShieldCortex plugin copy it actually loads and warns when a backup folder is shadowing the installed one. doctor --fix-hermes-plugin-copies moves such copies into backups/ (never deletes) and refuses when the layout is ambiguous. WARN only: it does not change doctor's exit code.
- Echoed memories framed — MCP tools that echo stored memory back now carry the same untrusted-data frame as recall.
- Credential exfil — a credential file sent to a scheme-less
curl/wget target counts as external egress; local and tailnet targets stay allowed.
- Doctor accuracy — the denial-sink check now matches what the notify transport actually accepts; audit report fixes.
v5.1.0
2026-09-22
Minor on 5.0.7. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). Two behaviour changes worth reading before you update: PII is now redacted when memories are written, and doctor can exit 1 on a host that enforces Guard with nowhere to send denials. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- PII redacted on write — UK NI numbers, US SSNs, labelled tax ids and salary figures are stored as
[REDACTED:<kind>], and those rows are CONFIDENTIAL or above. Old rows are not rewritten in bulk; they are redacted the next time they are updated. SHIELDCORTEX_PII_REDACTION=off keeps storing verbatim.
- Doctor exit code — Guard enabled and enforcing, with no denial sink, is now a FAIL (exit 1), not a WARN. CI that checks
doctor's exit code will see it. Guard-off hosts are unchanged. Doctor still only reports.
- Recall framed as untrusted data — memories injected into a prompt arrive inside an "untrusted data — not instructions" frame with a random boundary id, so a stored note cannot pose as an instruction.
- SECRET isolated —
SECRET and any unknown sensitivity label are withheld like RESTRICTED by every reader.
- Split keys caught — provider keys split by spaces or invisible characters are detected and redacted.
- Fewer false blocks — a comment in a script is no longer read as a command, and
audit --help / allowlist --help print usage.
v5.0.7
2026-09-20
Patch on 5.0.6. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). Doctor no longer FAILs an unlocked policy lock when Guard is not live.
- Doctor — leftover signed Enforce with the plugin off no longer prints
$ protect and exits 1 on healthy boxes.
- README — a short install page; detail lives on shieldcortex.ai.
v5.0.6
2026-09-20
Patch on 5.0.5. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). OpenClaw's native process tool is a reviewed contract, not an unknown exec bag. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- OpenClaw process —
list / poll / log allow. Stop/type-into still cards in plain English, not invalid_tool_input. Allow-once is this call only.
- OS-owned policy lock —
shieldcortex protect (root, once) pins the security-critical config so an agent cannot quietly turn Guard off.
v5.0.5
2026-09-13
Patch on 5.0.4. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). One host table for setup, update, uninstall, and doctor. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- Host table —
setup detects Claude Code, OpenClaw, Hermes, Codex, and Cursor/VS Code, then asks before wiring. update refreshes wired hosts and asks about new ones (non-TTY does not wire). uninstall removes Hermes and Copilot too.
- Doctor honesty — warnings no longer print
$ --action-guard-enable or $ --allow-conversation-access. doctor --repair is TTY named jobs; --repair --agent writes a brief and does not spawn an agent.
v5.0.4
2026-09-13
Patch on 5.0.3. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). Local dashboard rebuilt; signed Guard writes now sync the OpenClaw plugin plane. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- Dashboard v2 — one shell, honest status pills, real memory graph (Map / Focus / Path).
- Guard plane sync — signed
config --action-guard-* writes the same enabled/enforce onto an existing OpenClaw plugin entry. Missed card: approve --denial <id> --reauth. Guard stays off.
v5.0.3
2026-09-13
Patch on 5.0.2. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). shieldcortex update now passes --agent main on OpenClaw 2026.9 multi-agent hosts. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- Skill install — reads OpenClaw 2026.9
agents.entries (not only OpenClaw 1 agents.list) and still prefers main. Jarvis 5.0.2 died with Multiple agents are configured.
v5.0.2
2026-09-13
Patch on 5.0.1. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). Jarvis's leftover signed-Enforce doctor fail is gone. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- Doctor NOTIFY — signed Enforce leftover no longer FAILs when the OpenClaw plugin is off. Do not add a webhook from that line.
- #438 — a crashed session lease whose PID is confirmed dead no longer wedges the scope until TTL.
- #472 —
setup openclaw honours OPENCLAW_HOME.
- #475–#478 — dashboard quarantine INSERT, import path leak, restart/update confirm.
v5.0.1
2026-09-13
Patch on 5.0.0. Action Guard stays off by default. Node floor unchanged (22.14+ or 24). If the first shieldcortex update from 4.x still looks ugly, run it once more — that second run is the honest 5.0.1 CLI.
- Update honesty — after npm swaps the package, update re-executes the new CLI so Friday-class leftover 4.x footers cannot scream FAILED.
- Plugin lag — a lagging OpenClaw plugin warns instead of claiming to be current; unread load evidence is NEEDS ATTENTION, not unprotected.
- Skill install — retries once without a rejected flag; multi-agent hosts get
--agent.
- Stay on 4.x —
npm install -g shieldcortex@4 if you cannot move Node yet.
v5.0.0
2026-09-12
Breaking major. Node 20 is gone. Read the upgrade page before you update. Stay on 4.x with npm install -g shieldcortex@4 if you cannot move Node yet.
- Node 22.14+ (within 22.x) or Node 24+ — Node 20 unsupported: npm warns by default (refuses only with engine-strict) and the database engine fails to load. Node 23 unsupported.
- #474 — dashboard API auth no longer skipped by
/API/… or unauthenticated HEAD.
- #466 — honest production audit (waived
sharp only) + Node 24 doctor no longer SIGABRTs.
- Upgrade notes — /docs/upgrading-5.
v4.54.15
2026-09-01
OpenClaw 2 exec storm stop. Action Guard is off by default. Existing signed enabled: true stays on.
- Default off — absent
actionGuard.enabled no longer means on. shieldcortex update prints the notice and config --action-guard-enable.
- OpenClaw 2026.8.1
exec — live fields such as workdir, timeoutSeconds, host no longer mint unknown-keys cards. host is an exec target, not a URL.
- #449 —
shieldcortex scan exit codes no longer collapse usage/tool failure into a deny.
v4.54.13
2026-08-25
Cloud sync durability. Host engine ships atomic retry claim/lease and a transactional outbox so local memory mutations cannot commit without a durable outbound event.
- #409 transactional outbox (same SQLite txn as mutation; exact-key ack)
- #408 atomic claim + lease on the cloud sync retry queue
v4.54.12
2026-08-25
Athena P0/HIGH security + integrity — cloud delete privacy, decay fix, recall correctness, bind auth, closed tool schemas.
- #405 P0 — cloud memory delete sends content-free tombstones and honours the same privacy gate as upsert.
- #406 P0 — consolidation no longer compounds temporal decay into base salience.
- #407 / #410 — FTS ranks by BM25 before LIMIT; ACL filters before top-k so unauthorized rows cannot starve results.
- #411 — non-loopback API bind requires explicit opt-in + strong token; public session-token mint disabled off-loopback.
- #412 — closed Action Guard tool-input schemas on exec/git; MCP remember/recall execute-path validation.
- Operator UX + docs — DNP “held (headless)” copy, Approve once cards, intent-first architecture doctrine on main.
v4.54.11
2026-08-21
Update footer honesty — no more double FAILED essay when the guard is already live.
- Calm protection footer (#390) — English headline + short proof chips after
shieldcortex update; full dump only with --verbose.
- Canary-live + roster-unread is NEEDS ATTENTION (exit 0), not FAILED. True unprotected still fails closed.
- Quiet canary — expected probe deny no longer prints a scary Action Guard block line (still audited).
v4.54.10
2026-08-21
Mobile-first terminal UX + guard honesty — phone SSH that humans can actually read.
- Terminal UX (#388) — decision-first allowlist scan cards (no 40-line source walls);
[v]iew pages source; update ends with a VERDICT panel. 40-col first.
- Content ≠ intent (#386) — quoting an install in a log no longer trips install-package-global; real installs still gate. Deny copy points at human auth, not
enforce:false.
- Model cache heal (#383) — corrupt ONNX weights are detected, quarantined once, and re-downloaded; doctor verifies size/sidecar.
- Doctor nits (#381/#382) — real nativeContract values only; stop-hook stops prescribing hand-edits of signed config.
v4.54.8
2026-08-19
The operator control plane — allow or deny what headless agents were refused, from your phone or terminal.
- Retry approval cards (#310, ships dark) — a headless denial leaves a fingerprint, never a grant. Approving mints ONE origin-scoped, time-boxed retry; deny opens a windowed silence and revokes anything unspent. Alerts never carry spendable tokens. Enable:
actionGuard.retryCards: true.
- Live interactive approval cards (#371) — OpenClaw
require_approval surfaces a real allow-once/deny card in the originating conversation; cron/heartbeat stays fail-closed.
- Honest denial alerts (#369) — headless denials say DENIED — nothing is waiting, keep a redaction-safe surface, and carry an outcome header for webhook routing.
v4.54.7
2026-08-19
Patch — doctor honesty: recommendations that actually stick.
- ClawHub skill lock no longer false-flagged as residue when the skill is installed
- Conversation-scan warnings lead with the real grant command, then gateway restart
- Project keys stop regressing after updates — generic cwd basenames refused, auto-heal on update
- 4.54.6 tag exists but was never published to npm
v4.54.5
2026-08-18
Patch — Memory SOTA train for hosts + scorecard honesty.
- Memory plane — inject v2 / capture distill (OAuth cheap default + OpenClaw C.2), provenance scope, LongMemEval-S harness with defence-on ingest.
- Full-S retrieval (host) — emb-on RRF R@5 92% / R@10 92.8% / MRR 0.859 (retrieval-only; not a generation bake-off).
- Defence honesty — doctor:
notify.openclaw ≠ DNP sink; bare conversation-scan unknown no longer taints sessions (#360/#362).
threatGraph.trustModifier stays advisory. SDK/PyPI stay 0.3.0.
v4.54.4
2026-08-17
Patch — doctor $ lines are real commands.
- Doctor restart command (#337) — gateway restart prints
openclaw gateway restart, never English restart OpenClaw gateway.
$ is only prefixed on a real binary. Config grants stay notes.
threatGraph.trustModifier stays advisory. SDK/PyPI stay 0.3.0.
v4.54.3
2026-08-16
Patch — doctor mobile/tmux attention-first report.
- Doctor report (#335) — failures and warnings first with Why + copy-paste
$ commands; passes collapsed; duplicate themes merge with xN.
shieldcortex doctor --verbose restores the full pass list. Check logic and exit codes unchanged.
threatGraph.trustModifier stays advisory. SDK/PyPI stay 0.3.0.
v4.54.2
2026-08-16
Patch — loud DNP digest for headless Action Guard denials.
- DNP digest (#331) — first
denied_no_prompt_surface in a host window pages; later ones coalesce. Config: actionGuard.notify.dnpDigestWindowMs (default 15m, 0 = legacy).
- Payload /
permission_mode never mute. #310 design stays open (no approval cards).
threatGraph.trustModifier stays advisory. SDK/PyPI stay 0.3.0.
v4.54.1
16 August 2026
Patch: board grind + instruction-floor GHSA.
trustModifier stays advisory.
- Instruction-floor morphology tighten (GHSA-hx2c-rqg7-ggpm) — regex floor, not semantic
- Caller-supplied
user: identity no longer stamps provenance (#323)
- Mac doctor UNKNOWN is a log-channel gap (#317)
- Overflow risk, lease snapshot, shred-device FP, deny-surface honesty
v4.54.0
16 August 2026
Minor train: attestation Phases 3–5 — remaining pipeline callers, OpenClaw realtime
record-only attestation, end-to-end sentinel + doctor
Attestation coverage.
trustModifier stays advisory — do not flip enforce until FP soak.
- Phase 3: CLI scan / X-Ray / iron-dome attested; REST/langchain/universal stay NULL (#315)
- Phase 4: OpenClaw realtime record-only attestation + JSONL wedge fix (#316)
- Phase 5: e2e sentinel + doctor coverage metric; hook-only stale-process warn (#322)
- Historic
source_attested never backfilled
v4.53.0
15 August 2026
Minor train: threat-graph projector heal on upgraded installs, attestation Phases 1+2
(source_attested write-path + hook allowlist clamp),
and allowlist scan / update-time batch review.
trustModifier stays advisory — do not flip enforce until FP soak.
- Threat-graph projector un-stall + doctor stall visibility (#304)
- Attestation write-path NULL-preserving across MCP/read/delete/hook/tool-response/iron-dome (#308)
- Hook-plane attestation behind allowlist clamp (#313)
shieldcortex allowlist scan + update hook (#311 / #309)
v4.52.3
15 August 2026
Hermes Action Guard — malformed 200 is unavailable, not allow. A 200 JSON body without a valid decision no longer coerces to allow and skips the catastrophic fallback on the bound Hermes plane.
- +Strict verdict parse — missing / blank / unknown / non-dict responses set
available=false so the #59 fallback still runs (PR #301).
- +Bounded remote reasons — single-line, control-stripped, 400-char cap before hook messages.
- +CI covers the Python plane — Linux job runs the Hermes plugin unit suite.
Upgrade: shieldcortex update then reinstall Hermes plugin if already installed: shieldcortex hermes install
v4.52.2
15 August 2026
Bound-plane honesty + portable shieldcortex/enforce. Docs stop selling Codex/Cursor MCP as deny hooks. Ships the Action Guard entry point and Hermes install path on npm @latest.
- +Capability matrix — Claude Code / OpenClaw / Hermes can deny. Codex / Cursor / Copilot / generic MCP = memory only, not bound.
- +
import { evaluateAction } from 'shieldcortex/enforce' — portable guard; host must honour block / require_approval.
- +
shieldcortex hermes install — pre_tool_call plugin packaged on npm (enforce by default; conversation/freeze not bound).
Upgrade: shieldcortex update
v4.52.1
15 August 2026
Patch — Action Guard enable/enforce via signed CLI flags. Hosts on shieldcortex update can toggle Action Guard without hand-editing ~/.shieldcortex/config.json (which invalidated the embedded integrity signature).
- +Signed Action Guard CLI —
shieldcortex config --action-guard-enable|disable|enforce|advisory. Enforce also enables; advisory is warn-mode only. Status shows Off / Enforce / Advisory. Doctor points here instead of hand-edit paths (PR #296).
- +No default behaviour change — absent keys still mean ON/enforce. Sibling keys (notify, reviewedScripts, broker) preserved on write.
Upgrade: shieldcortex update (or npm i -g shieldcortex@4.52.1)
v4.52.0
15 August 2026
Security residual grind — Action Guard precision, approval-broker field residual, and an instruction-detector floor that stops treating English morphology as a different language. Closes the open security board after v4.51.0: store-read FP deadlock, write-content scan, broker timed-out audit honesty, and Stage 1+2 instruction normalisation + morphology on both detectors.
- +#89 store-read FP closed — pure shell observation of the approvals/decisions stores no longer deadlocks on enforced hosts. Interpreters, nested exec, function-defs, and glued redirects still gate. Fail-closed.
- +#93 write-content scan — Edit/Write content is scanned on script and memory targets so write-then-exec cannot launder a payload past path policy. Ordinary docs prose stays allowed.
- +#143 broker field residual — judge timeout 8s→15s with honest
judge_timed_out audit. Timeouts never pre-clear / never auto-approve. Broker remains opt-in.
- +#204 instruction-detector floor — shared normalisation (ZW/bidi, confusables, punct, classic leet as extra variant) + bounded morphology (active/passive/stop-following) on both
detectInstructions and scanForInjection. Regex tier is a pre-filter floor — not multilingual or full-paraphrase coverage. Semantic stays async additive.
- +Deny forensics + trust honesty — denial rows land before notify (#284); env override cannot claim operator/CLI trust (#273/#283); doctor/install/cred residual stack.
Upgrade: npm i -g shieldcortex@4.52.0 && shieldcortex update · OpenClaw: openclaw plugins update @drakon-systems/shieldcortex-realtime
v4.47.39
11 August 2026
The conversation firewall's honesty pass lands on main. Doctor stops reporting a healthy install over a wiped plugin stanza, and the two checks that could only ever report success get separated by cause.
- +Doctor no longer reports healthy over a wiped plugin stanza, and the conversation firewall can now genuinely block and notify — still opt-in per host via
hooks.allowConversationAccess (#222, #225).
- +The reviewed-script exemption is per-file, never transitive (#189).
- +The approval hash follows the command surface, not the tool name (#183).
- +Operator-configurable memory caps (#238).
v4.47.38
11 August 2026
A full memory store no longer eats the memory you just saved. An outside report paired sixteen days of evidence: once long-term memory hit its cap, 169 of 171 writes below salience 1.0 were deleted milliseconds after remember reported success — and the memories most worth keeping were precisely the ones being dropped (#236).
- +A one-hour grace window — a row created in the last hour is never an eviction victim, whatever the salience distribution says.
- +Eviction now ranks by effective salience (recency × access × pin × downvote penalty) instead of a saturated raw value that had gone flat at 1.0 across the whole store.
- +Pinned rows are never cap-evicted, on both the long-term and short-term eviction paths.
If you ran 4.47.35–4.47.37 with a full store: memories lost this way were deleted, not quarantined, and are not recoverable. Upgrading stops the loss.
v4.47.37
11 August 2026
Stop claiming protection we did not have. Three checks whose trigger condition was destroyed by the very fault they existed to detect, and the first defence on the conversation path that actually does something.
- +Doctor no longer reports a healthy host with no protection on it — an installer wipe that deleted the plugin registration used to fall through to a green “healthy” verdict; on one box that was roughly an hour with no memory firewall and no Action Guard (#222).
- +The plugin stops announcing conversation hooks OpenClaw refused to register —
llm_input/llm_output require an explicit per-plugin consent grant; without it, the startup line now names only what will actually be live (#225).
- +Conversation-path escalation, added — a detected injection now taints the session for 15 minutes and tightens the Action Guard one notch. Opt-in only, via
hooks.allowConversationAccess: true on a host running OpenClaw ≥2026.5.12; ships dormant until an operator grants it (#233).
- +The release gate can fail now, and says which failure it is — a stale ClawHub listing used to exit the CI job 0 (#200).
v4.47.36
10 August 2026
A blocked action now tells you it was blocked. When ShieldCortex stops a command on a machine with nobody at the keyboard — a scheduled job, a cron, an unattended agent — the operator used to receive a notification asking them to approve something that had already been refused. Answering it did nothing. Scheduled work could die quietly for hours with nothing to show for it.
- +Denials and requests are different messages — a denial arrives as BLOCKED: this action did NOT run, naming what was stopped, which session and which directory, plus the command that authorises a retry. No Approve/Deny buttons on a request that is already dead.
- +Carried on both channels — native OpenClaw approval cards and the webhook channel, which now sends the outcome as a header and a first-class field so a receiver can branch on it without parsing text. Webhooks gain a signing secret so a receiver can reject unsigned posts.
- +A broken notifier is still a working guard — pinned by test: a receiver that errors, times out, or refuses the connection changes the guard’s decision by nothing.
Still to come on this thread: durable pending approvals and resumption. A denial still ends the job — you now learn that it did, and can authorise the retry.
v4.47.11 – v4.47.35
July – August 2026
Twenty-five releases of field hardening, summarised. Most came from real boxes breaking in ways we could reproduce — and several from outside researchers. Full detail in CHANGELOG.md.
- +The guard reads the script, not just the command — every rule was previously bypassable by moving the code into a file and running the file. It now judges a delete by its target rather than its verb, and treats an installed CLI’s shim as the tool it is rather than the shell it wraps.
- +Approvals reach the operator — an AI broker that can only ever move an answer toward caution, one-tap approve/deny on the channel you already use, an approval that stays spendable when the agent re-words its retry, and standing trust for scripts a human has reviewed.
- +The credential detector caught up with its providers — an external report found it blind to OpenAI’s default key format since 2024, and the audit it triggered found the entropy net beneath it disabled for that whole class. Nine provider formats refreshed, with a standing test battery so a stale format fails the build rather than someone’s inbox.
- +Install, update, uninstall and doctor stopped lying — hook commands must resolve rather than merely exist, install verifies its own registration and fails loud if a box would be left unprotected, uninstall removes everything install creates, and doctor’s schema check derives from the real schema.
v4.47.10
19 July 2026
The Action Guard now understands the difference between mentioning a dangerous command and running one. A quoted search pattern, a commit message, or a fetched URL that merely contains a dangerous-looking string is no longer mistaken for the real thing — while every command that actually executes is still gated.
- +Mention-vs-intent span classifier — before deciding, the guard classifies where a dangerous token sits: executed shell code, a quoted data argument, or a URL. Quoted data (to a search/print command with no substitution) and in-URL mentions are recognised as mentions; a novel interpreter or any ambiguity stays treated as executed — fail-closed by design. This replaces a series of one-off false-positive fixes with a single general mechanism.
- +Whitespace-obfuscation hardening — the shell
${IFS} trick (used to strip the spaces a scanner looks for) is now normalised before scanning, closing an evasion that hid a recursive chmod on root and a fork bomb.
v4.47.9
18 July 2026
The Action Guard fails closed on the dangerous tier when it can’t scan — and stops mis-blocking plain single-file deletes. The last fail-open path is closed across all three runtimes, and a false positive that hard-blocked ordinary deletes is fixed.
- +Dangerous ops fail closed on a scan failure — if the guard can’t scan (module error, unreachable scanner), a recognised-dangerous operation is now gated instead of silently allowed, on the OpenClaw, Claude Code, and Hermes surfaces. Benign work still passes, but every “could not scan” decision leaves an audit breadcrumb.
- +No more false catastrophic blocks on plain deletes — a filename containing a token like
-verify was being read as a recursive-force flag, hard-blocking an ordinary single-file delete. Fixed; genuine recursive-force deletes still block.
v4.47.8
18 July 2026
Guard observability: doctor learns to check the Action Guard, allow-decisions become auditable, and the Hermes gate stops failing open. The enforcement layer is now visible in its own diagnostics and forensics — you can tell “scanned and allowed” from “never scanned.”
- +Doctor checks the Action Guard —
shieldcortex doctor now runs three live verdict probes through the real guard (catastrophic blocks, dangerous prompts, benign allows) and flags when your config opts a surface down — or when the two config surfaces disagree.
- +Auditable allows — a recognised allow now leaves an audit entry, so “scanned and allowed” is distinguishable from “never scanned” in forensics. Benign noise stays out of the log; an unwritable audit sink now warns loudly instead of dropping entries silently.
- +Hermes fails closed — when the scanner is unreachable, the Hermes runtime gate now denies unambiguous catastrophic commands via a dependency-free fallback scan (matching the OpenClaw and Claude Code surfaces), instead of waving everything through.
v4.47.7
18 July 2026
Guard tune: residual evasion shapes closed, wrapper and quote evasions gated, use/mention precision. Two adversarial follow-up passes on the Action Guard land together — every fix shipped failing-first with must-still-fire and must-still-allow siblings.
- +Residual pipe/heredoc shapes closed — stdin-executing python modules (
code/pty/pdb) no longer slip the inline-program exemption; the dot-spelling of the shell source builtin is caught; a heredoc body written to a file that a later statement executes stays scanned. The fail-closed fallback scanners learn the new shape too.
- +Wrapper and quote evasions gated —
env/nohup/nice-wrapped scheduler mutations and quoted global-install flags now gate like their bare forms; read-only listings stay exempt through wrappers.
- +Use/mention precision — a grep whose search pattern mentions a delete utility no longer gates (anchored to command position), and npm's workspace-local
--global-style flag no longer over-gates as a global install.
v4.47.6
15 July 2026
Docs-and-disclosure alignment — the published trust claims now match the shipped package. A cross-surface audit compared every published claim (npm README, ClawHub skill, plugin manifest, docs) against the shipped code; everything that didn't match got fixed. No pipeline or guard behaviour changes.
- +Honest trust table — the skill's provenance table now discloses the bounded postinstall script and the real 8-dependency list instead of claiming neither existed.
- +Plugin README matches shipped defaults — enforce-by-default Action Guard with the fail-closed fallback documented, correct compatibility floors (ShieldCortex ≥ 4.18.3, Node ≥ 20), and the
actionGuard config keys documented in README + manifest.
- +
/shieldcortex-status shows the Action Guard — enforcement state (enforce/warn/off) and auto-approve count are now visible in the plugin's own status output.
v4.47.5
14 July 2026
Seven confirmed command-guard bypasses closed, and the guard now fails closed when it can't load. An adversarial pass proved seven ways past the Action Guard — every one is closed with a failing-then-passing regression test, and the catastrophic path no longer depends on the guard loading at all.
- +7 bypasses closed — newline-after-
echo scan escape, env-prefixed and tee-staged curl | bash, decode-to-shell chains, registry code-exec via npx/dlx, find -delete, recursive chmod/chown on system dirs, and dd/truncate/scheduler shapes. 69/69 new bypass suite, 314/314 full Iron Dome suite.
- +Fail-closed catastrophic path — if the compiled guard can't load, a dependency-free fallback scanner still denies the unambiguous catastrophes (
rm -rf /, raw-disk writes, fork bombs, curl | bash) instead of allowing everything.
- +ReDoS hardening — three patterns with quadratic backtracking on pipe-dense input (up to 12s) rebuilt as bounded checks (<300ms).
v4.47.4
14 July 2026
The field-hardening batch: false-positive precision, honest plugin status, MCP self-heal. Five over-blocking classes from the fleet dogfood narrowed — each with a must-BLOCK sibling fixture proving the real attack still blocks — on top of v4.47.3's plugin-loader reconciler.
- +Mention-vs-intent discipline — quoted commands in documentation, interpreters running their own inline programs, and workspace-local
npm install no longer trip blocks; curl | sh and global installs still do. Block reasons are now human-readable codes.
- +Honest status & self-heal —
openclaw status recognises managed npm installs instead of reporting “no files on disk” while enforcement runs; a better-sqlite3 ABI mismatch at MCP startup now repairs itself loudly instead of a bare -32000.
- +Consent-gated canary — an optional synthetic catastrophic op dispatched through the actually-installed interceptor to actively prove enforcement; an unobservable result reports “not proven”, never a fabricated pass.
v4.47.2
10 July 2026
Credential exfiltration is now a first-class classification. Credential-material access combined with off-host movement hard-blocks in enforce — either half alone stays clean, and loopback/RFC1918/tailnet destinations don't count as exfiltration.
- +
credential_exfil — recognises the dangerous conjunction directly (key/token/vault reads × outbound POST/nc/scp) instead of falling through to generic signals.
- +Hermes gate enforces by default — the
pre_tool_call gate now blocks BLOCK/QUARANTINE verdicts out of the box; SHIELDCORTEX_ENFORCE=0 drops back to advisory. A down scanner still never wedges the agent.
- +Fleet regression pack — the Athena/Edith dogfood false-positives and keep-blocks are locked in as fixtures so precision can't regress silently.
v4.47.0
4 July 2026
Pricing model change: public tiers are now Free + Enterprise. Every local feature is free — the self-serve Pro and Team tiers are retired, the auto 14-day trial is gone, and cloud signup is open to everyone. Plus: the Action Guard reaches Claude Code.
- +Everything local is free — custom injection patterns, Iron Dome policies, firewall rules, audit export, the dependency scanner, Cortex, Dream Mode, and unlimited X-Ray (the 5-scans/day limit is gone) no longer require a licence. Cloud/org features (fleet sync, team management, SSO) are Enterprise via sales@drakonsystems.com; grandfathered Pro/Team keys keep working.
- +Cloud signup open to all — the dashboard's email → magic-link signup connects anyone to the cloud free tier (500 scans/month, 7-day audit retention).
- +Claude Code PreToolUse guard — every Claude Code tool call runs through the shared Iron Dome action guard: catastrophic ops deny outright, dangerous ops route through Claude Code's native permission dialog, and unattended dangerous calls fail closed.
v4.46.0
2 July 2026
The dangerous tier enforces by default, and the zeroth law makes breaking the host a release-blocker. Previously only catastrophic operations were enforced; recognised-dangerous operations now gate by default with a per-agent autoApprove escape hatch for unattended jobs.
- +Enforce by default —
sudo systemctl, real-path rm -rf, forced git rewrites and friends now require approval; unattended with no approver fails closed; enforce: false opts back down to advisory.
- +The zeroth law — ShieldCortex must never break the gateway or agent it protects: no implicit gateway restarts (headless installs skip the restart entirely), tests can never touch live services, hooks stay timeout-bounded.
- +Project-key repair works headless —
--execute now counts as consent in non-interactive sessions (it silently no-opped for every agent and cron job), and doctor --fix-project-keys one-shots the unambiguous repairs.
v4.45.0
30 June 2026
ShieldCortex now runs on Hermes too — a native pre-tool-call gate. The defence pipeline that protects OpenClaw agents now ships for the Hermes Python runtime as well, and the doctor learned to recommend tappable approval buttons.
- +Hermes plugin — a Hermes-native gate that scans every tool call through ShieldCortex via
pre_tool_call → REST /api/v1/scan. Advisory-first, fail-open (a down scanner never blocks), and install-isolated to ~/.hermes/plugins/. Coexists cleanly with an OpenClaw ShieldCortex on the same host.
- +Doctor: approval-buttons hint —
shieldcortex doctor recommends enabling Telegram inline approval buttons when they're off — recommend-only, never rewrites your config.
v4.44.0
29 June 2026
Action Guard field discipline — plus a claims-proof suite and the overseer guard. The runtime Action Guard now distinguishes what the agent does from what it merely describes.
- +Field discipline — the Action Guard scans only the execution surface (shell command, target path, egress URL), never content the agent produces. A status message that merely quotes
rm -rf / is data, not an action — it no longer trips a block. 56/56 guard + 61/61 related tests.
- +Claims-proof suite — every public security claim is now backed by a firing test (12/12, 0 gaps).
- +Overseer-manipulation guard (P1) — detects attempts to manipulate the human approver at the approval boundary.
v4.43.0
28 June 2026
Two new runtime defence layers: the Action Guard and the Environment Firewall. Beyond protecting what the agent stores, ShieldCortex now guards what it does and what it sees.
- +Iron Dome Action Guard — gates what the agent does: hard-blocks the unambiguously catastrophic (recursive root deletes, fork bombs,
curl | sh, secret exfiltration) regardless of config, routes the rest through approval. Positive-recognition — benign work is never interrupted.
- +Environment Firewall — protects what the agent sees: auto-catches hidden web/prompt injection in fetched pages and tool output before their content becomes authority.
v4.30.2
3 June 2026
OpenClaw registry installs are now visible to ShieldCortex update and doctor. OpenClaw-managed realtime plugins live in OpenClaw's registry, not the old extension path. v4.30.2 teaches shieldcortex update and shieldcortex doctor to read that source of truth, refresh stale registry installs, and report the installed plugin version instead of silently skipping it.
-
+
Registry-aware updates — OpenClaw registry-managed installs are refreshed with
openclaw plugins update shieldcortex-realtime; legacy file-copied installs are migrated away from the duplicate-install state.
-
+
Plugin version drift is visible — doctor now reports the realtime plugin version and warns when it is behind the ShieldCortex npm package, so stale fleet boxes no longer look healthy by accident.
v4.30.1
2 June 2026
Setup now persists SessionEnd hook removal when that is the only change. Running setup without --with-session-end on a machine where the optional SessionEnd hook was still wired could print that the hook was removed but skip writing the settings file. v4.30.1 counts removals as real changes, writes them to disk, and keeps doctor output aligned with what setup reported.
v4.30.0
2 June 2026
Privacy hardening for the realtime plugin — threat metadata only, never your input text. The optional OpenClaw realtime plugin now forwards only threat metadata (type, scores, timestamps) when it flags something, and only when Cloud sync is explicitly enabled. Flagged-content previews stay in your local audit log and are never transmitted. ShieldCortex ships with a full data-handling disclosure documenting exactly what is read, stored, and — only if you opt in — sent.
-
+
Metadata-only threat reporting — the realtime plugin strips input/output text before any network call; only threat metadata leaves the machine, and only with Cloud sync on. Local-first by default, as always.
-
+
Data handling, privacy & consent — a new disclosure spells out what each path transmits: audit telemetry (metadata only), team memory sync (opt-in, off by default), quarantine (credentials redacted), realtime threats (metadata only).
-
+
Deterministic releases — a cross-worker test-isolation race that intermittently broke CI is fixed at the root, so updates ship reliably without manual intervention.
v4.29.0
2 June 2026
The “salience wall” is gone — memory now ranks by what's actually relevant. Over time, auto-captured memories had piled up at maximum salience, so ranking could no longer tell signal from noise — the same stale items surfaced every turn and boot context filled with low-value fragments. This release re-grounds salience end-to-end, closes the capture paths that inflated it, and adds a one-time self-healing migration that repairs existing stores in place — fully reversible.
-
+
Effective-salience ranking — recall and boot context now rank by recency, access, and pinning, not a raw score that 80% of memories shared. Never-recalled memories are no longer silently zeroed out of the ranking.
-
+
Self-healing backfill — a one-time migration clamps historic auto-captured rows down off the ceiling on first start, behind an in-DB backup table and a pre-migration file snapshot. Undo any time with
shieldcortex memory revert-backfill.
-
+
Relevance-gated recall — per-turn recall can drop weakly-matched memories by query-term coverage. Ships in shadow mode (logs what it would drop, changes nothing) until you opt in with
SHIELDCORTEX_RECALL_ENFORCE=1.
-
+
Cleaner capture — hook and auto-sourced writes can no longer mint maximum-salience rows; the OpenClaw memory hook now shares the same hardened, sentence-bounded extractor as everything else; and near-duplicates are caught across every capture path on write.
-
+
No more “frankenmemories” — consolidation stopped concatenating duplicate bodies into ever-growing memories; it now keeps the strongest copy and demotes the rest.
v4.24.3
26 May 2026
Memory-extraction quality — sentence-bounded captures, first-sentence headlines, per-session recall dedupe. The auto-extract chunker was sliding fixed-character windows over assistant turns and labelling them by keyword presence — producing memories that grabbed 150 chars regardless of where the sentence ended, with headlines of the first 50 raw chars. Literal \n JSON-escape sequences leaked through the chain. Adjacent user turns recalled near-identical memories because the recall hook had no dedupe.
-
+
Sentence-bounded captures — every extractor pattern now stops at the first
. / ! / ? / newline, falling back to the 200-char cap only if no terminator is reached. Applied to all six auto-extractors.
-
+
First-sentence headlines — the MEMORY.md index now shows the first complete sentence (up to 80 chars at a word boundary), not the first 50 raw characters. URLs / decimals / version strings no longer fool the boundary detector.
-
+
Defensive JSON-escape unescape — strips literal
\n / \t / \r sequences that survived a stringify/parse round-trip upstream, before regex matching. Idempotent on already-unescaped input.
-
+
Per-session recall dedupe — content hashes of injected memories persisted per session with a 5-item ring and 1-hour TTL. Same memory can't appear in two consecutive turns of the same session. Each recalled snippet now carries a
_[mem #N]_ source ref so operators can grep / inspect the backing memory.
v4.24.2
26 May 2026
Hotfix — CLI scans on headless servers were silently dropping cloud sync. Companion bug to v4.24.1. Once the gate was open (Free tier unblocked for audit-ingest), CLI scans on macOS started syncing reliably — the launchd-managed dashboard daemon kept the Node process alive long enough for the fire-and-forget POST to complete. On headless Linux servers (cron jobs, ad-hoc ssh scans, container entry points), shieldcortex scan … ran the pipeline, printed results, and called process.exit() within ~1 second — aborting the in-flight fetch.
-
+
Track in-flight cloud-sync promises in a module-level
Set inside src/cloud/sync.ts. The fire-and-forget signature is preserved for the 50+ existing callers.
-
+
New
flushPendingCloudSync(maxWaitMs = 8000) awaits all tracked promises with a timeout. Wired into the scan and scan-skill CLI subcommands immediately before process.exit(). Headless servers now drain cloud sync reliably; long-lived processes don't need to call it.
v4.24.1
26 May 2026
Hotfix — Free-tier audit sync to Cloud was incorrectly gated behind Team tier. The defence pipeline's audit-metadata sync (the feed for the Cloud dashboard's scan counts, threat timeline, and device list) was gated on isFeatureEnabled('cloud_sync') — but cloud_sync is a Team-tier feature. Every Free install with a valid cloud API key was silently dropping audit data. The Cloud dashboard appeared stuck on the No scan data yet empty state for every Free-tier user — contradicting the published Free-tier offer (500 scans/mo + 7-day retention).
-
~
Split
cloud_sync into two narrower features: cloud_audit_sync (Free — audit metadata only, no content) and cloud_sync (Team — full bidirectional sync incl. memories, knowledge graph, and quarantine content).
-
~
Re-gate the audit-ingest call on
cloud_audit_sync. Free-tier installs with a configured cloud API key now actually fire POST /v1/audit/ingest on each scan, as the dashboard has always expected. Quarantine content sync stays on cloud_sync (Team) — correctly.
v4.24.0
25 May 2026
Gentle Pro-tier upsell — doctor footer + dashboard banner. Free users now get a non-pushy “you can upgrade — 1-2-3” nudge in two places: the shieldcortex doctor output (where engaged users already look) and the local dashboard's shield overview. The doctor footer renders at most once per week; the dashboard banner is dismissable for 7 days. Anyone already on Pro / Team / Enterprise — or in an active trial — sees nothing.
-
+
Three trigger conditions evaluated in priority order: trial_ended (Pro trial expired within the last 30 days), usage (monthly
defence_audit count ≥ 80% of the Free 500/mo cap), and engagement (oldest memory ≥ 14 days AND total memories ≥ 100).
-
+
Throttle + mute — 7-day cooldown via
~/.shieldcortex/upsell-state.json; mute via npx shieldcortex config --upsell-mute.
-
+
Dashboard banner mirrors the existing
CloudUpsellCard state-machine pattern. Dismissable via X or Maybe later for 7 days. No telemetry, no remote calls — local-only.
v4.23.0
25 May 2026
Prompt-aware recall — FTS rank is now primary, salience the tiebreaker. Pre–v4.23.0 the UserPromptSubmit recall hook filtered candidates by FTS5 keyword match (ORDER BY fts.rank) but then did a final sort by raw salience — discarding the relevance signal entirely. High-salience-but-off-topic memories bubbled to the top of the per-prompt 🧠 Recalled from memory: preamble. This release picks the simplest of three candidate approaches: FTS-primary ordering with salience as the tiebreaker — no new dependencies, smallest blast radius.
-
~
prompt-recall-hook.mjs ranking — replaced raw-salience final sort with an FTS-rank-primary / salience-tiebreaker comparator. FTS5 BM25 ranks are negative numbers; lower (more negative) = more relevant. The category-boost fallback is preserved.
-
i
session-start-hook.mjs ranking stays salience-DESC — no query at session start, so FTS rank isn't applicable; the preamble's job is “what's important right now”, not “what matches your current question”.
v4.22.1
25 May 2026
Quiet the defence canary — drop the stderr noise that v4.22.0 introduced on cold doctor runs. Field signal showed v4.22.0's canary fires correctly (15–17ms, pattern matched) but leaked a [Events] Failed to persist event: Error: Database not initialized stack trace to stderr ahead of the check output. The doctor's other DB-touching checks lazy-init via getDatabase() and work fine, but the events DB needs explicit init that hadn't happened yet when the canary fired. Canary still worked; the output was polluted.
-
~
checkDefenceCanary() calls detectInstructions() directly instead of routing through the full runDefencePipeline(). Same signal — the firewall layer catches the marker or it doesn't — without the DB dependency, the audit-log write, or the event persist. As a bonus the canary now runs in ~1ms instead of 15–17ms, and stops accumulating cli:doctor:canary rows in defence_audit.
v4.22.0
24 May 2026
Defence canary + recall quick wins. Field-driven release closing two field critiques: “the defence layer is unprovable from inside the session” and “recall surfaces too much half-formed shrapnel with mid-word cuts.”
-
+
Defence canary doctor check —
shieldcortex doctor now runs a synthetic-injection probe (__SHIELDCORTEX_CANARY_PROBE_v1__) through the defence pipeline and asserts the firewall blocked it. Output: ✅ Defence canary: caught (10ms, pattern: defence_canary). Moves the defence layer from “unprovable” to “self-attested” — every doctor invocation is a positive heartbeat for the security claim.
-
+
Word-boundary-aware truncation — new
truncatePreservingWords(text, maxChars, lookback=20) backs off to the last whitespace/punctuation boundary within 20 chars of the limit and appends …. Replaces hard slice(0, N) + '...' at SessionStart (200-char limit) and UserPromptSubmit recall (150-char limit).
-
~
Auto-extract salience cap —
calculateSalience() now supports { autoExtractMode: true }, capping the return at 0.6 instead of 1.0. Safety-in-depth: the downstream cap was already in place; making the function itself cap is the structural fix.
v4.21.2
24 May 2026
Doctor catches up to the v4.21.1 packaging contract — the OpenClaw plugin pkg check now reports INFO on the post–v4.21.1 “no discovery vectors” state. v4.21.0's doctor logic was tightly coupled to the v4.18.3-era invariant that the bare shieldcortex always shipped a root openclaw.plugin.json. v4.21.1 deliberately removed it — at which point the doctor's invariant ran backwards: healthy installs got reported as WARN because the manifest the doctor expected to find was no longer there. This release replaces the manifest-required INFO branch with a visibility-first model.
-
~
Visibility-first INFO — the bare is INFO when it has zero OpenClaw discovery vectors (post–v4.21.1 architecture). It is WARN when either vector is present (
openclaw.extensions field OR root manifest), with the WARN message naming the specific vector so operators can diagnose.
-
~
WARN fix-message now points at the real fix:
cd ~/.openclaw/npm && npm install shieldcortex@latest.
v4.21.1
24 May 2026
Kill the OpenClaw duplicate plugin id detected warning at its real source — drop the root openclaw.plugin.json shim that v4.20.0 left in the tarball as a one-release defensive measure. v4.20.0 removed openclaw.extensions from the main package, intending to make the bare shieldcortex invisible to OpenClaw's discovery. Fleet evidence showed the warning persisted — OpenClaw's bundledDiscovery: "compat" scans node_modules/*/openclaw.plugin.json independently of package.json#openclaw.extensions. The defensive root manifest was still being picked up. With this release the bare ships neither discovery vector — fully invisible to OpenClaw.
-
~
Root
openclaw.plugin.json removed from the published tarball: dropped from package.json's files allow-list, removed from the repo working tree, build script no longer copies the plugin manifest to the package root.
-
i
openclaw.hooks kept in package.json — still load-bearing for the documented openclaw hooks install flow. The dedicated @drakon-systems/shieldcortex-realtime plugin remains the only discoverable target.
v4.21.0
24 May 2026
Stop the doctor crying wolf about peer-range version skew on healthy fleet boxes. Since v4.18.3 the bare shieldcortex sitting at ~/.openclaw/npm/node_modules/shieldcortex has been the expected steady state — OpenClaw's managed-peer-deps installer drops it there to satisfy @drakon-systems/shieldcortex-realtime's peerDependencies.shieldcortex. v4.19.1 taught the doctor to report INFO instead of WARN, but only when the bare version exactly equalled the realtime version. In practice OpenClaw never refreshes the bare copy when realtime upgrades — every fleet box where realtime moved forward still got WARN even though the install was healthy.
-
~
Doctor uses
semver.satisfies() against realtime's declared peer range instead of strict equality. When the bare satisfies peerDependencies.shieldcortex AND the root manifest exists → INFO.
-
~
Realtime peer range widened —
@drakon-systems/shieldcortex-realtime's peerDependencies.shieldcortex changes from ^4.20.0 to >=4.18.3 <5.0.0. v4.18.3 is the architectural floor.
-
~
Out-of-range fix message refined — doctor now suggests
openclaw plugins update @drakon-systems/shieldcortex-realtime rather than rm (which doesn't stick — peer-resolution restores the same version from cache).
-
+
semver is now a declared direct dependency (^7.7.0). Was previously transitively loadable; making it explicit removes the fragility of relying on indirect resolution.
v4.20.0
22 May 2026
Drop openclaw.extensions from the main package — kill the OpenClaw duplicate plugin id detected warning at its source. OpenClaw's npm discovery is gated on openclaw.extensions. Pre–v4.20.0 both the main shieldcortex package and the dedicated @drakon-systems/shieldcortex-realtime plugin declared one, so OpenClaw scanned both copies (the bare main package gets pulled in as the realtime plugin's peer-dep), registered both under pluginId: shieldcortex-realtime, deduped, and emitted the warning on every openclaw update. Functionally fine (the right dist/index.js always won) but cosmetic noise on every fleet box. The bare shieldcortex is now invisible to discovery; the dedicated realtime plugin remains the only registration target.
-
+
Kept
openclaw.hooks on the main package — still load-bearing for the documented openclaw hooks install flow.
-
+
Packaging test inverted to pin the new contract; doctor check unchanged (still handles mixed-version fleets where pre-4.20.0 bare copies linger).
v4.19.1
22 May 2026
Doctor: OpenClaw plugin pkg check goes WARN→INFO for the expected post–v4.18.3 peer-dep state. Since v4.18.3 the bare shieldcortex landing at ~/.openclaw/npm/node_modules/shieldcortex has been the expected steady state of a healthy install. The doctor's WARN here was conservative noise. Now reports INFO when bare version matches the installed realtime plugin AND the root manifest exists; WARN/FAIL retained for actual surprises (version mismatch, missing peer sibling, missing root manifest).
v4.19.0
21 May 2026
Living Constellation — the knowledge graph as a living map. The dashboard graph view at /memory/graph now has a pinned anchor node, a breathing animation, memory-activity pulses, and particles drifting along the hottest edges as new memories form. The 527-line ConstellationGraph.tsx monolith was refactored into a slim wirer composing seven focused modules. Pulse triggers wire through /ws/events with a polling fallback against /api/memories?mode=recent.
-
+
Pinnable anchor + click-to-orbit: the most-connected entity is pinned at canvas centre on load; click any node to smoothly transfer the anchor. Drag any node to pin it in place (drag-to-pin). Shift-click to release a user pin. Double-click empty canvas to reset.
-
+
Three-layer pulse system: always-on breathing modulated by salience; spikes on
memory.created; warm glow on memory.accessed. Energy budget bounds directional-particle render to the top-N edges by recent activity.
-
+
Settings → Graph Motion intensity selector (Subtle / Moderate / Strong) persisted per-browser;
prefers-reduced-motion: reduce short-circuits breathing + particles + tweens for accessibility. memory_created / memory_accessed events now carry entity_ids so the client can light up the right node without an extra round-trip.
v4.18.5
18 May 2026
Modern Node support — no more cryptic native crash on Node 23/24/25/26. engines.node was unbounded (>=18) while better-sqlite3 ^11's prebuilts stopped at older Node ABIs — users on a newer Node without a compiler hit a bare libc++abi … Napi::Error crash-loop with zero guidance. Node-LTS users were unaffected; this closes the gap.
-
+
Bumped
better-sqlite3 ^11 → ^12 (prebuilts for Node 20/22/23/24/25/26); engines.node >=20 (Node 18 EOL). Added a guarded native loader + postinstall smoke-check that emit one actionable message instead of the opaque abort.
v4.18.4
17 May 2026
Cap the cloud sync retry queue. The 7-day TTL purge (purgeOldEntries) only runs while the brain worker is alive; MCP-only installs have no worker, so a long offline stretch could grow sync_queue on disk without bound. Now hard-capped at 5,000 rows, enforced on every enqueue and on the worker purge path. Eviction priority: already-synced → terminally-failed → oldest-pending. Once-per-hour warning when trimming kicks in. Fire-and-forget contract preserved.
v4.18.3
17 May 2026
OpenClaw gateway crash fix — bare shieldcortex ships root openclaw.plugin.json so config validation passes. After openclaw update pulled shieldcortex@4.18.2, OpenClaw config validation failed with "plugin manifest not found" because the package carried openclaw.extensions but didn't ship a root manifest. The tarball now ships openclaw.plugin.json at the package root, byte-identical to the canonical plugin manifest, and the declared openclaw.extensions[0] is resolvable from the published files.
v4.18.2
16 May 2026
shieldcortex doctor detects misplaced bare shieldcortex in the OpenClaw plugin tree. Background: on 2026-05-15 a fleet OpenClaw gateway restart-looped because a stale bare shieldcortex package had landed in ~/.openclaw/npm/node_modules/ — where only the dedicated @drakon-systems/shieldcortex-realtime plugin belongs. Diagnosis required SSHing into the box by hand. Doctor now reports FAIL on the stale state (declared extension entry missing — the crash-loop class), WARN when the bare package is present with its entry intact, and PASS on healthy installs.
v4.18.1
14 May 2026
Audit-pass patch — memory-safe JSONL imports, path-traversal hardening, replay UX polish. Two things move the needle for users with substantial transcript archives: JSONL imports now stream the file in 64 KB chunks via readSync + StringDecoder (UTF-8 safe across chunk boundaries) and flush parsed rows in 2,000-row transactional batches — peak memory is now bounded regardless of archive size; and POST /api/sessions/import-jsonl validates paths against $HOME + os.tmpdir() with path.normalize blocking .. traversal.
-
+
Replay UX polish: SessionList surfaces API errors instead of a perpetual "Loading…"; EventDetail renders a skeleton while switching sessions.
v4.18.0
14 May 2026
Session Replay UI — scrub every prompt, tool call, and response. A scrubbable timeline of every captured session lives at /memory/replay: session list on the left, kind-coloured tick timeline with a draggable playhead in the centre, focused-event detail on the right. Play, pause, scrub, 0.5×–4× speed, full keyboard control. Renders cleanly in both terminal and glass themes via the existing dual-render primitives.
-
+
Dashboard route
/memory/replay with three-column responsive layout. Sessions sortable by recency or event count. Selected session lives in ?session=… so refresh + share-by-URL work.
-
+
Transport + keyboard: space toggle, ←/→ step, shift+arrows jump to ends, [/] cycle speed. Shortcuts skip when typing in inputs.
-
+
Glob-aware import endpoint:
POST /api/sessions/import-jsonl accepts file paths, glob patterns, or empty body (defaults to ~/.claude/projects/**/*.jsonl). The dashboard's Import JSONL button uses the zero-arg form for one-click backfill.
v4.17.0
10 May 2026
Session Capture Backend — turn-by-turn event store, JSONL importer, HTTP API. ShieldCortex now records every prompt, response, tool call, tool result, and hook fire into a dedicated session_events table with enough fidelity to scrub/replay a session end-to-end. Two ingestion paths in lockstep: live capture (hook scripts) and batch import (shieldcortex import-jsonl). A content_hash + UNIQUE index makes re-imports idempotent.
-
+
session_events schema with CHECK kind IN (prompt|response|tool_call|tool_result|tool_error|hook_fire), project + ts indexes, and an audit-id foreign key so events outlive their audit rows.
-
+
JSONL importer maps Anthropic SDK content blocks to event kinds. Thinking blocks are skipped (not user-replayable). SHA-256
content_hash + INSERT OR IGNORE drops collisions silently.
-
+
Live hook capture wired into
prompt-recall, session-end, and pre-compact hooks. Opt-out via captureEvents=false.
-
+
Four new HTTP routes: list, detail, paginated events, import.
v4.16.0
10 May 2026
Defence pipeline + chunker hardening on the auto-capture write path. Three coupled defects closed: session-end / pre-compact / stop hooks routed memories through the firewall pipeline (defence_audit rows now created on every capture); 9 built-in firewall rules seeded on first run; and the chunker rejects six classes of malformed candidates (imperative tool-call segments, email-body fragments, bare imperatives, etc.) before they reach the dedupe stage. Auto-extract salience capped at 0.6.
v4.15.0
10 May 2026
Hybrid retrieval with Reciprocal Rank Fusion + LongMemEval benchmark harness. ShieldCortex's recall pipeline now fuses FTS5 keyword, vector cosine, and graph-walk retrievers via Cormack et al. (2009) RRF (k=60). The harness reproduces locally via npm run bench against a 5-question toy fixture today; numbers against the full LongMemEval-S corpus are on the roadmap and not yet published. Legacy weighted-sum scoring stays available as a one-release safety belt (SHIELDCORTEX_RANKER=legacy).
-
+
Reproducible benchmark:
npm run bench produces benchmark/longmemeval/SCORECARD.md with R@5, R@10, MRR, and per-question diff between RRF and legacy engines. CI uploads the scorecard as a release artifact on every tagged push.
-
+
Multiplicative post-fusion boosts (recency, category, link, tag, activation, contradiction penalty) modulate the rank-fused score without drowning the underlying retrieval signal — what additive weighted-sum couldn't avoid.
v4.14.4
6 May 2026
Doctor disk check excluded local-AI model cache from the 100 MB safety limit. The 100 MB limit predates the local Review Copilot AI Explainer feature. Once a user opts into local AI, ShieldCortex caches ~750 MB of Qwen2.5-0.5B-Instruct ONNX weights under ~/.shieldcortex/models/. Doctor walked the entire tree, so users with the model cached saw a permanent Disk: at limit! plus a fix command (Run consolidation or delete old memories) that would never recover the bytes — memories prune only operates on rows in memories.db, never on model files.
-
~
models/ excluded from the 100 MB limit. Disk check now splits the directory into a data bucket (DB, state, audit, logs, telemetry, quarantine — everything except models/) and a models bucket. The 100 MB limit applies only to data. The models total is still reported as a parenthetical (e.g. 2.0 MB / 100 MB limit + 750.0 MB models).
-
~
Fix message updated to point at the actual recovery commands (
shieldcortex memories prune --execute / memories dedupe --execute) instead of the vague Run consolidation.
-
+
6 new tests in
doctor-disk-models-exclusion.test.ts covering small data + small models, the bug case (small data + 200 MB models), 99 MB data fail with DB-trimming fix, 85 MB warn, no models/ subtree, and missing scDir.
v4.14.3
6 May 2026
Two unrelated regressions surfaced after v4.14.2: shieldcortex update couldn't reconcile the OpenClaw plugin on 2026.5.5+, and doctor still hardcoded the pre-v4.14.0 sampling cadence in one cosmetic message.
-
~
shieldcortex update passes --force to openclaw plugins install. OpenClaw 2026.5.5 added a guard that refuses install when the plugin is already present, telling the caller to use update or --force. Reconcile is by definition an overwrite — the user wants the latest plugin, not the existing one. --force also handles fresh installs (no-op when nothing to replace). Reconcile detection extended to include the ~/.openclaw/npm/node_modules/... path so the step actually runs on 2026.5.x installs.
-
~
Doctor's stop-hook fallback default lowered 10 → 5 to match the canonical default in
scripts/lib/auto-memory-config.mjs. Users without an autoMemory.stopHookSamplingTurns override now see the correct value in the Auto-memory: Stop hook row.
v4.14.2
6 May 2026
Fix — shieldcortex install ignored timeout drift on existing hook entries. Doctor correctly flagged a too-low UserPromptSubmit=2s (canonical 5s) timeout (the v4.14.0 #43 check working as intended) and pointed users at Re-run shieldcortex install to restore canonical timeouts. But running install logged = Hook: UserPromptSubmit (already configured) and exited without updating the timeout — re-running doctor showed the same warning. setupHooks() only added missing hooks; existing shieldcortex entries were treated as immutable.
-
~
setupHooks reconciles timeouts on existing entries. After the npx-migration pass, reconcileHookTimeouts() walks every hook event in ~/.claude/settings.json and, for any entry whose command references shieldcortex AND whose timeout is below the canonical value, bumps it to canonical. Higher-than-canonical user overrides are preserved. Non-shieldcortex entries are never touched. Doctor warn → install → no-warn now actually works. Idempotent on re-run.
-
+
4 tests in
hook-timeout-reconcile.test.ts pin the contract: 2 → 5 bump, idempotency, non-shieldcortex isolation, above-canonical preservation.
v4.14.1
6 May 2026
Fix — OpenClaw plugin install fails on OpenClaw 2026.5.5+. Field-filed within minutes of v4.14.0 going live: every fleet host running shieldcortex update saw the npm package install successfully but the OpenClaw plugin reinstall step bail with HOOK.md missing in /tmp/openclaw-hook-…/extract/package/llm_input. OpenClaw 2026.5.5 introduced a new install-time hook-pack validator that, for every entry declared in openclaw.hooks, requires a directory of that name at the package root containing HOOK.md plus a handler.ts/handler.js or index.ts/index.js.
-
+
Per-hook stub directories for
llm_input, llm_output, before_tool_call, session_end. Each contains HOOK.md with YAML frontmatter and a minimal handler.js stub. validateHookDir only checks file existence at install time; runtime hook handlers are still registered via register(api) in dist/index.js, so behaviour is unchanged.
-
~
Plugin
files: array extended to ship the four new directories. Plugin peerDependency bumped to shieldcortex: ^4.14.1.
v4.14.0
Major
6 May 2026
Auto-memory hardening — coordinated fix for issues #42, #43, #44, #45. Field-filed by Jarvis after observing 7 days of effectively empty memory on a stock install: 5 STM rows, 0 LTM, 0 episodic. Investigation surfaced four faults in the auto-memory pipeline, all real, all stacking — silent-amnesia from a project-key mismatch (#42), recall drops from a too-tight hook timeout (#43), 90% sampling loss from a too-sparse modulo gate (#44), and STM→LTM promotion never running because the brain worker never autostarted under the default MCP-only install shape (#45). Each issue's fix on its own would still have left the others producing the same symptom.
-
~
#42 — silent amnesia from project-key mismatch. All hook writers (
stop, session-end, pre-compact) now derive project keys via the shared deriveProjectKey() helper instead of local extractProjectFromPath() copies. New TS port mirrors the .mjs helper so the MCP-server side matches the hook side. Both SHIELDCORTEX_PROJECT_KEY and the legacy CLAUDE_MEMORY_PROJECT are honoured.
-
+
#42 data recovery —
shieldcortex memories repair-project-keys. New CLI subcommand: dry-run by default, --map basename=canonical, --scan-paths <dirs>, --include-stm, auto-backup before write, JSON log of every rewrite, idempotent on re-run.
-
~
#43 —
UserPromptSubmit hook timeout 2 s → 5 s. Cold-spawn floor on the recall hook is ~1.5 s; the previous 2 s ceiling SIGKILLed the hook silently under IO pressure. 5 s leaves ~3 s headroom on a busy host.
-
~
#44 — stop-hook 1-in-10 sampling left LTM under-fed. Default
stopHookSamplingTurns lowered 10 → 5. New stopHookSalienceBypass (default true) skips the modulo gate when the recent transcript window contains a fenced code block or hits ≥2 keyword categories. High-signal turns get captured at any cadence; low-signal turns still throttle.
-
~
#45 — STM→LTM promotion never ran on hooks-only installs. Brain worker now autostarts in MCP-server mode under a new lightweight
'mcp' profile (15 min cadence, no medium tick, no cloud sync). Pre-4.14, the worker was only instantiated by --mode dashboard / --mode api / --mode worker — typical hooks-only installs never reached it, and consolidate() never fired. Each light tick persists pid + profile + lastLightTick state to ~/.shieldcortex/state/worker.json. SHIELDCORTEX_DISABLE_WORKER=1 escape hatch.
-
+
Four new
shieldcortex doctor checks: auto-memory sampling, brain-worker freshness, project-key consistency, hook timeouts.
-
+
18 new tests + 936 existing pass across
hooks-project-key-alignment, brain-worker-mcp-profile, and repair-project-keys.
v4.13.2
5 May 2026
Fix — doctor stale-lock check produced false positives for long-running daemons. Field-filed against a local install. shieldcortex doctor reported ⚠️ Lock: stale lock file found: memories.db.lock and instructed deletion, despite the recorded PID (shieldcortex dashboard, started 36+ hours earlier under launchd) being alive and actively holding the lock. Following the suggested fix would have broken the dashboard's coordination with the database. Symptom traced to checkLockFile flagging any lock with mtime > 1h as stale — a heuristic that's wrong for daemons launched at boot.
-
~
PID liveness, not mtime age, decides staleness.
checkLockFile now parses the lock file's JSON payload, reads the recorded PID, and runs process.kill(pid, 0). ESRCH ⇒ stale, EPERM ⇒ active, success ⇒ active. Matches the semantics already in acquireStartupLock. The 1-hour mtime fallback is replaced by a 24-hour fallback used only when the lock file is unparseable or missing a PID field.
-
+
5 new tests in
doctor-lock-check.test.ts covering live-PID-with-old-mtime (the bug), an ESRCH PID, unparseable-and-old, unparseable-and-recent, and the empty-directory pass case.
v4.13.1
5 May 2026
Fix #41 — auto-memory hooks: triple-gating produced silent-amnesia. Field-filed by Jarvis within 24 hours of v4.13.0 going live. v4.13.0 shipped opt-in Stop and SessionEnd hooks gated in three independent places — install flag, runtime gate, and sampling counter. The install flag and runtime gate had no link, so passing --with-stop-hook wired the hook but left the runtime gate at default-false. The hook fired on every turn and immediately process.exit(0)'d with no log line. Looked indistinguishable from "the model forgot."
-
~
Single source of truth: install flag IS the runtime gate.
setupHooks with stopHook / sessionEnd options now writes autoMemory.enableStop: true / enableSessionEnd: true to ~/.shieldcortex/config.json alongside the settings.json wiring. Re-running setup without the flag disables both layers symmetrically.
-
~
Loud bail, once per session. Stop hook now prints [shieldcortex stop-hook] disabled — set autoMemory.enableStop=true … to stderr the first time it bails in a session and plants a sentinel under
~/.shieldcortex/logs/stop-hook-disabled-sessions/ so subsequent fires stay quiet.
-
+
Doctor surfaces resolved gate state. New
checkAutoMemoryHooks reports Auto-memory: Stop hook and Auto-memory: SessionEnd hook. Wired+gate-on → pass, wired+gate-off → warn with the silent-amnesia hint, gate-on+not-wired → warn (inverse mismatch), neither → info opt-in (not installed).
-
~
OpenClaw plugin sub-package republished as
@drakon-systems/shieldcortex-realtime@4.13.1, fixing a long-standing publish-shape bug that OpenClaw 2026.5.4's stricter validator finally caught (files: array missed dist/; openclaw.hooks key was missing).
v4.13.0
4 May 2026
Auto-memory pipeline capture-rate fix + per-hook telemetry. Field diagnosis found memories.db empty after weeks despite hooks installed. Root causes: PreCompact rarely fires; when it does, only the last 50 transcript lines were scanned; a slash-command filter silently dropped /skill turns. Fixed end-to-end, plus a sampled Stop hook and the diagnostics to make "fires but extracts nothing" visible.
-
~
Transcript reader rewrite — three duplicated
slice(-50) readers replaced with a single shared helper that tail-reads up to 1 MiB (configurable) and applies a smart slash-command filter: drop only single-line slash invocations under 200 chars, keep multi-line and long slash messages with prose. On an 85 MB local transcript: 38 messages from the last 1 MiB vs ~5 under the old slice.
-
~
Stop hook is now a sampling extractor — old behaviour blocked Claude with
exit 2 to nudge a remember call (cost an extra turn each time). New behaviour counts assistant turns from the transcript tail and runs full extraction every Nth turn (default 10). Always exits 0. Opt-in via --with-stop-hook.
-
+
SessionEnd hook (opt-in) —
--with-session-end install flag wires SessionEnd as a final extraction backstop for sessions that never compact. Gated by config AND a process.env-based OpenClaw-context guard so it can't regress the v4.10 OpenClaw-crash class.
-
+
Per-hook telemetry — new
hook_invocations table records every firing (hook name, time, duration, memories extracted, transcript bytes scanned). shieldcortex status now shows a Hook activity (last 7 days) section so "fires but extracts nothing" stops being indistinguishable from "never fires".
-
+
New
autoMemory.* config namespace in ~/.shieldcortex/config.json — maxTranscriptBytes, stopHookSamplingTurns, enableSessionEnd, enableStop, and more. Defaults preserve current behaviour for every existing user.
-
+
14 new transcript-reader tests + 1 deep-clean test fix — full suite 904/904 passing across 78 suites. Includes a related fix for the deep-clean test that was inconsistent with the c16ccc1 native-install detection (Mac homebrew false-positive fix).
v4.12.11
27 April 2026
The suspected fleet-wide context-killer + install churn. Two surgical fixes in the install/uninstall paths. One is the suspected root cause of weeks of cross-fleet Claude Code context loss; the other stops shieldcortex update from rewriting OpenClaw's config every time it runs.
-
~
Context-killer fix — pre-v4.12.11 uninstall left
mcpServers.memory in ~/.claude.json pointing at a now-missing binary. Every Claude Code session loaded the orphan, tried to spawn the binary, failed, and the spawn-fail cascaded into context loss across the fleet. New removeMcpEntry() with ownership check (only deletes SC-owned entries — won't clobber the official upstream MCP server which uses the same generic key), wired into both uninstallSetup() and uninstallAll() paths.
-
~
openclaw.json install idempotency —
trustLocalPlugin() used to bump a fresh installedAt timestamp on every call regardless of state, churning the gateway's config-watcher on every npm install -g. New pluginInstallNeedsWrite() pure helper makes the install + uninstall a no-op when state already matches. Loop test on a real Mac confirms 6 back-to-back installs produce zero writes.
-
i
Two related claims investigated and disproven — SC ships no SKILL.md path it doesn't actually ship (the references found are SC's own skill-scanner module that scans third-party skills); memory extraction code is correct end-to-end since v4.12.5 (the "still returning 0" report was anecdotal — FLEET-STATUS doesn't even contain a memory-count metric).
-
+
17 new tests across
uninstall-mcp-cleanup.test.ts and openclaw-install-idempotency.test.ts. Credit to Edith (peer agent) for finding the mcpServers orphan.
v4.12.10
25 April 2026
Background service crash-loops with exit 209/STDOUT after the logs dir is removed. Caught on Jarvis and Tars after this session's residue cleanup wiped ~/.shieldcortex/. The systemd unit hardcoded StandardOutput=append: to a path inside that dir. systemd opens that file before any ExecStart*, so once the directory disappeared, the service entered a permanent restart loop (300+ attempts on Jarvis). ExecStartPre=mkdir would not have helped — file open precedes ExecStartPre too.
-
~
Logs now go to journald —
StandardOutput=journal with SyslogIdentifier=shieldcortex-${mode}. Inspect with journalctl --user -u shieldcortex-dashboard.service. No filesystem dependency — rm -rf of any user dir cannot break it.
-
+
Stale-unit detector —
shieldcortex service status now recognises pre-v4.12.10 broken units and prints the missing log dir as the reason. Migrate with shieldcortex service repair --headless.
-
i
Why journald and not
LogsDirectory= — that directive needs systemd ≥ 250 for user units, and Ubuntu 22.04 ships systemd 249. Journald works on every supported version and survives any cleanup of user dirs.
v4.12.9
25 April 2026
v4.12.8 didn't actually silence the audit — comments count. v4.12.8 extracted cloud sync to its own module so no plugin file paired the two APIs. But the new module included a doc comment that named both APIs alongside the actual call. OpenClaw's audit fired immediately on the next install. The audit is purely textual — it does not strip comments before scanning.
-
~
Doc comment trimmed in
cloud-sync.ts to one line that does not name the file-read API.
-
~
Test now mirrors OpenClaw's real scan — raw text, no comment stripping. v4.12.8's test stripped comments because that's what a thoughtful linter would do; OpenClaw doesn't, so the regression shipped. Don't infer a spec — mirror the implementation.
-
+
Future regressions caught locally — if anyone re-introduces an explanatory comment that names both APIs in the same plugin file, the test now fails before publish, not after the fleet hits a fresh install.
v4.12.8
25 April 2026
OpenClaw 2026.4.24 plugin-audit warning silenced. The new install-time security scanner flagged shieldcortex-realtime with [potential-exfiltration] because readFileSync and fetch() appeared in the same source file. False positive — the two operations never share data — but the heuristic is textual.
-
~
Cloud sync extracted to its own module (
plugins/openclaw/cloud-sync.ts) with zero fs imports. Mirrors the pattern already used for intercept-ingest.ts. Behaviour-equivalent: same threat object, same endpoint, same 5s timeout.
-
+
Static-analysis test guard — asserts no plugin source file pairs
readFileSync/readFile with fetch(. Stops the warning ever silently coming back if the two operations are re-merged.
-
i
Two related findings are not SC bugs —
plugins.installs_unpinned_npm_specs (OpenClaw installer records @latest unless given an exact pin) and plugins.installs_version_drift (clears with openclaw plugins update --all). Both are upstream.
v4.12.7
25 April 2026
Mac homebrew false-positive fix — root cause of the v4.12.3–v4.12.6 Mac regression. Doctor kept flagging legitimate plugin config entries as orphans on every Mac install. Linux fleet hosts never hit it.
-
~
Wrong installPath recorded — the native-package install code (Mac homebrew) wrote
installPath = .../plugins/openclaw (the package root) instead of .../plugins/openclaw/dist (where the manifest actually lives). Doctor checked the wrong path, didn't find the manifest, and false-flagged the install.
-
~
Defensive fallback for old installs —
detectInstallState() now also checks installPath/dist/openclaw.plugin.json so existing Mac hosts with the bad path written stop false-flagging on next doctor run, before they even need to re-install.
-
+
4 new tests — repro of Friday's scenario, plus source-level guards that the writer always uses the correct convention.
v4.12.6
25 April 2026
Install now restarts the OpenClaw gateway — symmetric with uninstall --deep. Without this, an npm-package upgrade left the running gateway with the old plugin in memory until something else triggered a restart. Caught Edith mid-fleet-rollout: package on 4.12.5, plugin still loading 4.12.2, status reporting 0 memories / never.
-
~
Auto-restart by default —
shieldcortex openclaw install now calls the same gateway-restart helper that uninstall --deep uses (systemctl on Linux, launchctl on macOS). Skipped when both --no-hooks and --no-plugins are passed.
-
+
New
--no-gateway-restart flag for scripted multi-step installs that want to defer the restart.
-
~
Platform-specific manual fallback — if the auto-restart fails, the installer prints the exact
systemctl / launchctl command for the host.
-
+
8 new tests lock in the wiring (option declared, CLI flag parsed and passed through, default-true gating, "only restart when something installed" guard, no duplicated implementation).
v4.12.5
25 April 2026
Auto-extract write path fix — v4.12.4 unblocked the read side of auto-extract; v4.12.5 closes the write side. Both pre-compact and session-end hooks built INSERT statements that omitted the uuid column. The schema declares uuid TEXT NOT NULL UNIQUE with no default, so every insert silently errored with NOT NULL constraint failed: memories.uuid and zero memories landed.
-
~
UUID generated on every insert — new shared
scripts/lib/save-memory.mjs util generates crypto.randomUUID() and binds it to the INSERT.
-
~
Single write path for both hooks — pre-compact and session-end now delegate to the same util, so they can no longer drift apart and produce "one hook works, the other silently fails" bugs.
-
+
5 new tests against a fresh SQLite DB built from the real schema — covers the bug repro, UUID uniqueness over bulk inserts, null project, and tag JSON encoding.
v4.12.4
25 April 2026
Silent zero-memory fix — every fleet host running ShieldCortex from inside a dotfile-prefixed working directory (e.g. ~/.openclaw/workspace) was producing 0 auto-extracted memories on every pre-compact event. Doctor was green, hooks were "configured", but the actual capture was zero.
-
~
Encoder mismatch — pre-compact's auto-extract path encoded the cwd into a Claude Code project-folder slug by replacing only
/ with -. Claude Code itself replaces both / and ., so the lookup never matched the folder Claude Code wrote and the transcript was never opened.
-
~
Now matches Claude Code exactly — new
scripts/lib/claude-project-dir.mjs util replaces /, \, ., and : with - and prefixes a leading separator. Other hooks (session-end, prompt-recall, session-start, stop) were audited and confirmed safe — they receive transcript_path directly from the hook payload.
-
+
6 new tests covering the original repro plus dot-inside-component and Windows path scenarios.
v4.12.3
25 April 2026
Doctor recognises Mac homebrew installs — v4.12.2 only checked ~/.openclaw/extensions/ for the plugin. On macOS via homebrew the plugin actually lives in the npm-global tree at /opt/homebrew/lib/node_modules/shieldcortex/... (OpenClaw's "native-package" discovery mode). Doctor saw "no plugin" and flagged the legitimate config entries as orphans.
-
~
installPath-aware detection —
detectInstallState() now reads .plugins.installs[shieldcortex-realtime].installPath from openclaw.json first (the path the installer actually used), with user-space and home-relative npm-global fallbacks for older installs that pre-date the field.
-
+
2 new tests covering the homebrew repro and the missing-installPath fallback path.
v4.12.2
24 April 2026
Doctor DB-init guidance fix — v4.12.1 doctor's "Database: not found" suggested-fix told you to run shieldcortex quickstart, but quickstart only configures hooks/MCP — it doesn't touch the database. On TARS during fleet rollout the user looped on quickstart → doctor → quickstart. v4.12.2 points at the right command.
-
~
New suggested fix —
shieldcortex scan "init" creates the database explicitly. Works on every install shape (Claude+OpenClaw, OpenClaw-only, headless).
-
~
Lazy-init alternative noted — on Claude+OpenClaw hosts the message also mentions starting a Claude Code session, which lazy-inits the DB via the MCP server on first memory call.
-
+
3 new tests lock the corrected guidance in: no
quickstart reference inside checkDatabase(), explicit scan "init" reference present, MCP lazy-init mention preserved.
v4.12.1
24 April 2026
Doctor fix — v4.12.0's OpenClaw residue check flagged legitimate install state as "residue". A freshly-installed host showed 6–7 false-positive warnings and pointed users at uninstall --deep to "purge" a healthy install. v4.12.1 teaches doctor to tell the difference.
-
~
Orphan-only detection — new
scanForOrphans() applies presence-aware filtering. Plugin config entries are only flagged if the extension dir is gone. Hook config entries are only flagged if no cortex-memory hook dir exists. Current install paths are never orphaned; legacy paths and ClawHub skill-locks always are.
-
~
Tailored "clean" message — doctor now reports "clean (plugin + hook installed, config aligned)" when the install is healthy, instead of a generic "clean" line that left operators unsure whether the check actually ran.
-
~
uninstall --deep unchanged — still purges everything unconditionally, since its job is total removal for cleanup scenarios.
-
+
7 new tests covering the Case repro, missing-plugin-dir, missing-hook-dir, legacy-always-flagged, ClawHub-always-flagged, canonical-dirs-never-flagged, and a migration guard.
v4.12.0
24 April 2026
ShieldCortex ↔ OpenClaw compatibility pass. Closes the "partial uninstall" gap that left orphan config entries after every version bump, and unlocks OpenClaw 2026.4.23's host-package linking for peer-declared plugins.
-
+
shieldcortex uninstall --deep — scans 15 known residue locations across ~/.openclaw/openclaw.json, .clawhub/lock.json, and stale hook/extension dirs. Surgically removes ShieldCortex references while preserving sibling keys, then best-effort restarts the gateway. --no-gateway-restart opts out.
-
+
shieldcortex doctor gains OpenClaw residue check — reports dirty-location count and points at uninstall --deep as the fix. Skipped cleanly on non-OpenClaw hosts.
-
+
Plugin declares
openclaw as optional peer dep — unlocks OpenClaw 2026.4.23's host-package linking (#70462). Plugin manifest hints at engines.openclaw >=2026.4.23 recommended.
-
+
Hash-stability guard — 4 static-analysis tests lock in the invariant that the CLAUDE.md INSTRUCTIONS block contains no runtime-dependent content (no
Date.now, randomUUID, env reads). Protects against the same silent session-wipe class of bug v4.11.1 closed for MCP config.
-
~
19 new tests — 8 deep-clean, 7 plugin-manifest, 4 hook-hash-stability.
v4.11.1
22 April 2026
Fleet-critical fix — MCP registration no longer uses npx -y. The installer now resolves and pins the installed shieldcortex binary path, falling back to npx -y only when no global install exists. Closes a silent session-wipe loop.
-
~
Why it mattered —
npx -y resolves dynamically every invocation. Any shift in what it resolves to (cache misses, fresh publishes, version drift) flipped the MCP config hash, triggering cli session reset reason=mcp and wiping context mid-conversation. Observed on TARS firing ~every 30 minutes before the fix.
-
~
Stale registrations auto-upgrade — re-running
shieldcortex setup on v4.11.0-or-earlier installs rewrites the MCP config to the stable binary path.
v4.11.0
22 April 2026
Memory-injection side is now opt-in. Default behaviour flipped so Recall / CLAUDE.md / session hooks only inject when explicitly enabled — resolves the cases where auto-injection was bloating context windows on resumed sessions.
v4.10.1
20 April 2026
Upgrade-path fix — shieldcortex update now always reconciles the OpenClaw plugin and skill, even when the main npm package is already on the latest version.
-
~
Short-circuit removed — the early-return when main was current was skipping plugin + skill reconciliation, so v4.9 → v4.10 upgraders stayed stuck on the old plugin. Plugin now always gets
rm -rf + fresh install, skill always gets force-reinstall.
-
~
If you're on v4.9.x, run
shieldcortex update once and all three components — main, plugin, skill — land on 4.10.1 in one shot.
v4.10.0
20 April 2026
Environment Firewall (Phase 1) — new third defence layer protecting what the agent sees. Memory firewall covers what the agent stores, Iron Dome covers what it does, Environment Firewall covers what it trusts from the world around it.
-
+
New CLI
shieldcortex env scan <url> — fetches a URL, scores provenance, extracts visible vs hidden content, runs injection patterns against each surface, returns a taint label (trusted / untrusted / suspicious / hostile). Exit codes 0/1/2 so it drops into CI.
-
+
Hidden-instruction detection —
display:none, visibility:hidden, zero font-size, off-screen positioning, same-colour text, ARIA-hidden, HTML comments, inline scripts, Unicode bidi overrides, zero-width characters, meta refreshes. Injection patterns found in hidden content mark the page HOSTILE regardless of domain.
-
+
Provenance scoring — TLS, redirect chain, domain allowlist, suspicious TLDs, Punycode homograph flags, raw-IP hosts, embedded credentials.
-
+
Library export —
import { scanUrl } from 'shieldcortex/environment'.
v4.9.1
16 April 2026
Cloud audit log alignment — closed silent data loss between npm and SaaS audit ingest.
-
~
blocked_patterns now persisted — npm package sends the matched pattern list on every audit event; SaaS schema and DB columns store it for review.
-
~
fragmentation_score now persisted — cross-memory assembly score travels through /v1/audit/ingest instead of being silently dropped.
v4.9.0
16 April 2026
Defence pipeline hardening — wired skill scanner threat patterns into write-time pipeline.
-
+
Skill threat patterns at write-time — the firewall now blocks the seven skill scanner categories on every memory write, not just on demand:
tool_injection, scope_escalation, data_exfiltration, persistence, supply_chain, agent_manipulation, and stealth_instruction.
-
+
Decoded content re-scan expanded — base64/hex payloads are now re-checked against credential detection and the seven skill threat patterns, not just the legacy injection set.
-
+
Path traversal protection —
/api/skills/scan rejects ../ escapes before touching the filesystem.
v4.7
8–11 April 2026
Proactive Recall, self-update CLI, OpenClaw plugin hardening, and database resilience improvements.
-
+
Proactive Recall — relevant memories auto-injected into every conversation before the model responds. FTS5 + category boost in under 100ms. Works with Claude Code and OpenClaw.
-
+
shieldcortex update — new CLI command to check for and install the latest version.
-
+
Clickable dashboard — stat cards, hygiene numbers, and quality items navigate to the relevant view on click. Review focus wiring auto-scrolls to the right section.
-
+
Cloud sync actions — Clear Failed button in the warning banner. Honest messaging for dead-letter failures instead of "healthy with failed history".
-
~
Database resilience — auto-reconnect when the live DB file is replaced during recovery. Stale backup cleanup on startup. Precision fix for threshold comparisons.
-
~
OpenClaw plugin hardened — removed
child_process dependency for scanner compatibility. Auto-migrate stale hook registrations. Plugin reinstall handles existing directories automatically.
-
~
Quality API aligned — duplicate counts now match between stat cards and review queue. SKILL.md rewritten for ClawHub scanner transparency.
v4.6
6–7 April 2026
Constellation Graph, Review Queue redesign, X-Ray accuracy, cloud sync diagnostics, and 13 bug fixes.
-
+
Constellation Knowledge Graph — cluster-based view with coloured nebula halos, bloom-on-click drill-down, and cross-cluster ghost links.
-
+
Review Queue redesign — card-based flow with Keep/Suppress/Archive actions, slide animations, and progress bar.
-
+
X-Ray accuracy — eliminated 98% of false positives with path exclusions, header-only polyglot checks, and code-aware obfuscation detection.
-
+
Cloud sync diagnostics — clear failed items, manual refresh, save feedback, replication status cards.
-
~
Auth token race conditions, WebSocket reconnect, graph search limits, button defaults, keyboard accessibility, and 8 more fixes.
v4.5.0
3 April 2026
Finding lifecycle, X-Ray findings dashboard, dashboard redesign with dark theme, and watch mode improvements.
-
+
Finding Lifecycle — X-Ray findings now have persistent status (new, reviewed, ignored, resolved, quarantined) with review, ignore, resolve, quarantine, and delete actions.
-
+
Findings Tab — new tab in X-Ray with status filters, stats summary, and action buttons on every finding.
-
+
Dashboard Redesign — OpenClaw-inspired dark theme with coral/cyan accents, glassmorphic cards, simplified navigation from 18 routes to 5 tabbed sections.
-
+
Real-time Alerts — watch detections broadcast via WebSocket with toast notifications in the dashboard.
v4.4.0
2 April 2026
X-Ray Pro — automated defence features for CI/CD, file monitoring, npm installs, and agent memory.
-
+
CI/CD Gate —
--ci --threshold=HIGH exits with code 1 when risk meets or exceeds threshold. Drop into any pipeline.
-
+
File Watch —
--watch continuously monitors a directory for changes, debounces, and scans incrementally. Only new findings printed.
-
+
Pre-install Hook —
shieldcortex xray-preinstall runs as an npm lifecycle script. Blocks installs with HIGH+ risk findings.
-
+
Memory Guard — X-Ray scans content before it enters agent memory via the OpenClaw plugin. Prompt injection, hidden directives, and obfuscated payloads are blocked automatically.
v4.3.0
2 April 2026
X-Ray — a new product module for inspecting packages, files, and plugins for hidden risk.
-
+
X-Ray Scanner —
shieldcortex xray <target> scans local files, directories, and npm packages for eval/exec, shell execution, AI directives, prompt injection, steganography, obfuscation, unicode tricks, network beacons, persistence hooks, and dependency risk.
-
+
Trust Score — 0–100 score with SAFE / LOW / MEDIUM / HIGH / CRITICAL risk levels.
-
+
Deep npm scan —
--deep flag pulls registry metadata for full package analysis (Pro).
-
+
Output formats —
--json and --markdown for scripting and reports.
v4.2.x
March 2026
Stability, Docker safety, and dependency scanner improvements.
-
+
Docker Install Safety — detects Docker/container environments and skips shell config modifications that break images.
-
+
Dependency Scanner fixes — resolved missing runtime.mjs, improved HOOK_FILES array.
-
+
OpenClaw plugin v4.2.1 — tool call interceptor with deny cache and audit logging.
v4.0.0
March 2026
Major release — Dream Mode, Hybrid Recall, and memory intelligence overhaul.
-
+
Dream Mode — offline memory consolidation with deduplication and compression.
-
+
LLM-Powered Hybrid Recall — semantic + keyword search with AI reranking.
-
+
Memory Types & Scopes — structured memory with typed entries and project scoping.
-
+
Staleness Scoring — automatic decay and cleanup of outdated memories.
-
+
Positive Feedback Capture — learn from what works, not just what threatens.
For older releases, see the GitHub releases page.