Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Release 0.60.693.0: the owner forgets facts on pages that name it, and member saves stop revealing unread withdrawals
garrytan05e5c798e093
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex cb2b46aa14..062c2d7636 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Personal knowledge brain for your coding agent — hybrid search, synthesis, graph traversal, and durable cross-session memory over Postgres/PGLite with pgvector, plus a curated brain-first skill set.","author": {"name": "Garry Tan",diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 45536e5866..0e2415188e 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Personal knowledge brain for your coding agent — hybrid search, synthesis, graph traversal, and durable cross-session memory over Postgres/PGLite with pgvector, plus a curated brain-first skill set.","author": {"name": "Garry Tan",diff --git a/BOOTSTRAP_FOR_AGENTS.md b/BOOTSTRAP_FOR_AGENTS.mdindex 446e41df6f..5e74deae6e 100644--- a/BOOTSTRAP_FOR_AGENTS.md+++ b/BOOTSTRAP_FOR_AGENTS.md@@ -1,4 +1,4 @@-<!-- gbrain-runbook-stamp: 0.60.692.0 -->+<!-- gbrain-runbook-stamp: 0.60.693.0 --><!-- This stamp must equal the VERSION file at every release; CI enforces it(scripts/check-bootstrap-tag.sh). `gbrain bootstrap status` compares it tothe installed binary and warns on skew. -->diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d3540b71c5..ef5f9ea64b 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.693.0] - 2026-11-12**The brain owner's own agents can now withdraw a private fact the brain host saved.** A credential bound to the brain owner (`gbrain access owner set`) reads private facts, but its `forget` refused one the host had saved with `visibility: "private"` and said only the brain host could withdraw it. Now, speaking for itself, the owner's credential (or a stdio server started with `--stdio-member <owner>`) withdraws a private fact it reads when the page that holds it is one the credential can already write. The fact is struck in the page's file on a brain with a Git repository, and on a strict source a fact held for an entity with no page is struck in `memory/unattributed`, so a rebuild from Git keeps it withdrawn. Three things stay as they were. A fact on a `visibility: private` page, on a page whose readers leave the owner out or on another member's page is still withdrawn on the brain host (`gbrain forget <id>`). A fact the owner confirmed or curated still asks the owner first (`forget_requires_owner`). Member credentials, attested calls (`x-qm-actor`), audiences, subagent jobs, slug-fenced clients and unbound connections get exactly the answers they got before.diff --git a/VERSION b/VERSIONindex 5f98076911..03a627bb20 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-0.60.692.0+0.60.693.0diff --git a/openclaw.plugin.json b/openclaw.plugin.jsonindex 495736472a..102ea0548d 100644--- a/openclaw.plugin.json+++ b/openclaw.plugin.json@@ -1,7 +1,7 @@{"id": "gbrain-context-engine","name": "gbrain",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Personal knowledge brain with Postgres + pgvector hybrid search","family": "bundle-plugin","kind": "context-engine",diff --git a/package.json b/package.jsonindex 255272747c..cca1c8633c 100644--- a/package.json+++ b/package.json@@ -255,7 +255,7 @@"bun": ">=1.4.4"},"license": "MIT",- "version": "0.60.692.0",+ "version": "0.60.693.0","overrides": {"@aws-sdk/util-format-url": "3.972.9","@ai-sdk/provider-utils": "4.0.56",diff --git a/plugin-variants/gbrain-coding/.claude-plugin/plugin.json b/plugin-variants/gbrain-coding/.claude-plugin/plugin.jsonindex b1cf23dfef..96383efdd8 100644--- a/plugin-variants/gbrain-coding/.claude-plugin/plugin.json+++ b/plugin-variants/gbrain-coding/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-coding",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Brain-first coding agent working inside a repo: retrieval, routing, ingest discipline, correction hygiene. Default persona for the claude-code harness bridge; also published as the gbrain-coding marketplace variant. (persona variant of the gbrain plugin — 21 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-coding/.codex-plugin/plugin.json b/plugin-variants/gbrain-coding/.codex-plugin/plugin.jsonindex b6554d3900..19399146d8 100644--- a/plugin-variants/gbrain-coding/.codex-plugin/plugin.json+++ b/plugin-variants/gbrain-coding/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-coding",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Brain-first coding agent working inside a repo: retrieval, routing, ingest discipline, correction hygiene. Default persona for the claude-code harness bridge; also published as the gbrain-coding marketplace variant. (persona variant of the gbrain plugin — 21 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-coding/README.md b/plugin-variants/gbrain-coding/README.mdindex 61e924788e..0cc3b4da63 100644--- a/plugin-variants/gbrain-coding/README.md+++ b/plugin-variants/gbrain-coding/README.md@@ -1,4 +1,4 @@-<!-- gbrain-plugin-tree-stamp: 0.60.692.0 -->+<!-- gbrain-plugin-tree-stamp: 0.60.693.0 --># gbrain-coding (generated persona variant — do not hand-edit)Brain-first coding agent working inside a repo: retrieval, routing, ingest discipline, correction hygiene. Default persona for the claude-code harness bridge; also published as the gbrain-coding marketplace variant.diff --git a/plugin-variants/gbrain-daily/.claude-plugin/plugin.json b/plugin-variants/gbrain-daily/.claude-plugin/plugin.jsonindex 0ff469ebf1..5ebe912bca 100644--- a/plugin-variants/gbrain-daily/.claude-plugin/plugin.json+++ b/plugin-variants/gbrain-daily/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-daily",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Personal knowledge-brain daily use: meetings, tasks, briefings, reading, research. Published as the gbrain-daily marketplace variant. (persona variant of the gbrain plugin — 20 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-daily/.codex-plugin/plugin.json b/plugin-variants/gbrain-daily/.codex-plugin/plugin.jsonindex dca68fcee5..76b4b86bbc 100644--- a/plugin-variants/gbrain-daily/.codex-plugin/plugin.json+++ b/plugin-variants/gbrain-daily/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-daily",- "version": "0.60.692.0",+ "version": "0.60.693.0","description": "Personal knowledge-brain daily use: meetings, tasks, briefings, reading, research. Published as the gbrain-daily marketplace variant. (persona variant of the gbrain plugin — 20 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-daily/README.md b/plugin-variants/gbrain-daily/README.mdindex f60da68491..d431f315fe 100644--- a/plugin-variants/gbrain-daily/README.md+++ b/plugin-variants/gbrain-daily/README.md@@ -1,4 +1,4 @@-<!-- gbrain-plugin-tree-stamp: 0.60.692.0 -->+<!-- gbrain-plugin-tree-stamp: 0.60.693.0 --># gbrain-daily (generated persona variant — do not hand-edit)Personal knowledge-brain daily use: meetings, tasks, briefings, reading, research. Published as the gbrain-daily marketplace variant.diff --git a/plugin/README.md b/plugin/README.mdindex de75662b5a..f727ca2e82 100644--- a/plugin/README.md+++ b/plugin/README.md@@ -1,4 +1,4 @@-<!-- gbrain-plugin-tree-stamp: 0.60.692.0 -->+<!-- gbrain-plugin-tree-stamp: 0.60.693.0 --># gbrain plugin skill tree (generated — do not hand-edit)This tree is the curated skill set for the gbrain Codex and Claude Codediff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex ee3761d7a4..ce23e9f3b0 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -1554,9 +1554,9 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;{ since: '0.60.692.0', id: 'remember_pageless_ask_gst2492', text: 'The `entity_page_missing` notice on a `remember` for an entity with no page no longer tells the agent to create the page on its own. While the fact is in the database only, its step is `next: ask_user` and its `user_message` says the fact is saved in the database only and asks whether to create a page for the entity; the `put_page` call is the fix to make once the user agrees. On a source canonical in Git, where the fact is already committed on memory/unattributed, the notice has no fix: it says where the fact is and that it moves once the page exists. A brain with no Git repository still gets no notice. What is stored is unchanged.' },{ since: '0.60.692.0', id: 'strict_fact_writers_held_gst2492', text: 'On a source whose pages are canonical in Git, a fact with no entity, or for an entity with no page, from Google loops, fact extraction, the managed facts writer or an owner releasing a quarantined fact is now committed as a row of memory/unattributed (naming the entity), as `remember` already did, instead of being stored in the database only or refused with `git_home_required`. A held fact saved under a bare name (`kofi-example`) now moves into the one page that name resolves to (`people/kofi-example`) once it exists, re-keyed to that page; with two candidate pages it stays held, and doctor (`strict_facts_outside_git`) and `gbrain repair facts-home` name them. A fact for an entity under a folder access rule still stays database-only. Sources that are not strict and brains with no Git repository are unchanged.' },{ since: '0.60.692.0', id: 'sync_strict_requires_managed_gst2492', text: 'A sync whose files a git-canonical source refuses because the brain has no managed persistence now records them as `strict_requires_managed` instead of `UNKNOWN`, in the failure ledger, the blocked-sync summary and `--json` `failureCodes`, and adds `failureAdvice`. The advice says the files are fine and no longer suggests fixing YAML or using `--skip-failed` for them.' },- { since: 'TBD', id: 'owner_forget_private_gst2346', text: 'A credential bound to the brain owner (`gbrain access owner set`), or a stdio server started with `--stdio-member <owner>`, speaking for itself, now withdraws with `forget` or `forget_fact` a private fact it reads on a page its credential can write (one the brain host saved with `visibility: "private"`), where it used to be told only the brain host could. A fact on a `visibility: private` page, on a page whose readers leave the owner out or on another member\'s page is still withdrawn on the brain host, and a fact the owner confirmed or curated still files a `forget_requires_owner` proposal. Member credentials, attested QM calls (`x-qm-actor`), audiences (`X-Gbrain-On-Behalf-Of`), subagent jobs, slug-fenced clients and unbound connections are unchanged.' },- { since: 'TBD', id: 'owner_forget_readers_page_gst2346', text: 'The brain owner\'s own credential speaking for itself now withdraws with `forget` or `forget_fact` a fact, private or shared, on a page whose `readable_by` names the owner, where it answered `not_found`, when that credential may also write the page and reads the fact\'s entity page the same way. The owner opt-in `access.owner_reads_restricted` does not extend to `forget`. Every other caller is unchanged.' },- { since: 'TBD', id: 'member_save_withdrawn_scope_gst2346', text: 'A remote `remember` onto a member\'s own page (`memory/members/<id>`) is refused `fact_withdrawn` only when that member could read what was withdrawn: a fact on its own page, its own copy withdrawn by the brain host, or for the brain owner a fact it reads. A claim withdrawn by the brain host or the owner that the member never read no longer refuses its save: the fact saves as the member\'s own active row with the same reply as a new claim. A schema migration makes the database insert guards mark a row on a member page only by that page\'s own withdrawals; a withdrawal still expires matching rows on member pages when it is made, and strikes them in the page\'s file, so an import of a member page\'s file no longer marks a row withdrawn by a withdrawal of another subject. The same holds for each item of a `remember` batch (`items`), a replay with the same `request_id`, a `replaces` and the write receipt (`get_write_request`). Trusted local saves keep the check they had.' },+ { since: '0.60.693.0', id: 'owner_forget_private_gst2346', text: 'A credential bound to the brain owner (`gbrain access owner set`), or a stdio server started with `--stdio-member <owner>`, speaking for itself, now withdraws with `forget` or `forget_fact` a private fact it reads on a page its credential can write (one the brain host saved with `visibility: "private"`), where it used to be told only the brain host could. A fact on a `visibility: private` page, on a page whose readers leave the owner out or on another member\'s page is still withdrawn on the brain host, and a fact the owner confirmed or curated still files a `forget_requires_owner` proposal. Member credentials, attested QM calls (`x-qm-actor`), audiences (`X-Gbrain-On-Behalf-Of`), subagent jobs, slug-fenced clients and unbound connections are unchanged.' },+ { since: '0.60.693.0', id: 'owner_forget_readers_page_gst2346', text: 'The brain owner\'s own credential speaking for itself now withdraws with `forget` or `forget_fact` a fact, private or shared, on a page whose `readable_by` names the owner, where it answered `not_found`, when that credential may also write the page and reads the fact\'s entity page the same way. The owner opt-in `access.owner_reads_restricted` does not extend to `forget`. Every other caller is unchanged.' },+ { since: '0.60.693.0', id: 'member_save_withdrawn_scope_gst2346', text: 'A remote `remember` onto a member\'s own page (`memory/members/<id>`) is refused `fact_withdrawn` only when that member could read what was withdrawn: a fact on its own page, its own copy withdrawn by the brain host, or for the brain owner a fact it reads. A claim withdrawn by the brain host or the owner that the member never read no longer refuses its save: the fact saves as the member\'s own active row with the same reply as a new claim. A schema migration makes the database insert guards mark a row on a member page only by that page\'s own withdrawals; a withdrawal still expires matching rows on member pages when it is made, and strikes them in the page\'s file, so an import of a member page\'s file no longer marks a row withdrawn by a withdrawal of another subject. The same holds for each item of a `remember` batch (`items`), a replay with the same `request_id`, a `replaces` and the write receipt (`get_write_request`). Trusted local saves keep the check they had.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */diff --git a/templates/bootstrap/template-repo/README.md b/templates/bootstrap/template-repo/README.mdindex 4fa685688b..334b46c52b 100644--- a/templates/bootstrap/template-repo/README.md+++ b/templates/bootstrap/template-repo/README.md@@ -1,6 +1,6 @@# gbrain agent workspace — template-<!-- gbrain-template-stamp: 0.60.692.0 -->+<!-- gbrain-template-stamp: 0.60.693.0 -->This repository is the **"Use this template"** distribution artifact for a[gbrain](https://github.com/garrytan/gbrain) personal-agent workspace — the same