Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(D2/D4): CHANGELOG entry
garrytan63cf2867f8ef
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d6da2a2361..2d5a1d2fd2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,17 @@ credits are retained; no result has been reassigned to another provider. Originaidentifiers and attribution are available in the pre-removal Git revision`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).+## [0.60.186.0] - 2026-10-12++**An agent is told when a result leaves out something it could get, and how to get it with what its connection can actually call (D2), and an authenticated connection whose grant blocks operations it could use is told why and what the host can run, without naming any operation (D4).** Before, `get_page`, `search` and `query` dropped takes on surfaces that hide `takes_list` and said nothing, so models either refused or guessed; a "call `takes_list`" hint on a `starter` registration would have led to `unknown_tool`. On a Cat 40 smoke, gpt-6.1-sol answered 10 of 10 hidden-takes tasks on this branch against 1 of 10 on master (Opus 5.5 and Sonnet 5.5 10 of 10, at the ceiling), with 0 leaks, 0 unsafe writes and 0 `unknown_tool` answers after a notice. Nothing a connection can call changes, and no tool schema changes.++### Itemized changes++- **`hidden_tool_content` notice (D2):** `get_page`, `search` and `query` results that omit takes carry it. Its next step comes from the one shared F6 decision (`hiddenToolRoute` in `src/mcp/hidden-tool-hint.ts`) on every transport: call `takes_list` when it is callable, widen once with `request_tools {surface}` when the ceiling allows it, otherwise the host route. It never names a tool the connection's ceiling refuses; read-only access, operator pins and the force-surface clamp hold.+- **`grant_blocked_operations` notice (D4):** delivered once per (principal, session), or once per grant revision for stateless HTTP calls, through the notice ledger. It counts currently eligible operations the grant excludes within its scope and names none, separates proven blockers (scope, operation snapshot, client pin, server ceiling) from grant age ("original intent unknown" for grants without catalog provenance), and gives a preview-then-apply host command. A missing scope is named only on a refused call; when only the server ceiling blocks, the fix is the read-only doctor check.+- **Errors and docs:** both codes in `src/core/error-registry.ts` and `error-catalogue.ts` with read-only verify steps; `docs/guides/repair.md`, `docs/mcp/ADMIN.md`, `docs/guides/hosted-harness-access.md` and `skills/mcp-access/SKILL.md` updated; one BEHAVIOR_CHANGES row.+- **Tests:** the D2 installed-configuration matrix in `test/hidden-tool-hint.test.ts` (callable `starter`, `full`, `verbs`, read-only stdio, pinned HTTP, a client that ignores `tools/list_changed`; every emitted next step is callable on its connection), every D4 hermetic case in the new `test/grant-blocked-notice.test.ts`, and the N6 visibility fuzz with 0 content leaks, 0 existence leaks and 0 oracles across `get_page`, `search`, `query`, `takes_list` and `whoami`. Smoke receipt: gbrain-evals v0.10.79, `docs/benchmarks/2026-10-12-d2d4-smoke/`.+## [0.60.185.0] - 2026-10-12**Agents that share one brain checkout no longer stash, revert or ship each other's half-written files when they commit and push (#6530).** Skills and the committed `scripts/brain-commit-push.sh` used to run `git pull --rebase --autostash` and repo-wide adds in the shared working tree. A rebase that crashed or conflicted left `.git/rebase-merge` holding another agent's edits in its autostash, and a later "repair" could silently revert them. New `gbrain git commit-push` commits only the paths you name, merges a rejected push with the remote in memory, and moves the checkout fast-forward only. Run `gbrain sources harden <id>` once per hardened brain to switch its helper and post-commit hook to it. Brain history now gets merge commits instead of rebased linear history. Guide: `docs/guides/shared-checkout-git.md`.