Repository navigation
v0.60.800.0
Stable release v0.60.800.0: every change since the previous stable release, v0.60.794.0, newest first.
What changed since v0.60.794.0: 17 changes.
Behavior changes (7):
- New, on by default: gbrain setup for a harness now writes a short owner card beside the brain-first block in that harness's user-scope instruction file (for example ~/.claude/CLAUDE.md or Codex's AGENTS.md), naming the brain owner's name,…
- gbrain doctor now defaults to a concise summary showing the headline scores plus failures and warnings only, instead of printing every passing and informational check.
- Added a
coreMCP tool surface of 25 pure memory tools (under 5K tokens, cutting per-turn tool schema overhead by ~90% compared tofull) for hosts that do not reload tool lists afterrequest_tools. - Running gbrain import now extracts wikilink and frontmatter graph edges automatically and stamps links_extracted_at on imported pages for both keyless and managed brains, without requiring an LLM or embedding key.
- Upgrading @ai-sdk/openai to 3.0.147 preserves reasoningEffort on GPT-6 models instead of dropping it with an unsupported warning.
- MCP HTTP request-log retention (cycle.purge.mcp_request_log_retention_days) now defaults to 90 days instead of off, so the request log stops growing without limit.
- Google Contacts identity linking (google_contacts.identity_links) now defaults to on for brains that have a Google Contacts source configured.
Plus 9 fixes and 1 addition. gbrain doctor --only behavior_changes lists every change in full.
[0.60.800.0] - 2026-12-03
Added a 25-tool core MCP memory surface (<5K tokens), switched gbrain setup codex to default to core instead of full, and added a stderr warning when bare gbrain serve defaults to full.
Enable 90-day MCP request-log retention and exact Google Contacts identity links by default, and remove the unused brain_first.policy_line flag.
gbrain repair atoms-restore and gbrain doctor no longer time out on brains with thousands of retired atoms.
Importing Markdown notes with gbrain import now extracts wikilink and frontmatter graph edges automatically and clears doctor pending link extraction lag.
Inferred link extraction now keeps employment and investment edge direction accurate when a note describes a person working at a fund that invested in another company.
Every mutating MCP tool now declares an explicit boolean destructiveHint annotation so MCP clients can distinguish strictly additive writes from destructive or mixed-mode operations.
Cross-source derived pages marked for re-derivation after a purge now stay hidden across all read surfaces and survive deletion of the purged input's source.
Upgrade @ai-sdk/openai to 3.0.147 so GPT-6 models preserve reasoningEffort, and remove hard-coded old model IDs from eval and skill files.
Fresh PGLite brains now initialize directly from a generated schema snapshot instead of replaying 342 migrations, and interactive human terminals no longer print raw [AGENT] or [SHOW USER] directive blocks.
Scope the HTTP behavior-change notice provider-redaction test to the chat-fallback-chain item so release notices that mention OpenAI pass.
Standard setup installs now have a passing gbrain setup verify command, and gbrain bootstrap verify delegates setup-only installs cleanly.
Non-owner reads across schema packs, link sources, ontology dimensions, and page history no longer leak private, member-restricted, owner-only, or soft-deleted metadata.
The Rust engine now has a one-page plan that says why it exists, how we will know it worked and when to stop, plus a status page that shows how much of the engine works today and that CI keeps up to date.
Added
-
Added the
coreMCP tool surface (verbs ⊂ core ⊂ starter ⊂ full) containing 25 pure memory tools (7 memory verbs, search, query, page reads and writes, graph traversal, timeline writes and views, conflict checks, correction, identity, conversation mode, salience, and write-request status) with norequest_tools, skill-management, household, action-policy, or agent-job operations, staying under 5K tokens (3,676 model-visible cl100k tokens and 4,006 full JSON cl100k tokens versus 40,745 onfull). -
Added a stderr warning when bare
gbrain servefalls back tofullwithout--surface,GBRAIN_SURFACE, ormcp_surfaceconfig, guiding callers to--surface coreorgbrain config set mcp_surface corewhile keeping stdout strictly JSON-RPC and keeping explicit--surface fullsilent. -
Routed
gbrain config set|get|unset mcp_surfaceto the file plane (~/.gbrain/config.json) with surface validation sogbrain servepicks up the change on restart. -
A thesis page for the Rust engine with three measured user targets (fast start, many writers at once, small memory) and the conditions that stop the work.
-
A generated status page that counts which engine operations the Rust engine serves, lists the ones that still refuse on common commands, and shows the latest eval result and open must-fix items.
bun run check:rust-engine-statusfails when the page is out of date.
Changed
-
Changed
gbrain setup codexandgbrain bootstrap hooks --harness codexto default toserve --surface coreinstead ofserve --surface full, cutting Codex per-turn tool schema overhead by ~90% while preserving core-memory tool-call accuracy; users who want the full catalog on Codex can pin--surface fullor setmcp.default_surface_codex full. -
Default
cycle.purge.mcp_request_log_retention_daysto 90 days so HTTP MCP request logs no longer grow without limit while preserving lifetime rollups inmcp_request_log_rollup, the 30-day minimum floor, audit rows forever, and explicitoffor0opt-out. -
Default
google_contacts.identity_linkstoonfor configured Google Contacts sources using exact email and phone matching only, leaving ambiguous or name-disagreement hits unlinked for owner review and keepingoffand--unlinkopt-outs.
Removed
- Remove the unused default-off
brain_first.policy_linesetting, its block-rendering and upgrade-rewrite branches, and its reserved config plumbing.
Fixed
-
Rewrote
atomRetirementsSqland its inlineddoctor-derivedqueries to eliminate the doubly-nested correlatedEXISTSreplacement check and per-origin nested scans, using direct index probes for small sets and single-atom apply rechecks and set-based materialized JSONB lookup maps for large multi-source scans sogbrain repair atoms-restoreandgbrain doctor --only atom_retirements_restorablestay fast before and afterANALYZE, and alignedretired_atordering toCOLLATE "C"across repair and doctor (#10968, reported by @andreineacsu). -
Directory imports on both keyless and managed brains now run deterministic link and canonical timeline extraction by default with zero model or embedding keys, populating backlinks and graph traversal immediately and reporting extracted link counts in human and JSON summaries.
-
Managed link extraction now guarantees the links_extracted_at stamp clears sub-millisecond updated_at timestamps and watermark skew when deriving freshly imported slugs, and resolves earlier unresolved references across multi-step imports.
-
Plain-directory sync now forwards its extraction setting into directory import so plain-directory sources extract links by default while full Git sync keeps its deferred extraction path.
-
Small-brain doctor extraction lag reporting now uses the actionable stale count from readExtractionLag so attendance-blocked meetings are not misreported as pending link extraction.
-
Wikilink, markdown-link, filesystem, and typed NER link extraction now enforce source-and-target role compatibility so organizations never emit
invested_inorworks_atedges pointing at people. -
Verb attachment now locates links by their exact offset, stops at sentence boundaries, recognizes
partner at,principal at, andassociate atas employment cues, avoids reversing passivebacked byorraised fromfunding phrases, and leaves relative or appositive investment clauses attached to the fund rather than the person working there. -
Added synthetic regression tests covering wikilink, markdown-link, filesystem, database, and plain-prose NER extraction for person, fund, and portfolio company notes.
-
Added explicit per-operation
destructivemetadata for every mutating operation and derivedannotations.destructiveHintin MCP tool definitions (and curated write annotations) so strictly additive tools such asappend_page,add_tag,add_timeline_entry,takes_add,takes_resolve,memory_write, andpolicy_reservedeclaredestructiveHintasfalseinstead of inheriting the MCPtruedefault, while destructive deletes, purges, withdrawals, removals, cancellations, overwrites, and mixed-mode tools declaretrue. -
Kept read-only tools at
readOnlyHinttruewithoutdestructiveHintper the MCP ToolAnnotations specification, matchingidempotentHint, and added contract tests guaranteeing every mutating operation emits an explicit booleandestructiveHintmatching its metadata. -
Pages in another source marked
needs_rederivebygbrain delete --purge(whosedeleted_atremains NULL) are now hidden across keyword, vector, title, exact-scan, and hybrid search, HTTP and MCP read endpoints,grade_takesevidence and candidate selection, page listing and lookup, chunks, links, graph traversal, tags, versions, core memory, export, reflex reads, and child facts, takes, and timeline projections across PGLite, Postgres, and the Rust store (#10924). -
hideDerivedRowsnow records eachneeds_rederivemark under the derived row's ownsource_id(and refreshessource_idon conflict) so deleting the purged input's source no longer cascades and un-hides marked pages on surviving sources, while also clearingquery_cacheon trust-propagation and purge-mirror re-marks. -
get_raw_datanow returns nothing for a page markedneeds_rederive, the same asget_page. Export and engine migration still copy that page's raw data. -
Salience scores and the recent-salience list no longer count a take marked
needs_rederive, on PGLite, Postgres, and the Rust store. -
Upgrading moves every
needs_rederivemark that an older release filed under the purged input's source to the source of the row it hides (schema migration 348). Deleting a source and migrating between engines make the same repair, so the hidden row stays hidden. -
Engine migration keeps each link's origin page and each event timeline row's event page, so a link or event that was hidden on the old engine stays hidden on the new one, and it leaves out links and events whose origin or event page is deleted. It now stops when it cannot read a table's columns instead of skipping that table's rows.
-
Searching for an exact slug finds the live page in another source when the first match is hidden, even when many newer pages share the slug as a prefix.
-
Restricted Postgres
NOBYPASSRLSread roles fail closed unless grantedSELECTand a source-scoped policy onneeds_rederive(added to thedocs/ENGINES.mdRLS recipe). -
Upgrade
@ai-sdk/openaifrom 3.0.58 to 3.0.147 (and@ai-sdk/provider-utilsto 4.0.69) so GPT-6 models are recognized as reasoning models, preservereasoningEfforton the Responses API, and emitdevelopersystem messages without unsupportedreasoningEffortwarnings. -
Wire GPT-6 thinking-off rows in
src/core/ai/thinking-off.ts(nonefor exact undatedgpt-6-luna,gpt-6-sol, andgpt-6.1-terra;lowat the caller's requested output cap for other non-chat GPT-6 models including dated snapshots) and align synopsis budget reservations and sweep previews withthinkingOffOutputCap. -
Replace hard-coded 4.x and 5.2 model IDs in active eval runners, harnesses, and skills with
model-config.tsdefaults (DEFAULT_ALIASESandTIER_DEFAULTS), use low-effort adaptive thinking headroom for native Anthropic Opus 5.5 judges and classifiers, and regenerate the plugin trees and skills lockfile. -
Fresh PGLite initialization now applies a canonical generated SQL schema snapshot directly at the current schema version rather than replaying 342 historical migrations from version 1, cutting on-disk
initSchema()time by 46% to 62% with verified catalog, vector-dimension, FTS-language, sequence, and seed parity across all supported profiles. -
Interactive human terminals now receive plain readable guidance instead of
[AGENT],[/AGENT],[SHOW USER],[/SHOW USER], and agent-relay framing acrossinit,post-upgrade, consent refusals,advisor, Google setup, connector auth, and CLI notices while preserving every command, warning, risk, and exit code. -
Piped invocations, non-TTY callers, agent harnesses running inside a PTY, and callers setting
GBRAIN_AGENT_OUTPUT=1keep full[AGENT]and[SHOW USER]blocks unchanged. -
Scoped the
openaiprovider-leak check intest/behavior-change-notice.test.tsto thev0.60.68.0chat-fallback-chain item while preserving full-disclosure checks against leaking configured fallback entries or local chain text. -
Added
gbrain setup verify(--json,--source <id>) to verifygbrain setupandgbrain initbrains from any directory including$HOME, supporting repo-less write/recall round-trips with probe cleanup, truthful registeredmcp_surfacereporting, MCP wiring smoke tests, and per-turn hook checks. On a thin client (a remote brain) it probes the remote/healthand skips the local engine, embedding and round-trip checks. -
Made
gbrain bootstrap verifydelegate setup-only installs without--workspacetogbrain setup verifywhile preserving full bootstrap workspace checks and explicit--workspace $HOMErefusals. -
Updated
docs/INSTALL.md,docs/GBRAIN_VERIFY.md, anddocs/guides/setup.mdto point standard installs atgbrain setup verify.
schema_review_orphansandschema_statsnow filter pages by the caller's visible sources, scopes, and member access instead of leaking private slugs, custom page types, orowner_onlysource counts.list_link_sourcesandontology_dimensionsnow enforce caller visibility, quarantine eligibility, diary exclusion, and live-page checks so soft-deleted, private, or member-restricted link sources and dimensions never appear to unauthorized callers.get_versionsnow filters out versions of soft-deleted or concurrently purged pages for non-owner callers and fails closed under row-level security scope binding.- Added a deterministic seeded privacy-boundary fuzz test covering publish, export, search, graph, and MCP surfaces for non-owner callers.
[0.60.799.0] - 2026-12-03
GitHub Actions workflows for fix-wave PR closeout and Rust engine notifications now trigger on same-repo pull requests instead of pull_request_target so they keep running under GitHub's default workflow policy.
Plain bun test now applies the 60s default timeout automatically and strips inherited Git author and committer environment variables.
gbrain doctor now defaults to a concise summary of headline scores, warnings, and failures (--verbose lists all checks), stops penalizing keyless-by-choice brains in brain_score, and fixes skill_currency claiming it runs inside the gbrain repo on global installs.
Take grading now skips deleted, quarantined, and pending-rederive pages and stops endlessly retrying unparseable judge replies.
gbrain setup claude-code and gbrain setup codex now detect whether the target harness CLI binary is installed and report truthfully when it is missing instead of claiming memory works in that harness now.
The opt-in skill picker recovers recall on short and group-chat requests with prompt v3, and catalogs over 200 skills now get the 100 ms warm deadline plus OpenClaw resolve timing splits and boot warm-up.
Temporal history queries now recognize natural leadership and supplier verb phrasings, stop promoting unrelated facts on directory-prefixed entities, broaden role and correction change cues, and keep unbacked slot tagging aligned after withdrawal filtering.
Fix gbrain sync --repo <path> on managed brains so unregistered paths fail with an actionable first-try fix instead of ignoring the path and looping on gbrain sync --source default.
Rust CI checks on a pull request finish sooner: the Linux addon is built once per run and shared, Rust builds reuse a compiler cache, and the PGLite and PostgreSQL shadow tests run side by side.
Changed
-
Migrated
.github/workflows/vorflux-notify.ymlfrompull_request_targettopull_requestonclosedevents while keeping the same-repository guard, read-only permissions, and zero-checkout behavior, and added reconciliation in the 30-minute digest for closed or merged Rust engine PRs whose immediate notification did not run. -
Migrated
.github/workflows/fix-wave-closeout.ymlfrompull_request_targettopull_requestonclosedevents for merged same-repository PRs and pinned both sparse checkout steps explicitly toref: mastersoscripts/fix-wave-closeout.tsalways comes from the default branch. -
Updated workflow unit tests and release documentation while leaving the fork-facing
.github/workflows/fix-wave-gate.ymlworkflow unchanged. -
Plain
gbrain doctornow prints headline scores, top issues, warnings, and failures with a single count line for passing and informational checks instead of dumping over 300 lines. Pass--verboseto list every check, while--onlyand--jsonkeep their full output. -
The doctor
brain_scorecheck excludes the 35-point embedding component and rescales the four active graph components when embeddings are disabled by choice, so a healthy zero-key setup is no longer warned at 50/100. -
Bumped
PICKER_PROMPT_VERSIONfrom 2 to 3 and recalibratedpickerPrompt()to lead with positive routing for terse commands, bare entity or topic lookups, and direct or group requests while abstaining only on pure acknowledgments, greetings, reactions, casual remarks with no ask, and pure general-knowledge or text-rewording turns. -
Lowered
LARGE_CATALOG_SKILLSfrom 500 to 200 so catalogs with more than 200 skills automatically receive the 100 ms warm deadline (LARGE_CATALOG_DEADLINE_MS) across the hook lane, OpenClaw plugin, Pi extension, and doctor reporting. -
Updated
gbrain-skill-resolverOpenClaw plugin code to version 16 with warm catalog handles (openCatalog), non-blocking background boot warm-up of active catalogs on plugin registration with bounded error handling, and per-turn resolve timing splits (worker_wait_ms,rank_ms, andcold) inskill-index/logs/openclaw-<date>.jsonl. -
The Rust engine workflow builds the Linux addon in one job and hands it to every Linux job that needs it, instead of each job building its own.
-
Linux addon builds that miss the addon cache reuse compiled crates through a compiler cache, so they compile less.
-
The shadow seed and follow tests now run as two jobs at the same time, one on PGLite and one on PostgreSQL, instead of one after the other.
-
The macOS addon cache now names the runner image and the macOS SDK, so an image or Xcode update builds the addon again. The macOS snapshot build has its own time limit.
-
The addon hand-off between jobs is kept for seven days. A job re-run after that takes the same addon from the cache, even when the first run's smoke test failed, and a re-run of all jobs replaces the hand-off instead of failing.
-
The compiler cache is optional. When it cannot be downloaded or started, or the
GBRAIN_CI_SCCACHErepository variable isoff, the build logs "Compiler cache off" and goes on with plain cargo. Each cache restore and save has its own time limit, and the addon hand-off is uploaded before the caches are saved.
Fixed
-
Plain
bun testinvocations without--timeout=60000now applybunfig.toml's 60s timeout across every test file in sequential and--parallelruns throughtest/helpers/default-timeout-preload.ts, while keeping explicit CLI--timeoutflags and per-file or per-test overrides intact. -
Inherited
GIT_AUTHOR_*,GIT_COMMITTER_*, andEMAILenvironment variables are now scrubbed at test startup intest/helpers/git-hermetic-preload.tsand stripped directly in the affected Git fixture helpers (scripts/contributor-audit-fixture.ts,test/db-wins-unimported-gst2579.test.ts,test/repair-file-drift-deleted-side-d5.test.ts, andtest/repair-file-drift-origin-twin-gbra108.test.ts). -
The
skill_currencydoctor check now reports that it is using bundled skills from the gbrain install when invoked from a global install or outside a repository checkout instead of claiming it is running inside the gbrain repo. -
Take grading and local take listing commands (
gbrain takes list,gbrain takes search, andgbrain founder scorecard) now enforce read eligibility so takes on soft-deleted, quarantined, orneeds_rederivepages are excluded across PGLite, Postgres, and the Rust store (#10923). -
grade_takesnow rechecks each take before evidence retrieval, before the judge call, and before an ensemble tiebreaker, so a page deleted or quarantined in the middle of a run never reaches a judge or the verdict cache, and the recheck finds a take even on a page with more than 500 newer takes (#10923). -
Evidence gathered for a
grade_takesjudge now drops search hits from soft-deleted, quarantined, andneeds_rederivepages before the evidence block is built, and a page whose state cannot be read loses only its own hits (#10923). -
The
grade_takesjudge now turns thinking off with an 800-token output cap on models that allow it, and sends native Claude Opus 5.5 and Claude Fable 5 adaptive thinking at low effort with a 4,096-token cap, with the budget check pricing the exact cap each call sends (#10938). -
Unparseable
grade_takesjudge replies now logstop_reasonandoutput_tokens, back off across 24, 48, and 96 hours before parking after four failures, and skip paid evidence retrieval while backed off or when the budget is exhausted (#10938). -
A parked take retries when its claim, judge model, prompt, or judge call options change, parked entries are never dropped from the backoff record, and a run that skips parked takes or cannot read the backoff record reports a warning instead of a clean pass (#10938).
-
Caching a verdict no longer makes
grade_takesskip the next ungraded take when the work window spans more than one page (#10938). -
Detected the
claudeandcodexexecutables onPATHand in standard user install directories (~/.local/bin,~/.claude/local, and~/.bun/bin) duringgbrain setup claude-codeandgbrain setup codex, ignoring config-only directories created by setup itself. -
Reported the brain and config writes accurately when the harness binary is absent, printing a
Harnessstatus line, guidingNextto install the harness before opening a session, replacing the misleading wired-and-working copy infirst_run_decisions, and emitting structuredharness_binarystatus in--jsonoutput. -
Hardened
parsePickerReply()to recognize clean conversational abstentions (such as replies starting with "No skill" or "None of the skills" that contain no JSON brackets and mention no known skill id) and fenced replies with trailing punctuation as abstentions instead ofparse_failedfallbacks, while keeping malformed JSON and skill-mentioning text strict. -
Temporal history dimension detection now matches verb phrasings such as running operations for an organization, plural leadership questions, and supplier verb forms without triggering on present-tense or non-temporal queries.
-
Temporal history topic matching now reads the entity-stripped query and trims adjacent entity kind words so queries about project-prefixed or company-prefixed entities no longer promote unrelated facts into tier one while preserving real topic queries.
-
Slot end derivation now recognizes natural role transitions such as taking on a role or starting a new job alongside explicit correction cues such as scratch and in fact while leaving static statements open across pages.
-
Conversation window extraction now remaps unbacked entity indices after purge and withdrawal filtering so surviving unbacked facts keep their slot tags and fuzzy-matched rows never inherit shifted unbacked labels.
-
Managed-brain
gbrain sync --repo <path>now validates the requested path before running managed sync, refusing unregistered directories withsync_not_applicable(reasonunregistered_repo) and a first-try fix (gbrain sources addfor committed Git repos, orgbrain importfor plain folders on a default content brain) while redirecting paths that belong to another registered source. -
resolveManagedSyncContextnow checks for gbrain-owned content directories beforemanagedGitTopLevel, eliminating circulargbrain sync --source defaultfix hints whendefaultis a managed content directory. -
Updated
gbrain --help,gbrain sync --help,gbrain features, and sync docs to showgbrain sources add <id> --path <path>andgbrain sync --source <id>for managed brains.
[0.60.798.0] - 2026-12-03
Added preview-first gbrain identity backfill and gbrain facts relink --owner to mark older Google and iMessage pages and move owner facts safely without re-extracting.
Real Git repositories with tracked symlinks, nested skill directories, and multi-thousand-chunk embedding backfills now add, import, and embed cleanly without spurious failures.
CI test-sharding timing weights are refreshed from the December 2 nightly runs so unit, serial, and end-to-end shards stay balanced.
Embedding rate-limit retries now honor standard HTTP Retry-After headers, and loopback digital twins for Google and embedding APIs are available for local end-to-end tests.
Managed atom re-extraction no longer retires atoms without a live replacement, and doctor reports the full restorable count.
Added
- Added
gbrain identity backfill --source <id>to preview and stampspeaker_owneron stored Google Mail and iMessage pages where the stored page proves which speaker is the owner. The preview shows eligible counts, skip reasons, sample slugs, zero estimated spend, and a hash that--apply --expect <hash>requires. Applying keeps extraction watermarks in place so no paid re-extraction runs, writes git-tracked files throughgbrain git commit-push(untracked or non-Git Google files atomically in place with0600) or the managed writer coordinator, retriescommit_lock_busyonce, and returns structuredfix.argvrecovery commands forwriter_coordinator_required,commit_lock_busy, and pending writes (exit 10). - Added
gbrain facts relink --owner --source <id>to preview and link previouslyspeaker unknownconversation facts onto the owner entity once their page carries a trustedspeaker_ownermarker, without calling a model. - Added
gbrain facts relink --owner --move-entity --source <id>with--apply --expect <hash>to move active derived conversation facts onto the current owner entity after an owner-page change, paired with a read-onlyowner_identitywarning ingbrain doctorthat reports the flip and prints the preview command.
- Added strict IP-literal loopback endpoint override helpers (
GBRAIN_GOOGLE_API_BASE_URLrestricted tohttp://127.0.0.1andhttp://[::1]with no userinfo, path, query, or fragment, and quarantined from cwd.envfiles insrc/core/env-trust.ts) insrc/core/google/base-url.ts. - Added reusable loopback Google Workspace and OpenAI embedding HTTP digital twins with contract validation and headless end-to-end suites under
test/dtu/.
Fixed
-
Managed
gbrain sources add,reclone, and worktree manifest verification now hash tracked Git symlinks (120000) from theirreadlinktarget bytes with a domain-separatedsymlink:<sha256>tag (pluscore.symlinks=falsestub parity) and allow verified tracked symlink leaves during staged clone flushes without ever following link targets; symlinked parents, regular files replaced by symlinks, submodules, and non-Gittree-scope symlinks still refusewriter_manifest_unsafe. -
Managed directory imports (
gbrain import <dir>) now skip reserved skill paths (skills/at any depth andskillpack.json) with a stderr summary and skip paths beneath symlinked parent folders cleanly with exit code 0 instead of counting them as fatal errors, while explicit single-file imports of reserved skill paths still refuse withskill_bundle_required. -
Capped embedding backfills (
gbrain embed --stale --yesand--max-usd) now wait for in-flight reservations to settle, halve multi-input sub-batches when remaining headroom is tight, persist already-paid prefix vectors and settle per-page budgets proportionally when a cap stops mid-batch, include contextual title wrappers and pricing overrides in pre-flight estimates, and explain reservation-ceiling stops transparently in the verdict. -
embedBatchWithBackoffand background embedding effects now honor RFC 7231Retry-Afterresponse headers (delta-seconds and IMF-fixdate, RFC 850, and asctime HTTP dates) across error cause and AI SDK retry chains before falling back to OpenAI message text or the 60-second default. -
Credential-bearing Google OAuth and Workspace API requests now reject HTTP redirects instead of following them off-host.
-
Managed atom re-extraction now verifies under page locks that every active replacement atom of a live generation has settled and still exists live before retiring an earlier atom, and resumes pending overwrites before pending retirements.
-
Empty rescans after an unrelated source-wide withdrawal and prose edit no longer falsely retire quote-bearing atoms, and intentional withdrawal and rename retirements now stamp
extract-atomsinstead ofmanaged-reextractsogbrain repair atoms-restorenever offers to revive withdrawn or private-renamed claims. -
Renamed non-private managed pages now publish their new atom generation before retiring atoms under the old slug so a held or failed publication leaves old atoms live.
-
Same-hash re-extractions superseded by a live generation with live replacement atoms are now recognized as replaced instead of restorable duplicates across Postgres, PGLite, and the Rust store.
-
gbrain doctoratom_retirements_restorablenow counts every restorable retirement (both legacy and generation-ledger-recorded) in a single faster query matchinggbrain repair atoms-restoreone-to-one, propagates statement deadlines instead of swallowing them, and flags budget-expired cached results as potentially stale.
Changed
- Updated
scripts/test-weights.json,scripts/serial-weights.json,scripts/e2e-weights.json, and their.metadata.jsonfiles from the December 2, 2026 nightly Test (46834206050) and full E2E (46823566957) runs, reducing unweighted test shares to 0.41% (unit), 0.00% (serial), and 0.68% (E2E) with zero dead entries.
[0.60.797.0] - 2026-12-02
Codex worker sessions that another Codex launched are no longer saved as your own words.
gbrain setup now tells your agent who you are: a short owner card beside the brain-first block in its user instruction file.
Fixed Windows setup shell and path handling, WSL2 64-bit NTFS inode imports, French elided speaker-label fact linking, and stale harness bridge cleanup.
Managed Postgres and PGLite sources now reuse unchanged atom extractions after takes-only and hidden-fence edits instead of calling the model again on every edit.
Password-manager share links carrying decryption keys in the URL fragment are now detected and redacted by the built-in secret scanner.
The opt-in skill picker now caches full catalogs up to 500 skills, skips cache writes on dynamic shortlists, abstains more cleanly on casual turns, and runs as an opt-in option inside the OpenClaw plugin.
With the Rust shadow engine on, the shadow copy no longer shows rows an owner-only mark protects, and an older gbrain build refuses a shadow store it cannot read safely.
Automatic slot tagging and read-time validity windows now cover all single-valued changing attributes across people, companies, organizations, projects, teams, and products.
Fixed
-
Codex runs gbrain's session-end hook in the background, so the gbrain process that saved the session could no longer see which program started Codex. Every headless
codex execworker an orchestrating Codex session launched was saved as the owner's own session, and its brief became the owner's facts (an owner-identity eval found 4 of 4 such workers misfiled). The hook command now records the chain of programs above it before it goes to the background, and gbrain reads that record. Such a worker's turns are saved as agentagent-launched's, as they already were on Claude Code. Acodex execyou start yourself is still yours, and the npmcodexwrapper that starts the native binary no longer counts as a launcher. Upgrading does not rewrite existing Codex hooks, so re-rungbrain setup codex(orgbrain bootstrap hooksif you installed hooks that way) to pick up the new hook command; settingGBRAIN_SESSION_AGENTin your launcher still works and takes precedence. -
Windows
gbrain setupturn-hook verification now runs Claude Code hooks through Git Bash (gitBashPath()) with Windows runtime environment variables preserved instead of spawning baresh, and returns a clear diagnostic when Git Bash is missing or when Codex runs on Windows without a POSIX shell (fixes #10873, reported by @ermartin265-dev, contributed by @Masashi-Ono0611). -
gbrain importnow usesbigintstat metadata when tracking visited directories so NTFS volumes mounted through WSL2 VirtioFS with 64-bit inode numbers aboveNumber.MAX_SAFE_INTEGERare no longer misclassified as symlink cycles and skipped (fixes #10870, contributed by @shawnholt). -
gbrain setup --notes,--docs, and--transcriptsnow recognize Windows drive-letter paths and~\home prefixes on Windows instead of resolving them as relative subdirectories under the workspace (fixes #10872, reported by @ermartin265-dev, contributed by @Masashi-Ono0611). -
Fact subject inference now ignores unresolved French elided speaker labels such as
L'utilisateurandL’assistantwhile keeping unknown French titles,@handles, and real entity pages (matched across straight and curly apostrophes) competing first (refs #10895, reported by @patobiskoto, contributed by @Masashi-Ono0611). -
gbrain skillpack remove --harnessnow retires shared-only bridge ledger entries once the destination directory is gone while leaving existing destinations and dangling symlinks intact, serializes full bridge write sections underskillpack-bridge-state.json.lock, and reclaims stale skillpack locks atomically (fixes #10098, reported by @exGeni, contributed by @javieraldape). -
Managed
extract_atomsdrains now compare the sanitized model input digest (inputSha256) against the newest completed checkpoint for the page and record a completion checkpoint for the newcontent_hashwhen the model input, active atom set, visibility, date, destination binding, and withdrawal state still match. Accepting takes or updating hidden fences now makes zero model calls and leaves live atoms untouched. -
Stripped empty
## Takesand## Factsheadings when computing the atom input digest while preserving real prose, indented code blocks, and pre-upgrade large-page watermarks, so pages that receive their first takes fence after upgrading also reuse their prior completion on the first pass. -
Preserved
atomsContentHashon reused checkpoints and updatedgbrain doctor'satom_provenance_driftcheck to recognize atoms whosesource_hashmatches a reused managed completion, keeping drift at zero across repeated takes-only edits. -
Serialized managed atom reuse against concurrent atom edits, soft-deletes, and post-preflight worktree claims under the atom generation lock and live worktree binding check, and preserved
atomsContentHash,atomCount,activationId, anddestinationacross retained-generation completions. -
Omitted Anthropic
cache_controlon dynamic skill-picker shortlists above 500 skills and removed the 1.25x cache-write surcharge from dynamic shortlist spend reservations so uncacheable per-turn shortlists do not pay extra cache-write fees. -
Hardened
parsePickerReplyto extract the final valid JSON object from fenced replies or responses with surrounding brace-containing prose and to treat explicit empty-selection or "none" replies as clean abstentions instead ofparse_failedfallbacks. -
With shadow on, a write that invalidated the whole owner-only marks table could leave the shadow copy showing a row whose mark the copy had not read yet, including a row the copy stored after that write. The copy now hides every page, fact, take and timeline entry until a pass has read every mark again.
-
With shadow on, an older follower could clear a page mark from the shadow store, and this build then read that store as if the mark were never set. Such a store is now refused until it is seeded again with
gbrain engine shadow reseed. -
A native Rust brain that gbrain v0.60.789.0 already opened is now checked again for owner-only history on its next open, instead of being trusted as checked. It is held when a source is owner-only, or when it holds pages or facts that no seed made, because that build could leave a formerly owner-only source open without the hold.
-
A shadow child now refuses a Rust store that is empty (
store_unseeded), that belongs to another seed (store_seed_mismatch), whose seed it cannot check (store_unverified), or that it cannot read (rust_store_unreadable), instead of serving reads from it. A child refused for its store's seed restarts once a reseed replaces that store. A shadow child that joins a store another process already owns now waits instead of comparing reads through it. -
A partly finished shadow seed resumes after the upgrade, a backup of a shadow store made before the upgrade restores, and a seed written inside a transaction or copied by a snapshot keeps its store format file in step.
Added
gbrain setup <harness>(and--instructions-only) writes a small marked "Who the owner is" card next to the brain-first block in the harness's user-scope instruction file (for example~/.claude/CLAUDE.mdor Codex'sAGENTS.md). It lists the brain owner's name, aliases, email addresses and owner page, read from the brain, so the agent recognizes mail, meetings and chats from you. It never carries phone numbers, never goes into a project or repository file, and is removed (or never written) for a hosted or remote brain (including a Claude Code or Codex entry that points at a hosted server), for a brain that serves several people, and for a file that resolves into a git repository (an OpenClaw workspace in a checkout, or a CLAUDE.md symlinked into a dotfiles repo). It is read even while a Claude Code or Codex session holds the brain open. Setup prints oneownerline naming the file it wrote.--no-owner-cardremoves the card and remembers the choice,--owner-cardopts back in, and--no-instructionsand--removetake it out with the block. The card tells the agent that only an exact match on one of your email addresses identifies you and that a name alone never does; it does not decide who said what.gbrain identity --cardprints that card as JSON, with whether the brain serves several people.
- Widened automatic conversation slot tagging in
src/core/facts/slot-tagging.tsbeyondlocation,employer, androleon person pages to tag all single-valued dimensions (locationincluding headquarters,employer,role,team,manager,compensation,status,plan,valuation,budget) plus scoped functionalleadandvendorslots across all live entity page types (person,company,organization,project,team,product,deal,fund, and related entity types) in the same single batched call while excluding non-entity pages, retired pages, and private pages referenced by world facts. - Added scoped single-valued slot normalization (
lead:<scope>andvendor:<scope>, such aslead:opsandvendor:logistics, plus headquarters aliases tolocation) and expanded state-change cues insrc/core/facts/slots.tsso concurrent functional leads and vendors stay isolated and never end one another at read time. - Extended
readSlotRows,readEntityDatedFacts,applySlotEnds, andreadSlotHistoryto query and isolate scopedleadandvendorslots alongside headquarters history and point-in-time queries without letting present-tense or current-value queries admit ended stints.
Security
- Added host-anchored
password_manager_share_linkrules for 1Password, Bitwarden Send, Proton Pass, Keeper One-Time Share, and Yopass share links so the URL fragment decryption key is redacted while preserving the host and route context (#10896). - Kept non-secret URLs, Bitwarden Vault navigation routes, documentation placeholders, and unrelated hosts untouched with bounded linear-time patterns and key validation.
- Bumped
TRANSCRIPT_SECRET_AUDIT_VERSIONto 8 sogbrain doctorprompts once for a fresh read-onlygbrain transcripts audit-secretscheck across previously imported conversations.
Changed
-
Raised the skill picker full-catalog threshold (
PICKER_FULL_CATALOG_MAX) from 300 to 500 skills so mid-sized catalogs up to 500 skills keep a stable prompt prefix for provider prompt caching instead of dropping to dynamic per-turn shortlists. -
Bumped
PICKER_PROMPT_VERSIONto 2 with explicit abstention guidance for casual banter, acknowledgements, reactions, and stray-keyword matches while preserving recall on short task commands. -
Expanded
isAcknowledgementin the skill resolver to cover common short conversational reactions and two-to-three-part acknowledgement phrases (such as "ok got it" or "haha nice") while continuing to pass through leading slash commands, inline$or@skill selectors, and questions. -
Updated
gbrain-skill-resolverOpenClaw plugin code to version 15 with separate opt-inskills.resolver.per_harness.openclaw.routersupport (strictly off by default, even when globalskills.resolver.routeris on for hook lanes). When turned on, the plugin reuses the existingrouter_*model, timeout, and spend settings, extends its turn deadline byrouter_timeout_msplus 100 ms, forwards only allowlisted provider credentials to the worker thread, logs picker outcomes on OpenClaw turn lines (read bygbrain doctor), and falls back fail-open to lexical matching on timeout or error while keeping setup self-tests lexical. -
A shadow store this build seeds or writes to now carries store format 19. This change does not move native Rust brains, which stay on the native store format. A gbrain build without format 19, including the release before this one, refuses a format 19 store (
format_unknown) instead of reading it without its owner-only marks. Itsgbrain engine shadow reseedcannot retire that store (store_unreadable), so going back takes these steps:gbrain engine shadow stop, install the older build, movestore/andseed.jsonout of<gbrain home>/shadow/<brain>/by hand, thengbrain engine shadow seedandgbrain engine shadow starton the older build. Upgrading to this build does not need a reseed. A seeded store moves to format 19 on its next writable open. -
The shadow adapter fingerprint now covers the changed store files, so a follower built before this fix is not mistaken for this one. Because the fingerprint and the addon digest change, every shadow evidence count starts over with this build.
[0.60.796.0] - 2026-12-02
Facts from your conversations land on you only when the page shows which speaker you are.
Linux child-process termination, streaming body-scan memory checks, and upgrade-matrix cell teardown now handle exit races and handle cleanup deterministically.
Bulk config reads now skip conversation archive ledger rows in SQL, eliminating megabytes of repeated Postgres egress per CLI start, hook, and write preparation.
Three ways a PGLite brain could lose a write, or keep one that was rolled back, while reporting success are now refused.
Changed
-
Fact extraction from a conversation page now files a fact under the brain's owner only when the page proves which speaker the owner is: a
speaker_ownerentry its own importer wrote. For the owner's own statements, one of the owner's turns must also be in that part of the conversation. A claim someone else makes about the owner keeps the owner on such a page. On every other page (meeting transcripts, imported chat logs, a page an MCP caller wrote), a fact the model filed under the owner keeps no subject and carries the notespeaker unknown. It stays on its page and in search, so nothing is hidden. This fixes meeting recordings that put the owner's name on other people's lines and filed their facts as the owner's. -
A name in the text no longer makes the owner a fact's subject, in conversation extraction and in the facts written alongside an ordinary page write.
gbrain facts relink --conversationno longer links a fact to the owner from a name or a page link either; it reports the new reasonowner_unproven. A re-extraction no longer carries an earlier link to a fact now markedspeaker unknown, and a claim forgotten under the owner stays forgotten when its subject is cleared. -
A person page counts as the owner only in its own source: a page at the owner page's slug in another source is someone else.
-
A Gmail message body that pastes an email-thread heading no longer reads as a separate message, so it can't pass as one of the owner's. An iMessage contact whose name reads as "Me" once cleaned up means the day gets no
speaker_ownerentry. -
When the owner's email sits on several person pages (a network or cohort directory entry, a contact card), each of them now counts as the owner and nobody has to pick one. If exactly one of those pages lives outside a connector source, such as a hand-written page beside the copies Google or Apple Contacts rebuild in their own sources, it is the owner page (#10816). Otherwise the owner's facts go to the owner member's page (
memory/members/<id>, elsememory/owner). An unproven fact filed on any of them is speaker-unknown, and none of those pages is merged or edited.gbrain doctor'sowner_identitycheck no longer warns about it,gbrain identity --jsonlists those pages underpagesinstead of aseveral_pagesconflict, andgbrain identitynames each assource:slug. -
On a page that proves the owner's speaker, the extractor is told which label is the owner and which page their facts belong on: the member page
memory/members/<id>when the brain has an owner member, elsememory/owner. It also gets the owner card: the owner member's name, the owner page's title and aliases, and the owner's email addresses, so a claim another speaker makes about the owner under a nickname or another address lands on the owner. The card never decides who spoke, and a page that doesn't prove the owner's speaker gets no card. The extraction system prompt is unchanged. -
A
speaker_ownerentry counts only on a source that belongs to one person: the one member it is bound to, or the owner on a brain no other person shares. Transcript imports and the conversation archive now use the same rule as the Gmail and iMessage connectors, so a source several people share gets no entry. Meetings sources are no longer trusted for the entry, and a page counts only while its live text is the importer's own (a remote write of the same page never does). -
PGLite now refuses to start if the installed PGlite build lacks the internal lock that reserved connections depend on, instead of running without that protection. GBrain pins PGlite 0.4.3.
Fixed
-
Treated Linux
Xandxdead-task states in/proc/<pid>/statas exited alongsideZzombies insrc/core/bounded-child-exec.tsand process-tree tests so a descendant mid-reap duringrelease_task()is no longer misread as still alive. -
Warmed up
BodyScannerand settled JavaScriptCore's post-GC baseline intest/large-pages/body-scan-memory.test.tsbefore sampling live heap deltas so prior PGLite test garbage no longer causes false spikes above the 4 MiB cap. -
Tracked and destroyed active CONNECT proxy and upstream sockets on
startGithubFixture.stop(), cleared and unref'd exit timers and stream readers inStdioMcp.close(), terminated descendant processes on cell teardown, and flushed stdout before explicit exit inscripts/upgrade-matrix.tsso passing upgrade-matrix cells no longer hang until job timeout. -
getAllConfig()on Postgres, PGLite, and the optional Rust engine, along with write-preparation snapshots (preparationConfigView) and backup-restore quarantine scans, now filter outtranscripts.archive.ledger.*rows on the database side before returning settings. Previously, personal brains with conversation archiving enabled downloaded every 35–47 KB archive ledger row on each CLI start, hook turn, MCP request, and write preparation, causing hundreds of gigabytes of hosted Postgres egress over two weeks (reported by @mje-xyz in #10881). -
Request and write-preparation config snapshot wrappers now fall through to live single-key lookups whenever a caller asks for a
transcripts.archive.ledger.*key, preventing falsenullreads while keeping bulk reads small. -
Archive reads (
readArchiveLedger), single-key lookups (getConfig,getConfigValues), prefix key listings (listConfigKeys), and engine migrations (copyMigrationConfig) continue to read and preserve every archive ledger row intact. -
When a PGLite reserved-connection callback fails and its cleanup ROLLBACK also fails, statements that were already waiting for the connection are now refused with
pglite_reservation_cleanup_failed. Before, a waiting COMMIT could save the failed callback's writes, and a waiting write could report success and then disappear when the brain closed. -
A reserved-connection callback that runs inside its caller's open transaction can no longer end or split that transaction. On PGLite, transaction control (BEGIN, START TRANSACTION, COMMIT, END, ROLLBACK, ABORT, SAVEPOINT, RELEASE and PREPARE TRANSACTION) sent on the reserved connection there, even behind comments, fail with the new error
pglite_reservation_caller_transaction. This covers a raw BEGIN sent through the engine andengine.transaction(). Before, the callback's COMMIT could save writes that the caller then rolled back, and the callback's ROLLBACK could undo writes that the caller then committed, with both calls reporting success. Reads and writes on the reserved connection still run inside the caller's transaction, and a statement prepared under the nametransactionstill runs. -
On PGLite, a batch COMMIT that starts with a comment (for example
/*note*/ COMMIT) and fails at commit time is now reported. Before, gbrain sent it again on the idle connection and reported success, although the batch had been rolled back.
[0.60.795.0] - 2026-12-02
Hardened gbrain doctor --priority filtering and privacy_label_ignored detection across repo-less and git-backed brains so large non-private brains resolve cleanly and every privacy surface enforces consistent remote-read and git-placement rules.
gbrain setup openclaw now resolves symlinked OpenClaw state and plugin directories to their real paths and removes duplicate plugins.load.paths entries instead of adding duplicate aliases on each run.
Score skill trigger phrases, routing rows, and folded reference docs individually in BM25F v3 so large multi-workflow hub skills stop flooding casual messages with false positives.
The optional Rust store engine catches up with its core: it opens brains in data format 20 and fixes write and purge checks found in review. The Rust engine stays off by default.
Fixed
-
Split the bundled
search_modedoctor registry entry into separate single-priority entries (search_mode,wedged_queue,orphaned_private_queue,google_oauth, andgraph_signals_coverage) sogbrain doctor --priority p0runs only P0 work without executing hygiene checks. -
Extended
plainlyPrivatematching for ignoredaccessandconfidentialitylabels to catch compound spellings such astopsecret,psychotherapy notes,privateNotes,mentalHealth,biomedical,strictlyConfidential, andeyesOnlywhile continuing to reject negations and unrelated substrings. -
Stopped
readHonorAliasesfrom silently masking database config read failures across callers while keeping remote read enforcement fail-closed (resetting any cached alias opt-out to honor aliases on error), soprivacy_label_ignoredandderived_visibilitysurface a bounded unknown instead of a false clean result. -
Preserved and shell-quoted the requested
--priority,--tier,--only, and--alertflags in thedoctor_tier_unavailablesuggestion andfix.argvreturned to thin clients, and rejected invalid--tiervalues before building a handoff. -
Surfaced non-zero P0 connection failures, warnings, and unknowns in the
Prioritysummary line duringgbrain doctor --priority hygieneruns so a database outage never reads as clean. -
Aligned
put_page,import,sync, andprivacy_label_ignoreddoctor scans onvisibility.honor_aliasesoff and on excludingreadable_by, applied folder rules, and pending folder prefixes from remote-read exposure across PGLite, Postgres, and the Rust store, whileput_pageand doctor keep git-only warnings on git-backed sources for restricted pages whose labels can still reach git (evaluating canonical-git placement per page and preserving advisory notices ifput_page's bounded folder-restriction check times out). -
Added a keyset-windowed, deadline-bounded SQL candidate scan (bounding examined rows per batch and matching Unicode whitespace as a strict superset of
plainlyPrivate) whenprivacy_label_ignoredhits its row or classification cap without a private match, letting large non-private brains resolve cleanly while preserving fail-safe unknown status on candidate overflow or deadline. -
Replaced the 50-source repo check in
privacy_label_ignoredwith a single sources query matchinggetSourceStrictnessfor repo-less, ordinary checkouts, andcanonical: gitbindings, omitting the git sentence on repo-less brains and describing recognized alias values as staying out of git only where the writer actually enforcescanonical: git. -
Canonicalized OpenClaw state, config, and managed plugin directory paths with nearest-ancestor
realpathhandling so symlinked~/.openclaw,OPENCLAW_STATE_DIR, andOPENCLAW_PROFILEmounts pass canonical paths toopenclaw plugins install --linkeven before the plugin folder exists. -
Scoped
plugins.load.pathscleanup andplugins.installsrelinking to GBrain's managed plugins under a per-config lock, updating install records before pruning duplicate symlink aliases and verifying no matching load path remains before removing plugin files. -
Preserved symlinked plugin directory targets on uninstall by unlinking only the symlink leaf, and matched existing OpenClaw instruction and skill-loading ledger rows across symlinked and canonical paths using the latest recorded decision.
-
Upgraded the skill resolver ranker and binary index to
RANKER_VERSION = 3(keepingINDEX_FORMAT = 1so metadata-only readers stay compatible before automatic rebuild), replacing flat bag-of-words trigger and reference concatenation with disjunctive per-phrase scoring, per-filereferences/*.mdchild scoping, and per-candidate query-expansion deduplication. -
Added IDF-weighted phrase coverage with multiple-testing and query-focus dampening on large hub skills (more than 16 unique phrases or more than 4 folded reference docs) while preserving leaf-skill recall, hub child-workflow recall, and
top_gatecalibration across Variant D and Variant T catalogs. -
Fixed
parseReferenceDocso## When to useand## Triggerssections end on blank lines or trailing non-bullet paragraphs instead of leaking body prose into child triggers, and preserved each trigger bullet as its own phrase. -
The Rust store now opens a brain that a newer Rust build already moved to data format 20. Older Rust builds refuse such a brain with a typed "format unknown" stop and change nothing.
-
While a brain moves between engines, the Rust store refuses writes from the side that does not own the brain, so a swap cannot lose a write.
-
Rust store writes now refuse a retained page version whose body does not match its storage form, and a secret record that names a page that does not exist, as Postgres does.
-
Rust page reads find a page stored under an older decomposed spelling when a composed twin also exists, and a retrieval weight that is not a number clamps to 1 as in Postgres.
Changed
- Added a
priorityfield (p0orhygiene) to each entry ingbrain doctor --json'stop_issueslist.