Repository navigation
Brain-resident gbrain skillpack so a synced brain keeps its types - #8
Merged
Merged
Conversation
A brain in this layout synced into gbrain on its default pack loses its structure: gbrain-base-v2 declares 15 page types, retypes everything else to note, and folds product into company. Measured on a 15-page sample brain, gbrain's own unify-types dry run would retype 9 of 15 pages, and the relationships between them collapse to generic mentions. This adds the pack gbrain looks for when a harness connects (brain_resident, schema_pack: company-brain): - skills/company-brain/SKILL.md - install the company-brain schema pack, sync with typed links (extract needs --source db --include-frontmatter), read the brain through typed edges, and write back under the curation tiers. - runbooks/bootstrap.md - what a connecting harness walks through, read AGENTS.md and the curation contract first. - evals/company-brain.judge.json - three judge cases: sync preserves the layout, answers are cited and current, writes respect the tiers. - skillpack.json, CHANGELOG.md, and a short README pointer. gbrain skillpack doctor scores it 8/10 (community): all 5 core dimensions plus the runbook and license. The two unit/e2e test badges do not apply to a Markdown brain, so they are left unearned rather than faked. The schema pack itself lives at github.com/mattzimak/gbrain-company-brain. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the gbrain brain-resident skillpack to the template:
skillpack.json(brain_resident: true,schema_pack: company-brain),skills/company-brain/SKILL.md,runbooks/bootstrap.md,evals/company-brain.judge.json, a CHANGELOG, and a short README pointer. Everything is additive and optional; nothing existing changes except one appended README section.Why
A brain in this layout synced into gbrain on its default pack loses its structure.
gbrain-base-v2declares 15 page types, retypes every other type tonote, and foldsproductintocompany.Measured, not assumed. gbrain's own dry run on a 15-page sample brain:
The relationships flatten too: a decision page keeps one generic
mentionsedge instead ofdecided_in,owned_byandsupersedes.How it was verified
gbrain skillpack doctor .-> 8/10 (community): all 5 core dimensions, plus bootstrap runbook and license. The unit/e2e test badges do not apply to a Markdown brain and are left unearned rather than faked.owned_by,supersedes,decided_in,competes_with,championandattendededges.scripts/validate-frontmatter.shonly scans the canonical folders and root files, so the newskills/andevals/files do not affect it. gitleaks clean.Notes
Two gbrain limitations found while building this are filed upstream and worked around in the skill's commands: garrytan/gbrain#5142 (fs extraction ignores the active pack, so use
--source db --include-frontmatter) and garrytan/gbrain#5143.🤖 Generated with Claude Code