diff --git a/.github/workflows/conventions.yml b/.github/workflows/conventions.yml index 98f39c68..ef8de2fd 100644 --- a/.github/workflows/conventions.yml +++ b/.github/workflows/conventions.yml @@ -5,4 +5,4 @@ on: pull_request: jobs: conventions: - uses: robertblust/conventions/.github/workflows/check.yml@v1.60.0 + uses: robertblust/conventions/.github/workflows/check.yml@v1.61.0 diff --git a/AGENTS.md b/AGENTS.md index 5244b6cf..e02b0644 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ - + Shared conventions of the robertblust, guestgraph and companygraph organizations live in `conventions/`, vendored from robertblust/conventions at the release `conventions.json` names. Read them before writing or committing anything here. - `conventions/WRITING.md` — how we write: one voice, three registers, English and German. diff --git a/conventions.json b/conventions.json index e0c0af3f..81aeab10 100644 --- a/conventions.json +++ b/conventions.json @@ -1 +1 @@ -{ "repo": "robertblust/conventions", "tag": "v1.60.0", "exclude": ["node_modules", "docs/superpowers"], "format-exclude": ["node_modules"] } +{ "repo": "robertblust/conventions", "tag": "v1.61.0", "exclude": ["node_modules", "docs/superpowers"], "format-exclude": ["node_modules"] } diff --git a/conventions/AGENTS.md b/conventions/AGENTS.md index 415236d6..017eeb6d 100644 --- a/conventions/AGENTS.md +++ b/conventions/AGENTS.md @@ -1,4 +1,4 @@ - + Shared conventions of the robertblust, guestgraph and companygraph organizations live in `conventions/`, vendored from robertblust/conventions at the release `conventions.json` names. Read them before writing or committing anything here. - `conventions/WRITING.md` — how we write: one voice, three registers, English and German. diff --git a/conventions/REPOSITORIES.md b/conventions/REPOSITORIES.md index 09bed39f..4845946b 100644 --- a/conventions/REPOSITORIES.md +++ b/conventions/REPOSITORIES.md @@ -34,7 +34,7 @@ What is listed here is the family; what is not listed is outside it. An agent wo ## What pins what -The three sites pin `robertblust/design` by tag in `package.json`, and `npm run design` writes the fenced copies. blust.ch pins `robertblust/mental-model`, companygraph.io pins `companygraph/meta-model` and `companygraph/mental-model`, and guestgraph.io pins `guestgraph/mental-model`, each by commit in `source.json`, and each builds its model pages from that commit. All three sites also depend on `companygraph/meta-model` by tag in `package.json` for the instance parser, and take `companygraph/mcp-server` by tag there too. guestgraph.io pins `guestgraph/engine` and `guestgraph/connector-apaleo` by commit in `api-sources.json`, and builds its API pages from the OpenAPI specification each commit holds. The three instances, `robertblust/mental-model`, `companygraph/mental-model` and `guestgraph/mental-model`, each vendor meta-model's `core/` at the release that `core.version` names in their own `.companygraph/manifest.json`. The engine and the connector each vendor `guestgraph/service-conventions` at the tag in `service-conventions.json`, and the connector pins the contracts it implements, which live under the engine's `specs/`, by commit in `src/main/resources/api/sources.json`. The MCP server depends on `companygraph/meta-model` by tag in `package.json` for the same parser; each of its four deployments pins an instance by commit in `source.json`, mcp.blust.ch `robertblust/mental-model`, mcp.companygraph.io and mcp.azure.companygraph.io `companygraph/mental-model` and mcp.guestgraph.io `guestgraph/mental-model`, and the server and `robertblust/design` by tag in `package.json`, and builds and deploys with the parts the server ships under `deploy/`. The chat server takes `companygraph/mcp-server` by tag in `package.json` as a development dependency and is a client of whichever MCP host a deployment names, and each of the four deployments pins it and `robertblust/design` by tag in `chat/package.json` and deploys it beside the host from the parts it ships under `deploy/`, so a re-pin of the host is a change the chat sees without one of its own. The identity service, `robertblust/id-blust-ch`, pins no member: it takes ZITADEL by image tag in `infra/run.tf`, and the three deployments on Google name it in `chat/chat.json` as the issuer its chat verifies a signed-in reader against, a dependency at run time and not a pin. The Obsidian plugin depends on `companygraph/meta-model` by tag in `package.json` for the parser and the checks, and bundles them into what it releases. Every member pins this repository by tag in `conventions.json`. +The three sites pin `robertblust/design` by tag in `package.json`, and `npm run design` writes the fenced copies. blust.ch pins `robertblust/mental-model`, companygraph.io pins `companygraph/meta-model` and `companygraph/mental-model`, and guestgraph.io pins `guestgraph/mental-model`, each by commit in `source.json`, and each builds its model pages from that commit. All three sites also depend on `companygraph/meta-model` for the instance parser, at a version from npm in `package.json`, and take `companygraph/mcp-server` the same way. guestgraph.io pins `guestgraph/engine` and `guestgraph/connector-apaleo` by commit in `api-sources.json`, and builds its API pages from the OpenAPI specification each commit holds. The three instances, `robertblust/mental-model`, `companygraph/mental-model` and `guestgraph/mental-model`, each vendor meta-model's `core/` at the release that `core.version` names in their own `.companygraph/manifest.json`. The engine and the connector each vendor `guestgraph/service-conventions` at the tag in `service-conventions.json`, and the connector pins the contracts it implements, which live under the engine's `specs/`, by commit in `src/main/resources/api/sources.json`. The MCP server depends on `companygraph/meta-model` at a version from npm in `package.json` for the same parser; each of its four deployments pins an instance by commit in `source.json`, mcp.blust.ch `robertblust/mental-model`, mcp.companygraph.io and mcp.azure.companygraph.io `companygraph/mental-model` and mcp.guestgraph.io `guestgraph/mental-model`, and the server at a version from npm and `robertblust/design` by tag in `package.json`, and builds and deploys with the parts the server ships under `deploy/`. The chat server takes `companygraph/mcp-server` at a version from npm in `package.json` as a development dependency and is a client of whichever MCP host a deployment names, and each of the four deployments pins it at a version from npm and `robertblust/design` by tag in `chat/package.json` and deploys it beside the host from the parts it ships under `deploy/`, so a re-pin of the host is a change the chat sees without one of its own. The identity service, `robertblust/id-blust-ch`, pins no member: it takes ZITADEL by image tag in `infra/run.tf`, and the three deployments on Google name it in `chat/chat.json` as the issuer its chat verifies a signed-in reader against, a dependency at run time and not a pin. The Obsidian plugin depends on `companygraph/meta-model` at a version from npm in `package.json` for the parser and the checks, and bundles them into what it releases. Every member pins this repository by tag in `conventions.json`. The same pins, drawn: an arrow runs from the member that pins to the repository it pins, and its label says how. Each node is named as its repository is, under its organization. @@ -66,21 +66,21 @@ flowchart TB mcpgg[mcp-guestgraph-io] end blust & cgio & ggio -->|tag| design - blust & ggio -->|tag| meta - cgio -->|tag, commit| meta + blust & ggio -->|version| meta + cgio -->|version, commit| meta blust -->|commit| rbmm cgio -->|commit| cgmm ggio -->|commit| ggmm ggio -->|commit| engine & connector rbmm & cgmm & ggmm -->|release of core/| meta - mcpsrv & obsidian -->|tag| meta - blust & cgio & ggio -->|tag| mcpsrv - chat -->|tag| mcpsrv + mcpsrv & obsidian -->|version| meta + blust & cgio & ggio -->|version| mcpsrv + chat -->|version| mcpsrv mcpblust & mcpcg & mcpaz & mcpgg -->|tag| design engine & connector -->|tag| svc connector -->|commit| engine - mcpblust & mcpcg & mcpgg -->|tag| mcpsrv & chat - mcpaz -->|tag| mcpsrv & chat + mcpblust & mcpcg & mcpgg -->|version| mcpsrv & chat + mcpaz -->|version| mcpsrv & chat mcpblust -->|commit| rbmm mcpcg & mcpaz -->|commit| cgmm mcpgg -->|commit| ggmm diff --git a/conventions/hooks/commit-msg b/conventions/hooks/commit-msg index abe000d2..bf00bafe 100755 --- a/conventions/hooks/commit-msg +++ b/conventions/hooks/commit-msg @@ -22,8 +22,8 @@ else instance=$path fi # Git hands the hook its own repository variables: GIT_INDEX_FILE always, and GIT_DIR in a -# linked worktree. npx clones meta-model, and a clone that inherits them writes meta-model's -# index over this repository's. Git runs the hook at the top of the working tree, so git var, +# linked worktree, and a git another program starts under them writes its own index over this +# repository's. Git runs the hook at the top of the working tree, so git var, # interpret-trailers and the checker find this repository from the working directory alone. unset GIT_INDEX_FILE GIT_DIR GIT_WORK_TREE GIT_PREFIX GIT_OBJECT_DIRECTORY GIT_ALTERNATE_OBJECT_DIRECTORIES tooling=$(sed -n 's/.*"tooling" *: *"\([^"]*\)".*/\1/p' "$instance/.companygraph/manifest.json" | head -1) @@ -33,7 +33,10 @@ out=$( if [ -n "${COMPANYGRAPH_CLI:-}" ]; then node "$COMPANYGRAPH_CLI" commits "$instance" --message "$1" elif command -v npx > /dev/null 2>&1 && [ -n "$tooling" ]; then - npx --yes --prefer-offline --package "github:companygraph/meta-model#v$tooling" companygraph commits "$instance" --message "$1" + # Not --prefer-offline: npm would trust a cached package document older than the release + # named here and answer that the release does not exist; without it, npm asks the registry + # whether its copy is current. + npx --yes --package "@companygraph/meta-model@$tooling" companygraph commits "$instance" --message "$1" else false fi diff --git a/conventions/manifest.json b/conventions/manifest.json index ae41fff6..4c79740f 100644 --- a/conventions/manifest.json +++ b/conventions/manifest.json @@ -1,10 +1,10 @@ { "repo": "robertblust/conventions", - "tag": "v1.60.0", + "tag": "v1.61.0", "files": { "conventions/WRITING.md": "sha256:51d9a902ec3038392160df07f86aba98d34db1d4dbfaa5f4a647590eaccfb390", "conventions/WORKING.md": "sha256:00590656306debe9aa63fdd16bdee5ffd8ed6942e8045f615642f45d4be58b88", - "conventions/REPOSITORIES.md": "sha256:75ffac1aaf2523ba7d8fcd1175d6a63b7a42516883ef4a7af5dde52c564bee85", + "conventions/REPOSITORIES.md": "sha256:bb32ea965373d3ae003e4108b0adccd36b623a158218e3b07cac71016a45eae0", "conventions/PINS.md": "sha256:0e789113c38226e8ce4fd5cd8be23bbdb3220399df45dbf206a82b4af144d54d", "conventions/WRITER.md": "sha256:bc3b92683130b75993f824f0e34073d4344846c91be2009fd90c39099fd4fd48", "conventions/TRANSLATOR.md": "sha256:3a3d2d0916d7230cbc760bced1be249b11cc516956fb41ad010b3216f23024ba", @@ -12,14 +12,14 @@ "conventions/GERMAN.md": "sha256:6a0ab79fd52f93d1361aceb83a1771ce6448124d5ea707af3d71baf9efe35e11", "conventions/EDITOR.md": "sha256:e65d0b2893ac841faefede9b873f7e33c1fd7b02bedf97d37d5362c0e83c08ea", "conventions/BACKREADER.md": "sha256:36b12d4bee8e4fe190469e2f550d50d8a7f6dcab6bec573da17eb1c165c417cd", - "conventions/AGENTS.md": "sha256:b00d614d22664de13b2932fef3791fdae5afa45e1b30b29166def9b213a49a02", + "conventions/AGENTS.md": "sha256:16657425db6687ee8005783f4234e299e037aee8168c2c0dee2c28b698b01085", "conventions/conventions-sync": "sha256:77ad68826a42bbd3b20e240175831baeb83bcde3dc7edab0e0222520f15c70af", "conventions/conventions-check": "sha256:6b596a10d635713057e63c6fe14a551e13ea54eb287871da46bc322fd1c0f22d", "conventions/conventions-format": "sha256:2911a0d30dda1bc0f621522a9538b3e39704eee03458e65ba320eccbf39b5c7f", "conventions/markdown-rules.cjs": "sha256:5cbf6120bf16e358b3a4e362015d054f0cd6e47ddfb0e5fe5ac17143b2bdef26", "conventions/vscode-settings.json": "sha256:86d3c951f7c06d86ee3bc828ad6e49fac3531be98117a7a590cc75da7ba3600a", "conventions/vscode-extensions.json": "sha256:bc61cd9278b6bd01f0b091efea96cc24c8a8c8f3ed884c7de7579abee384fce6", - "conventions/hooks/commit-msg": "sha256:4f46f55d8b918b65c7e1f48f67d63053bca658c9a0855c8ccc2b7410fdf0a95d", + "conventions/hooks/commit-msg": "sha256:c893ac4234455cb137fd02a51cabaa0b16f200b3f5a4eba1110dee78e1cb1a27", ".markdownlint-cli2.jsonc": "sha256:81cbb5431f8eaeeea01a4e0ec0e7ced6304fa5036c3915aca46d6960d96b4eb1", "CLAUDE.md": "sha256:ed4d8a69be583a788abab0585cea9c7d5d65a51dc3085fd4c38a727038fec9e8" } diff --git a/model.json b/model.json index cb031bba..8db0dd29 100644 --- a/model.json +++ b/model.json @@ -1,5 +1,5 @@ { - "commit": "8d2047b859360405045a49dcabcd0a08d79e1801", + "commit": "b45203cbfdd1b7dd2e0d9f90f2d41c5d76a6440f", "core": "0.71.0", "root": "Robert Blust", "rootId": "01a04c85-bc20-7849-9ec1-d877215d70b4", diff --git a/model/og.sha b/model/og.sha index 98b376e3..7d1df0a5 100644 --- a/model/og.sha +++ b/model/og.sha @@ -1 +1 @@ -db5e68c1285232e3b9dddd5db42112dd6166316a100389c30799eb284393e32c +4462e9e42ded790fc12a3fb2082f12688dacbd1f21fff9cead5d48be3c102e41 diff --git a/package-lock.json b/package-lock.json index 595ca2c3..878a23ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,23 +8,23 @@ "name": "blust-ch", "version": "1.0.0", "dependencies": { - "@companygraph/meta-model": "0.98.0" + "@companygraph/meta-model": "0.99.0" }, "devDependencies": { - "@companygraph/mcp-server": "0.76.0", + "@companygraph/mcp-server": "0.77.0", "@robertblust/design": "github:robertblust/design#v0.165.0", "pdf-lib": "^1.17.1", "playwright": "^1.65.1" } }, "node_modules/@companygraph/mcp-server": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@companygraph/mcp-server/-/mcp-server-0.76.0.tgz", - "integrity": "sha512-2EvNGliJSb77ZvC4AdzT1PzU2fOW7mYHChkL0k6R7liH2338kbf2WIT1rujUYWVXDRKDZ+0d4Ej1j26g1MoZZQ==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@companygraph/mcp-server/-/mcp-server-0.77.0.tgz", + "integrity": "sha512-dwVcMecHVU7leEO0VbnMaQyUwLOczOMY98S072xJ6hjrnjYXhC8x/j1KqoL6+6gIB++FIvC8F29zzMmxbi1UEw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@companygraph/meta-model": "0.98.0", + "@companygraph/meta-model": "0.99.0", "@modelcontextprotocol/node": "^2.1.2", "@modelcontextprotocol/server": "^2.0.0", "zod": "^4.6.7" @@ -40,9 +40,9 @@ } }, "node_modules/@companygraph/meta-model": { - "version": "0.98.0", - "resolved": "https://registry.npmjs.org/@companygraph/meta-model/-/meta-model-0.98.0.tgz", - "integrity": "sha512-0MzgBl36usAqlq/0FPYDB6tFKd+c7GUBViHGRsHt+14rd/+zCfyq6XBTnmFDL/JVgGPUECuXVegvBzq5U+w6GQ==", + "version": "0.99.0", + "resolved": "https://registry.npmjs.org/@companygraph/meta-model/-/meta-model-0.99.0.tgz", + "integrity": "sha512-gn3i2/5AIT9m+TbjOTU/sS8SANEWjaiuPdhMSCn31rCriVFN+7gEjpV2rC+XyQGo219BW9RxmXJiaJ0fv2co7Q==", "license": "Apache-2.0", "bin": { "companygraph": "bin/companygraph.mjs" diff --git a/package.json b/package.json index 063105fd..768b82a4 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,12 @@ "pin:check": "node pin-check.mjs" }, "devDependencies": { - "@companygraph/mcp-server": "0.76.0", + "@companygraph/mcp-server": "0.77.0", "@robertblust/design": "github:robertblust/design#v0.165.0", "pdf-lib": "^1.17.1", "playwright": "^1.65.1" }, "dependencies": { - "@companygraph/meta-model": "0.98.0" + "@companygraph/meta-model": "0.99.0" } } diff --git a/principles/index.html b/principles/index.html index 496a1078..53789fc2 100644 --- a/principles/index.html +++ b/principles/index.html @@ -338,7 +338,7 @@
Generated from robertblust/mental-model@8d2047b — model/vision.md and model/values/. That repository is an instance of CompanyGraph, a meta-model for describing a company as a graph of Markdown.
Generated from robertblust/mental-model@b45203c — model/vision.md and model/values/. That repository is an instance of CompanyGraph, a meta-model for describing a company as a graph of Markdown.