Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(questions): questions_* are on the full surface every registration pins since #6327; starter callers find them through request_tools
garrytan7c0ded1609e5
diff --git a/docs/architecture/key-files/core-questions.md b/docs/architecture/key-files/core-questions.mdindex 26f4272ddb..e1d39c083f 100644--- a/docs/architecture/key-files/core-questions.md+++ b/docs/architecture/key-files/core-questions.md@@ -24,7 +24,7 @@ User guide: [docs/guides/pinned-questions.md](../../guides/pinned-questions.md).- `src/core/questions/auto-think-migration.ts` — Maps the seven `dream.auto_think` keys onto pins without creating consent (disabled or zero budget → inactive; `auto_commit=false` → draft; cooldown and model per pin; budget, max and allow_unpriced seed `cycle.standing_questions.*` only when unset). Config reads and inserts only; idempotent. `autoThinkReplacement` is what `gbrain config get|set` prints for an old key.-- `src/core/ops/questions.ts` — `questions_pin`, `questions_refresh`, `questions_unpin` (write, `writeInference` `explicit_llm` / `none`) and `questions_list`, `questions_status` (read). Full surface only (not `STARTER_OPS`). CLI equivalents in `src/core/ops/cli-equivalent.ts`.+- `src/core/ops/questions.ts` — `questions_pin`, `questions_refresh`, `questions_unpin` (write, `writeInference` `explicit_llm` / `none`) and `questions_list`, `questions_status` (read). On the full surface registrations pin (not `STARTER_OPS`). CLI equivalents in `src/core/ops/cli-equivalent.ts`.- `src/commands/questions.ts` — `gbrain questions pin|list|status|refresh|unpin` through `handleToolCall` (trusted local); exit 1 when the answer is blocked or a refresh did not publish.diff --git a/docs/guides/pinned-questions.md b/docs/guides/pinned-questions.mdindex 366ca033f0..4b4b5be775 100644--- a/docs/guides/pinned-questions.md+++ b/docs/guides/pinned-questions.md@@ -26,7 +26,8 @@ receipt described below. The command exits 1 when the answer is blocked.The same operations exist over MCP: `questions_pin`, `questions_list`,`questions_status`, `questions_refresh` and `questions_unpin`. They are on the-full tool surface (not the starter surface).+full tool surface, the one gbrain's MCP registrations use; a harness narrowed+to `starter` finds them through `request_tools`.| Tool | Scope | What it does ||---|---|---|diff --git a/src/core/ops/questions.ts b/src/core/ops/questions.tsindex ecb12cbb36..56ac2bdb4e 100644--- a/src/core/ops/questions.ts+++ b/src/core/ops/questions.ts@@ -1,8 +1,8 @@/*** questions_* ops: pinned questions (standing answers kept current from* evidence). Owner-private in v1: every op refuses callers that cannot read- * private pages (src/core/questions/service.ts). Full MCP surface only (not- * in STARTER_OPS); `gbrain questions <verb>` is the CLI.+ * private pages (src/core/questions/service.ts). On the full MCP surface that+ * registrations pin, not in STARTER_OPS; `gbrain questions <verb>` is the CLI.*/import type { Operation, ParamDef } from './contract.ts';