Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(skills): idea-ingest/ingest honor the documented notability gate (no author stubs) (#5587)
garrytan658d6109e6e9
diff --git a/plugin-variants/gbrain-coding/skills/idea-ingest/SKILL.md b/plugin-variants/gbrain-coding/skills/idea-ingest/SKILL.mdindex c1a53f5db2..ca3d544a50 100644--- a/plugin-variants/gbrain-coding/skills/idea-ingest/SKILL.md+++ b/plugin-variants/gbrain-coding/skills/idea-ingest/SKILL.md@@ -1,11 +1,12 @@---name: idea-ingest-version: 1.1.0+version: 1.2.0upstream: idea-ingest@fc834eedescription: |Ingest links, articles, tweets, and ideas into the brain. Fetch content, save- to brain with analysis, create author people page, and cross-link. Use when the- user shares a link or says "read this", "save this", "think about this".+ to brain with analysis, credit the author (people page only when they pass the+ notability gate), and cross-link. Use when the user shares a link or says+ "read this", "save this", "think about this".triggers:- shares a link or URL- "read this"@@ -36,7 +37,11 @@ writes_to:This skill guarantees:- Every ingested item has a brain page with genuine analysis (not just a summary)-- The author gets a people page (MANDATORY for anyone whose thinking is worth ingesting)+- The author is always credited: back-linked from an existing `people/` page (timeline update),+ or inline on the ingested page (`**Author:** {Author}, {role}`) when no page exists. A NEW+ `people/` page is created only when the author passes the notability gate AND you have at+ least two independent, durable facts about them beyond this one item — never a stub+ (`skills/_brain-filing-rules.md` §Notability Gate)- Cross-links created bidirectionally (source ↔ author, source ↔ mentioned entities)- Raw source preserved for provenance via `gbrain files upload-raw`- Every fact has an inline `[Source: ...]` citation@@ -44,7 +49,8 @@ This skill guarantees:**Returns** (when invoked by another skill or sub-agent):- `page_path`: brain page path of the ingested item (e.g., `concepts/flywheel-effects`)-- `author_path`: brain page path of the author (e.g., `people/alice-example`)+- `author_path`: brain page path of the author (e.g., `people/alice-example`), or `null` when+ the notability gate was skipped and the author was credited inline instead- `cross_links`: list of all cross-links created- `status`: `ingested` | `updated` | `fetch_failed`@@ -59,11 +65,14 @@ Format: `- **YYYY-MM-DD** | Referenced in [page title](path) — brief context`2. **Upload raw source.** Save the fetched content for provenance: `gbrain files upload-raw <file> --page <slug>`-3. **Identify the author — MANDATORY people page.** Anyone whose thinking is worth ingesting is worth tracking.- - Search brain for existing author page- - If no page → CREATE ONE with compiled truth + timeline format- - If page exists → update timeline with this new publication- - Cross-link both directions+3. **Identify the author — notability-gated.** Search brain for an existing author page first.+ - If page exists → update timeline with this new publication, then cross-link both directions+ - If no page → create one ONLY if the author passes the notability gate+ (`skills/_brain-filing-rules.md` §Notability Gate, `skills/conventions/quality.md`) AND at+ least two independent, durable facts about them exist beyond this one item. Create a FULL+ page (not a stub) from enrichment — a single ingested item is not an entity worth a page.+ - Otherwise credit the author inline on the ingested page (`**Author:** {Author}, {role}`) and+ note the gap in the reply. When in doubt, DON'T create. A missing page can be created later.4. **Save to brain.** File by PRIMARY SUBJECT (read `skills/_brain-filing-rules.md`):- About a person → `people/`@@ -115,7 +124,8 @@ Format: `- **YYYY-MM-DD** | Referenced in [page title](path) — brief context`- Just summarizing without connecting to brain knowledge- Filing everything in `sources/` (sources is for raw data dumps only)-- Skipping the author people page+- Dropping the author credit entirely — neither a back-link on an existing author page nor an inline `**Author:**` line on the ingested page+- Creating a `people/` page that fails the notability gate in `skills/_brain-filing-rules.md` or is a stub built from this one item- Not cross-linking to mentioned entities- Ingesting without checking brain first for existing coverage- Overwriting an existing brain page instead of merging new content into itdiff --git a/plugin-variants/gbrain-coding/skills/ingest/SKILL.md b/plugin-variants/gbrain-coding/skills/ingest/SKILL.mdindex 78d49e2085..f172bcea31 100644--- a/plugin-variants/gbrain-coding/skills/ingest/SKILL.md+++ b/plugin-variants/gbrain-coding/skills/ingest/SKILL.md@@ -35,6 +35,10 @@ Ingest meetings, articles, media, documents, and conversations into the brain.- Raw sources are preserved for provenance via `gbrain files upload-raw` with automatic size routing.- State sections are rewritten with current best understanding, never appended to.- Entity detection fires on every inbound message; notable entities get pages or updates.+- Notability gate before any new entity page: existing pages are updated, and a NEW page is+ created only for a notable entity and only with meaningful content from web search or+ existing brain context — no stubs. A non-notable mention stays an inline reference on the+ page that mentions it.> **Convention:** See `skills/conventions/quality.md` for Iron Law back-linking.diff --git a/plugin-variants/gbrain-daily/skills/ingest/SKILL.md b/plugin-variants/gbrain-daily/skills/ingest/SKILL.mdindex 78d49e2085..f172bcea31 100644--- a/plugin-variants/gbrain-daily/skills/ingest/SKILL.md+++ b/plugin-variants/gbrain-daily/skills/ingest/SKILL.md@@ -35,6 +35,10 @@ Ingest meetings, articles, media, documents, and conversations into the brain.- Raw sources are preserved for provenance via `gbrain files upload-raw` with automatic size routing.- State sections are rewritten with current best understanding, never appended to.- Entity detection fires on every inbound message; notable entities get pages or updates.+- Notability gate before any new entity page: existing pages are updated, and a NEW page is+ created only for a notable entity and only with meaningful content from web search or+ existing brain context — no stubs. A non-notable mention stays an inline reference on the+ page that mentions it.> **Convention:** See `skills/conventions/quality.md` for Iron Law back-linking.diff --git a/plugin/skills/idea-ingest/SKILL.md b/plugin/skills/idea-ingest/SKILL.mdindex c1a53f5db2..ca3d544a50 100644--- a/plugin/skills/idea-ingest/SKILL.md+++ b/plugin/skills/idea-ingest/SKILL.md@@ -1,11 +1,12 @@---name: idea-ingest-version: 1.1.0+version: 1.2.0upstream: idea-ingest@fc834eedescription: |Ingest links, articles, tweets, and ideas into the brain. Fetch content, save- to brain with analysis, create author people page, and cross-link. Use when the- user shares a link or says "read this", "save this", "think about this".+ to brain with analysis, credit the author (people page only when they pass the+ notability gate), and cross-link. Use when the user shares a link or says+ "read this", "save this", "think about this".triggers:- shares a link or URL- "read this"@@ -36,7 +37,11 @@ writes_to:This skill guarantees:- Every ingested item has a brain page with genuine analysis (not just a summary)-- The author gets a people page (MANDATORY for anyone whose thinking is worth ingesting)+- The author is always credited: back-linked from an existing `people/` page (timeline update),+ or inline on the ingested page (`**Author:** {Author}, {role}`) when no page exists. A NEW+ `people/` page is created only when the author passes the notability gate AND you have at+ least two independent, durable facts about them beyond this one item — never a stub+ (`skills/_brain-filing-rules.md` §Notability Gate)- Cross-links created bidirectionally (source ↔ author, source ↔ mentioned entities)- Raw source preserved for provenance via `gbrain files upload-raw`- Every fact has an inline `[Source: ...]` citation@@ -44,7 +49,8 @@ This skill guarantees:**Returns** (when invoked by another skill or sub-agent):- `page_path`: brain page path of the ingested item (e.g., `concepts/flywheel-effects`)-- `author_path`: brain page path of the author (e.g., `people/alice-example`)+- `author_path`: brain page path of the author (e.g., `people/alice-example`), or `null` when+ the notability gate was skipped and the author was credited inline instead- `cross_links`: list of all cross-links created- `status`: `ingested` | `updated` | `fetch_failed`@@ -59,11 +65,14 @@ Format: `- **YYYY-MM-DD** | Referenced in [page title](path) — brief context`2. **Upload raw source.** Save the fetched content for provenance: `gbrain files upload-raw <file> --page <slug>`-3. **Identify the author — MANDATORY people page.** Anyone whose thinking is worth ingesting is worth tracking.- - Search brain for existing author page- - If no page → CREATE ONE with compiled truth + timeline format- - If page exists → update timeline with this new publication- - Cross-link both directions+3. **Identify the author — notability-gated.** Search brain for an existing author page first.+ - If page exists → update timeline with this new publication, then cross-link both directions+ - If no page → create one ONLY if the author passes the notability gate+ (`skills/_brain-filing-rules.md` §Notability Gate, `skills/conventions/quality.md`) AND at+ least two independent, durable facts about them exist beyond this one item. Create a FULL+ page (not a stub) from enrichment — a single ingested item is not an entity worth a page.+ - Otherwise credit the author inline on the ingested page (`**Author:** {Author}, {role}`) and+ note the gap in the reply. When in doubt, DON'T create. A missing page can be created later.4. **Save to brain.** File by PRIMARY SUBJECT (read `skills/_brain-filing-rules.md`):- About a person → `people/`@@ -115,7 +124,8 @@ Format: `- **YYYY-MM-DD** | Referenced in [page title](path) — brief context`- Just summarizing without connecting to brain knowledge- Filing everything in `sources/` (sources is for raw data dumps only)-- Skipping the author people page+- Dropping the author credit entirely — neither a back-link on an existing author page nor an inline `**Author:**` line on the ingested page+- Creating a `people/` page that fails the notability gate in `skills/_brain-filing-rules.md` or is a stub built from this one item- Not cross-linking to mentioned entities- Ingesting without checking brain first for existing coverage- Overwriting an existing brain page instead of merging new content into itdiff --git a/plugin/skills/ingest/SKILL.md b/plugin/skills/ingest/SKILL.mdindex 78d49e2085..f172bcea31 100644--- a/plugin/skills/ingest/SKILL.md+++ b/plugin/skills/ingest/SKILL.md@@ -35,6 +35,10 @@ Ingest meetings, articles, media, documents, and conversations into the brain.- Raw sources are preserved for provenance via `gbrain files upload-raw` with automatic size routing.- State sections are rewritten with current best understanding, never appended to.- Entity detection fires on every inbound message; notable entities get pages or updates.+- Notability gate before any new entity page: existing pages are updated, and a NEW page is+ created only for a notable entity and only with meaningful content from web search or+ existing brain context — no stubs. A non-notable mention stays an inline reference on the+ page that mentions it.> **Convention:** See `skills/conventions/quality.md` for Iron Law back-linking.diff --git a/skills/idea-ingest/SKILL.md b/skills/idea-ingest/SKILL.mdindex c1a53f5db2..ca3d544a50 100644--- a/skills/idea-ingest/SKILL.md+++ b/skills/idea-ingest/SKILL.md@@ -1,11 +1,12 @@---name: idea-ingest-version: 1.1.0+version: 1.2.0upstream: idea-ingest@fc834eedescription: |Ingest links, articles, tweets, and ideas into the brain. Fetch content, save- to brain with analysis, create author people page, and cross-link. Use when the- user shares a link or says "read this", "save this", "think about this".+ to brain with analysis, credit the author (people page only when they pass the+ notability gate), and cross-link. Use when the user shares a link or says+ "read this", "save this", "think about this".triggers:- shares a link or URL- "read this"@@ -36,7 +37,11 @@ writes_to:This skill guarantees:- Every ingested item has a brain page with genuine analysis (not just a summary)-- The author gets a people page (MANDATORY for anyone whose thinking is worth ingesting)+- The author is always credited: back-linked from an existing `people/` page (timeline update),+ or inline on the ingested page (`**Author:** {Author}, {role}`) when no page exists. A NEW+ `people/` page is created only when the author passes the notability gate AND you have at+ least two independent, durable facts about them beyond this one item — never a stub+ (`skills/_brain-filing-rules.md` §Notability Gate)- Cross-links created bidirectionally (source ↔ author, source ↔ mentioned entities)- Raw source preserved for provenance via `gbrain files upload-raw`- Every fact has an inline `[Source: ...]` citation@@ -44,7 +49,8 @@ This skill guarantees:**Returns** (when invoked by another skill or sub-agent):- `page_path`: brain page path of the ingested item (e.g., `concepts/flywheel-effects`)-- `author_path`: brain page path of the author (e.g., `people/alice-example`)+- `author_path`: brain page path of the author (e.g., `people/alice-example`), or `null` when+ the notability gate was skipped and the author was credited inline instead- `cross_links`: list of all cross-links created- `status`: `ingested` | `updated` | `fetch_failed`@@ -59,11 +65,14 @@ Format: `- **YYYY-MM-DD** | Referenced in [page title](path) — brief context`2. **Upload raw source.** Save the fetched content for provenance: `gbrain files upload-raw <file> --page <slug>`-3. **Identify the author — MANDATORY people page.** Anyone whose thinking is worth ingesting is worth tracking.- - Search brain for existing author page- - If no page → CREATE ONE with compiled truth + timeline format- - If page exists → update timeline with this new publication- - Cross-link both directions+3. **Identify the author — notability-gated.** Search brain for an existing author page first.+ - If page exists → update timeline with this new publication, then cross-link both directions+ - If no page → create one ONLY if the author passes the notability gate+ (`skills/_brain-filing-rules.md` §Notability Gate, `skills/conventions/quality.md`) AND at+ least two independent, durable facts about them exist beyond this one item. Create a FULL+ page (not a stub) from enrichment — a single ingested item is not an entity worth a page.+ - Otherwise credit the author inline on the ingested page (`**Author:** {Author}, {role}`) and+ note the gap in the reply. When in doubt, DON'T create. A missing page can be created later.4. **Save to brain.** File by PRIMARY SUBJECT (read `skills/_brain-filing-rules.md`):- About a person → `people/`@@ -115,7 +124,8 @@ Format: `- **YYYY-MM-DD** | Referenced in [page title](path) — brief context`- Just summarizing without connecting to brain knowledge- Filing everything in `sources/` (sources is for raw data dumps only)-- Skipping the author people page+- Dropping the author credit entirely — neither a back-link on an existing author page nor an inline `**Author:**` line on the ingested page+- Creating a `people/` page that fails the notability gate in `skills/_brain-filing-rules.md` or is a stub built from this one item- Not cross-linking to mentioned entities- Ingesting without checking brain first for existing coverage- Overwriting an existing brain page instead of merging new content into itdiff --git a/skills/ingest/SKILL.md b/skills/ingest/SKILL.mdindex 78d49e2085..f172bcea31 100644--- a/skills/ingest/SKILL.md+++ b/skills/ingest/SKILL.md@@ -35,6 +35,10 @@ Ingest meetings, articles, media, documents, and conversations into the brain.- Raw sources are preserved for provenance via `gbrain files upload-raw` with automatic size routing.- State sections are rewritten with current best understanding, never appended to.- Entity detection fires on every inbound message; notable entities get pages or updates.+- Notability gate before any new entity page: existing pages are updated, and a NEW page is+ created only for a notable entity and only with meaningful content from web search or+ existing brain context — no stubs. A non-notable mention stays an inline reference on the+ page that mentions it.> **Convention:** See `skills/conventions/quality.md` for Iron Law back-linking.diff --git a/skills/skills.lock.json b/skills/skills.lock.jsonindex 1925bf0e0b..da40b709ed 100644--- a/skills/skills.lock.json+++ b/skills/skills.lock.json@@ -88,10 +88,10 @@"gbrain-advisor/SKILL.md": "b4186ce45ba1b5b90b62aee2cc39a72f56edf148f27507219afaeeeee87b22f6","gbrain-upgrade/SKILL.md": "dcd1ee1d12d500fc1f56d1545c3f05fc305619f295dba53ea1843ae9d820ae1e","google-loops/SKILL.md": "b571b31c2e6c0675d6c710db8801492590a8d5aa9a1e8b90f0f0c33d4470e8c9",- "idea-ingest/SKILL.md": "01ef449b7d5df52553cfd7c05d1365085058eda32de4fad3e67a22311ccd49f5",+ "idea-ingest/SKILL.md": "38a809a9073c7d8f71306240dbd764c94e6f39123ccbac1ecf0db46fbfbb0805","idea-lineage/SKILL.md": "bbf37781d93b71ddc7909ecc5ab635872c874fb8591995dbf88b45ffeac6b1de","idea-lineage/routing-eval.jsonl": "ee2e00704b9accb7dd58bb8f126a3bc04a2c40be499180fa505dbf6d5061cd41",- "ingest/SKILL.md": "dc40ecc0072806fb8c7bb6ab9cf1f103842e05653eb55d67632d7e3ffc4dd7d2",+ "ingest/SKILL.md": "31df4c7c8eb1054bbe61c459042ed535733da802640f7a0bf89ec4699680239e","maintain/SKILL.md": "1bd23d13dd9804b97fbc75e13161f1a654fb2dde98d17a10e73bf3170cf8034e","manifest.json": "357aa185d380f0a357cb15cd513317e290cbc5fcf5ca4e3860b0e829fdcbf1e4","mcp-access/SKILL.md": "d96d0720d3f15f442e2f87803354206795f04ae114869a2cf608aa5c9955585d",