Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(pre-gate): regenerate manifests and goldens on the merged tree

garrytaned7a96a6f54e
diff --git a/docs/TOOL_CATALOG.md b/docs/TOOL_CATALOG.md
index afc27240d6..af23869dde 100644
--- a/docs/TOOL_CATALOG.md
+++ b/docs/TOOL_CATALOG.md
@@ -15,7 +15,7 @@ Every non-localOnly operation on the MCP surface: 149 tools across 25 areas. **S
| `get_status_snapshot` | Snapshot for `gbrain status` thin-client mode: sync freshness + last cycle + queue depths + worker liveness. | admin | | |
| `get_usage` | Aggregate chat usage + cost from the chat_usage_log ledger (per-model and per-phase token counts, cache reads/writes, USD estimates) with explicit coverage fields. | admin | | |
| `get_write_attribution` | Admin read: who created and who last changed a page, or one of its facts, takes or timeline entries. | admin | | |
-| `mute_notice` | Mute a coaching or info notice (or first_run_decisions) for this client; muted: false unmutes. | write | yes | |
+| `mute_notice` | Mute a coaching or info notice (or first_run_decisions) for this client. | write | yes | |
| `quarantine_list` | List quarantined (hidden) and optionally content-flagged pages by scanning page frontmatter, newest-updated first. | admin | | |
| `run_doctor` | Run brain health checks and return a structured DoctorReport (thin-client doctor surface). | admin | | |
| `run_onboard` | Probe brain health + optionally submit onboard remediations. | admin | | |
@@ -52,7 +52,7 @@ Every non-localOnly operation on the MCP surface: 149 tools across 25 areas. **S
| Tool | Description | Scope | Starter | Gate |
|---|---|---|---|---|
-| `request_tools` | More tools: no arguments lists your catalog; {tools: [names]} returns schemas; {surface} widens it (per OAuth client or stdio session). | read | yes | |
+| `request_tools` | More tools: no arguments lists your catalog; {tools: [names]} returns schemas; {surface} widens it (per client or stdio session). | read | yes | |
## entities
@@ -167,7 +167,7 @@ Every non-localOnly operation on the MCP surface: 149 tools across 25 areas. **S
| Tool | Description | Scope | Starter | Gate |
|---|---|---|---|---|
-| `cancel_write_request` | Cancel your accepted write before it publishes. | write | yes | |
+| `cancel_write_request` | Cancel your accepted write before it publishes; returns the receipt. | write | yes | |
| `capture` | Quick note ("just remember this"): slugged under inbox/ by date + content hash, so recapturing is idempotent. | write | yes | |
| `delete_page` | Soft-delete a page and remove its markdown file from the source working tree (the source local_path, or sync.repo_path when the source has none). | write | | |
| `edit_page` | Change part of a page: prefer this over put_page for small changes. | write | yes | |
@@ -176,10 +176,10 @@ Every non-localOnly operation on the MCP surface: 149 tools across 25 areas. **S
| `get_page` | Read a page by slug. | read | yes | |
| `get_raw_data` | Retrieve raw data for a page. | read | | |
| `get_versions` | Page version history, newest snapshot first. | read | | |
-| `get_write_request` | Read your write's receipt by request_id (after write_pending or a lost reply). | write | yes | |
+| `get_write_request` | Your write's receipt by request_id (after write_pending or a lost reply). | write | yes | |
| `list_page_purges` | Owner-only (`gbrain pages purges list`). | admin | | |
| `list_pages` | List pages with filters. | read | yes | |
-| `list_write_requests` | List your write receipts in one source, newest first, for a lost request_id. | write | yes | |
+| `list_write_requests` | Your write receipts in one source, newest first (for a lost request_id). | write | yes | |
| `put_page` | Complete content REPLACES the whole page: read get_page include_content:true; send its revision as expected_revision. | write | yes | |
| `put_pages` | Write up to 50 complete Markdown pages (8 MB total) in one call; use instead of put_page for more than 3 pages. | write | | |
| `put_raw_data` | Store a raw provider payload (API response JSON) alongside a page, keyed by source. | write | | |
@@ -218,7 +218,7 @@ Every non-localOnly operation on the MCP surface: 149 tools across 25 areas. **S
|---|---|---|---|---|
| `assemble_evidence` | Deliver whole evidence for an ordered list of search hits (each {source_id, slug, chunk_id} from a prior search/query result): the same windows, sections or pages `query` returns with return_unit, packed into token_budget. | read | | |
| `cache_stats` | Semantic query-cache introspection: resolved knobs (enabled, similarity threshold, TTL) plus row counts and total hits. | admin | | |
-| `query` | Hybrid search for concept/landscape questions; expand adds multi-query expansion (expansion recovers synonyms). | read | yes | |
+| `query` | Hybrid search for concept/landscape questions and people/companies/projects by topic; expand adds multi-query expansion (expansion recovers synonyms). | read | yes | |
| `rate_answer` | Rate how useful an answer's retrieved evidence was, so this brain ranks better next time (zero LLM calls). | write | | |
| `search` | Cheap hybrid search, no LLM expansion, top 20: exact tokens, names, field values. | read | yes | |
| `search_by_image` | Image-as-query retrieval. | read | | |
@@ -232,11 +232,11 @@ Every non-localOnly operation on the MCP surface: 149 tools across 25 areas. **S
|---|---|---|---|---|
| `delete_skill` | CAS-delete a canonical shared skill and revoke future managed activation. | write + skill_editor | yes | |
| `get_skill` | Fetch a skill's prose and follow it: when it says search or store, call the same-named MCP tool here. | read | yes | `mcp.publish_skills` |
-| `get_skill_asset` | Read an approved file from an exact skill revision (data only; never executed). | read | yes | `mcp.publish_skills` |
+| `get_skill_asset` | Read an approved file from an exact skill revision (data, never executed). | read | yes | `mcp.publish_skills` |
| `get_skill_policy` | Read the owner publication policy and CAS epoch, including when sharing is disabled. | admin + skill_publisher | | |
| `join_brain` | Enroll this authenticated principal to follow approved shared skills. | read + skills_member_self | yes | |
| `leave_brain` | Stop only this principal’s enrollment. | read + skills_member_self | yes | |
-| `list_brain_skillpack` | Skillpacks this brain ships, with skills and a scaffold spec to offer the user. | read | yes | `mcp.publish_skills` |
+| `list_brain_skillpack` | Skillpacks this brain ships: skills and a scaffold spec to offer the user. | read | yes | `mcp.publish_skills` |
| `list_skills` | Skills: prose instruction sets (NOT executable code) for tasks with this server's tools, with triggers, usable_tools and unavailable_tools. | read | yes | `mcp.publish_skills` |
| `put_skill` | Publish a complete file-canonical skill revision with CAS and a durable receipt. | write + skill_editor | yes | |
| `set_skill_policy` | Explicitly approve a versioned shared-skill disclosure and follow policy. | admin + skill_publisher | | |
diff --git a/src/core/cli-flag-registry.generated.ts b/src/core/cli-flag-registry.generated.ts
index 3363ea8c4a..333f93a118 100644
--- a/src/core/cli-flag-registry.generated.ts
+++ b/src/core/cli-flag-registry.generated.ts
@@ -47,7 +47,7 @@ export const CLI_FLAG_REGISTRY: Record<string, readonly string[]> = {
'creds': ['--allow-create-db', '--allow-docker', '--brain', '--chat-model', '--content-root', '--db-only', '--embedding-dimensions', '--embedding-model', '--expansion-model', '--force', '--git', '--grant-types', '--help', '--http', '--ids', '--issuer-url', '--json', '--key', '--local-postgres', '--mcp-only', '--mcp-url', '--migrate-only', '--model', '--no-embedding', '--no-git', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--out', '--passphrase-env', '--path', '--pglite', '--plan', '--prefer-postgres', '--provenance', '--provider', '--query', '--schema-pack', '--scopes', '--search-mode', '--skip-embed-check', '--source', '--status', '--supabase', '--surface', '--to', '--url', '--version'],
'db-repair': ['--accept-pending', '--apply', '--apply-rewrites', '--background', '--brain', '--break-lock', '--db-url', '--dry-run', '--explain', '--filter', '--follow', '--force', '--force-retry', '--format', '--help', '--http', '--json', '--locks', '--name', '--no-accept-pending', '--path', '--prefer-postgres', '--probe', '--progress-interval', '--progress-json', '--quiet', '--remediate', '--restart', '--skip-verify', '--source', '--supabase', '--timeout', '--undo-last-rewrite', '--url', '--version', '--wait', '--yes'],
'decide': ['--accept-all', '--all', '--all-from', '--apply', '--brain', '--call-site', '--dataset', '--dry-run', '--egress', '--embedding-dimensions', '--embedding-model', '--expect', '--from', '--help', '--include-withdrawals', '--input', '--json', '--kind', '--limit', '--max-cost', '--max-usd', '--min', '--non-interactive', '--out', '--provenance', '--provider', '--query', '--rate', '--reason', '--reason-family', '--recommended', '--remove', '--shadow', '--since', '--slot', '--source', '--status', '--suite', '--target', '--threshold', '--trust', '--undo', '--uri-prefix', '--version', '--what-if-threshold', '--yes'],
- 'doctor': ['--abandon', '--abbrev-ref', '--accept-pending', '--access', '--acknowledge-managed', '--add', '--admin-intent', '--adopt', '--adopt-columns', '--adopt-permissions', '--all', '--all-from', '--allow-old-serve', '--allow-shell-jobs', '--allow-unverified-remote', '--allowed-operations', '--apply', '--apply-rewrites', '--assign-corpus', '--audit', '--auto', '--auto-fix', '--autostash', '--background', '--bound-brain', '--bound-max-concurrent', '--bound-slug-prefixes', '--bound-source', '--bound-tools', '--brain', '--branch', '--break-lock', '--budget-ms', '--budget-usd', '--by-mention', '--cached', '--call-site', '--catch-up', '--check', '--client', '--concurrency', '--confidence', '--confirm', '--confirm-quiesced', '--confirm-relocated-root', '--contacts-dir', '--content-audit', '--content-root', '--count', '--dataset', '--db-url', '--delegated-namespace', '--delegated-slug-prefixes', '--delete-brain', '--dest', '--detach', '--diff-filter', '--dim', '--dir', '--disable', '--drain', '--drain-timeout', '--dry-run', '--egress', '--embedding-dimensions', '--embedding-model', '--enable', '--end-of-options', '--env', '--error-unmatch', '--exclude', '--exclude-standard', '--expand', '--expect', '--expect-remote', '--expected-epoch', '--expected-revision', '--expected-state', '--explain', '--facts', '--fast', '--federated-read', '--fetch-timeout-ms', '--ff-only', '--file', '--fix', '--follow', '--force', '--force-rechunk', '--force-retry', '--force-schema', '--format', '--fresh', '--from', '--from-meetings', '--from-pages', '--full', '--get', '--git-common-dir', '--git-dir', '--git-path', '--group', '--hard', '--hard-deadline', '--harness', '--help', '--home', '--http', '--id', '--if-version', '--ignore-env-override', '--images', '--include-ambiguous', '--include-flagged', '--include-gitignored', '--include-hidden', '--include-pseudo', '--include-repairs', '--include-withdrawals', '--index-audit', '--init', '--input', '--install', '--is-ancestor', '--is-inside-work-tree', '--job-isolation', '--jq', '--json', '--lanes', '--lang', '--left-right', '--limit', '--link-source', '--link-type', '--list', '--local', '--local-env-vars', '--locks', '--log-noop', '--manifest', '--markdown', '--max-cost', '--max-cost-usd', '--max-jobs', '--max-rss', '--max-runtime', '--max-usd', '--max-waiting', '--mcp-only', '--migrate-legacy', '--migrate-only', '--migration', '--min', '--mode', '--multimodal', '--name-only', '--nice', '--no-accept-pending', '--no-autopilot-install', '--no-autostash', '--no-capture', '--no-confirm', '--no-cron', '--no-delegate', '--no-edit', '--no-embed', '--no-embedding', '--no-expand', '--no-extract', '--no-hooks', '--no-lanes', '--no-llm', '--no-migrate', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-seat', '--no-tags', '--no-verify', '--non-interactive', '--once', '--only', '--operations', '--others', '--out', '--output', '--overwrite', '--page', '--parallel', '--params', '--pat-file', '--path', '--path-format', '--pglite', '--phase', '--pid-file', '--plan', '--porcelain', '--port', '--prefer-postgres', '--preset', '--preview', '--probe', '--probe-pglite', '--profile', '--progress-interval', '--progress-json', '--project', '--provider', '--prune-orphans', '--pull', '--pure', '--push-only', '--query', '--question', '--queue', '--quiet', '--rate', '--reauth', '--rebase', '--recommended', '--reference-date', '--refresh', '--refresh-operations', '--refresh-skills', '--regenerate', '--reissue', '--relative', '--remediate', '--remediation-plan', '--remove', '--remove-core', '--repair', '--replace', '--repo', '--request-id', '--require-clean', '--reranker', '--reset', '--reset-checkpoint', '--reset-default', '--resolve', '--restore-only', '--resume', '--retry-failed', '--reverse', '--review-lower', '--revision', '--rollback-to-source', '--scope', '--scopes', '--search-mode', '--seat', '--section', '--select', '--self-transfer', '--session', '--set', '--set-upstream-to', '--shadow', '--short', '--show-current', '--show-prefix', '--show-token', '--show-toplevel', '--since', '--skills-dir', '--skip', '--skip-bare-tweet', '--skip-failed', '--skip-urls', '--skip-verify', '--slot', '--slug', '--slugs', '--source', '--source-id', '--sources', '--src-subpath', '--staged', '--stale', '--status', '--stdin', '--strategy', '--strict', '--suite', '--supabase', '--surface', '--symbol-kind', '--symbolic-full-name', '--takes-holders', '--target', '--target-score', '--threshold', '--timeout', '--to', '--token', '--token-ttl', '--top-k', '--trust', '--type', '--uninstall', '--unsafe-bypass-dream-guard', '--unset-all', '--untracked-files', '--url', '--url-env', '--user', '--vectors', '--verbose', '--verify', '--version', '--wait', '--wait-drain', '--warn-only', '--what-if-threshold', '--window', '--workers', '--working-tree', '--workspace', '--yes'],
+ 'doctor': ['--abandon', '--abbrev-ref', '--accept-pending', '--access', '--acknowledge-managed', '--add', '--admin-intent', '--adopt', '--adopt-columns', '--adopt-permissions', '--all', '--all-from', '--allow-old-serve', '--allow-shell-jobs', '--allow-unverified-remote', '--allowed-operations', '--apply', '--apply-rewrites', '--assign-corpus', '--audit', '--auto', '--auto-fix', '--autostash', '--background', '--bound-brain', '--bound-max-concurrent', '--bound-slug-prefixes', '--bound-source', '--bound-tools', '--brain', '--branch', '--break-lock', '--budget-ms', '--budget-usd', '--by-mention', '--cached', '--call-site', '--catch-up', '--check', '--client', '--concurrency', '--confidence', '--confirm', '--confirm-quiesced', '--confirm-relocated-root', '--contacts-dir', '--content-audit', '--content-root', '--count', '--dataset', '--db-url', '--delegated-namespace', '--delegated-slug-prefixes', '--delete-brain', '--dest', '--detach', '--diff-filter', '--dim', '--dir', '--disable', '--drain', '--drain-timeout', '--dry-run', '--egress', '--embedding-dimensions', '--embedding-model', '--enable', '--end-of-options', '--env', '--error-unmatch', '--exclude', '--exclude-standard', '--expand', '--expect', '--expect-remote', '--expected-epoch', '--expected-revision', '--expected-state', '--explain', '--facts', '--fast', '--federated-read', '--fetch-timeout-ms', '--ff-only', '--file', '--fix', '--follow', '--force', '--force-rechunk', '--force-retry', '--force-schema', '--format', '--fresh', '--from', '--from-meetings', '--from-pages', '--full', '--get', '--git-common-dir', '--git-dir', '--git-path', '--group', '--hard', '--hard-deadline', '--harness', '--help', '--home', '--http', '--id', '--if-version', '--ignore-env-override', '--images', '--include-ambiguous', '--include-flagged', '--include-gitignored', '--include-hidden', '--include-pseudo', '--include-repairs', '--include-withdrawals', '--index-audit', '--init', '--input', '--install', '--is-ancestor', '--is-inside-work-tree', '--job-isolation', '--jq', '--json', '--lanes', '--lang', '--left-right', '--limit', '--link-source', '--link-type', '--list', '--local', '--local-env-vars', '--locks', '--log-noop', '--manifest', '--markdown', '--max-cost', '--max-cost-usd', '--max-jobs', '--max-rss', '--max-runtime', '--max-usd', '--max-waiting', '--mcp-only', '--migrate-legacy', '--migrate-only', '--migration', '--min', '--mode', '--multimodal', '--name-only', '--nice', '--no-accept-pending', '--no-autopilot-install', '--no-autostash', '--no-capture', '--no-confirm', '--no-cron', '--no-delegate', '--no-edit', '--no-embed', '--no-embedding', '--no-expand', '--no-extract', '--no-hooks', '--no-lanes', '--no-llm', '--no-migrate', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-seat', '--no-tags', '--no-verify', '--non-interactive', '--once', '--only', '--operations', '--others', '--out', '--output', '--overwrite', '--page', '--parallel', '--params', '--pat-file', '--path', '--path-format', '--pglite', '--phase', '--pid-file', '--plan', '--porcelain', '--port', '--prefer-postgres', '--preset', '--preview', '--probe', '--probe-pglite', '--profile', '--progress-interval', '--progress-json', '--project', '--provider', '--prune-orphans', '--pull', '--pure', '--purge', '--push-only', '--query', '--question', '--queue', '--quiet', '--rate', '--reauth', '--rebase', '--recommended', '--reference-date', '--refresh', '--refresh-operations', '--refresh-skills', '--regenerate', '--reissue', '--relative', '--remediate', '--remediation-plan', '--remove', '--remove-core', '--repair', '--replace', '--repo', '--request-id', '--require-clean', '--reranker', '--reset', '--reset-checkpoint', '--reset-default', '--resolve', '--restore-only', '--resume', '--retry-failed', '--reverse', '--review-lower', '--revision', '--rollback-to-source', '--scope', '--scopes', '--search-mode', '--seat', '--section', '--select', '--self-transfer', '--session', '--set', '--set-upstream-to', '--shadow', '--short', '--show-current', '--show-prefix', '--show-token', '--show-toplevel', '--since', '--skills-dir', '--skip', '--skip-bare-tweet', '--skip-failed', '--skip-urls', '--skip-verify', '--slot', '--slug', '--slugs', '--source', '--source-id', '--sources', '--src-subpath', '--staged', '--stale', '--status', '--stdin', '--strategy', '--strict', '--suite', '--supabase', '--surface', '--symbol-kind', '--symbolic-full-name', '--takes-holders', '--target', '--target-score', '--threshold', '--timeout', '--to', '--token', '--token-ttl', '--top-k', '--trust', '--type', '--uninstall', '--unsafe-bypass-dream-guard', '--unset-all', '--untracked-files', '--url', '--url-env', '--user', '--vectors', '--verbose', '--verify', '--version', '--wait', '--wait-drain', '--warn-only', '--what-if-threshold', '--window', '--workers', '--working-tree', '--workspace', '--yes'],
'dream': ['--audit-rejects', '--brain', '--cancel-unmatched', '--date', '--dir', '--drain', '--dry-run', '--eval-run', '--force', '--from', '--help', '--input', '--install', '--json', '--limit', '--list', '--max-usd', '--once', '--path', '--phase', '--pull', '--reconcile-queue', '--since', '--source', '--source-id', '--threshold', '--to', '--unsafe-bypass-dream-guard', '--window', '--yes'],
'edge-proposals': ['--access', '--add', '--all-applied', '--all-held', '--allowed-operations', '--asof', '--bound-slug-prefixes', '--brain', '--client', '--date', '--dated-since', '--days', '--entities', '--federated-read', '--full', '--fuzzy', '--help', '--http', '--id', '--include-deleted', '--json', '--kind', '--limit', '--max-usd', '--model', '--multimodal', '--no-autopilot-install', '--page', '--params', '--path', '--phase', '--purge', '--recent', '--refresh-operations', '--row', '--scopes', '--session', '--since', '--slugs', '--source', '--sources', '--stale', '--status', '--surface', '--to', '--updated-after', '--url', '--yes'],
'edges-backfill': ['--all-sources', '--brain', '--concurrency', '--help', '--json', '--max-chunks', '--source', '--workers'],
@@ -73,11 +73,11 @@ export const CLI_FLAG_REGISTRY: Record<string, readonly string[]> = {
'graph-query': ['--brain', '--depth', '--direction', '--help', '--hop', '--include-foreign', '--json', '--mcp-only', '--source', '--type'],
'hook': ['--allow-unverified-remote', '--auto', '--brain', '--branch', '--cached', '--count', '--diff-filter', '--enable', '--end-of-options', '--env', '--get', '--harness', '--help', '--jq', '--json', '--limit', '--name-only', '--others', '--pat-file', '--path', '--porcelain', '--pure', '--quiet', '--remove', '--seat', '--session', '--show-current', '--show-toplevel', '--since', '--source', '--yes'],
'import': ['--accept-pending', '--admin-intent', '--allow-empty', '--allow-noncanonical-root', '--apply', '--background', '--brain', '--cached', '--confirm-relocated-root', '--diff-filter', '--dim', '--embedding-dimensions', '--embedding-model', '--empty', '--exclude', '--exclude-standard', '--expected-epoch', '--expected-state', '--explain', '--follow', '--force', '--force-rechunk', '--format', '--fresh', '--help', '--include-gitignored', '--is-shallow-repository', '--json', '--log-noop', '--manifest', '--name-only', '--no-accept-pending', '--no-embed', '--no-embedding', '--no-gpg-sign', '--no-pull', '--no-renames', '--no-verify', '--only', '--others', '--path', '--probe', '--progress-interval', '--progress-json', '--quiet', '--self-transfer', '--show-toplevel', '--skip-failed', '--slugs', '--source', '--source-id', '--stale', '--status', '--supabase', '--timeout', '--to', '--url', '--verify', '--wait', '--workers'],
- 'init': ['--access', '--acknowledge-managed', '--adopt', '--allow-create-db', '--allow-docker', '--apply', '--assign-corpus', '--auto', '--background', '--bound-slug-prefixes', '--brain', '--break-lock', '--budget-ms', '--budget-usd', '--chat-model', '--check', '--confirm-relocated-root', '--content-root', '--db-only', '--dest', '--dim', '--disable', '--drain', '--embedding-dimensions', '--embedding-model', '--enable', '--expand', '--expansion-model', '--expect-remote', '--facts', '--fix', '--force', '--from-meetings', '--full', '--git', '--grant-types', '--harness', '--help', '--http', '--id', '--images', '--issuer-url', '--json', '--key', '--lanes', '--limit', '--list', '--local-postgres', '--markdown', '--max-usd', '--mcp-only', '--mcp-url', '--migrate-only', '--migration', '--model', '--no-autopilot-install', '--no-autostash', '--no-delegate', '--no-embed', '--no-embedding', '--no-expand', '--no-git', '--no-llm', '--no-pull', '--no-repair', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--once', '--only', '--page', '--params', '--pat-file', '--path', '--pglite', '--phase', '--plan', '--prefer-postgres', '--preview', '--probe', '--profile', '--provenance', '--pull', '--push-only', '--query', '--question', '--quiet', '--rebase', '--reference-date', '--remediate', '--remove', '--reset', '--resolve', '--retry-failed', '--save', '--schema-pack', '--scope', '--scopes', '--search-mode', '--section', '--self-transfer', '--show-toplevel', '--skip-embed-check', '--slugs', '--source', '--source-id', '--stale', '--status', '--supabase', '--surface', '--to', '--touchpoint', '--url', '--url-env', '--version', '--wait', '--warn-only', '--workspace', '--yes'],
+ 'init': ['--access', '--acknowledge-managed', '--adopt', '--allow-create-db', '--allow-docker', '--apply', '--assign-corpus', '--auto', '--background', '--bound-slug-prefixes', '--brain', '--break-lock', '--budget-ms', '--budget-usd', '--chat-model', '--check', '--confirm-relocated-root', '--content-root', '--db-only', '--dest', '--dim', '--disable', '--drain', '--embedding-dimensions', '--embedding-model', '--enable', '--expand', '--expansion-model', '--expect-remote', '--facts', '--fast', '--fix', '--force', '--from-meetings', '--full', '--git', '--grant-types', '--harness', '--help', '--http', '--id', '--images', '--issuer-url', '--json', '--key', '--lanes', '--limit', '--list', '--local-postgres', '--markdown', '--max-usd', '--mcp-only', '--mcp-url', '--migrate-only', '--migration', '--model', '--no-autopilot-install', '--no-autostash', '--no-delegate', '--no-embed', '--no-embedding', '--no-expand', '--no-git', '--no-llm', '--no-pull', '--no-repair', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--once', '--only', '--page', '--params', '--pat-file', '--path', '--pglite', '--phase', '--plan', '--prefer-postgres', '--preview', '--probe', '--profile', '--provenance', '--pull', '--purge', '--push-only', '--query', '--question', '--quiet', '--rebase', '--reference-date', '--remediate', '--remove', '--reset', '--resolve', '--retry-failed', '--save', '--schema-pack', '--scope', '--scopes', '--search-mode', '--section', '--self-transfer', '--show-toplevel', '--skip-embed-check', '--slugs', '--source', '--source-id', '--stale', '--status', '--supabase', '--surface', '--to', '--touchpoint', '--url', '--url-env', '--version', '--wait', '--warn-only', '--workspace', '--yes'],
'integrations': ['--auto', '--brain', '--dry-run', '--help', '--json', '--overwrite', '--refresh', '--source', '--target'],
'integrity': ['--accept-pending', '--auto', '--backend', '--background', '--brain', '--confidence', '--cost', '--dry-run', '--explain', '--follow', '--fresh', '--help', '--json', '--limit', '--no-accept-pending', '--probe', '--progress-interval', '--progress-json', '--quiet', '--review-lower', '--skip-bare-tweet', '--skip-urls', '--source', '--supabase', '--timeout', '--type', '--url', '--wait'],
'jobs': ['--abbrev-ref', '--access', '--acknowledge-managed', '--add', '--admin-intent', '--aliases', '--all', '--allow-empty', '--allow-shell-jobs', '--allowed-operations', '--apply', '--asof', '--auto', '--background', '--backoff-delay', '--backoff-jitter', '--backoff-type', '--batch-size', '--bound-slug-prefixes', '--brain', '--break-lock', '--by-mention', '--cached', '--catch-up', '--check', '--cli-path', '--client', '--cluster-errors', '--concurrency', '--confidence', '--confirm-destructive', '--confirm-quiesced', '--cost-estimate', '--date', '--dated-since', '--days', '--delay', '--detach', '--diff-filter', '--dir', '--drain', '--dry-run', '--embedding-dimensions', '--embedding-model', '--empty', '--entities', '--exclude', '--exclude-standard', '--expect', '--expected-state', '--explain', '--facts', '--federated-read', '--filters', '--fix', '--follow', '--force', '--force-break-lock', '--format', '--fresh', '--from-meetings', '--full', '--full-history', '--fuzzy', '--grammar-diagnostics', '--group', '--hard-deadline', '--health-interval', '--help', '--http', '--id', '--idempotency-key', '--ids', '--images', '--include-deleted', '--include-frontmatter', '--include-gitignored', '--include-hidden', '--include-null-signature', '--infer-dates', '--inject-bootstrap', '--inline', '--input', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--job-id', '--job-isolation', '--json', '--kind', '--lanes', '--limit', '--lock-duration-ms', '--log-noop', '--markdown', '--max-age', '--max-attempts', '--max-cost', '--max-cost-usd', '--max-crashes', '--max-rss', '--max-sources', '--max-stalled', '--max-usd', '--max-waiting', '--mcp-only', '--min-context', '--missing-path', '--model', '--multimodal', '--name-only', '--ner', '--nice', '--no-auto-embed', '--no-autopilot-install', '--no-bulk', '--no-confirm', '--no-delegate', '--no-embed', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-inject', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-worker', '--non-interactive', '--now', '--older-than', '--once', '--only', '--order', '--others', '--output', '--override-disabled', '--pace', '--pace-max-concurrency', '--pack', '--page', '--parallel', '--params', '--path', '--pause', '--phase', '--pid-file', '--priority', '--probe', '--prune-orphans', '--purge', '--queue', '--queue-only', '--quiet', '--reason', '--rebuild', '--recent', '--redact-secrets', '--reenrich-after', '--refresh-ms', '--refresh-operations', '--replace', '--repo', '--reset-checkpoint', '--resume', '--retry-failed', '--retry-held', '--review-lower', '--row', '--scopes', '--segment-limit', '--select', '--serial', '--session', '--show-toplevel', '--sigkill-rescue', '--since', '--skip-bare-tweet', '--skip-failed', '--skip-urls', '--sleep', '--slug', '--slugs', '--source', '--source-id', '--sources', '--src-subpath', '--stale', '--status', '--strategy', '--surface', '--swap-only', '--target', '--thin', '--thin-threshold', '--timeout', '--timeout-ms', '--to', '--trust', '--type', '--types', '--uninstall', '--updated-after', '--url', '--user', '--vectors', '--verbose', '--verify', '--version', '--watch', '--wedge-rescue', '--workers', '--working-tree', '--yes'],
- 'lint': ['--abbrev-ref', '--accept-pending', '--adopt-slug-path', '--autostash', '--background', '--brain', '--branch', '--cached', '--client', '--confirm-relocated-root', '--dry-run', '--enable', '--exclude', '--expect-remote', '--expected-epoch', '--explain', '--ff-only', '--file', '--fix', '--follow', '--force', '--get', '--git-dir', '--git-path', '--grammar-diagnostics', '--hard', '--help', '--id', '--is-inside-work-tree', '--json', '--local', '--local-env-vars', '--manifest', '--no-accept-pending', '--no-autostash', '--no-cron', '--no-tags', '--no-verify', '--only', '--pat-file', '--path', '--preview', '--probe', '--progress-interval', '--progress-json', '--pull', '--purge', '--push-only', '--quiet', '--rebase', '--require-clean', '--resolve', '--scopes', '--self-transfer', '--short', '--show-toplevel', '--slug', '--source', '--timeout', '--unset-all', '--wait', '--yes'],
+ 'lint': ['--abbrev-ref', '--accept-pending', '--adopt-slug-path', '--autostash', '--background', '--brain', '--branch', '--cached', '--client', '--confirm-relocated-root', '--dry-run', '--enable', '--exclude', '--expect-remote', '--expected-epoch', '--expected-revision', '--explain', '--ff-only', '--file', '--fix', '--follow', '--force', '--full', '--get', '--git-dir', '--git-path', '--grammar-diagnostics', '--hard', '--help', '--id', '--is-inside-work-tree', '--json', '--local', '--local-env-vars', '--manifest', '--no-accept-pending', '--no-autostash', '--no-cron', '--no-pull', '--no-tags', '--no-verify', '--only', '--pat-file', '--path', '--preview', '--probe', '--progress-interval', '--progress-json', '--pull', '--purge', '--push-only', '--quiet', '--rebase', '--require-clean', '--resolve', '--scopes', '--self-transfer', '--short', '--show-toplevel', '--slug', '--source', '--source-id', '--timeout', '--unset-all', '--wait', '--yes'],
'loops': ['--all', '--as-of', '--brain', '--fail-fast', '--help', '--json', '--note', '--source', '--stale-ok', '--status', '--tools-json', '--top', '--type'],
'lsd': ['--brain', '--force-resume', '--help', '--json', '--judge-model', '--limit', '--list-runs', '--max-cost', '--max-far-set', '--max-ideas-per-judge-call', '--max-usd', '--no-save', '--resume', '--save', '--source', '--strict-budget', '--yes'],
'maintain': ['--adopt-columns', '--adopt-permissions', '--all', '--apply', '--assign-corpus', '--background', '--brain', '--break-lock', '--budget-ms', '--by-mention', '--cached', '--catch-up', '--concurrency', '--contacts-dir', '--content-audit', '--count', '--detach', '--dim', '--dir', '--drain', '--dry-run', '--enable', '--expect', '--expected-revision', '--explain', '--facts', '--fast', '--fix', '--follow', '--force', '--force-retry', '--force-schema', '--format', '--from-meetings', '--full', '--hard-deadline', '--harness', '--help', '--http', '--id', '--images', '--include-ambiguous', '--include-flagged', '--include-frontmatter', '--include-gitignored', '--include-repairs', '--index-audit', '--infer-dates', '--install', '--json', '--kind', '--lang', '--left-right', '--link-source', '--link-type', '--locks', '--markdown', '--max-cost', '--max-cost-usd', '--max-jobs', '--max-rss', '--max-usd', '--migrate-legacy', '--migrate-only', '--multimodal', '--ner', '--no-autopilot-install', '--no-capture', '--no-delegate', '--no-embed', '--no-pull', '--once', '--only', '--operations', '--pack', '--page', '--parallel', '--params', '--path', '--pglite', '--phase', '--pid-file', '--plan', '--porcelain', '--preview', '--probe', '--probe-pglite', '--project', '--prune-orphans', '--query', '--queue', '--reauth', '--rebuild', '--regenerate', '--remediate', '--remediation-plan', '--remove', '--remove-core', '--request-id', '--reset', '--reset-default', '--resume', '--retry-failed', '--reverse', '--safe', '--scope', '--scopes', '--show-current', '--show-toplevel', '--since', '--skills-dir', '--skip-failed', '--slot', '--slug', '--slugs', '--source', '--source-id', '--sources', '--stale', '--status', '--supabase', '--symbol-kind', '--takes-holders', '--target', '--target-score', '--to', '--token', '--top-k', '--type', '--url-env', '--verbose', '--version', '--window', '--workers', '--yes'],
diff --git a/src/core/operation-manifest.generated.ts b/src/core/operation-manifest.generated.ts
index 0270f18071..7cd950c179 100644
--- a/src/core/operation-manifest.generated.ts
+++ b/src/core/operation-manifest.generated.ts
@@ -30,7 +30,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"content_origin": {
"type": "string",
@@ -189,7 +189,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"id": {
"type": "string",
@@ -306,7 +306,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"content_origin": {
"type": "string",
@@ -373,7 +373,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "delete_page",
"idempotent": true,
"outputRedaction": "no_stored_text",
- "description": "Soft-delete a page and remove its markdown file from the source working tree (the source local_path, or sync.repo_path when the source has none). File removal is skipped when sync.write_through is off; the committed receipt reports the persistence mode and write_through outcome. Read the page revision first and pass expected_revision; retain request_id for replay. The row is hidden from search and from get_page/list_pages, but is recoverable via restore_page within 72h, which re-creates the file. The autopilot purge phase hard-deletes after the recovery window. Pass include_deleted: true to get_page to verify the soft-delete landed. purge: true is trusted-local CLI only and removes the row, chunks, links and raw data immediately after its recorded markdown artifact is removed. Purge uses the same revision, request_id and recovery protocol, including for existing tombstones. A removal failure preserves the prior row and never reports purge success; repair the artifact and submit a new request_id. A committed purge warns that git history, synced copies, exports and derived rows may retain content; rotate exposed credentials.",
+ "description": "Soft-delete a page and remove its markdown file from the source working tree (the source local_path, or sync.repo_path when the source has none). File removal is skipped when sync.write_through is off; the committed receipt reports the persistence mode and write_through outcome. Read the page revision first and pass expected_revision; retain request_id for replay. The row is hidden from search and from get_page/list_pages, but is recoverable via restore_page within 72h, which re-creates the file. The autopilot purge phase hard-deletes after the recovery window. Pass include_deleted: true to get_page to verify the soft-delete landed. A page whose file another live page of the source records is hidden without touching that file (receipt write_through.skipped: shared_origin): the file and the surviving page remain, nothing is erased, and the next sync imports the file's current content into the surviving page. purge: true is trusted-local CLI only and removes the row, chunks, links and raw data immediately after its recorded markdown artifact is removed. Purge uses the same revision, request_id and recovery protocol, including for existing tombstones. A removal failure preserves the prior row and never reports purge success; repair the artifact and submit a new request_id. A purge of a page whose file is shared refuses and names the soft delete. A committed purge warns that git history, synced copies, exports and derived rows may retain content; rotate exposed credentials.",
"params": {
"source_id": {
"type": "string",
@@ -389,7 +389,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"slug": {
"type": "string",
@@ -415,7 +415,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "list_pages",
"idempotent": true,
"outputRedaction": "retrieval",
- "description": "List pages with filters. For 'what's recent / what did I touch this week' use sort=updated_desc. Default 50 rows; a full page may be truncated: continue with updated_after + updated_after_slug from the last row.",
+ "description": "List pages with filters. For 'what's recent / what did I touch this week' use sort=updated_desc. Default 50 rows; truncated: continue with updated_after + updated_after_slug from the last row.",
"params": {
"type": {
"type": "string",
@@ -435,7 +435,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"updated_after": {
"type": "string",
- "description": "Only pages updated after this ISO time."
+ "description": "Pages updated after this ISO time."
},
"updated_after_slug": {
"type": "string",
@@ -487,7 +487,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"slug": {
"type": "string",
@@ -542,7 +542,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "capture",
"idempotent": true,
"outputRedaction": "no_stored_text",
- "description": "Quick note (\"just remember this\"): slugged under inbox/ by date + content hash, so recapturing is idempotent. Use put_page to control slug or type; remember for facts about entities.",
+ "description": "Quick note (\"just remember this\"): slugged under inbox/ by date + content hash, so recapturing is idempotent. put_page controls slug or type; remember is for facts about entities.",
"params": {
"source_id": {
"type": "string",
@@ -558,7 +558,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"content_origin": {
"type": "string",
@@ -626,7 +626,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"type": {
"type": "string",
"required": false,
- "description": "Schema-pack page type (default note)."
+ "description": "Page type (default note)."
}
},
"scope": "write",
@@ -694,7 +694,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"expected_revision": {
"type": "string",
"required": true,
- "description": "revision from get_page include_content:true."
+ "description": "From get_page include_content:true."
},
"edits": {
"type": "array",
@@ -706,7 +706,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"old_text": {
"type": "string",
"required": true,
- "description": "Exact text to replace (must occur once)."
+ "description": "Exact text to replace."
},
"new_text": {
"type": "string",
@@ -722,7 +722,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
}
},
"mutating": true,
@@ -791,7 +791,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "get_write_request",
"idempotent": true,
"outputRedaction": "no_stored_text",
- "description": "Read your write's receipt by request_id (after write_pending or a lost reply). Poll at retry_after_ms until final.",
+ "description": "Your write's receipt by request_id (after write_pending or a lost reply). Poll at retry_after_ms until final.",
"params": {
"request_id": {
"type": "string",
@@ -813,7 +813,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "list_write_requests",
"idempotent": true,
"outputRedaction": "no_stored_text",
- "description": "List your write receipts in one source, newest first, for a lost request_id.",
+ "description": "Your write receipts in one source, newest first (for a lost request_id).",
"params": {
"source_id": {
"type": "string",
@@ -826,7 +826,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"before": {
"type": "string",
- "description": "next cursor from the previous page."
+ "description": "Previous page's next cursor."
}
},
"scope": "write",
@@ -840,7 +840,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "cancel_write_request",
"idempotent": true,
"outputRedaction": "no_stored_text",
- "description": "Cancel your accepted write before it publishes. Returns the actual receipt.",
+ "description": "Cancel your accepted write before it publishes; returns the receipt.",
"params": {
"request_id": {
"type": "string",
@@ -862,7 +862,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "search",
"idempotent": true,
"outputRedaction": "retrieval",
- "description": "Cheap hybrid search, no LLM expansion, top 20: exact tokens, names, field values. NOT proof of coverage; match: \"keyword\" pages every keyword match and takes OR across quoted names or codes (\"A\" OR \"B\" OR …): one call lists every page matching any. Name lists: entity names. Concepts/landscape: `query`; lists: list_pages; personal: get_recent_salience. return_unit: sections or conversations. fields: \"full\" adds diagnostics.",
+ "description": "Cheap hybrid search, no LLM expansion, top 20: exact tokens, names, field values. NOT proof of coverage; match: \"keyword\" pages every keyword match and takes OR across quoted names or codes (\"A\" OR \"B\" OR …): one call lists every page matching any. Name lists: entity names. Concepts/landscape or people/companies/projects by topic: `query`; lists: list_pages; personal: get_recent_salience. return_unit: sections or conversations. fields: \"full\" adds diagnostics.",
"params": {
"query": {
"type": "string",
@@ -981,7 +981,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "query",
"idempotent": true,
"outputRedaction": "retrieval",
- "description": "Hybrid search for concept/landscape questions; expand adds multi-query expansion (expansion recovers synonyms). Still top-K; return_unit: sections or conversations. Lists: list_pages. Exact tokens: `search` is cheaper (no LLM call). Personal: get_recent_salience, find_anomalies; transcripts: `gbrain transcripts recent`. Do NOT assume 'crazy' means impressive (often difficult or emotionally charged). Needs an embedding key (else keyword-only); expansion needs a chat key. Fact rows: use follow_up. fields: \"full\" adds diagnostics.",
+ "description": "Hybrid search for concept/landscape questions and people/companies/projects by topic; expand adds multi-query expansion (expansion recovers synonyms). Still top-K; return_unit: sections or conversations. Lists: list_pages. Exact tokens: `search` is cheaper (no LLM call). Personal: get_recent_salience, find_anomalies; transcripts: `gbrain transcripts recent`. Do NOT assume 'crazy' means impressive (often difficult or emotionally charged). Needs an embedding key (else keyword-only); expansion needs a chat key. Fact rows: use follow_up. fields: \"full\" adds diagnostics.",
"params": {
"query": {
"type": "string",
@@ -1359,7 +1359,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -1401,7 +1401,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -1693,7 +1693,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"link_type": {
"type": "string",
- "description": "Follow only this link type."
+ "description": "Only this link type."
},
"direction": {
"type": "string",
@@ -1777,7 +1777,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -1969,7 +1969,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"slug": {
"type": "string",
@@ -2146,7 +2146,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"expected_brain_id": {
"type": "string",
- "description": "Version 2 brain id to assert."
+ "description": "Brain id to assert."
},
"source_incarnation": {
"type": "string",
@@ -2166,7 +2166,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"source_id": {
"type": "string",
- "description": "Fetch a brain-resident pack skill from this source."
+ "description": "Brain-resident pack skill from this source."
}
},
"scope": "read",
@@ -2185,7 +2185,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"outputRedaction": {
"exempt": "skill catalog files are installed instructions read verbatim; redaction would corrupt approved revisions"
},
- "description": "Skillpacks this brain ships, with skills and a scaffold spec to offer the user.",
+ "description": "Skillpacks this brain ships: skills and a scaffold spec to offer the user.",
"publishGateKey": "mcp.publish_skills",
"params": {},
"scope": "read",
@@ -2223,7 +2223,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
{
"name": "get_skill_asset",
- "description": "Read an approved file from an exact skill revision (data only; never executed).",
+ "description": "Read an approved file from an exact skill revision (data, never executed).",
"mutating": false,
"idempotent": true,
"outputRedaction": {
@@ -2820,7 +2820,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"partial": {
"type": "string",
"required": true,
- "description": "Partial slug or title, e.g. 'alice-ex'."
+ "description": "Partial slug or title."
},
"source_id": {
"type": "string",
@@ -3571,7 +3571,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -3641,7 +3641,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -3695,7 +3695,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -3765,7 +3765,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -3840,7 +3840,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"expected_revision": {
"type": "string",
@@ -3882,7 +3882,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"slug": {
"type": "string",
@@ -4069,7 +4069,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"name": "request_tools",
"idempotent": false,
"outputRedaction": "no_stored_text",
- "description": "More tools: no arguments lists your catalog; {tools: [names]} returns schemas; {surface} widens it (per OAuth client or stdio session).",
+ "description": "More tools: no arguments lists your catalog; {tools: [names]} returns schemas; {surface} widens it (per client or stdio session).",
"area": "discovery",
"agentCallable": true,
"params": {
@@ -4079,7 +4079,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"type": "string",
"description": "A tool name from the catalog."
},
- "description": "Tool names to fetch schemas for."
+ "description": "Tool names to fetch."
},
"surface": {
"type": "string",
@@ -4112,7 +4112,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"slugPrefix": {
"type": "string",
- "description": "Slug prefix, e.g. 'wiki/people'."
+ "description": "Slug prefix."
},
"recency_bias": {
"type": "string",
@@ -4818,7 +4818,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry. Managed extraction returns durable receipts; when omitted, each call gets a new UUID. Unmanaged extraction retains its legacy non-journaled behavior."
+ "description": "Reuse only to retry. Managed extraction returns durable receipts; when omitted, each call gets a new UUID. Unmanaged extraction retains its legacy non-journaled behavior."
},
"turn_text": {
"type": "string",
@@ -4986,7 +4986,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"since": {
"type": "string",
- "description": "Only open-thread events after this ISO time."
+ "description": "Open-thread events after this ISO time."
},
"session_id": {
"type": "string",
@@ -5100,7 +5100,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"id": {
"type": "number",
@@ -5125,7 +5125,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"params": {
"request_id": {
"type": "string",
- "description": "Optional; reuse only to retry."
+ "description": "Reuse only to retry."
},
"id": {
"type": "number",
@@ -6183,12 +6183,12 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
"mutating": true,
"idempotent": true,
"outputRedaction": "no_stored_text",
- "description": "Mute a coaching or info notice (or first_run_decisions) for this client; muted: false unmutes.",
+ "description": "Mute a coaching or info notice (or first_run_decisions) for this client.",
"params": {
"code": {
"type": "string",
"required": true,
- "description": "Notice code, the word after `[gbrain notice` in the block."
+ "description": "The word after `[gbrain notice` in the block."
},
"muted": {
"type": "boolean",
diff --git a/test/fixtures/goldens/cli/help-and-errors.json b/test/fixtures/goldens/cli/help-and-errors.json
index 64668a214e..cbe66afeef 100644
--- a/test/fixtures/goldens/cli/help-and-errors.json
+++ b/test/fixtures/goldens/cli/help-and-errors.json
@@ -691,7 +691,7 @@
"stdout": [
"Usage: gbrain query <query> [options]",
"",
- "Hybrid search for concept/landscape questions; expand adds multi-query expansion (expansion recovers synonyms). Still top-K; return_unit: sections or conversations. Lists: list_pages. Exact tokens: `search` is cheaper (no LLM call). Personal: get_recent_salience, find_anomalies; transcripts: `gbrain transcripts recent`. Do NOT assume 'crazy' means impressive (often difficult or emotionally charged). Needs an embedding key (else keyword-only); expansion needs a chat key. Fact rows: use follow_up. fields: \"full\" adds diagnostics.",
+ "Hybrid search for concept/landscape questions and people/companies/projects by topic; expand adds multi-query expansion (expansion recovers synonyms). Still top-K; return_unit: sections or conversations. Lists: list_pages. Exact tokens: `search` is cheaper (no LLM call). Personal: get_recent_salience, find_anomalies; transcripts: `gbrain transcripts recent`. Do NOT assume 'crazy' means impressive (often difficult or emotionally charged). Needs an embedding key (else keyword-only); expansion needs a chat key. Fact rows: use follow_up. fields: \"full\" adds diagnostics.",
"",
"Options:",
" <query> Question or topic (required unless image).",
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index a7b77046ab..5a9b903fc2 100644
--- a/test/fixtures/goldens/cli/tools-json.json
+++ b/test/fixtures/goldens/cli/tools-json.json
@@ -2,8 +2,8 @@
"golden": {
"exitCode": 0,
"stderr": "",
- "stdoutBytes": 231866,
- "stdoutSha256": "72d279ddf2a58f2b2e75d13d1c8fb35f4bb0aa49ad61bb95b6e29ebc6e6a4b72",
+ "stdoutBytes": 231878,
+ "stdoutSha256": "b1d2ef871d92ce9360a547ac5cc1651136a6eb12a96799fcdd317459870690b9",
"toolNames": [
"remember",
"entity",
@@ -259,7 +259,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"source_id": {
@@ -376,7 +376,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"semantic_review": {
@@ -526,7 +526,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -559,7 +559,7 @@
"scope": "write"
},
{
- "description": "Soft-delete a page and remove its markdown file from the source working tree (the source local_path, or sync.repo_path when the source has none). File removal is skipped when sync.write_through is off; the committed receipt reports the persistence mode and write_through outcome. Read the page revision first and pass expected_revision; retain request_id for replay. The row is hidden from search and from get_page/list_pages, but is recoverable via restore_page within 72h, which re-creates the file. The autopilot purge phase hard-deletes after the recovery window. Pass include_deleted: true to get_page to verify the soft-delete landed. purge: true is trusted-local CLI only and removes the row, chunks, links and raw data immediately after its recorded markdown artifact is removed. Purge uses the same revision, request_id and recovery protocol, including for existing tombstones. A removal failure preserves the prior row and never reports purge success; repair the artifact and submit a new request_id. A committed purge warns that git history, synced copies, exports and derived rows may retain content; rotate exposed credentials.",
+ "description": "Soft-delete a page and remove its markdown file from the source working tree (the source local_path, or sync.repo_path when the source has none). File removal is skipped when sync.write_through is off; the committed receipt reports the persistence mode and write_through outcome. Read the page revision first and pass expected_revision; retain request_id for replay. The row is hidden from search and from get_page/list_pages, but is recoverable via restore_page within 72h, which re-creates the file. The autopilot purge phase hard-deletes after the recovery window. Pass include_deleted: true to get_page to verify the soft-delete landed. A page whose file another live page of the source records is hidden without touching that file (receipt write_through.skipped: shared_origin): the file and the surviving page remain, nothing is erased, and the next sync imports the file's current content into the surviving page. purge: true is trusted-local CLI only and removes the row, chunks, links and raw data immediately after its recorded markdown artifact is removed. Purge uses the same revision, request_id and recovery protocol, including for existing tombstones. A removal failure preserves the prior row and never reports purge success; repair the artifact and submit a new request_id. A purge of a page whose file is shared refuses and names the soft delete. A committed purge warns that git history, synced copies, exports and derived rows may retain content; rotate exposed credentials.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -588,7 +588,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -608,7 +608,7 @@
"scope": "write"
},
{
- "description": "List pages with filters. For 'what's recent / what did I touch this week' use sort=updated_desc. Default 50 rows; a full page may be truncated: continue with updated_after + updated_after_slug from the last row.",
+ "description": "List pages with filters. For 'what's recent / what did I touch this week' use sort=updated_desc. Default 50 rows; truncated: continue with updated_after + updated_after_slug from the last row.",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -662,7 +662,7 @@
"type": "string"
},
"updated_after": {
- "description": "Only pages updated after this ISO time.",
+ "description": "Pages updated after this ISO time.",
"type": "string"
},
"updated_after_slug": {
@@ -700,7 +700,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -747,7 +747,7 @@
"scope": "admin"
},
{
- "description": "Quick note (\"just remember this\"): slugged under inbox/ by date + content hash, so recapturing is idempotent. Use put_page to control slug or type; remember for facts about entities.",
+ "description": "Quick note (\"just remember this\"): slugged under inbox/ by date + content hash, so recapturing is idempotent. put_page controls slug or type; remember is for facts about entities.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -812,7 +812,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -832,7 +832,7 @@
"type": "string"
},
"type": {
- "description": "Schema-pack page type (default note).",
+ "description": "Page type (default note).",
"type": "string"
},
"what": {
@@ -923,7 +923,7 @@
"type": "string"
},
"old_text": {
- "description": "Exact text to replace (must occur once).",
+ "description": "Exact text to replace.",
"type": "string"
}
},
@@ -936,11 +936,11 @@
"type": "array"
},
"expected_revision": {
- "description": "revision from get_page include_content:true.",
+ "description": "From get_page include_content:true.",
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -1031,7 +1031,7 @@
"scope": "write"
},
{
- "description": "Read your write's receipt by request_id (after write_pending or a lost reply). Poll at retry_after_ms until final.",
+ "description": "Your write's receipt by request_id (after write_pending or a lost reply). Poll at retry_after_ms until final.",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -1055,7 +1055,7 @@
"scope": "write"
},
{
- "description": "List your write receipts in one source, newest first, for a lost request_id.",
+ "description": "Your write receipts in one source, newest first (for a lost request_id).",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -1069,7 +1069,7 @@
"schema": {
"properties": {
"before": {
- "description": "next cursor from the previous page.",
+ "description": "Previous page's next cursor.",
"type": "string"
},
"limit": {
@@ -1088,7 +1088,7 @@
"scope": "write"
},
{
- "description": "Cancel your accepted write before it publishes. Returns the actual receipt.",
+ "description": "Cancel your accepted write before it publishes; returns the receipt.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -1112,7 +1112,7 @@
"scope": "write"
},
{
- "description": "Cheap hybrid search, no LLM expansion, top 20: exact tokens, names, field values. NOT proof of coverage; match: \"keyword\" pages every keyword match and takes OR across quoted names or codes (\"A\" OR \"B\" OR …): one call lists every page matching any. Name lists: entity names. Concepts/landscape: `query`; lists: list_pages; personal: get_recent_salience. return_unit: sections or conversations. fields: \"full\" adds diagnostics.",
+ "description": "Cheap hybrid search, no LLM expansion, top 20: exact tokens, names, field values. NOT proof of coverage; match: \"keyword\" pages every keyword match and takes OR across quoted names or codes (\"A\" OR \"B\" OR …): one call lists every page matching any. Name lists: entity names. Concepts/landscape or people/companies/projects by topic: `query`; lists: list_pages; personal: get_recent_salience. return_unit: sections or conversations. fields: \"full\" adds diagnostics.",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -1247,7 +1247,7 @@
"scope": "read"
},
{
- "description": "Hybrid search for concept/landscape questions; expand adds multi-query expansion (expansion recovers synonyms). Still top-K; return_unit: sections or conversations. Lists: list_pages. Exact tokens: `search` is cheaper (no LLM call). Personal: get_recent_salience, find_anomalies; transcripts: `gbrain transcripts recent`. Do NOT assume 'crazy' means impressive (often difficult or emotionally charged). Needs an embedding key (else keyword-only); expansion needs a chat key. Fact rows: use follow_up. fields: \"full\" adds diagnostics.",
+ "description": "Hybrid search for concept/landscape questions and people/companies/projects by topic; expand adds multi-query expansion (expansion recovers synonyms). Still top-K; return_unit: sections or conversations. Lists: list_pages. Exact tokens: `search` is cheaper (no LLM call). Personal: get_recent_salience, find_anomalies; transcripts: `gbrain transcripts recent`. Do NOT assume 'crazy' means impressive (often difficult or emotionally charged). Needs an embedding key (else keyword-only); expansion needs a chat key. Fact rows: use follow_up. fields: \"full\" adds diagnostics.",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -1714,7 +1714,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -1759,7 +1759,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -2096,7 +2096,7 @@
"type": "array"
},
"link_type": {
- "description": "Follow only this link type.",
+ "description": "Only this link type.",
"type": "string"
},
"slug": {
@@ -2188,7 +2188,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -2380,7 +2380,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -2586,7 +2586,7 @@
"schema": {
"properties": {
"expected_brain_id": {
- "description": "Version 2 brain id to assert.",
+ "description": "Brain id to assert.",
"type": "string"
},
"name": {
@@ -2610,7 +2610,7 @@
"type": "number"
},
"source_id": {
- "description": "Fetch a brain-resident pack skill from this source.",
+ "description": "Brain-resident pack skill from this source.",
"type": "string"
},
"source_incarnation": {
@@ -2624,7 +2624,7 @@
"scope": "read"
},
{
- "description": "Skillpacks this brain ships, with skills and a scaffold spec to offer the user.",
+ "description": "Skillpacks this brain ships: skills and a scaffold spec to offer the user.",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -2669,7 +2669,7 @@
"scope": "admin"
},
{
- "description": "Read an approved file from an exact skill revision (data only; never executed).",
+ "description": "Read an approved file from an exact skill revision (data, never executed).",
"idempotent": true,
"local_only": false,
"mutating": false,
@@ -3347,7 +3347,7 @@
"schema": {
"properties": {
"partial": {
- "description": "Partial slug or title, e.g. 'alice-ex'.",
+ "description": "Partial slug or title.",
"type": "string"
},
"source_id": {
@@ -4342,7 +4342,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"since": {
@@ -4405,7 +4405,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"row_num": {
@@ -4486,7 +4486,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"resolved_by": {
@@ -4573,7 +4573,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"row_num": {
@@ -4636,7 +4636,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"row_num": {
@@ -4670,7 +4670,7 @@
"schema": {
"properties": {
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"slug": {
@@ -4880,7 +4880,7 @@
"scope": "read"
},
{
- "description": "More tools: no arguments lists your catalog; {tools: [names]} returns schemas; {surface} widens it (per OAuth client or stdio session).",
+ "description": "More tools: no arguments lists your catalog; {tools: [names]} returns schemas; {surface} widens it (per client or stdio session).",
"idempotent": false,
"local_only": false,
"mutating": true,
@@ -4902,7 +4902,7 @@
"type": "string"
},
"tools": {
- "description": "Tool names to fetch schemas for.",
+ "description": "Tool names to fetch.",
"items": {
"description": "A tool name from the catalog.",
"type": "string"
@@ -4947,7 +4947,7 @@
"type": "string"
},
"slugPrefix": {
- "description": "Slug prefix, e.g. 'wiki/people'.",
+ "description": "Slug prefix.",
"type": "string"
}
},
@@ -5738,7 +5738,7 @@
"type": "boolean"
},
"request_id": {
- "description": "Optional; reuse only to retry. Managed extraction returns durable receipts; when omitted, each call gets a new UUID. Unmanaged extraction retains its legacy non-journaled behavior.",
+ "description": "Reuse only to retry. Managed extraction returns durable receipts; when omitted, each call gets a new UUID. Unmanaged extraction retains its legacy non-journaled behavior.",
"type": "string"
},
"session_id": {
@@ -5936,7 +5936,7 @@
"type": "string"
},
"since": {
- "description": "Only open-thread events after this ISO time.",
+ "description": "Open-thread events after this ISO time.",
"type": "string"
}
},
@@ -6033,7 +6033,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
}
},
@@ -6095,7 +6095,7 @@
"type": "string"
},
"request_id": {
- "description": "Optional; reuse only to retry.",
+ "description": "Reuse only to retry.",
"type": "string"
},
"source_id": {
@@ -7316,7 +7316,7 @@
"scope": "write"
},
{
- "description": "Mute a coaching or info notice (or first_run_decisions) for this client; muted: false unmutes.",
+ "description": "Mute a coaching or info notice (or first_run_decisions) for this client.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -7329,7 +7329,7 @@
"schema": {
"properties": {
"code": {
- "description": "Notice code, the word after `[gbrain notice` in the block.",
+ "description": "The word after `[gbrain notice` in the block.",
"type": "string"
},
"muted": {
diff --git a/test/fixtures/goldens/migrations/records.json b/test/fixtures/goldens/migrations/records.json
index 2169593ffa..4b531812c4 100644
--- a/test/fixtures/goldens/migrations/records.json
+++ b/test/fixtures/goldens/migrations/records.json
@@ -1,6 +1,6 @@
{
"golden": {
- "count": 235,
+ "count": 237,
"gaps": [
17,
18,
@@ -24,6 +24,7 @@
"PERSISTENCE_COMPACTABLE_INDEX": "25ee657878efb41ba9ea3a7624464ddcf66407d861659456c230366e57f230a0",
"PERSISTENCE_DATABASE_PENDING_INDEX_SQL": "6e0f618be33d037454933ea4dea11438413d45aef35d3bd4f33e89624d6e199e",
"PERSISTENCE_EFFECT_PARKED_INDEX_SQL": "0107863883415378d7c0dce7a0cbd5311c2c5a59fc0f81917cc8b767fd235cf2",
+ "PERSISTENCE_REQUEST_SLUG_INTENT_INDEX": "5f2e4a3dde452e610fe7eaae949642c00d7c61a363b1cd344d7f0917db233aa5",
"PERSISTENCE_SYNC_RUN_INDEXES": "e1b12613c5fd2facb850e6857b0bddcf49b2478ec258fa226fe15e71e55df9c1",
"PERSISTENCE_SYNC_WATERMARK_INDEX": "93523954a30e8483717f07ec97a3e0cd062b15d8a60cc759281054b06c23bb40",
"TOKEN_TTL_MAX_SECONDS": "f4a45bec6ec0bacc859dc57732ceb76cec7eb72f242b5a6c89d47190d0525ab4",
@@ -53,7 +54,7 @@
"sqlQueryForEngine": "71fb1ccec1b22cdc1662876dbd8c17ed81e9ab83485c6965cdf5caa4fc4a4ab5",
"verifyProjectionStatistics": "0d231b04ecfbc5a4109d6fca9567bf4e8c9e9db6c3fbbb35212e026579ed6f67"
},
- "latest": 240,
+ "latest": 242,
"records": [
{
"handler": {
@@ -2247,8 +2248,8 @@
"idempotent": true,
"name": "durable_concurrent_persistence",
"sql": {
- "length": 11594,
- "sha256": "2f3633b4ae6df69183c7c3ae813a10d0bcd323d5b6ef0855f8777e671f69037b"
+ "length": 11749,
+ "sha256": "66065b6bd5f2c11094ff00db6ebea8d19e45bf2e395ca3aac880edea9f20b0df"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -3647,6 +3648,42 @@
"transaction": false,
"verify": "absent",
"version": 240
+ },
+ {
+ "handler": {
+ "form": "arrow",
+ "helpers": [
+ "PERSISTENCE_REQUEST_SLUG_INTENT_INDEX",
+ "buildIndexOnline",
+ "dropInvalidConcurrentIndex",
+ "migrationNotice",
+ "quietMigrationNotices"
+ ],
+ "sha256": "5239bc4332339df6f5d39e58b0785e7e508d013d842338082406055fca2560b0"
+ },
+ "idempotent": true,
+ "name": "persistence_request_slug_intent_index",
+ "sql": {
+ "length": 0,
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
+ },
+ "sqlFor": "absent",
+ "transaction": false,
+ "verify": "absent",
+ "version": 241
+ },
+ {
+ "handler": "absent",
+ "idempotent": true,
+ "name": "extract_atoms_partial_input",
+ "sql": {
+ "length": 211,
+ "sha256": "fca4778c549c2441c058f76d9b4dd756dbe4568c8d478d9485dca342b3d45bb7"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 242
}
],
"versions": [
@@ -3884,7 +3921,9 @@
237,
238,
239,
- 240
+ 240,
+ 241,
+ 242
]
},
"normalizer": "migrations-record-v1"