Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/conventions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ on:
pull_request:
jobs:
conventions:
uses: robertblust/conventions/.github/workflows/check.yml@v1.57.0
uses: robertblust/conventions/.github/workflows/check.yml@v1.60.0
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- conventions · v1.57.0 -->
<!-- conventions · v1.60.0 -->
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.
Expand Down
2 changes: 1 addition & 1 deletion conventions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "repo": "robertblust/conventions", "tag": "v1.57.0", "exclude": ["node_modules", "docs/superpowers"], "format-exclude": ["node_modules"] }
{ "repo": "robertblust/conventions", "tag": "v1.60.0", "exclude": ["node_modules", "docs/superpowers"], "format-exclude": ["node_modules"] }
2 changes: 1 addition & 1 deletion conventions/AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- conventions · v1.57.0 -->
<!-- conventions · v1.60.0 -->
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.
Expand Down
2 changes: 2 additions & 0 deletions conventions/GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ The German cells are inline code because the prose check reads no language and a
| company of one | company of one | `Ein-Personen-Firma` | One compound, as German writes it, not the phrase `Firma aus einer Person`. |
| decision | decision | `Entscheid` | A decision taken, the Swiss form. `Entscheidung` stays for the act of deciding, as in `Entscheidungshilfe`. |
| release | release | `Release` | A tagged release. Kept English like `Build` and `Commit`, and neuter, `das Release`; `Freigabe` is a gate's approval and is not meant. |
| package | package | `Paket` | What a registry holds and a package manager installs, such as `@companygraph/meta-model` on npm. Neuter, `das Paket`; `npm-Paket` only where npm is not already named. Not the pack, which is `Pack`, and not the skill pack. |
| tag | tag | `Release-Tag` | The git tag a release is cut from. `Git-Tag` where the sentence is about git or is spoken, because a bare `Tag` reads and sounds as the day. Neuter, `das Tag`, as Duden gives it for the computing sense. |
| deck | deck | `Präsentation` | The file a talk is given from. Feminine, `die Präsentation`; the talk itself is `Vortrag`. |
| meter | meter | `Abrechnungsgrösse` | The one unit a bill is computed from. Not `Zähler`, which reads as a device. |
| career break | career break | `Auszeit` | Alone, not `berufliche Auszeit`; the sentence around it says it is from work. |
Expand Down
5 changes: 4 additions & 1 deletion conventions/PINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ What a member takes from another member of the family is a pin, and `WORKING.md`
| `conventions` | `tag` in `conventions.json` | set the tag, `sh conventions/conventions-sync sync`, and every `robertblust/conventions/.github/workflows/check.yml@<tag>` line under `.github/workflows/` |
| `service-conventions` | `tag` in `service-conventions.json` | set the tag, `sh service-conventions/service-conventions-sync sync` |
| `npm-tag` | `github:owner/repo#tag` in a `package.json` | set the tag, `npm install` |
| `npm-version` | `"@owner/repo": "<version>"` in a `package.json`, the package the repository publishes to npm | set the version, `npm install` |
| `source-commit` | an object with `repo` and `commit` in a JSON file, at the top or under a key | set the commit of the object whose `repo` matches |
| `contract-commit` | a string `owner/repo@commit:path` in a JSON file | set the commit of every string for that repository |
| `core-release` | `tooling` in `.companygraph/manifest.json`, the meta-model release an instance took with its core | the entry's own `move` command, with `{version}` that release without its `v` |

A package a consumer outside the family installs takes the family's packages from npm and not from git, because a dependency from git inside a package is what that consumer's package manager refuses; that is the `npm-version` pin. The package is named after the repository it is released from, `@owner/repo`, so the pin needs no field to say which package it is, and the version is read as the tag `v<version>`. The version is exact, because a range is not a line anyone moved. A move to a release whose publish has not run yet blocks the member until it has.

## `pins.json`

A member declares its pins in `pins.json` at its root. The report reads every pin a member's files hold, declared or not, and shows a pin the file does not declare as unmanaged and never moves it. The file is a member's consent to be moved, and the commands in it are how the member rebuilds itself after a move.
Expand All @@ -37,6 +40,6 @@ The report names every entry that does not match a line in the file it names, so

## Dependabot

A pin moves when the owner decides, in the resync, together with everything its move rewrites, so no bot proposes one. A bot that does moves the line alone: a conventions workflow past `conventions.json` and its vendored copy, a package past the files its `after` writes. Where a member keeps `.github/dependabot.yml`, each of its blocks ignores every family repository it would otherwise watch, and Dependabot keeps every other dependency in view. What a block watches is read from the member's own files in the block's directory: the `uses:` lines under `.github/workflows` for `github-actions`, a `github:owner/repo#tag` value in a `package.json` for `npm`, and a `git::` module source in a `.tf` file for `terraform`. A `dependency-name` is matched as a glob, so `"*robertblust/conventions*"` covers every workflow of the repository it names. A tool whose version a conventions release pins counts the same wherever a `package.json` declares it: `markdownlint-cli2`, which `conventions-format` runs as the family's Markdown form, moves with the release and not with a bot.
A pin moves when the owner decides, in the resync, together with everything its move rewrites, so no bot proposes one. A bot that does moves the line alone: a conventions workflow past `conventions.json` and its vendored copy, a package past the files its `after` writes. Where a member keeps `.github/dependabot.yml`, each of its blocks ignores every family repository it would otherwise watch, and Dependabot keeps every other dependency in view. What a block watches is read from the member's own files in the block's directory: the `uses:` lines under `.github/workflows` for `github-actions`, a `github:owner/repo#tag` value or a family package's `"@owner/repo": "<version>"` in a `package.json` for `npm`, and a `git::` module source in a `.tf` file for `terraform`. A `dependency-name` is matched as a glob, so `"*robertblust/conventions*"` covers every workflow of the repository it names. A tool whose version a conventions release pins counts the same wherever a `package.json` declares it: `markdownlint-cli2`, which `conventions-format` runs as the family's Markdown form, moves with the release and not with a bot.

`conventions-check` holds this and names each family pin a block watches with the line to add to its ignore. A member whose `dependabot.yml` is itself vendored, as a service's is from guestgraph/service-conventions, takes the entry from where the file comes from.
2 changes: 1 addition & 1 deletion conventions/WORKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Nothing on GitHub enforces an address, and nothing should. The ruleset rule that

This holds for every repository in the family that another one takes from, whatever it provides: a design system, a model, a parser, a set of shared files.

A release is a tag and a GitHub Release with notes in the prose register: what changed for the consumer, what breaks, how to take it. There is no publish step anywhere in the family; the tag is the release.
A release is a tag and a GitHub Release with notes in the prose register: what changed for the consumer, what breaks, how to take it. The tag is the release. Where a consumer outside the family can take a package only from a registry, the release also publishes it there, by a job the tag runs, through trusted publishing and with no token held anywhere; a version reaches a registry from its tag and from nothing else.

A release ends at its tag. The family resync moves the pins of the repositories that take it, and only the owner starts a resync: two runs started side by side open the same branches and write the same files, a resync after every release makes many small ones that overlap where one would carry them all, and the run computes from the pins which members move and in what order, so nobody works it out by hand. An agent that releases says in its report which members take it; it re-pins one by hand only on the owner's word, and never starts a resync.

Expand Down
15 changes: 12 additions & 3 deletions conventions/conventions-check
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ fi
# past what its `after` writes. So where a member keeps .github/dependabot.yml, every family
# repository a block of it would watch is ignored in that block. What a block watches is read
# from the member's own files in the block's directory: `uses:` lines under .github/workflows for
# github-actions, `github:owner/repo#` values in a package.json for npm, and `git::` module
# sources in a .tf file for terraform. A dependency-name is a glob, so "*companygraph/mcp-server*"
# covers every path of that repository. No file, no list, or no family pin is a quiet pass.
# github-actions, `github:owner/repo#` values and `"@owner/repo": "<version>"` entries in a
# package.json for npm, and `git::` module sources in a .tf file for terraform. A dependency-name
# is a glob, so "*companygraph/mcp-server*" covers every path of that repository. No file, no
# list, or no family pin is a quiet pass.
# The tools a conventions release pins count as family pins too, wherever a package.json declares
# them: their version is the family's, set in the vendored scripts, so a bump of one copy alone
# leaves the others behind. TOOLS is that list, and test/run.sh holds it to conventions-format.
Expand Down Expand Up @@ -253,6 +254,14 @@ if [ -f "$BOT" ] && [ -f "$LIST" ]; then
s = pair; sub(/.*"github:/, "", s); sub(/#$/, "", s)
if (s in R) print "npm\t" dir "\t" name "\t" file ":" NR "\t" name
}
# Every "@owner/repo": "<version>" pair, a family package taken from npm by its version.
line = $0
while (match(line, /"@[A-Za-z0-9._-]+\/[A-Za-z0-9._-]+"[ \t]*:[ \t]*"[0-9]+\.[0-9]+\.[0-9]+"/)) {
pair = substr(line, RSTART, RLENGTH); line = substr(line, RSTART + RLENGTH)
name = pair; sub(/^"/, "", name); sub(/".*/, "", name)
s = name; sub(/^@/, "", s)
if (s in R) print "npm\t" dir "\t" name "\t" file ":" NR "\t" name
}
}' "$f"
done
find "$ROOT" -name .terraform -prune -o -name .git -prune -o -type f -name '*.tf' -print | while IFS= read -r f; do
Expand Down
12 changes: 6 additions & 6 deletions conventions/manifest.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"repo": "robertblust/conventions",
"tag": "v1.57.0",
"tag": "v1.60.0",
"files": {
"conventions/WRITING.md": "sha256:51d9a902ec3038392160df07f86aba98d34db1d4dbfaa5f4a647590eaccfb390",
"conventions/WORKING.md": "sha256:e3edb79a514d4d0accc5c515b0b751081dd47a43db59c70ca0840459f87204fa",
"conventions/WORKING.md": "sha256:00590656306debe9aa63fdd16bdee5ffd8ed6942e8045f615642f45d4be58b88",
"conventions/REPOSITORIES.md": "sha256:75ffac1aaf2523ba7d8fcd1175d6a63b7a42516883ef4a7af5dde52c564bee85",
"conventions/PINS.md": "sha256:68df67ae820a8673d3130582aa829d4283176d3c8ec0a69adda3132a1a755b93",
"conventions/PINS.md": "sha256:0e789113c38226e8ce4fd5cd8be23bbdb3220399df45dbf206a82b4af144d54d",
"conventions/WRITER.md": "sha256:bc3b92683130b75993f824f0e34073d4344846c91be2009fd90c39099fd4fd48",
"conventions/TRANSLATOR.md": "sha256:3a3d2d0916d7230cbc760bced1be249b11cc516956fb41ad010b3216f23024ba",
"conventions/GLOSSARY.md": "sha256:52eac1c448fd75d0814b36f1819a55719da6f54009601bf08676d013971dbb78",
"conventions/GLOSSARY.md": "sha256:5ed8d653fb911e23087cc5eb92f079b9f3f4073a07783eb56306580ffb20905d",
"conventions/GERMAN.md": "sha256:6a0ab79fd52f93d1361aceb83a1771ce6448124d5ea707af3d71baf9efe35e11",
"conventions/EDITOR.md": "sha256:e65d0b2893ac841faefede9b873f7e33c1fd7b02bedf97d37d5362c0e83c08ea",
"conventions/BACKREADER.md": "sha256:36b12d4bee8e4fe190469e2f550d50d8a7f6dcab6bec573da17eb1c165c417cd",
"conventions/AGENTS.md": "sha256:a3509fea1f90fb99e9cb673eee29b4605d875420fe7fcee01a29a5cf752908b8",
"conventions/AGENTS.md": "sha256:b00d614d22664de13b2932fef3791fdae5afa45e1b30b29166def9b213a49a02",
"conventions/conventions-sync": "sha256:77ad68826a42bbd3b20e240175831baeb83bcde3dc7edab0e0222520f15c70af",
"conventions/conventions-check": "sha256:4a633cc53579f4577939702350c439bbb58ebed4ccbf6736d94c01e5fc160147",
"conventions/conventions-check": "sha256:6b596a10d635713057e63c6fe14a551e13ea54eb287871da46bc322fd1c0f22d",
"conventions/conventions-format": "sha256:2911a0d30dda1bc0f621522a9538b3e39704eee03458e65ba320eccbf39b5c7f",
"conventions/markdown-rules.cjs": "sha256:5cbf6120bf16e358b3a4e362015d054f0cd6e47ddfb0e5fe5ac17143b2bdef26",
"conventions/vscode-settings.json": "sha256:86d3c951f7c06d86ee3bc828ad6e49fac3531be98117a7a590cc75da7ba3600a",
Expand Down
2 changes: 1 addition & 1 deletion model.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit": "444ef4f3439a6d2fae876906915b7c56828eb068",
"commit": "8d2047b859360405045a49dcabcd0a08d79e1801",
"core": "0.71.0",
"root": "Robert Blust",
"rootId": "01a04c85-bc20-7849-9ec1-d877215d70b4",
Expand Down
2 changes: 1 addition & 1 deletion model/og.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e957926de0d1de4ab53b7e0851fbaeb0299a14179dd4a237edcaf29d4dddb23
db5e68c1285232e3b9dddd5db42112dd6166316a100389c30799eb284393e32c
29 changes: 22 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
},
"devDependencies": {
"@robertblust/design": "github:robertblust/design#v0.165.0",
"companygraph-mcp-server": "github:companygraph/mcp-server#v0.75.3",
"companygraph-mcp-server": "github:companygraph/mcp-server#v0.76.0",
"pdf-lib": "^1.17.1",
"playwright": "^1.65.0"
},
"dependencies": {
"companygraph-meta-model": "github:companygraph/meta-model#v0.96.0"
"companygraph-meta-model": "github:companygraph/meta-model#v0.98.0"
}
}
2 changes: 1 addition & 1 deletion principles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ <h3 data-de="Die Produktion ist das Ziel">Production is the finish line</h3>
</article>
</section>

<p class="derived" data-de="Erzeugt aus <a href='https://github.com/robertblust/mental-model'>robertblust/mental-model</a>@444ef4f – <code class='mono'>model/vision.md</code> und <code class='mono'>model/values/</code>. Dieses Repository ist eine Instanz von <a href='https://companygraph.io/'>CompanyGraph</a>, einem Meta-Modell, das ein Unternehmen als Graph aus Markdown beschreibt.">Generated from <a href="https://github.com/robertblust/mental-model">robertblust/mental-model</a>@444ef4f — <code class="mono">model/vision.md</code> and <code class="mono">model/values/</code>. That repository is an instance of <a href="https://companygraph.io/">CompanyGraph</a>, a meta-model for describing a company as a graph of Markdown.</p>
<p class="derived" data-de="Erzeugt aus <a href='https://github.com/robertblust/mental-model'>robertblust/mental-model</a>@8d2047b – <code class='mono'>model/vision.md</code> und <code class='mono'>model/values/</code>. Dieses Repository ist eine Instanz von <a href='https://companygraph.io/'>CompanyGraph</a>, einem Meta-Modell, das ein Unternehmen als Graph aus Markdown beschreibt.">Generated from <a href="https://github.com/robertblust/mental-model">robertblust/mental-model</a>@8d2047b — <code class="mono">model/vision.md</code> and <code class="mono">model/values/</code>. That repository is an instance of <a href="https://companygraph.io/">CompanyGraph</a>, a meta-model for describing a company as a graph of Markdown.</p>
<!-- principles:end -->
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion principles/og.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0558422927c419c247c96208937db03e2d290d3c018c9dc27b50d8017d27352b
012f3a3689379272ab4e845796e36f1cebee0e5572303d85ff13e03e7155d9ed
2 changes: 1 addition & 1 deletion privacy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ <h2 data-de="Wohin Ihre Daten gehen">Where your data goes</h2>
<!-- privacy:start -->
<div class="lineage" id="lineage">
<svg class="wires" id="wires" aria-hidden="true"></svg>
<div class="ln-model" id="lnmodel"><div class="lbl" data-de="Auf blust.ch">On blust.ch</div><div class="nm" data-de="Ihr Besuch">Your visit</div><div class="at mono">@444ef4f</div></div>
<div class="ln-model" id="lnmodel"><div class="lbl" data-de="Auf blust.ch">On blust.ch</div><div class="nm" data-de="Ihr Besuch">Your visit</div><div class="at mono">@8d2047b</div></div>
<ul class="ln-groups">
<li class="ln-group hand">
<div class="ln-maker" data-maker="local-storage"><svg class="mk hand" aria-hidden="true"><use href="#m-hand"/></svg><span class="who"><span data-de="In Ihrem Browser gespeichert">Kept in your browser</span><span class="how" data-de="bis Sie die Daten löschen · nie automatisch übermittelt">until you clear it · never sent on its own</span></span></div>
Expand Down
2 changes: 1 addition & 1 deletion privacy/og.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
62b2b5d495b9e233f3933a5a3507647b076d75a91006576a293e10f996b292dd
7f1a1a650b4b4e3e122c98310ebe193b114e941b165bc8206b1aa2a5bc236c26
4 changes: 2 additions & 2 deletions processes/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion processes/og.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c8cfaed033945aca76f8bf5c429d8e7a06e0f848044689706315a521cf40e343
4014fceac03504396cc6c07b3846268707cf2e6664f7ae093990d3222c4ae4fb
2 changes: 1 addition & 1 deletion processes/pictures/deciding.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion processes/pictures/delivery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading