Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
chore: regenerate llms-full.txt, plugin skill trees and skills.lock.json for the skill/doc edits
garrytanc1e3b80f7f0b
diff --git a/llms-full.txt b/llms-full.txtindex 53d90d6a17..64b9e91392 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -6227,6 +6227,12 @@ staleness is measurable and the next sweep skips fresh pages.A sweep with a failing item is partial: it keeps its cursor and does not stampthe source as freshly synced, so `gbrain doctor`'s `sync_freshness` shows it.+`gbrain sync` prints `Sync PARTIAL [connector_item_failures]` with the failed+item count and pages written (the failure reasons print above it) and exits 1,+on `--source`, `--all` and delegated runs alike; a connector that stops early+without naming a cause prints `[connector_partial]` and also exits 1. Only a+sweep cut short by `--timeout` or cancellation stays `reason=timeout` with+exit 0, because the next sweep continues it.An item that fails three sweeps in a row is held (below) and the cursor movespast it. Autopilot keeps a source synced after its first sync; a source thathas never synced stays idle until you run `gbrain sync --source <id>` once.diff --git a/plugin-variants/gbrain-daily/skills/meeting-ingestion/SKILL.md b/plugin-variants/gbrain-daily/skills/meeting-ingestion/SKILL.mdindex 29f82efcdf..6475263678 100644--- a/plugin-variants/gbrain-daily/skills/meeting-ingestion/SKILL.md+++ b/plugin-variants/gbrain-daily/skills/meeting-ingestion/SKILL.md@@ -119,8 +119,10 @@ source_url: "..." # link back to the source platform, if anyfrom it into the brain.Retain the raw transcript when the source provides one: file it as a sidecar-page (e.g. `meetings/YYYY-MM-DD-{slug}-transcript`) or keep the source file-reachable, and link it from the meeting page. The transcript is the canonical+page with `type: source` at `sources/meetings/YYYY-MM-DD-{slug}-transcript`+(the default pack files raw evidence as `source` under `sources/`; never+invent `meeting-transcript`, and don't write the `transcript` alias) or keep+the source file reachable, and link it from the meeting page. The transcript is the canonicalevidence for every quote and claim check downstream.**Redact before you retain.** A raw transcript routinely captures pasted@@ -415,7 +417,7 @@ Phase 4. An unflagged anonymous label means speaker resolution was skipped.quote still shares a long contiguous run of content words, a fabricated onedoes not.```bash- gbrain get meetings/{date}-{slug}-transcript # then locate each quote span+ gbrain get sources/meetings/{date}-{slug}-transcript # then locate each quote span```- **Prompt checklist (no transcript retained):** re-read the source notes andattest that each quote traces to them word-for-word.diff --git a/plugin-variants/gbrain-daily/skills/reports/SKILL.md b/plugin-variants/gbrain-daily/skills/reports/SKILL.mdindex 5f6363df71..dde5e89139 100644--- a/plugin-variants/gbrain-daily/skills/reports/SKILL.md+++ b/plugin-variants/gbrain-daily/skills/reports/SKILL.md@@ -39,7 +39,8 @@ This skill guarantees:```yaml---title: {report title}- type: report+ type: note # a type the default pack declares; `report` is undeclared+ report_type: {category name}category: {category name}date: {YYYY-MM-DD}time: {HH:MM PT}diff --git a/plugin/skills/brain-taxonomist/SKILL.md b/plugin/skills/brain-taxonomist/SKILL.mdindex c1cd0ecff4..517c959d95 100644--- a/plugin/skills/brain-taxonomist/SKILL.md+++ b/plugin/skills/brain-taxonomist/SKILL.md@@ -123,15 +123,23 @@ type is needed and let the schema-pack cathedral handle the proposal flow.## Periodic Drift Detection```bash-# What pages have no type matching the active pack?+# Which pages have no type matching the active pack? Counts untyped pages AND+# pages whose type the pack neither declares nor aliases (undeclared_types).gbrain schema review-orphans --json-# What's the overall health?-gbrain doctor --json | jq '.checks[] | select(.name == "schema_pack_consistency")'+# Per-type audit of the stored corpus (stored_type_undeclared / stored_type_is_alias).+gbrain schema lint --with-db --json```-When `schema_pack_consistency` warns at >10% untyped, run the EIIRP-Phase 3 SCHEMA CHECK flow to surface candidate types via `schema detect`.+Both commands run locally. Over MCP, the `run_doctor` report carries the+same verdict as its `schema_pack_consistency` check (an undeclared type+warns with code `page_type_undeclared`).++When undeclared types show up, declare them in the pack+(`gbrain schema add-type <type> --primitive <p> --prefix <dir/>`) or rewrite+the pages with a declared type. When more than 10% of a source is untyped,+run the EIIRP Phase 3 SCHEMA CHECK flow to surface candidate types via+`schema detect`.## Output Formatdiff --git a/plugin/skills/eiirp/SKILL.md b/plugin/skills/eiirp/SKILL.mdindex bf8141497c..4746d10350 100644--- a/plugin/skills/eiirp/SKILL.md+++ b/plugin/skills/eiirp/SKILL.md@@ -397,7 +397,7 @@ Confirm:- [ ] No DRY violations (no duplicated logic across skills)- [ ] No MECE violations (no ambiguous routing between skills)- [ ] Active schema pack updated if new content types emerged-- [ ] `gbrain doctor` reports `schema_pack_consistency: ok`+- [ ] `gbrain schema review-orphans --json` reports `orphan_count: 0` (no untyped pages and no undeclared types)## Phase 7: REPORT — Summary@@ -423,7 +423,7 @@ Confirm:- DRY check: [clean]- MECE audit: [clean]- Active pack: [name] v[version]-- schema_pack_consistency: [ok / warn — pct untyped]+- schema review-orphans: [orphan_count 0 / N untyped + M undeclared-type pages]```## Output Format@@ -449,7 +449,7 @@ EIIRP produces a single Phase 7 report block. Plain markdown:- DRY check: [clean|N violations]- MECE audit: [clean|N overlaps]- Active pack: [name] v[version]-- schema_pack_consistency: [ok|warn — N% untyped]+- schema review-orphans: [0 orphans|N untyped + M undeclared-type pages]```Always machine-readable: stable section headers + bullet-per-item. The@@ -526,5 +526,7 @@ reads it; doctor cross-references the pack version).`brain/schema.md`.- Phase 5 SKILL GRAPH AUDIT calls `gbrain check-resolvable` instead ofupstream `scripts/skill-dry-check.mjs`.-- Phase 6 verification uses `gbrain doctor`'s schema_pack_consistency- check (T7) for the persistent surface.+- Phase 6 verification uses `gbrain schema review-orphans` (untyped pages+ plus undeclared types, the same classification as `schema lint+ --with-db`); over MCP, `run_doctor`'s schema_pack_consistency check+ carries the same verdict.diff --git a/plugin/skills/meeting-ingestion/SKILL.md b/plugin/skills/meeting-ingestion/SKILL.mdindex 29f82efcdf..6475263678 100644--- a/plugin/skills/meeting-ingestion/SKILL.md+++ b/plugin/skills/meeting-ingestion/SKILL.md@@ -119,8 +119,10 @@ source_url: "..." # link back to the source platform, if anyfrom it into the brain.Retain the raw transcript when the source provides one: file it as a sidecar-page (e.g. `meetings/YYYY-MM-DD-{slug}-transcript`) or keep the source file-reachable, and link it from the meeting page. The transcript is the canonical+page with `type: source` at `sources/meetings/YYYY-MM-DD-{slug}-transcript`+(the default pack files raw evidence as `source` under `sources/`; never+invent `meeting-transcript`, and don't write the `transcript` alias) or keep+the source file reachable, and link it from the meeting page. The transcript is the canonicalevidence for every quote and claim check downstream.**Redact before you retain.** A raw transcript routinely captures pasted@@ -415,7 +417,7 @@ Phase 4. An unflagged anonymous label means speaker resolution was skipped.quote still shares a long contiguous run of content words, a fabricated onedoes not.```bash- gbrain get meetings/{date}-{slug}-transcript # then locate each quote span+ gbrain get sources/meetings/{date}-{slug}-transcript # then locate each quote span```- **Prompt checklist (no transcript retained):** re-read the source notes andattest that each quote traces to them word-for-word.diff --git a/plugin/skills/reports/SKILL.md b/plugin/skills/reports/SKILL.mdindex 5f6363df71..dde5e89139 100644--- a/plugin/skills/reports/SKILL.md+++ b/plugin/skills/reports/SKILL.md@@ -39,7 +39,8 @@ This skill guarantees:```yaml---title: {report title}- type: report+ type: note # a type the default pack declares; `report` is undeclared+ report_type: {category name}category: {category name}date: {YYYY-MM-DD}time: {HH:MM PT}diff --git a/scripts/structural-suites.tsv b/scripts/structural-suites.tsvindex 52676bffc9..84761dc4c5 100644--- a/scripts/structural-suites.tsv+++ b/scripts/structural-suites.tsv@@ -168,6 +168,7 @@ test/fix-wave-structural.test.ts v0.42.20.0 — background-work registry drainstest/fix-wave-structural.test.ts v0.42.20.0 — search-cache drained via the background-work registry 1 source-surface-helpertest/fix-wave-structural.test.ts v0.42.43.0 #2095 — volunteer-events sink + cycle purge wiring (structural pins) 2 readFileSync,source-surface-helpertest/frontmatter-install-hook.test.ts frontmatter install-hook (B13) 22 readFileSync+test/gbrain-owned-page-types.test.ts #5881 gbrain-owned page types are declared by gbrain-base-v2 3 readFileSynctest/get-page-federated-scope.test.ts #2555 get_chunks federated scope 5 source-surface-helpertest/get-page-federated-scope.test.ts #4275 alias hop scope: archived sources, include_deleted, fuzzy precedence, grant precedence 5 source-surface-helpertest/harness-onboarding.test.ts harness identity and private handoff 5 readFileSyncdiff --git a/skills/skills.lock.json b/skills/skills.lock.jsonindex 7ea3242f0c..632e3e8da8 100644--- a/skills/skills.lock.json+++ b/skills/skills.lock.json@@ -23,7 +23,7 @@"brain-ops/SKILL.md": "6586d82a135f312dc330a3e7dc71f753285b639eb997740344e9521336cab109","brain-pdf/SKILL.md": "c24727ade7c222606249bbf690ddede1bebe218122c9cf9060a2baa6b63d3bc8","brain-pdf/routing-eval.jsonl": "119e4fa113ea45783cee4499e63a729fdeecb4d9a45d47497754b4f5b21d0734",- "brain-taxonomist/SKILL.md": "dea4557b540868ec2c56bf43ee7f63c5d03a22d4047cd0dfbeaf19adef334f60",+ "brain-taxonomist/SKILL.md": "bedf3b71487ee998603cabb61bca102691c73b192537f4521cf7b5b795cd1695","brain-taxonomist/routing-eval.jsonl": "8b485b3d735aace60be703854f0f2e9d97c52d52564efdaf7334a0c39e8d20ae","briefing/SKILL.md": "f86ad2238104de20433436dcc8f2cc5534e7df8dad4e4845252f85b8290cde53","briefing/routing-eval.jsonl": "c056fea88f673e324d6a72cb70438cd6fcdbd09ec2cd036d44eb31a9ea6bf33d",@@ -76,7 +76,7 @@"db-repair/routing-eval.jsonl": "45791b0bf2cb9f98b8e58d82e95288ff17ad44cab484ab570cfc2ccb14583935","draft-in-voice/SKILL.md": "0634fce165700cc8f9a4433e02229ef9b98f52d1ac88848cc7529f9bc43496a7","draft-in-voice/routing-eval.jsonl": "590fc16277ed7c3338776e7fac6daf1270b91058941f8101079bb295d2d8f787",- "eiirp/SKILL.md": "d58464cd02a6e5a21d2ad23cf946fbe97ab197de029cfc29e437265ce4c74eb2",+ "eiirp/SKILL.md": "ea32eab52c2aef7c704b6608fe3431702dc42459bd3c2ee4a2eb65e7cc498ec8","eiirp/routing-eval.jsonl": "d0000eec8154ba48488eed07e8f1a6a0ccb66d0b39e41f29d279a875c1673227","enrich/SKILL.md": "a876b1f89ab0b492bcf3ebbe3447f682ecbcf4f83d213d3ca854c3922f2b3fb5","fact-check/SKILL.md": "21a28e6cf6c5494e7c3e97dfa6bf6139b97c735fc229c974bbad89db4a2ff4a9",@@ -98,7 +98,7 @@"measure-before-you-fix/SKILL.md": "1fd3b40ab65cbd08f50dea16107701859165469be3c85c57d779c7b4bbf92db8","measure-before-you-fix/routing-eval.jsonl": "0661df9974a9cfe31216d574b1db0ef341945c2eb844ebf4ab6920fcbbc90d6c","media-ingest/SKILL.md": "4cb0dee1011dce0d5a65dfa4610820511ed6e2da005c7ba15500c79f0b9bcb2f",- "meeting-ingestion/SKILL.md": "0b4498d822b94bbe292aa98cd73a684473b29ed08365c43fb885b0f7955e2733",+ "meeting-ingestion/SKILL.md": "898ac27fd540641f946168095e494b115b924298f1512858aa813d0d2aa49918","meeting-ingestion/routing-eval.jsonl": "1995dc75eff09fd2e5fb403a10c81dc71b4c12035d48c77e57da0134c81f731a","migrate/SKILL.md": "012ac9d709183b9d8502e91b2adf345a44901951ff41343d6473f396d2d1a58f","migrations/.gitkeep": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",@@ -179,7 +179,7 @@"remote-mcp/SKILL.md": "3021054e2b21fa589310181d5140bc6caae5a4d75e3f3aa2cdbddac272cd4873","remote-mcp/routing-eval.jsonl": "7287693135c9fe2d6495d81d22746ddf41b116254db4b6e683dbdee251e08f8e","repo-architecture/SKILL.md": "4ec2b8f45d168aaa55f17ecd1ed404ab04217a75c2317f0710c71705846f5394",- "reports/SKILL.md": "02b67964afa4543050ea42631ed0a4a0f2946c73541e766bdf6370b6471192d2",+ "reports/SKILL.md": "cdd1e67b264a9b9605291053b24013d3f72f1ca4738e92e4bb8d8226192b7602","reports/routing-eval.jsonl": "233f891eb8057fc6bb300d914d154300e6a6baf55fe455aba8854d6daa082f2c","research-compendium/SKILL.md": "3394628692d6722bb73d3c019051f7c6d3f8cf2e8b42ecdfa4c36d2a7e8dbad5","research-compendium/routing-eval.jsonl": "7446cdcaf9c43fe2e20aaf129a705f13a7743f5f14455a7a21c663572def9078",