Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
release: v0.60.502.0
garrytan7ce19a2b32a7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6d8bfa028a..98140360ac 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,7 +10,7 @@ credits are retained; no result has been reassigned to another provider. Originaidentifiers and attribution are available in the pre-removal Git revision`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).-## [Unreleased]+## [0.60.502.0] - 2026-10-30**The secret scanner now catches OpenRouter, Groq, xAI, Perplexity and Replicate API keys.**@@ -18,7 +18,7 @@ A raw OpenRouter key (`sk-or-v1-` plus 64 hex) slipped past every lane: the bare### What to do after upgrading-- A push that worked before can now stop with `rule [openrouter] blocks pushes since gbrain v0.60.500.0` (or groq, xai, perplexity, replicate). Rotate the key with the provider and remove it from the page. Don't allowlist a live key.+- A push that worked before can now stop with `rule [openrouter] blocks pushes since gbrain v0.60.502.0` (or groq, xai, perplexity, replicate). Rotate the key with the provider and remove it from the page. Don't allowlist a live key.- `gbrain doctor` asks for a fresh transcript audit once, because the audit's detectors changed. Run `gbrain transcripts audit-secrets --json` to list conversation pages that still hold such a key (slugs and line numbers, never values).### Itemized changesdiff --git a/VERSION b/VERSIONindex 3d0b56d92d..0c91383915 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-0.60.501.0+0.60.502.0diff --git a/docs/guides/write-refusals.md b/docs/guides/write-refusals.mdindex e4065f9cee..5f81f6648f 100644--- a/docs/guides/write-refusals.md+++ b/docs/guides/write-refusals.md@@ -788,7 +788,7 @@ Each finding carries:value's hash. It identifies the value without revealing it.- **rule ... since**: the gbrain version that added or changed the rule(v0.60.31.0 for `url_credentials`, `basic_auth`, `digitalocean` and- private keys whose `BEGIN` or `END` line is missing; v0.60.500.0 for+ private keys whose `BEGIN` or `END` line is missing; v0.60.502.0 for`openrouter`, `groq`, `xai`, `perplexity` and `replicate`). A push that worked before an upgrade and fails after it namesthe version here.- **allow this finding**: the exact command that appends the fingerprint todiff --git a/package.json b/package.jsonindex f97a1e7f56..5ad53f5ab4 100644--- a/package.json+++ b/package.json@@ -246,7 +246,7 @@"bun": ">=1.4.4"},"license": "MIT",- "version": "0.60.501.0",+ "version": "0.60.502.0","overrides": {"@ai-sdk/provider-utils": "4.0.56","@hono/node-server": "^2.0.5",diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex cde9b14b46..7bc00b9b17 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -1354,7 +1354,7 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;// #7917 / #7918 maintenance lowerings and unreadable derivation declarations. `since` is stamped at the merge slot.{ since: '0.60.496.0', id: 'maintenance_lowering_7917_7918', text: 'A maintenance publication that lowers a page\'s trust tier (a dream or patterns write over a page the owner wrote, such as a grounding repair outside the output prefix) now files a `lower_page` proposal, so the page shows up in `gbrain trust review`; before, only agent content writes did. A maintenance write whose derivation declaration is present but unreadable now publishes at `unknown` and stamps an `unknown` trust marker into the file, instead of taking the write channel\'s tier and leaving the file unmarked. Both only lower trust. `gbrain trust backfill --repair-unknown-markers` and `gbrain repair provenance` on a classic (unmanaged) checkout now also write the repaired page to its file in the same step, and leave a page whose file holds an edit sync has not imported untouched (run `gbrain sync` first).' },{ since: '0.60.498.0', id: 'plugin_turn_hook_gbra188', text: 'The Claude Code and Codex plugins (gbrain, gbrain-coding, gbrain-daily) now declare the UserPromptSubmit hook `gbrain setup` writes, run through the plugin launcher with GBRAIN_HOOK_LANE=plugin (Claude Code `hook user-prompt`, 3 s; Codex `hook user-prompt --harness codex`, 15 s, skipped until trusted in /hooks). While a brain-first block is installed it adds the per-turn rule, and with a serve running the read-context block; it exits without output when setup, bootstrap or a workspace install already wires the event, so a turn gets it once; a recorded `gbrain setup <harness> --no-hooks` turns it off too. doctor `harness_wiring` and `gbrain post-upgrade` now name `gbrain setup <harness> --instructions-only` for a plugin-only install with no brain-first block.' },- { since: '0.60.500.0', id: 'provider_key_rules_7959', text: 'The secret scanner now catches OpenRouter (`sk-or-v1-`), Groq (`gsk_`), xAI (`xai-`), Perplexity (`pplx-`) and Replicate (`r8_`) API keys: `gbrain sources push` refuses a page that holds one, and search, recall and transcript import redact it. Rotate such a key with its provider rather than allowlisting it. `gbrain doctor` asks once for a fresh `gbrain transcripts audit-secrets` run.' },+ { since: '0.60.502.0', id: 'provider_key_rules_7959', text: 'The secret scanner now catches OpenRouter (`sk-or-v1-`), Groq (`gsk_`), xAI (`xai-`), Perplexity (`pplx-`) and Replicate (`r8_`) API keys: `gbrain sources push` refuses a page that holds one, and search, recall and transcript import redact it. Rotate such a key with its provider rather than allowlisting it. `gbrain doctor` asks once for a fresh `gbrain transcripts audit-secrets` run.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */diff --git a/src/core/secret-scan.ts b/src/core/secret-scan.tsindex fe4ecc60c4..8e29e51fbd 100644--- a/src/core/secret-scan.ts+++ b/src/core/secret-scan.ts@@ -177,7 +177,7 @@ const SECURITY_WAVE_SINCE = '0.60.31.0';* `since` for the AI-provider key rules added by #7959 (`openrouter`, `groq`,* `xai`, `perplexity`, `replicate`).*/-const PROVIDER_KEYS_SINCE = '0.60.500.0';+const PROVIDER_KEYS_SINCE = '0.60.502.0';/*** Placeholder passwords in documentation URLs: `<password>`, `${VAR}`,