Skip to content

v0.60.800.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 15:17
3d604f1

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 core MCP tool surface of 25 pure memory tools (under 5K tokens, cutting per-turn tool schema overhead by ~90% compared to full) for hosts that do not reload tool lists after request_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 core MCP 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 no request_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 on full).

  • Added a stderr warning when bare gbrain serve falls back to full without --surface, GBRAIN_SURFACE, or mcp_surface config, guiding callers to --surface core or gbrain config set mcp_surface core while keeping stdout strictly JSON-RPC and keeping explicit --surface full silent.

  • Routed gbrain config set|get|unset mcp_surface to the file plane (~/.gbrain/config.json) with surface validation so gbrain serve picks 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-status fails when the page is out of date.

Changed

  • Changed gbrain setup codex and gbrain bootstrap hooks --harness codex to default to serve --surface core instead of serve --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 full or set mcp.default_surface_codex full.

  • Default cycle.purge.mcp_request_log_retention_days to 90 days so HTTP MCP request logs no longer grow without limit while preserving lifetime rollups in mcp_request_log_rollup, the 30-day minimum floor, audit rows forever, and explicit off or 0 opt-out.

  • Default google_contacts.identity_links to on for configured Google Contacts sources using exact email and phone matching only, leaving ambiguous or name-disagreement hits unlinked for owner review and keeping off and --unlink opt-outs.

Removed

  • Remove the unused default-off brain_first.policy_line setting, its block-rendering and upgrade-rewrite branches, and its reserved config plumbing.

Fixed

  • Rewrote atomRetirementsSql and its inlined doctor-derived queries to eliminate the doubly-nested correlated EXISTS replacement 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 so gbrain repair atoms-restore and gbrain doctor --only atom_retirements_restorable stay fast before and after ANALYZE, and aligned retired_at ordering to COLLATE "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_in or works_at edges pointing at people.

  • Verb attachment now locates links by their exact offset, stops at sentence boundaries, recognizes partner at, principal at, and associate at as employment cues, avoids reversing passive backed by or raised from funding 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 destructive metadata for every mutating operation and derived annotations.destructiveHint in MCP tool definitions (and curated write annotations) so strictly additive tools such as append_page, add_tag, add_timeline_entry, takes_add, takes_resolve, memory_write, and policy_reserve declare destructiveHint as false instead of inheriting the MCP true default, while destructive deletes, purges, withdrawals, removals, cancellations, overwrites, and mixed-mode tools declare true.

  • Kept read-only tools at readOnlyHint true without destructiveHint per the MCP ToolAnnotations specification, matching idempotentHint, and added contract tests guaranteeing every mutating operation emits an explicit boolean destructiveHint matching its metadata.

  • Pages in another source marked needs_rederive by gbrain delete --purge (whose deleted_at remains NULL) are now hidden across keyword, vector, title, exact-scan, and hybrid search, HTTP and MCP read endpoints, grade_takes evidence 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).

  • hideDerivedRows now records each needs_rederive mark under the derived row's own source_id (and refreshes source_id on conflict) so deleting the purged input's source no longer cascades and un-hides marked pages on surviving sources, while also clearing query_cache on trust-propagation and purge-mirror re-marks.

  • get_raw_data now returns nothing for a page marked needs_rederive, the same as get_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_rederive mark 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 NOBYPASSRLS read roles fail closed unless granted SELECT and a source-scoped policy on needs_rederive (added to the docs/ENGINES.md RLS recipe).

  • Upgrade @ai-sdk/openai from 3.0.58 to 3.0.147 (and @ai-sdk/provider-utils to 4.0.69) so GPT-6 models are recognized as reasoning models, preserve reasoningEffort on the Responses API, and emit developer system messages without unsupported reasoningEffort warnings.

  • Wire GPT-6 thinking-off rows in src/core/ai/thinking-off.ts (none for exact undated gpt-6-luna, gpt-6-sol, and gpt-6.1-terra; low at the caller's requested output cap for other non-chat GPT-6 models including dated snapshots) and align synopsis budget reservations and sweep previews with thinkingOffOutputCap.

  • Replace hard-coded 4.x and 5.2 model IDs in active eval runners, harnesses, and skills with model-config.ts defaults (DEFAULT_ALIASES and TIER_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 across init, 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=1 keep full [AGENT] and [SHOW USER] blocks unchanged.

  • Scoped the openai provider-leak check in test/behavior-change-notice.test.ts to the v0.60.68.0 chat-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 verify gbrain setup and gbrain init brains from any directory including $HOME, supporting repo-less write/recall round-trips with probe cleanup, truthful registered mcp_surface reporting, MCP wiring smoke tests, and per-turn hook checks. On a thin client (a remote brain) it probes the remote /health and skips the local engine, embedding and round-trip checks.

  • Made gbrain bootstrap verify delegate setup-only installs without --workspace to gbrain setup verify while preserving full bootstrap workspace checks and explicit --workspace $HOME refusals.

  • Updated docs/INSTALL.md, docs/GBRAIN_VERIFY.md, and docs/guides/setup.md to point standard installs at gbrain setup verify.

  • schema_review_orphans and schema_stats now filter pages by the caller's visible sources, scopes, and member access instead of leaking private slugs, custom page types, or owner_only source counts.
  • list_link_sources and ontology_dimensions now 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_versions now 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.yml from pull_request_target to pull_request on closed events 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.yml from pull_request_target to pull_request on closed events for merged same-repository PRs and pinned both sparse checkout steps explicitly to ref: master so scripts/fix-wave-closeout.ts always comes from the default branch.

  • Updated workflow unit tests and release documentation while leaving the fork-facing .github/workflows/fix-wave-gate.yml workflow unchanged.

  • Plain gbrain doctor now 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 --verbose to list every check, while --only and --json keep their full output.

  • The doctor brain_score check 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_VERSION from 2 to 3 and recalibrated pickerPrompt() 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_SKILLS from 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-resolver OpenClaw 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, and cold) in skill-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_SCCACHE repository variable is off, 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 test invocations without --timeout=60000 now apply bunfig.toml's 60s timeout across every test file in sequential and --parallel runs through test/helpers/default-timeout-preload.ts, while keeping explicit CLI --timeout flags and per-file or per-test overrides intact.

  • Inherited GIT_AUTHOR_*, GIT_COMMITTER_*, and EMAIL environment variables are now scrubbed at test startup in test/helpers/git-hermetic-preload.ts and 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, and test/repair-file-drift-origin-twin-gbra108.test.ts).

  • The skill_currency doctor 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, and gbrain founder scorecard) now enforce read eligibility so takes on soft-deleted, quarantined, or needs_rederive pages are excluded across PGLite, Postgres, and the Rust store (#10923).

  • grade_takes now 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_takes judge now drops search hits from soft-deleted, quarantined, and needs_rederive pages before the evidence block is built, and a page whose state cannot be read loses only its own hits (#10923).

  • The grade_takes judge 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_takes judge replies now log stop_reason and output_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_takes skip the next ungraded take when the work window spans more than one page (#10938).

  • Detected the claude and codex executables on PATH and in standard user install directories (~/.local/bin, ~/.claude/local, and ~/.bun/bin) during gbrain setup claude-code and gbrain 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 Harness status line, guiding Next to install the harness before opening a session, replacing the misleading wired-and-working copy in first_run_decisions, and emitting structured harness_binary status in --json output.

  • 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 of parse_failed fallbacks, 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 with sync_not_applicable (reason unregistered_repo) and a first-try fix (gbrain sources add for committed Git repos, or gbrain import for plain folders on a default content brain) while redirecting paths that belong to another registered source.

  • resolveManagedSyncContext now checks for gbrain-owned content directories before managedGitTopLevel, eliminating circular gbrain sync --source default fix hints when default is a managed content directory.

  • Updated gbrain --help, gbrain sync --help, gbrain features, and sync docs to show gbrain sources add <id> --path <path> and gbrain 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 stamp speaker_owner on 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 through gbrain git commit-push (untracked or non-Git Google files atomically in place with 0600) or the managed writer coordinator, retries commit_lock_busy once, and returns structured fix.argv recovery commands for writer_coordinator_required, commit_lock_busy, and pending writes (exit 10).
  • Added gbrain facts relink --owner --source <id> to preview and link previously speaker unknown conversation facts onto the owner entity once their page carries a trusted speaker_owner marker, 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-only owner_identity warning in gbrain doctor that reports the flip and prints the preview command.
  • Added strict IP-literal loopback endpoint override helpers (GBRAIN_GOOGLE_API_BASE_URL restricted to http://127.0.0.1 and http://[::1] with no userinfo, path, query, or fragment, and quarantined from cwd .env files in src/core/env-trust.ts) in src/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 their readlink target bytes with a domain-separated symlink:<sha256> tag (plus core.symlinks=false stub 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-Git tree-scope symlinks still refuse writer_manifest_unsafe.

  • Managed directory imports (gbrain import <dir>) now skip reserved skill paths (skills/ at any depth and skillpack.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 with skill_bundle_required.

  • Capped embedding backfills (gbrain embed --stale --yes and --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.

  • embedBatchWithBackoff and background embedding effects now honor RFC 7231 Retry-After response 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-atoms instead of managed-reextract so gbrain repair atoms-restore never 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 doctor atom_retirements_restorable now counts every restorable retirement (both legacy and generation-ledger-recorded) in a single faster query matching gbrain repair atoms-restore one-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.json files 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 exec worker 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 agent agent-launched's, as they already were on Claude Code. A codex exec you start yourself is still yours, and the npm codex wrapper that starts the native binary no longer counts as a launcher. Upgrading does not rewrite existing Codex hooks, so re-run gbrain setup codex (or gbrain bootstrap hooks if you installed hooks that way) to pick up the new hook command; setting GBRAIN_SESSION_AGENT in your launcher still works and takes precedence.

  • Windows gbrain setup turn-hook verification now runs Claude Code hooks through Git Bash (gitBashPath()) with Windows runtime environment variables preserved instead of spawning bare sh, 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 import now uses bigint stat metadata when tracking visited directories so NTFS volumes mounted through WSL2 VirtioFS with 64-bit inode numbers above Number.MAX_SAFE_INTEGER are no longer misclassified as symlink cycles and skipped (fixes #10870, contributed by @shawnholt).

  • gbrain setup --notes, --docs, and --transcripts now 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'utilisateur and L’assistant while 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 --harness now 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 under skillpack-bridge-state.json.lock, and reclaims stale skillpack locks atomically (fixes #10098, reported by @exGeni, contributed by @javieraldape).

  • Managed extract_atoms drains now compare the sanitized model input digest (inputSha256) against the newest completed checkpoint for the page and record a completion checkpoint for the new content_hash when 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 ## Takes and ## Facts headings 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 atomsContentHash on reused checkpoints and updated gbrain doctor's atom_provenance_drift check to recognize atoms whose source_hash matches 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, and destination across retained-generation completions.

  • Omitted Anthropic cache_control on 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 parsePickerReply to 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 of parse_failed fallbacks.

  • 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.md or Codex's AGENTS.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 one owner line naming the file it wrote. --no-owner-card removes the card and remembers the choice, --owner-card opts back in, and --no-instructions and --remove take 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 --card prints that card as JSON, with whether the brain serves several people.
  • Widened automatic conversation slot tagging in src/core/facts/slot-tagging.ts beyond location, employer, and role on person pages to tag all single-valued dimensions (location including headquarters, employer, role, team, manager, compensation, status, plan, valuation, budget) plus scoped functional lead and vendor slots 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> and vendor:<scope>, such as lead:ops and vendor:logistics, plus headquarters aliases to location) and expanded state-change cues in src/core/facts/slots.ts so concurrent functional leads and vendors stay isolated and never end one another at read time.
  • Extended readSlotRows, readEntityDatedFacts, applySlotEnds, and readSlotHistory to query and isolate scoped lead and vendor slots 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_link rules 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_VERSION to 8 so gbrain doctor prompts once for a fresh read-only gbrain transcripts audit-secrets check 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_VERSION to 2 with explicit abstention guidance for casual banter, acknowledgements, reactions, and stray-keyword matches while preserving recall on short task commands.

  • Expanded isAcknowledgement in 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-resolver OpenClaw plugin code to version 15 with separate opt-in skills.resolver.per_harness.openclaw.router support (strictly off by default, even when global skills.resolver.router is on for hook lanes). When turned on, the plugin reuses the existing router_* model, timeout, and spend settings, extends its turn deadline by router_timeout_ms plus 100 ms, forwards only allowlisted provider credentials to the worker thread, logs picker outcomes on OpenClaw turn lines (read by gbrain 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. Its gbrain engine shadow reseed cannot retire that store (store_unreadable), so going back takes these steps: gbrain engine shadow stop, install the older build, move store/ and seed.json out of <gbrain home>/shadow/<brain>/ by hand, then gbrain engine shadow seed and gbrain engine shadow start on 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_owner entry 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 note speaker 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 --conversation no longer links a fact to the owner from a name or a page link either; it reports the new reason owner_unproven. A re-extraction no longer carries an earlier link to a fact now marked speaker 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_owner entry.

  • 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>, else memory/owner). An unproven fact filed on any of them is speaker-unknown, and none of those pages is merged or edited. gbrain doctor's owner_identity check no longer warns about it, gbrain identity --json lists those pages under pages instead of a several_pages conflict, and gbrain identity names each as source: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, else memory/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_owner entry 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 X and x dead-task states in /proc/<pid>/stat as exited alongside Z zombies in src/core/bounded-child-exec.ts and process-tree tests so a descendant mid-reap during release_task() is no longer misread as still alive.

  • Warmed up BodyScanner and settled JavaScriptCore's post-GC baseline in test/large-pages/body-scan-memory.test.ts before 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 in StdioMcp.close(), terminated descendant processes on cell teardown, and flushed stdout before explicit exit in scripts/upgrade-matrix.ts so 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 out transcripts.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 false null reads 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 and engine.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 name transaction still 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_mode doctor registry entry into separate single-priority entries (search_mode, wedged_queue, orphaned_private_queue, google_oauth, and graph_signals_coverage) so gbrain doctor --priority p0 runs only P0 work without executing hygiene checks.

  • Extended plainlyPrivate matching for ignored access and confidentiality labels to catch compound spellings such as topsecret, psychotherapy notes, privateNotes, mentalHealth, biomedical, strictlyConfidential, and eyesOnly while continuing to reject negations and unrelated substrings.

  • Stopped readHonorAliases from 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), so privacy_label_ignored and derived_visibility surface a bounded unknown instead of a false clean result.

  • Preserved and shell-quoted the requested --priority, --tier, --only, and --alert flags in the doctor_tier_unavailable suggestion and fix.argv returned to thin clients, and rejected invalid --tier values before building a handoff.

  • Surfaced non-zero P0 connection failures, warnings, and unknowns in the Priority summary line during gbrain doctor --priority hygiene runs so a database outage never reads as clean.

  • Aligned put_page, import, sync, and privacy_label_ignored doctor scans on visibility.honor_aliases off and on excluding readable_by, applied folder rules, and pending folder prefixes from remote-read exposure across PGLite, Postgres, and the Rust store, while put_page and 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 if put_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) when privacy_label_ignored hits 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_ignored with a single sources query matching getSourceStrictness for repo-less, ordinary checkouts, and canonical: git bindings, omitting the git sentence on repo-less brains and describing recognized alias values as staying out of git only where the writer actually enforces canonical: git.

  • Canonicalized OpenClaw state, config, and managed plugin directory paths with nearest-ancestor realpath handling so symlinked ~/.openclaw, OPENCLAW_STATE_DIR, and OPENCLAW_PROFILE mounts pass canonical paths to openclaw plugins install --link even before the plugin folder exists.

  • Scoped plugins.load.paths cleanup and plugins.installs relinking 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 (keeping INDEX_FORMAT = 1 so metadata-only readers stay compatible before automatic rebuild), replacing flat bag-of-words trigger and reference concatenation with disjunctive per-phrase scoring, per-file references/*.md child 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_gate calibration across Variant D and Variant T catalogs.

  • Fixed parseReferenceDoc so ## When to use and ## Triggers sections 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 priority field (p0 or hygiene) to each entry in gbrain doctor --json's top_issues list.