Skip to content

Takes robertblust/mental-model 7fd8db9, reading its packs - #401

Merged
robertblust merged 2 commits into
mainfrom
the-model-builds-its-packs
Oct 25, 2026
Merged

robertblust merged 2 commits into
mainfrom
the-model-builds-its-packs

Conversation

@robertblust

Copy link
Copy Markdown
Owner

robertblust/mental-model now takes CompanyGraph's landscape pack and names one system kind, Deployment, and one system, id.blust.ch. build/model.mjs read the model against meta/core/ alone, so the re-pin failed R13 on the pack's folders. The first commit reads the schemas through the model's .companygraph/manifest.json in build/schemas.mjs, the readSchemas companygraph.io uses: core under bare keys, each listed pack under /, and a listed pack with no files refused by name. Three new tests in build/renderers.test.mjs hold it.

The second commit moves source.json from c259512 to 7fd8db9 and runs the pin's after steps. model.json takes the system and the kind, the model page draws them, and two new id pages redirect to them. The privacy page, the principles and the surfaces change only by the commit they name.

Verified: npm run test:build (25 pass); every command of pins.json's verify list passed, including model:check, pin:check and the link check over 483 links; MENTAL_MODEL=<checkout at 7fd8db9> npm run model:check; npx design german stale HEAD^ HEAD; sh conventions/conventions-check.

🤖 Generated with Claude Code

robertblust and others added 2 commits October 25, 2026 05:32
build/model.mjs read the model against meta/core/ alone, so a model that takes a pack could not be built: the landscape pack's system-kinds/ and systems/ folders failed R13 as declared by no schema. The schemas now come through the model's .companygraph/manifest.json in build/schemas.mjs, the readSchemas companygraph.io uses: core under bare keys, each listed pack beside it under <pack>/<file>, and a listed pack with no files refused by name. build/read.mjs gives an absent folder as no files and a path to one file as that file, locally as on GitHub, so both routes meet the same check. A model without packs reads core alone, as before.

Verified: npm run test:build (25 pass, three new); npm run model:check at c259512; sh conventions/conventions-check.

Process: Delivery
Phase: Implement
Track: Code
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The re-pin moves robertblust/mental-model in source.json from c259512 to 7fd8db9, where the model takes CompanyGraph's landscape pack and names one system kind, Deployment, and one system, id.blust.ch. model.json takes both, the model page draws them, and each gets its id page. The privacy page, the principles and the surfaces change only by the commit they name, and the cards follow.

Verified: npm run model, pages, pictures, pages, og and sitemap ran; every command of pins.json's verify list passed; npx design german stale HEAD^ HEAD; sh conventions/conventions-check.

Process: Delivery
Phase: Implement
Track: Code
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@robertblust
robertblust merged commit e78622b into main Oct 25, 2026
2 checks passed
@robertblust
robertblust deleted the the-model-builds-its-packs branch October 25, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant