Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(regen): flag registry; CHANGELOG notes the inline reindex cap and the wider redaction

time-attack3b8be58f2d3e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 909f65aad1..756da8583f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -38,8 +38,8 @@ gbrain search modes --reset --mode <mode> # --source <mode> still works
| Dream synthesize | A transcript the triage model can't score backs off 24 h, doubling to 7 days, instead of being re-judged nightly; logs carry the stop reason, length and a digest, never the model's text. Quote checks count `**bold**`, `` `code` `` and `~~strike~~` source text as found. |
| `gbrain dream` beside autopilot | The run that starts second skips only the brain-wide phases (`maintenance_lock_busy`) and still runs its source phases. |
| Onboard and remediation | `onboard --auto`, `doctor --remediate` and MCP `run_onboard` never run the schema-pack upgrade or the paid takes bootstrap; they list them under `manual_only_skipped` with the command to run. |
-| `gbrain reindex --markdown` | Asks before re-embedding: without a terminal it exits 3 with the page count and estimate. A queued `reindex` job re-embeds only with approval stored at submit. Migration notes and the conversation-archive skill now ask first too. |
-| Transcript redaction | Also redacts `--password X`, `--pass "…"`, `PASSWORD_DB=`, `FOO_PASSWORD_BAR=`, a value on the line after `password:`, and Markdown table password cells. Pages imported earlier are not rewritten: rerun `gbrain transcripts audit-secrets --json`. |
+| `gbrain reindex --markdown` | Asks before re-embedding: without a terminal it exits 3 with the page count and estimate. An inline run stops at its cap (`budget_exhausted`, exit 1); a queued `reindex` job re-embeds only with approval stored at submit. Migration notes and the conversation-archive skill now ask first too. |
+| Transcript redaction | Also redacts `--password X`, `--db-password X`, `--pass "…"`, openssl `-passin pass:X`, `PASSWORD_DB=`, `FOO_PASSWORD_BAR=`, a value on the line after `password:`, and Markdown table password cells. Pages imported earlier are not rewritten: rerun `gbrain transcripts audit-secrets --json`. |
| Managed Git effects | A failed durability check retries as `git_unavailable` instead of completing without a commit or push; only a directory with no Git checkout at or above it reads as not durable. |
| Reconcile | No longer refuses a page whose file name more than 100 pages share, and its ownership check is indexed (458 ms to 0.1 ms per call at 490k pages). `poll_command` is the working `gbrain write-request --brain <id> -- <request_id>`. |
| `embed --stale` | Embeds everything else when a few pages (usually images) still need a text projection, and names those pages with the command that rebuilds them. |
diff --git a/src/core/cli-flag-registry.generated.ts b/src/core/cli-flag-registry.generated.ts
index 21c431e994..7e71f73a44 100644
--- a/src/core/cli-flag-registry.generated.ts
+++ b/src/core/cli-flag-registry.generated.ts
@@ -99,7 +99,7 @@ export const CLI_FLAG_REGISTRY: Record<string, readonly string[]> = {
'quarantine': ['--admin-intent', '--apply', '--brain', '--client', '--dir', '--expected-epoch', '--expected-state', '--force', '--force-rechunk', '--help', '--id', '--include-flagged', '--json', '--limit', '--manifest', '--no-embed', '--path', '--scopes', '--self-transfer', '--source', '--source-id', '--stale'],
'recall': ['--accept-pending', '--access', '--add', '--allowed-operations', '--as-context', '--asof', '--background', '--bound-slug-prefixes', '--brain', '--budget-policy', '--budget-tokens', '--client', '--date', '--dated-since', '--days', '--entities', '--explain', '--federated-read', '--follow', '--full', '--fuzzy', '--grep', '--help', '--http', '--id', '--include-deleted', '--include-expired', '--json', '--kind', '--limit', '--max-usd', '--mcp-only', '--model', '--multimodal', '--no-accept-pending', '--no-autopilot-install', '--page', '--params', '--path', '--pending', '--phase', '--progress-interval', '--progress-json', '--query', '--quiet', '--reason', '--recent', '--refresh-operations', '--request-id', '--rollup', '--row', '--scopes', '--session', '--session-id', '--since', '--since-last-run', '--slugs', '--source', '--source-id', '--sources', '--stale', '--supersessions', '--surface', '--timeout', '--to', '--today', '--updated-after', '--url', '--wait', '--watch', '--yes'],
'reconcile-links': ['--accept-pending', '--background', '--brain', '--dry-run', '--explain', '--follow', '--help', '--json', '--no-accept-pending', '--progress-interval', '--progress-json', '--quiet', '--source', '--timeout', '--wait'],
- 'reindex': ['--accept-pending', '--admin-intent', '--aliases', '--apply', '--background', '--brain', '--concurrency', '--cost-estimate', '--dim', '--dry-run', '--embedding-dimensions', '--embedding-model', '--expect', '--expected-epoch', '--expected-state', '--explain', '--follow', '--force', '--force-rechunk', '--help', '--include-ambiguous', '--json', '--limit', '--manifest', '--markdown', '--max-cost', '--max-usd', '--multimodal', '--no-accept-pending', '--no-embed', '--no-embedding', '--no-llm', '--only', '--path', '--progress-interval', '--progress-json', '--quiet', '--repo', '--self-transfer', '--skip', '--slug', '--source', '--stale', '--status', '--supabase', '--timeout', '--to', '--type', '--vectors', '--wait', '--workers', '--yes'],
+ 'reindex': ['--accept-pending', '--admin-intent', '--aliases', '--apply', '--background', '--brain', '--concurrency', '--cost-estimate', '--dim', '--dry-run', '--embedding-dimensions', '--embedding-model', '--expect', '--expected-epoch', '--expected-state', '--explain', '--follow', '--force', '--force-rechunk', '--help', '--include-ambiguous', '--json', '--limit', '--manifest', '--markdown', '--max-cost', '--max-runtime', '--max-usd', '--multimodal', '--no-accept-pending', '--no-embed', '--no-embedding', '--no-llm', '--only', '--path', '--progress-interval', '--progress-json', '--quiet', '--repo', '--self-transfer', '--skip', '--slug', '--source', '--stale', '--status', '--supabase', '--timeout', '--to', '--type', '--vectors', '--wait', '--workers', '--yes'],
'reindex-code': ['--accept-pending', '--apply', '--background', '--brain', '--break-lock', '--client', '--concurrency', '--db-url', '--dry-run', '--embedding-dimensions', '--embedding-model', '--expect', '--explain', '--follow', '--force', '--help', '--http', '--id', '--json', '--max-cost', '--max-cost-usd', '--max-runtime', '--max-usd', '--no-accept-pending', '--no-embed', '--non-interactive', '--only', '--path', '--probe', '--progress-interval', '--progress-json', '--quiet', '--scopes', '--source', '--status', '--timeout', '--trust', '--wait', '--workers', '--yes'],
'reindex-frontmatter': ['--apply', '--brain', '--concurrency', '--dry-run', '--expect', '--force', '--help', '--json', '--max-cost', '--max-usd', '--non-interactive', '--slug-prefix', '--source', '--trust', '--workers', '--yes'],
'reindex-search-vector': ['--accept-pending', '--background', '--brain', '--dry-run', '--explain', '--follow', '--help', '--json', '--no-accept-pending', '--progress-interval', '--progress-json', '--quiet', '--resume', '--source', '--timeout', '--wait', '--yes'],