Rename loom → norn

The project is now norn: .loom/ is .norn/, loomctl is nornctl
(NORNCTL_* env vars, ~/.config/nornctl), and the Gitea org is norn.
Event logs moved with the directory but their text is unchanged —
they are a record of what was decided at the time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jeffryandClaude Opus 5.5 committed 2026-12-06 11:06:49 -05:00
1 parent c4e2a2e67d
commit e750031667
52 files changed
+330 -330

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
node_modules/ node_modules/
dist/ dist/
.astro/ .astro/
.loom/cart/ .norn/cart/
-15
View File
@@ -1,15 +0,0 @@
# loomctl locks — one record per adopted document.
# path<TAB>url<TAB>etag[<TAB>visibility]
# The url is resolved: a short form would follow whatever the default branch
# is at the time you ask. visibility is what the source could be read as when
# it was fetched, because that is checked once and the copy is durable.
git.hypertheory-labs.dev/loom/annotating/annotating.md https://git.hypertheory-labs.dev/loom/annotating/raw/branch/main/.loom/published/annotating.md "9b1f7e6ca92f2339b2d433686c27845362944bdb" public
git.hypertheory-labs.dev/loom/bedrock/loom-directory.md https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/loom-directory.md "ee0f49cb900c0812678061971194325d9cba366a" public
git.hypertheory-labs.dev/loom/bedrock/publication.md https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md "c0d9231aa8eed3041c60b72da5735585457fbc90" public
git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/recording-decisions.md "d190eeae7929b9a99ecf09211d94e7e5b32635bd" public
git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/sibling-facets.md "a46446a34ccb8bfc533d3cce19f4c88548c4fa04" public
git.hypertheory-labs.dev/loom/bedrock/starting.md https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md "b9eefba0f4668a496ccfc6a1377277f0721456d2" public
git.hypertheory-labs.dev/loom/bedrock/venues.md https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md "35e940195e2ba9a30b4b4dc81a57f9383c709f64" public
git.hypertheory-labs.dev/loom/cart/cart.md https://git.hypertheory-labs.dev/loom/cart/raw/branch/main/.loom/published/cart.md "15331f1a9cc81bf61a44830cfbb7c274f4c2b119" public
git.hypertheory-labs.dev/loom/externals/externals.md https://git.hypertheory-labs.dev/loom/externals/raw/branch/main/.loom/published/externals.md "772c67f460f0ff3b9563aee9b38a64c0f3423dbd"
git.hypertheory-labs.dev/loom/loom-cli/guarantees.md https://git.hypertheory-labs.dev/loom/loom-cli/raw/branch/main/.loom/published/guarantees.md "e8c697ea61df47838f38af7353e29d9ae3f7070c"
-62
View File
@@ -1,62 +0,0 @@
<!-- Generated by `loomctl orient`. Safe to overwrite; nobody typed it.
Regenerate after adopting a document or reconciling a change. -->
# What this repository depends on
Copies of other people's documents are kept under `.loom/externals/`, at a path
that says where each came from. **They are copies: do not edit them.** Anything
you want to say about one goes in a file *beside* it, never into it.
Three moves, and each has a document that owns the rule:
- **A copy is wrong, or you needed something it does not say** — write it in
`<name>.gaps.md` beside the copy.
- **What of ours depends on a copy** — write it in `<name>.usages.md` beside it.
- **A source changed** — `loomctl external check` says so and stages the new copy;
`loomctl external apply` takes it. Neither edits anything on its own.
## `git.hypertheory-labs.dev/loom/annotating/annotating.md`
- source: https://git.hypertheory-labs.dev/loom/annotating/raw/branch/main/.loom/published/annotating.md
- what of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/annotating/annotating.usages.md`
## `git.hypertheory-labs.dev/loom/bedrock/loom-directory.md`
- source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/loom-directory.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/loom/bedrock/publication.md`
- source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md
- what of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.usages.md`
## `git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md`
- source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/recording-decisions.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md`
- source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/sibling-facets.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/loom/bedrock/starting.md`
- source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/loom/cart/cart.md`
- source: https://git.hypertheory-labs.dev/loom/cart/raw/branch/main/.loom/published/cart.md
- what of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/cart/cart.usages.md`
## `git.hypertheory-labs.dev/loom/externals/externals.md`
- source: https://git.hypertheory-labs.dev/loom/externals/raw/branch/main/.loom/published/externals.md
- what of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/externals/externals.usages.md`
## This repository publishes
See `.loom/published/`. What is handed over for others to depend on is
there; the rest of the repository is not hidden, it is simply not what
anybody depends on.
+3 -3
View File
@@ -1,10 +1,10 @@
# `.loom` — loom/docs # `.norn` — norn/docs
**This repository publishes nothing.** *It is a reader.* **This repository publishes nothing.** *It is a reader.*
**What is here is `externals/`** — a copy of every document the `loom` **What is here is `externals/`** — a copy of every document the `norn`
organisation publishes, locked to the version it was fetched at. *The site at organisation publishes, locked to the version it was fetched at. *The site at
[loom.hypertheory-labs.dev](https://loom.hypertheory-labs.dev) is those copies, [norn.hypertheory-labs.dev](https://norn.hypertheory-labs.dev) is those copies,
rendered, plus four hand-written section fronts.* rendered, plus four hand-written section fronts.*
**Nothing in `externals/` is edited here.** *A copy that differs from its source **Nothing in `externals/` is edited here.** *A copy that differs from its source
+15
View File
@@ -0,0 +1,15 @@
# nornctl locks — one record per adopted document.
# path<TAB>url<TAB>etag[<TAB>visibility]
# The url is resolved: a short form would follow whatever the default branch
# is at the time you ask. visibility is what the source could be read as when
# it was fetched, because that is checked once and the copy is durable.
git.hypertheory-labs.dev/norn/annotating/annotating.md https://git.hypertheory-labs.dev/norn/annotating/raw/branch/main/.norn/published/annotating.md "9b1f7e6ca92f2339b2d433686c27845362944bdb" public
git.hypertheory-labs.dev/norn/bedrock/norn-directory.md https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/norn-directory.md "ee0f49cb900c0812678061971194325d9cba366a" public
git.hypertheory-labs.dev/norn/bedrock/publication.md https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md "c0d9231aa8eed3041c60b72da5735585457fbc90" public
git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/recording-decisions.md "d190eeae7929b9a99ecf09211d94e7e5b32635bd" public
git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/sibling-facets.md "a46446a34ccb8bfc533d3cce19f4c88548c4fa04" public
git.hypertheory-labs.dev/norn/bedrock/starting.md https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md "b9eefba0f4668a496ccfc6a1377277f0721456d2" public
git.hypertheory-labs.dev/norn/bedrock/venues.md https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md "35e940195e2ba9a30b4b4dc81a57f9383c709f64" public
git.hypertheory-labs.dev/norn/cart/cart.md https://git.hypertheory-labs.dev/norn/cart/raw/branch/main/.norn/published/cart.md "15331f1a9cc81bf61a44830cfbb7c274f4c2b119" public
git.hypertheory-labs.dev/norn/externals/externals.md https://git.hypertheory-labs.dev/norn/externals/raw/branch/main/.norn/published/externals.md "772c67f460f0ff3b9563aee9b38a64c0f3423dbd"
git.hypertheory-labs.dev/norn/norn-cli/guarantees.md https://git.hypertheory-labs.dev/norn/norn-cli/raw/branch/main/.norn/published/guarantees.md "e8c697ea61df47838f38af7353e29d9ae3f7070c"
@@ -1,6 +1,6 @@
# The `.loom` directory # The `.norn` directory
**A repository that uses loom keeps everything in `.loom/` at its root.** **A repository that uses norn keeps everything in `.norn/` at its root.**
> **Type is determined by location.** *The directory a file is in says what it > **Type is determined by location.** *The directory a file is in says what it
> is.* **So frontmatter carries almost nothing, and often nothing at all.** > is.* **So frontmatter carries almost nothing, and often nothing at all.**
@@ -15,8 +15,8 @@ fails on an unfamiliar directory is wrong.*
## What is fixed ## What is fixed
**Only `.loom/` itself, and that a directory means a kind.** *Which kinds exist **Only `.norn/` itself, and that a directory means a kind.** *Which kinds exist
is not fixed here — conventions built on this one declare their own, and a is not fixed here — conventions built on this one declare their own, and a
repository has only the ones it uses.* repository has only the ones it uses.*
**Nothing outside `.loom/` is loom's business.** **Nothing outside `.norn/` is norn's business.**
@@ -1,7 +1,7 @@
# Publication # Publication
**What a repository has handed over for others to depend on lives in **What a repository has handed over for others to depend on lives in
`.loom/published/`.** `.norn/published/`.**
> **Publishing is a change of kind, not a change of status.** *An unpublished > **Publishing is a change of kind, not a change of status.** *An unpublished
> document is an implementation detail you may rename at will. **A published one > document is an implementation detail you may rename at will. **A published one
@@ -12,12 +12,12 @@ is a diff that shows up in review.** *A flag in frontmatter is a line nobody
notices; this is the moment a thing becomes somebody else's problem, and it notices; this is the moment a thing becomes somebody else's problem, and it
should be unmissable.* should be unmissable.*
**`ls .loom/published/` is *what have we committed to?*** — and it is the question **`ls .norn/published/` is *what have we committed to?*** — and it is the question
to ask before changing anything. to ask before changing anything.
## Publishing is not an act you can complete alone ## Publishing is not an act you can complete alone
**A file in `.loom/published/` that its intended readers cannot fetch is not **A file in `.norn/published/` that its intended readers cannot fetch is not
published.** *The move is the act, but the act is not finished until somebody who published.** *The move is the act, but the act is not finished until somebody who
is not you can perform the read.* is not you can perform the read.*
@@ -41,7 +41,7 @@ copy without inheriting the visibility it was published under.*
1. **Decide it is a contract and not a detail.** *This is the whole decision and 1. **Decide it is a contract and not a detail.** *This is the whole decision and
the rest is mechanics.* the rest is mechanics.*
2. **Move the file into `.loom/published/`.** *One commit, so the diff carries it.* 2. **Move the file into `.norn/published/`.** *One commit, so the diff carries it.*
3. **Say who the readers are** — *if it is not obvious from where it landed.* 3. **Say who the readers are** — *if it is not obvious from where it landed.*
4. **Fetch it.** *From somewhere that is not your machine and not your account.* 4. **Fetch it.** *From somewhere that is not your machine and not your account.*
5. **Record the decision**, if you keep a log. 5. **Record the decision**, if you keep a log.
@@ -49,4 +49,4 @@ turned out false, or that somebody changed their mind.*
## Where it lives ## Where it lives
`.loom/event-log.md`. **A stream, so a file.** `.norn/event-log.md`. **A stream, so a file.**
@@ -1,12 +1,12 @@
# Starting one of these in a repository # Starting one of these in a repository
**Make a `.loom/` directory. Everything else follows from two questions.** **Make a `.norn/` directory. Everything else follows from two questions.**
--- ---
## What can a reader not already know? ## What can a reader not already know?
**That is what you publish**, in `.loom/published/`, as ordinary documents. **That is what you publish**, in `.norn/published/`, as ordinary documents.
**Not what your service does** — its code says that. **Not how Kubernetes or **Not what your service does** — its code says that. **Not how Kubernetes or
Kafka or React work** — that is somebody else's documentation, and a copy of it Kafka or React work** — that is somebody else's documentation, and a copy of it
@@ -22,7 +22,7 @@ looking.*
## What do you need that nothing provides? ## What do you need that nothing provides?
**That is a gap**, in `.loom/gaps/`. **That is a gap**, in `.norn/gaps/`.
**The test: could you say whose job it is?** *If yes, it is a claim against them **The test: could you say whose job it is?** *If yes, it is a claim against them
and belongs with them. If no, it is a gap.* and belongs with them. If no, it is a gap.*
@@ -34,23 +34,23 @@ and belongs with them. If no, it is a gap.*
## Then, only if you have something to say ## Then, only if you have something to say
**`.loom/externals/`** — a copy of somebody's document you depend on, with what **`.norn/externals/`** — a copy of somebody's document you depend on, with what
you use and what you expected and did not find, beside it. See you use and what you expected and did not find, beside it. See
[externals](https://git.hypertheory-labs.dev/loom/externals). [externals](https://git.hypertheory-labs.dev/norn/externals).
**`.loom/venues/`** — choices you made about something with no document to hang **`.norn/venues/`** — choices you made about something with no document to hang
them on. *Kafka, React, HTTP.* them on. *Kafka, React, HTTP.*
**`.loom/event-log.md`** — decisions, if you are keeping them here. **`.norn/event-log.md`** — decisions, if you are keeping them here.
> **A file that carries no delta should not exist.** *If you do exactly what > **A file that carries no delta should not exist.** *If you do exactly what
> somebody else's document says, write nothing — recording the adoption is > somebody else's document says, write nothing — recording the adoption is
> ceremony.* > ceremony.*
## Write a `.loom/README.md` ## Write a `.norn/README.md`
**Say what is in `published/` and why somebody would want it.** *Link the **Say what is in `published/` and why somebody would want it.** *Link the
documents. One line for the curious about what `.loom` is.* documents. One line for the curious about what `.norn` is.*
**Nobody should need to understand any of this to use it** — *they are documents **Nobody should need to understand any of this to use it** — *they are documents
in a folder, and a reader who ignores the vocabulary entirely should still get in a folder, and a reader who ignores the vocabulary entirely should still get
@@ -1,6 +1,6 @@
# Venues # Venues
**`.loom/venues/<name>.md` — a choice you made about something that has no **`.norn/venues/<name>.md` — a choice you made about something that has no
document of its own to hang it on.** document of its own to hang it on.**
*Kafka. React. HTTP. The organisation you work for.* **Things that constrain what *Kafka. React. HTTP. The organisation you work for.* **Things that constrain what
@@ -143,7 +143,7 @@ chat, whatever you already have.* **This is not that channel and it does not sca
into one.** into one.**
> **So the cart is not committed.** *It lives in the working tree of the machine > **So the cart is not committed.** *It lives in the working tree of the machine
> the two presences share, and `.loom/cart/` is ignored by version control.* > the two presences share, and `.norn/cart/` is ignored by version control.*
**The reason is not tidiness. A committed cart grows a third file by itself.** **The reason is not tidiness. A committed cart grows a third file by itself.**
*The rule above defends against somebody asking for one; **version control does *The rule above defends against somebody asking for one; **version control does
@@ -298,9 +298,9 @@ the question someone who was not there actually asks.
filed.** filed.**
## Select: Where does a cart live? ## Select: Where does a cart live?
- `.loom/cart/` - `.norn/cart/`
- somewhere else under `.loom/` - somewhere else under `.norn/`
- outside `.loom/` entirely - outside `.norn/` entirely
- there is no directory; carts happen somewhere that is not the repository - there is no directory; carts happen somewhere that is not the repository
## Select: What is the durable record that declines go into? ## Select: What is the durable record that declines go into?
@@ -5,7 +5,7 @@
## Pull what you use ## Pull what you use
**You fetch a copy of somebody's document and keep it** at **You fetch a copy of somebody's document and keep it** at
`.loom/externals/<host>/<path>.md`. `.norn/externals/<host>/<path>.md`.
> ~~*The path says where it came from, so nothing has to record an origin.*~~ > ~~*The path says where it came from, so nothing has to record an origin.*~~
> **This was false and it was load-bearing.** *A stored path is short enough to > **This was false and it was load-bearing.** *A stored path is short enough to
@@ -58,7 +58,7 @@ what to decide are not.**
## What a lock holds ## What a lock holds
**One record per adopted document, in `.loom/externals/.locks`:** **One record per adopted document, in `.norn/externals/.locks`:**
- **where it was fetched from** — *resolved, as above* - **where it was fetched from** — *resolved, as above*
- **the publisher's `ETag`** — *verbatim* - **the publisher's `ETag`** — *verbatim*
@@ -156,11 +156,11 @@ the document moves.**
*Venues are for what is left: things that constrain you without publishing *Venues are for what is left: things that constrain you without publishing
anything you could adopt.* **See anything you could adopt.* **See
[venues](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md).** [venues](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md).**
## Gaps that belong to nobody ## Gaps that belong to nobody
**`.loom/gaps/`** — *a need with no owner.* **The test: could you say whose job **`.norn/gaps/`** — *a need with no owner.* **The test: could you say whose job
this is?** *If yes, it is a claim against them and belongs in their `.gaps.md`.* this is?** *If yes, it is a claim against them and belongs in their `.gaps.md`.*
> **Moving a file from `gaps/` into an external's `.gaps.md` is how a gap gets > **Moving a file from `gaps/` into an external's `.gaps.md` is how a gap gets
@@ -1,4 +1,4 @@
# What `loomctl` guarantees # What `nornctl` guarantees
**Not what it does — `--help` says that, and the commands will change.** *This is **Not what it does — `--help` says that, and the commands will change.** *This is
what will keep being true while they do.* what will keep being true while they do.*
@@ -7,7 +7,7 @@ what will keep being true while they do.*
## It grants no access, and records where the copy came from ## It grants no access, and records where the copy came from
**`loomctl` reads what your credentials already let you read.** *Everything it **`nornctl` reads what your credentials already let you read.** *Everything it
does is possible with copy and paste.* **It is a mast, not a lock** — *the point does is possible with copy and paste.* **It is a mast, not a lock** — *the point
is to make the wrong thing deliberate, not impossible.* is to make the wrong thing deliberate, not impossible.*
@@ -21,7 +21,7 @@ is to make the wrong thing deliberate, not impossible.*
it writes is a file in your working tree.* **Committing and pushing are yours**, it writes is a file in your working tree.* **Committing and pushing are yours**,
*because the consequences of a push land on people a tool cannot experience.* *because the consequences of a push land on people a tool cannot experience.*
**A credential given to `loomctl` should never carry write scope**, *and if one **A credential given to `nornctl` should never carry write scope**, *and if one
does, nothing here will use it.* does, nothing here will use it.*
## Freshness is a conditional request against the publisher's `ETag` ## Freshness is a conditional request against the publisher's `ETag`
@@ -29,7 +29,7 @@ does, nothing here will use it.*
**Stored verbatim, opaque, never a hash we compute.** *A fetch that normalises **Stored verbatim, opaque, never a hash we compute.** *A fetch that normalises
anything breaks a local digest and reports a change that did not happen.* anything breaks a local digest and reports a change that did not happen.*
*This is `externals`' rule and `loomctl` is a second holder of it. **It is stated *This is `externals`' rule and `nornctl` is a second holder of it. **It is stated
here so that the tool holding it is a fact somebody can find**, and so that here so that the tool holding it is a fact somebody can find**, and so that
breaking it is visible rather than silent* — **a specimen was written in this breaking it is visible rather than silent* — **a specimen was written in this
repository that computed a hash instead, and it was wrong within a day.** repository that computed a hash instead, and it was wrong within a day.**
@@ -52,16 +52,16 @@ is verified rather than assumed.**
## The lock file ## The lock file
**`.loom/externals/.locks`, one record per adopted document, tab-separated, **`.norn/externals/.locks`, one record per adopted document, tab-separated,
ordered by path.** ordered by path.**
``` ```
path <TAB> url <TAB> etag [ <TAB> visibility ] path <TAB> url <TAB> etag [ <TAB> visibility ]
``` ```
- **`path`** — *relative to `.loom/externals/`, and **for a person to read**.* **It - **`path`** — *relative to `.norn/externals/`, and **for a person to read**.* **It
does not round-trip to a URL**; *it drops the route, the branch, and the does not round-trip to a URL**; *it drops the route, the branch, and the
publisher's `.loom/published/`.* publisher's `.norn/published/`.*
- **`url`** — *the resolved origin, branch and all.* - **`url`** — *the resolved origin, branch and all.*
- **`etag`** — *the publisher's, verbatim, including its quotes.* - **`etag`** — *the publisher's, verbatim, including its quotes.*
- **`visibility`** — *optional. What the source could be read as **when it was - **`visibility`** — *optional. What the source could be read as **when it was
@@ -92,7 +92,7 @@ schedule, and a document nobody checks is a document nobody is checking.*
**The command surface may change. This page will say when it does.** **The command surface may change. This page will say when it does.**
*A consumer whose README tells a person to type `loomctl external add loom/<repo> *A consumer whose README tells a person to type `nornctl external add norn/<repo>
<doc>.md` depends on that command by name — **not by parsing it, which is why no <doc>.md` depends on that command by name — **not by parsing it, which is why no
check would ever catch a rename**. The thing that moved would not be a document check would ever catch a rename**. The thing that moved would not be a document
they adopted.* they adopted.*
@@ -1,4 +1,4 @@
# Usages — `loomctl` guarantees # Usages — `nornctl` guarantees
**This site is built with the tool.** *Every reference page in it was adopted with **This site is built with the tool.** *Every reference page in it was adopted with
`external add`, and the reconcile that produced this one went through `check` and `external add`, and the reconcile that produced this one went through `check` and
@@ -8,13 +8,13 @@
|---|---| |---|---|
| `check` reports and does not fix | **`npm run check` in CI.** *A build that repaired what it found would commit on a runner, with no cart and nobody to decide* | | `check` reports and does not fix | **`npm run check` in CI.** *A build that repaired what it found would commit on a runner, with no cart and nobody to decide* |
| the `ETag` is the publisher's, verbatim | `scripts/generate.mjs` — *the guide stamps in frontmatter are those etags; a computed hash would fire the stale banner on every whitespace change* | | the `ETag` is the publisher's, verbatim | `scripts/generate.mjs` — *the guide stamps in frontmatter are those etags; a computed hash would fire the stale banner on every whitespace change* |
| it never writes over the network | *the deploy holds no write credential — `git-sync` clones anonymously and `loomctl` is never on the cluster at all* | | it never writes over the network | *the deploy holds no write credential — `git-sync` clones anonymously and `nornctl` is never on the cluster at all* |
| `add` refuses what is adopted, and stages a differing copy | *how all eight original documents were locked after being fetched by hand, without one byte being rewritten* | | `add` refuses what is adopted, and stages a differing copy | *how all eight original documents were locked after being fetched by hand, without one byte being rewritten* |
## What we depend on that the page explicitly does not promise ## What we depend on that the page explicitly does not promise
**The command surface.** *`scripts/publish-site.sh` and the README quote **The command surface.** *`scripts/publish-site.sh` and the README quote
`loomctl external add loom/<repo> <doc>.md` verbatim.* **The page says names, `nornctl external add norn/<repo> <doc>.md` verbatim.* **The page says names,
flags and output are `--help`'s business and nothing should parse them** — *we do flags and output are `--help`'s business and nothing should parse them** — *we do
not parse them, but a person following our README will type them.* not parse them, but a person following our README will type them.*
+62
View File
@@ -0,0 +1,62 @@
<!-- Generated by `nornctl orient`. Safe to overwrite; nobody typed it.
Regenerate after adopting a document or reconciling a change. -->
# What this repository depends on
Copies of other people's documents are kept under `.norn/externals/`, at a path
that says where each came from. **They are copies: do not edit them.** Anything
you want to say about one goes in a file *beside* it, never into it.
Three moves, and each has a document that owns the rule:
- **A copy is wrong, or you needed something it does not say** — write it in
`<name>.gaps.md` beside the copy.
- **What of ours depends on a copy** — write it in `<name>.usages.md` beside it.
- **A source changed** — `nornctl external check` says so and stages the new copy;
`nornctl external apply` takes it. Neither edits anything on its own.
## `git.hypertheory-labs.dev/norn/annotating/annotating.md`
- source: https://git.hypertheory-labs.dev/norn/annotating/raw/branch/main/.norn/published/annotating.md
- what of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/annotating/annotating.usages.md`
## `git.hypertheory-labs.dev/norn/bedrock/norn-directory.md`
- source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/norn-directory.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/norn/bedrock/publication.md`
- source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md
- what of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.usages.md`
## `git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md`
- source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/recording-decisions.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md`
- source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/sibling-facets.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/norn/bedrock/starting.md`
- source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md
- what of ours depends on it: **nothing recorded** — no `.usages.md`
## `git.hypertheory-labs.dev/norn/cart/cart.md`
- source: https://git.hypertheory-labs.dev/norn/cart/raw/branch/main/.norn/published/cart.md
- what of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/cart/cart.usages.md`
## `git.hypertheory-labs.dev/norn/externals/externals.md`
- source: https://git.hypertheory-labs.dev/norn/externals/raw/branch/main/.norn/published/externals.md
- what of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/externals/externals.usages.md`
## This repository publishes
See `.norn/published/`. What is handed over for others to depend on is
there; the rest of the repository is not hidden, it is simply not what
anybody depends on.
+10 -10
View File
@@ -7,9 +7,9 @@ can continue without reconstructing the reasoning.*
## The one-paragraph version ## The one-paragraph version
**This site is the `loom` conventions rendered for people, and it is an instance **This site is the `norn` conventions rendered for people, and it is an instance
of the thing it documents.** *Every reference page is a copy of a document of the thing it documents.** *Every reference page is a copy of a document
published by another repository, adopted with `loomctl external add`, locked to published by another repository, adopted with `nornctl external add`, locked to
the etag it was fetched at.* **The hand-written pages are four section fronts, the etag it was fetched at.* **The hand-written pages are four section fronts,
and they are stamped with what they were written against so that a source moving and they are stamped with what they were written against so that a source moving
puts a banner on them.** puts a banner on them.**
@@ -26,7 +26,7 @@ it was the first idea in this project aimed at a **human** reader.*
**Generated** — one per adopted document. *Overwritten every build; nobody typed **Generated** — one per adopted document. *Overwritten every build; nobody typed
it.* **Guide** — `index.mdx` per section. *Never overwritten.* it.* **Guide** — `index.mdx` per section. *Never overwritten.*
**The generator writes exactly one thing into a hand-written file: the `loom:` **The generator writes exactly one thing into a hand-written file: the `norn:`
block in its frontmatter.** *That block is machine-owned; everything below the block in its frontmatter.** *That block is machine-owned; everything below the
closing `---` is copied byte for byte.* **If you change this, change it here and closing `---` is copied byte for byte.* **If you change this, change it here and
say so in the README**, *because a tool that edits a person's file without a say so in the README**, *because a tool that edits a person's file without a
@@ -44,7 +44,7 @@ reconciled it.*
**`npm run ack` is the person saying they re-read it. Nothing else clears the **`npm run ack` is the person saying they re-read it. Nothing else clears the
banner.** *`npm run check` exits `1` on any stale guide, for CI.* banner.** *`npm run check` exits `1` on any stale guide, for CI.*
**Declined: having the build stage a polad into the cart.** *`loomctl external **Declined: having the build stage a polad into the cart.** *`nornctl external
check` does exactly that and it is right to* — **but a docs build runs in CI, in check` does exactly that and it is right to* — **but a docs build runs in CI, in
worktrees, and on machines with no cart**, *and staging a polad is an act of worktrees, and on machines with no cart**, *and staging a polad is an act of
judgment, which is what keeps a cart worth reading.* **The build reports; a judgment, which is what keeps a cart worth reading.* **The build reports; a
@@ -81,13 +81,13 @@ somebody has to remember into an incentive.*
``` ```
scripts/generate.mjs the whole projection. Read this first; it is commented. scripts/generate.mjs the whole projection. Read this first; it is commented.
astro.config.mjs sidebar autogenerates from directories — names no document astro.config.mjs sidebar autogenerates from directories — names no document
src/content.config.ts the `loom:` frontmatter block's schema src/content.config.ts the `norn:` frontmatter block's schema
src/content/docs/ src/content/docs/
index.mdx hand-written home index.mdx hand-written home
<repo>/index.mdx hand-written guide, stamped <repo>/index.mdx hand-written guide, stamped
<repo>/<doc>.md GENERATED — do not edit <repo>/<doc>.md GENERATED — do not edit
.loom/externals/ the adopted copies and .locks — do not edit either .norn/externals/ the adopted copies and .locks — do not edit either
.loom/externals/**/*.usages.md what of ours depends on each document .norn/externals/**/*.usages.md what of ours depends on each document
``` ```
**Two directories hold copies and neither may be edited**, *for the same reason:* **Two directories hold copies and neither may be edited**, *for the same reason:*
@@ -97,7 +97,7 @@ while nobody was watching.**
## Adding a document ## Adding a document
```sh ```sh
loomctl external add loom/<repo> <doc>.md nornctl external add norn/<repo> <doc>.md
npm run generate npm run generate
``` ```
@@ -110,7 +110,7 @@ on reads as current and nothing will ever correct it.*
## What is left ## What is left
**Deploy.** *Nothing is wired up.* `npm run build` *emits `dist/`; it needs to **Deploy.** *Nothing is wired up.* `npm run build` *emits `dist/`; it needs to
land at `loom.hypertheory-labs.dev`.* **`npm run check` belongs in whatever runs land at `norn.hypertheory-labs.dev`.* **`npm run check` belongs in whatever runs
first**, *so a stale guide fails before it ships.* first**, *so a stale guide fails before it ships.*
**`.gaps.md` on the site's own externals — deliberately not started.** *This **`.gaps.md` on the site's own externals — deliberately not started.** *This
@@ -131,7 +131,7 @@ limit and the `.usages.md` files say what each guide actually leans on.*
**`externals.md` owes an amendment.** *The lock grew a fourth column **`externals.md` owes an amendment.** *The lock grew a fourth column
(`visibility`) and the published document still describes three.* **That is (`visibility`) and the published document still describes three.* **That is
`loom/externals`' to fix, not this repository's** — *filing it as a gap here `norn/externals`' to fix, not this repository's** — *filing it as a gap here
would be the right move if it is not done soon.* would be the right move if it is not done soon.*
--- ---
+5 -5
View File
@@ -1,7 +1,7 @@
# loom/docs # norn/docs
**The loom conventions, rendered for people.** *Astro Starlight, published at **The norn conventions, rendered for people.** *Astro Starlight, published at
[loom.hypertheory-labs.dev](https://loom.hypertheory-labs.dev).* [norn.hypertheory-labs.dev](https://norn.hypertheory-labs.dev).*
> **This site is an instance of the thing it documents.** *Every reference page > **This site is an instance of the thing it documents.** *Every reference page
> is a copy of a document published by another repository, adopted under > is a copy of a document published by another repository, adopted under
@@ -24,7 +24,7 @@ npm run ack # "I re-read the stale guides and they are still true"
**Generated** — one per adopted document, under `src/content/docs/<repo>/`. **Generated** — one per adopted document, under `src/content/docs/<repo>/`.
*A rendering of somebody else's document.* **Safe to overwrite, because nobody *A rendering of somebody else's document.* **Safe to overwrite, because nobody
typed it.** *Do not edit one: your change is gone on the next build, and the typed it.** *Do not edit one: your change is gone on the next build, and the
canonical copy is in `.loom/externals/` anyway.* canonical copy is in `.norn/externals/` anyway.*
**Guides** — `index.mdx`, one per section. **Hand-written and never **Guides** — `index.mdx`, one per section. **Hand-written and never
overwritten.** *This is where a worked example goes, and the order to read overwritten.** *This is where a worked example goes, and the order to read
@@ -59,7 +59,7 @@ people.**
## Adding a document ## Adding a document
```sh ```sh
loomctl external add loom/<repo> <doc>.md nornctl external add norn/<repo> <doc>.md
npm run generate npm run generate
``` ```
+6 -6
View File
@@ -3,29 +3,29 @@ import starlight from '@astrojs/starlight'
import sidebar from './src/sidebar.json' with { type: 'json' } import sidebar from './src/sidebar.json' with { type: 'json' }
// Nothing in this file names a document or a section. The sidebar is generated // Nothing in this file names a document or a section. The sidebar is generated
// from .loom/externals/.locks, so adopting anything and re-running // from .norn/externals/.locks, so adopting anything and re-running
// `npm run generate` is the whole of adding it — a config that listed them // `npm run generate` is the whole of adding it — a config that listed them
// would be a second place to update and would go stale silently. // would be a second place to update and would go stale silently.
export default defineConfig({ export default defineConfig({
site: 'https://loom.hypertheory-labs.dev', site: 'https://norn.hypertheory-labs.dev',
srcDir: './src', srcDir: './src',
integrations: [ integrations: [
starlight({ starlight({
title: 'loom', title: 'norn',
description: description:
'Conventions for holding what a repository knows, so that somebody arriving — person or agent — can find it.', 'Conventions for holding what a repository knows, so that somebody arriving — person or agent — can find it.',
social: [ social: [
{ {
icon: 'seti:git', icon: 'seti:git',
label: 'Source', label: 'Source',
href: 'https://git.hypertheory-labs.dev/loom', href: 'https://git.hypertheory-labs.dev/norn',
}, },
], ],
editLink: { baseUrl: 'https://git.hypertheory-labs.dev/loom/docs/_edit/main/' }, editLink: { baseUrl: 'https://git.hypertheory-labs.dev/norn/docs/_edit/main/' },
// Generated by scripts/generate.mjs from the locks. Adopting from a new // Generated by scripts/generate.mjs from the locks. Adopting from a new
// repository adds a section here with no edit to this file. // repository adds a section here with no edit to this file.
sidebar, sidebar,
customCss: ['./src/styles/loom.css'], customCss: ['./src/styles/norn.css'],
}), }),
], ],
}) })
+4 -4
View File
@@ -1,6 +1,6 @@
# Deploying this site # Deploying this site
**`loom.hypertheory-labs.dev`, on the home cluster.** **`norn.hypertheory-labs.dev`, on the home cluster.**
**No container image is built.** *Two public images — `nginx` and `git-sync` — **No container image is built.** *Two public images — `nginx` and `git-sync` —
and the site arrives over git.* **`git-sync` follows the `site` branch of this and the site arrives over git.* **`git-sync` follows the `site` branch of this
@@ -8,7 +8,7 @@ repository**, *which holds `dist/` and nothing else*, **and `nginx` serves what
lands in the shared volume.** lands in the shared volume.**
> **This deliberately sidesteps the cluster's open gap on > **This deliberately sidesteps the cluster's open gap on
> [publishing container images](https://git.hypertheory-labs.dev/jeffry/homelab-cluster/src/branch/main/.loom/gaps/publishing-container-images.md).** > [publishing container images](https://git.hypertheory-labs.dev/jeffry/homelab-cluster/src/branch/main/.norn/gaps/publishing-container-images.md).**
> *Sidestepping is not closing:* **the first workload here that genuinely needs > *Sidestepping is not closing:* **the first workload here that genuinely needs
> an image we built will still hit it**, *and this repository is not evidence > an image we built will still hit it**, *and this repository is not evidence
> that the gap is smaller than it looked.* > that the gap is smaller than it looked.*
@@ -27,10 +27,10 @@ is no rollout, because there is no image.**
| | | | | |
|---|---| |---|---|
| `namespace.yaml` | the `loom` namespace | | `namespace.yaml` | the `norn` namespace |
| `deployment.yaml` | `nginx` + `git-sync`, sharing an `emptyDir` | | `deployment.yaml` | `nginx` + `git-sync`, sharing an `emptyDir` |
| `service.yaml` | ClusterIP on 80 | | `service.yaml` | ClusterIP on 80 |
| `httproute.yaml` | pins to the `loom` listener and **carries no hostname of its own** | | `httproute.yaml` | pins to the `norn` listener and **carries no hostname of its own** |
**The `Certificate` and the Gateway listener are not here** — *they are cluster **The `Certificate` and the Gateway listener are not here** — *they are cluster
infrastructure and live in `homelab-impl`, beside the other four.* infrastructure and live in `homelab-impl`, beside the other four.*
+5 -5
View File
@@ -1,17 +1,17 @@
# The site is served from a git branch, not from an image we built. # The site is served from a git branch, not from an image we built.
# #
# git-sync clones the `site` branch of loom/docs into a shared emptyDir and # git-sync clones the `site` branch of norn/docs into a shared emptyDir and
# polls it; nginx serves whatever is there. Both images are public, which is # polls it; nginx serves whatever is there. Both images are public, which is
# what lets this deploy while the cluster's container-registry gap is open. # what lets this deploy while the cluster's container-registry gap is open.
# #
# Anonymous clone: loom/docs is a public repository. Nothing here holds a # Anonymous clone: norn/docs is a public repository. Nothing here holds a
# credential, and a private repository would need one — which is the same # credential, and a private repository would need one — which is the same
# unanswered question the registry gap names. # unanswered question the registry gap names.
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: docs name: docs
namespace: loom namespace: norn
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -34,7 +34,7 @@ spec:
- name: git-sync-init - name: git-sync-init
image: registry.k8s.io/git-sync/git-sync:v4.4.0 image: registry.k8s.io/git-sync/git-sync:v4.4.0
args: args:
- --repo=https://git.hypertheory-labs.dev/loom/docs.git - --repo=https://git.hypertheory-labs.dev/norn/docs.git
- --ref=site - --ref=site
- --root=/site - --root=/site
- --link=current - --link=current
@@ -45,7 +45,7 @@ spec:
- name: git-sync - name: git-sync
image: registry.k8s.io/git-sync/git-sync:v4.4.0 image: registry.k8s.io/git-sync/git-sync:v4.4.0
args: args:
- --repo=https://git.hypertheory-labs.dev/loom/docs.git - --repo=https://git.hypertheory-labs.dev/norn/docs.git
- --ref=site - --ref=site
- --root=/site - --root=/site
- --link=current - --link=current
+3 -3
View File
@@ -1,16 +1,16 @@
# Carries no hostname of its own, on purpose: it pins to the `loom` listener by # Carries no hostname of its own, on purpose: it pins to the `norn` listener by
# sectionName and inherits the hostname from it. A route with its own # sectionName and inherits the hostname from it. A route with its own
# `hostnames:` stops inheriting and stops being portable between environments. # `hostnames:` stops inheriting and stops being portable between environments.
apiVersion: gateway.networking.k8s.io/v1 apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute kind: HTTPRoute
metadata: metadata:
name: docs name: docs
namespace: loom namespace: norn
spec: spec:
parentRefs: parentRefs:
- name: traefik-gateway - name: traefik-gateway
namespace: traefik namespace: traefik
sectionName: loom sectionName: norn
rules: rules:
- backendRefs: - backendRefs:
- name: docs - name: docs
+1 -1
View File
@@ -1,4 +1,4 @@
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: loom name: norn
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: docs-nginx name: docs-nginx
namespace: loom namespace: norn
data: data:
default.conf: | default.conf: |
server { server {
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: docs name: docs
namespace: loom namespace: norn
spec: spec:
selector: { app: docs } selector: { app: docs }
ports: ports:
+2 -2
View File
@@ -1,10 +1,10 @@
{ {
"name": "loom-docs", "name": "norn-docs",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "loom-docs", "name": "norn-docs",
"dependencies": { "dependencies": {
"@astrojs/starlight": "^0.36.0", "@astrojs/starlight": "^0.36.0",
"astro": "^5.15.0", "astro": "^5.15.0",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "loom-docs", "name": "norn-docs",
"type": "module", "type": "module",
"private": true, "private": true,
"scripts": { "scripts": {
+13 -13
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env node #!/usr/bin/env node
// Walk .loom/externals/.locks and project every adopted document into a // Walk .norn/externals/.locks and project every adopted document into a
// Starlight page. // Starlight page.
// //
// Two kinds of page, and the difference is the whole design: // Two kinds of page, and the difference is the whole design:
@@ -13,7 +13,7 @@
// guide is still true — only a person can — so it renders the question onto // guide is still true — only a person can — so it renders the question onto
// the page rather than answering it. It reports; a person raises. // the page rather than answering it. It reports; a person raises.
// //
// The one thing this writes into a hand-written file is the `loom:` block in // The one thing this writes into a hand-written file is the `norn:` block in
// its frontmatter. That block is machine-owned. Everything below the closing // its frontmatter. That block is machine-owned. Everything below the closing
// `---` is yours and is copied byte for byte. // `---` is yours and is copied byte for byte.
@@ -23,8 +23,8 @@ import { fileURLToPath } from 'node:url'
import { parse as parseYaml, stringify as stringifyYaml } from 'yaml' import { parse as parseYaml, stringify as stringifyYaml } from 'yaml'
const root = join(dirname(fileURLToPath(import.meta.url)), '..') const root = join(dirname(fileURLToPath(import.meta.url)), '..')
const LOCKS = join(root, '.loom/externals/.locks') const LOCKS = join(root, '.norn/externals/.locks')
const EXTERNALS = join(root, '.loom/externals') const EXTERNALS = join(root, '.norn/externals')
const OUT = join(root, 'src/content/docs') const OUT = join(root, 'src/content/docs')
const argv = new Set(process.argv.slice(2)) const argv = new Set(process.argv.slice(2))
@@ -100,12 +100,12 @@ function generatedPage(rec) {
['.gaps.md', 'What we expected and did not find'], ['.gaps.md', 'What we expected and did not find'],
]) { ]) {
const p = `${rec.path.replace(/\.md$/, '')}${suffix}` const p = `${rec.path.replace(/\.md$/, '')}${suffix}`
if (existsSync(join(EXTERNALS, p))) facets.push(`${label}: \`.loom/externals/${p}\``) if (existsSync(join(EXTERNALS, p))) facets.push(`${label}: \`.norn/externals/${p}\``)
} }
const provenance = [ const provenance = [
'', '',
'<div class="loom-provenance">', '<div class="norn-provenance">',
'', '',
`This page is a copy of a document published by \`${rec.owner}/${rec.repo}\`, rendered here.`, `This page is a copy of a document published by \`${rec.owner}/${rec.repo}\`, rendered here.`,
`The source is [${rec.url}](${rec.url}) and is what the copy is checked against.`, `The source is [${rec.url}](${rec.url}) and is what the copy is checked against.`,
@@ -121,7 +121,7 @@ function generatedPage(rec) {
// Nobody typed this page, so offering to edit it is an invitation to // Nobody typed this page, so offering to edit it is an invitation to
// lose work on the next build. // lose work on the next build.
editUrl: false, editUrl: false,
loom: { norn: {
generated: true, generated: true,
path: rec.path, path: rec.path,
source: rec.url, source: rec.url,
@@ -143,7 +143,7 @@ Prefer an example to an explanation. An explanation is a second saying of a rule
that is owned on one of the pages beside this one, and it goes stale silently. An that is owned on one of the pages beside this one, and it goes stale silently. An
example goes stale visibly, because the artifacts in it are the wrong shape. example goes stale visibly, because the artifacts in it are the wrong shape.
The pages in this section are copies of what \`loom/${repo}\` publishes, and are The pages in this section are copies of what \`norn/${repo}\` publishes, and are
regenerated. When one of them moves, this page gets a banner asking whether it is regenerated. When one of them moves, this page gets a banner asking whether it is
still true — the build cannot answer that, so it asks. still true — the build cannot answer that, so it asks.
`.trimStart() `.trimStart()
@@ -151,7 +151,7 @@ still true — the build cannot answer that, so it asks.
function guidePage(repo, records, existing) { function guidePage(repo, records, existing) {
const writtenAgainst = records.map((r) => ({ path: r.path, etag: r.etag })) const writtenAgainst = records.map((r) => ({ path: r.path, etag: r.etag }))
let data = { title: repo, loom: {} } let data = { title: repo, norn: {} }
let body = GUIDE_TEMPLATE(repo) let body = GUIDE_TEMPLATE(repo)
let stale = [] let stale = []
let changed = [] let changed = []
@@ -162,7 +162,7 @@ function guidePage(repo, records, existing) {
const split = splitFrontmatter(existing) const split = splitFrontmatter(existing)
data = { ...split.data } data = { ...split.data }
body = split.body body = split.body
const was = new Map((data.loom?.writtenAgainst ?? []).map((s) => [s.path, s.etag])) const was = new Map((data.norn?.writtenAgainst ?? []).map((s) => [s.path, s.etag]))
// A section gaining or losing a document changes the guide too, and this // A section gaining or losing a document changes the guide too, and this
// did not notice until bedrock grew a fifth page under a guide that // did not notice until bedrock grew a fifth page under a guide that
// enumerates its pages by hand. Comparing only what is present in both is a // enumerates its pages by hand. Comparing only what is present in both is a
@@ -176,7 +176,7 @@ function guidePage(repo, records, existing) {
} }
data.title ??= repo data.title ??= repo
data.loom = { writtenAgainst: existing && !ACK ? (data.loom?.writtenAgainst ?? writtenAgainst) : writtenAgainst } data.norn = { writtenAgainst: existing && !ACK ? (data.norn?.writtenAgainst ?? writtenAgainst) : writtenAgainst }
if (stale.length && !ACK) { if (stale.length && !ACK) {
// Starlight renders `banner` above the page. The reader sees the doubt even // Starlight renders `banner` above the page. The reader sees the doubt even
@@ -196,7 +196,7 @@ function guidePage(repo, records, existing) {
if (added.length) parts.push(`${code(added)} was adopted after this page was written`) if (added.length) parts.push(`${code(added)} was adopted after this page was written`)
if (gone.length) parts.push(`${code(gone)} is no longer adopted`) if (gone.length) parts.push(`${code(gone)} is no longer adopted`)
data.banner = { data.banner = {
content: `${parts.join('; ')}. Run <code>loomctl external check</code>, or re-read this page, then <code>npm run ack</code>.`, content: `${parts.join('; ')}. Run <code>nornctl external check</code>, or re-read this page, then <code>npm run ack</code>.`,
} }
} else { } else {
delete data.banner delete data.banner
@@ -209,7 +209,7 @@ function guidePage(repo, records, existing) {
const locks = readLocks() const locks = readLocks()
if (locks.length === 0) { if (locks.length === 0) {
console.error('generate: no adopted documents in .loom/externals/.locks') console.error('generate: no adopted documents in .norn/externals/.locks')
process.exit(1) process.exit(1)
} }
+2 -2
View File
@@ -2,7 +2,7 @@ import { defineCollection, z } from 'astro:content'
import { docsLoader } from '@astrojs/starlight/loaders' import { docsLoader } from '@astrojs/starlight/loaders'
import { docsSchema } from '@astrojs/starlight/schema' import { docsSchema } from '@astrojs/starlight/schema'
// `loom` is the machine-owned block. Everything else on a page is a person's. // `norn` is the machine-owned block. Everything else on a page is a person's.
const source = z.object({ const source = z.object({
path: z.string(), path: z.string(),
etag: z.string(), etag: z.string(),
@@ -13,7 +13,7 @@ export const collections = {
loader: docsLoader(), loader: docsLoader(),
schema: docsSchema({ schema: docsSchema({
extend: z.object({ extend: z.object({
loom: z norn: z
.object({ .object({
// Set on a generated page: this is a rendering of somebody's document. // Set on a generated page: this is a rendering of somebody's document.
generated: z.boolean().optional(), generated: z.boolean().optional(),
+7 -7
View File
@@ -1,10 +1,10 @@
--- ---
title: Agreement — annotating title: Agreement — annotating
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/annotating/annotating.md path: git.hypertheory-labs.dev/norn/annotating/annotating.md
source: https://git.hypertheory-labs.dev/loom/annotating/raw/branch/main/.loom/published/annotating.md source: https://git.hypertheory-labs.dev/norn/annotating/raw/branch/main/.norn/published/annotating.md
etag: '"9b1f7e6ca92f2339b2d433686c27845362944bdb"' etag: '"9b1f7e6ca92f2339b2d433686c27845362944bdb"'
visibility: public visibility: public
--- ---
@@ -166,11 +166,11 @@ depends on this one is now being read through a mechanism the publisher does not
know about. know about.
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/annotating`, rendered here. This page is a copy of a document published by `norn/annotating`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/annotating/raw/branch/main/.loom/published/annotating.md](https://git.hypertheory-labs.dev/loom/annotating/raw/branch/main/.loom/published/annotating.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/annotating/raw/branch/main/.norn/published/annotating.md](https://git.hypertheory-labs.dev/norn/annotating/raw/branch/main/.norn/published/annotating.md) and is what the copy is checked against.
What of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/annotating/annotating.usages.md` What of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/annotating/annotating.usages.md`
</div> </div>
+2 -2
View File
@@ -1,8 +1,8 @@
--- ---
title: annotating title: annotating
loom: norn:
writtenAgainst: writtenAgainst:
- path: git.hypertheory-labs.dev/loom/annotating/annotating.md - path: git.hypertheory-labs.dev/norn/annotating/annotating.md
etag: '"9b1f7e6ca92f2339b2d433686c27845362944bdb"' etag: '"9b1f7e6ca92f2339b2d433686c27845362944bdb"'
--- ---
+9 -9
View File
@@ -1,18 +1,18 @@
--- ---
title: bedrock title: bedrock
loom: norn:
writtenAgainst: writtenAgainst:
- path: git.hypertheory-labs.dev/loom/bedrock/loom-directory.md - path: git.hypertheory-labs.dev/norn/bedrock/norn-directory.md
etag: '"ee0f49cb900c0812678061971194325d9cba366a"' etag: '"ee0f49cb900c0812678061971194325d9cba366a"'
- path: git.hypertheory-labs.dev/loom/bedrock/publication.md - path: git.hypertheory-labs.dev/norn/bedrock/publication.md
etag: '"c0d9231aa8eed3041c60b72da5735585457fbc90"' etag: '"c0d9231aa8eed3041c60b72da5735585457fbc90"'
- path: git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md - path: git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md
etag: '"d190eeae7929b9a99ecf09211d94e7e5b32635bd"' etag: '"d190eeae7929b9a99ecf09211d94e7e5b32635bd"'
- path: git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md - path: git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md
etag: '"a46446a34ccb8bfc533d3cce19f4c88548c4fa04"' etag: '"a46446a34ccb8bfc533d3cce19f4c88548c4fa04"'
- path: git.hypertheory-labs.dev/loom/bedrock/starting.md - path: git.hypertheory-labs.dev/norn/bedrock/starting.md
etag: '"b9eefba0f4668a496ccfc6a1377277f0721456d2"' etag: '"b9eefba0f4668a496ccfc6a1377277f0721456d2"'
- path: git.hypertheory-labs.dev/loom/bedrock/venues.md - path: git.hypertheory-labs.dev/norn/bedrock/venues.md
etag: '"35e940195e2ba9a30b4b4dc81a57f9383c709f64"' etag: '"35e940195e2ba9a30b4b4dc81a57f9383c709f64"'
--- ---
@@ -22,14 +22,14 @@ and most repositories need nothing else.
The other four pages are what those two questions turn into once a second The other four pages are what those two questions turn into once a second
repository starts depending on you: repository starts depending on you:
- [publication](/bedrock/publication/) — moving a document into `.loom/published/` - [publication](/bedrock/publication/) — moving a document into `.norn/published/`
is a change of kind, not of status, and the step people skip is the last one. is a change of kind, not of status, and the step people skip is the last one.
- [recording-decisions](/bedrock/recording-decisions/) — an entry says what was - [recording-decisions](/bedrock/recording-decisions/) — an entry says what was
decided and **the belief that could turn out false**, because only a stated decided and **the belief that could turn out false**, because only a stated
belief can later be shown wrong. belief can later be shown wrong.
- [sibling-facets](/bedrock/sibling-facets/) — `x.notes.md` beside `x.md`, owned - [sibling-facets](/bedrock/sibling-facets/) — `x.notes.md` beside `x.md`, owned
by whoever wrote the facet. by whoever wrote the facet.
- [loom-directory](/bedrock/loom-directory/) — type by location. A stream is a - [norn-directory](/bedrock/norn-directory/) — type by location. A stream is a
file; a collection of things with identity is a directory. file; a collection of things with identity is a directory.
- [venues](/bedrock/venues/) — a choice you made about something that publishes - [venues](/bedrock/venues/) — a choice you made about something that publishes
nothing you could adopt. Kafka, React, the organisation you work for. nothing you could adopt. Kafka, React, the organisation you work for.
@@ -1,14 +1,14 @@
--- ---
title: The `.loom` directory title: The `.norn` directory
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/bedrock/loom-directory.md path: git.hypertheory-labs.dev/norn/bedrock/norn-directory.md
source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/loom-directory.md source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/norn-directory.md
etag: '"ee0f49cb900c0812678061971194325d9cba366a"' etag: '"ee0f49cb900c0812678061971194325d9cba366a"'
visibility: public visibility: public
--- ---
**A repository that uses loom keeps everything in `.loom/` at its root.** **A repository that uses norn keeps everything in `.norn/` at its root.**
> **Type is determined by location.** *The directory a file is in says what it > **Type is determined by location.** *The directory a file is in says what it
> is.* **So frontmatter carries almost nothing, and often nothing at all.** > is.* **So frontmatter carries almost nothing, and often nothing at all.**
@@ -23,17 +23,17 @@ fails on an unfamiliar directory is wrong.*
## What is fixed ## What is fixed
**Only `.loom/` itself, and that a directory means a kind.** *Which kinds exist **Only `.norn/` itself, and that a directory means a kind.** *Which kinds exist
is not fixed here — conventions built on this one declare their own, and a is not fixed here — conventions built on this one declare their own, and a
repository has only the ones it uses.* repository has only the ones it uses.*
**Nothing outside `.loom/` is loom's business.** **Nothing outside `.norn/` is norn's business.**
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/bedrock`, rendered here. This page is a copy of a document published by `norn/bedrock`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/loom-directory.md](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/loom-directory.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/norn-directory.md](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/norn-directory.md) and is what the copy is checked against.
</div> </div>
+11 -11
View File
@@ -1,15 +1,15 @@
--- ---
title: Publication title: Publication
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/bedrock/publication.md path: git.hypertheory-labs.dev/norn/bedrock/publication.md
source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md
etag: '"c0d9231aa8eed3041c60b72da5735585457fbc90"' etag: '"c0d9231aa8eed3041c60b72da5735585457fbc90"'
visibility: public visibility: public
--- ---
**What a repository has handed over for others to depend on lives in **What a repository has handed over for others to depend on lives in
`.loom/published/`.** `.norn/published/`.**
> **Publishing is a change of kind, not a change of status.** *An unpublished > **Publishing is a change of kind, not a change of status.** *An unpublished
> document is an implementation detail you may rename at will. **A published one > document is an implementation detail you may rename at will. **A published one
@@ -20,12 +20,12 @@ is a diff that shows up in review.** *A flag in frontmatter is a line nobody
notices; this is the moment a thing becomes somebody else's problem, and it notices; this is the moment a thing becomes somebody else's problem, and it
should be unmissable.* should be unmissable.*
**`ls .loom/published/` is *what have we committed to?*** — and it is the question **`ls .norn/published/` is *what have we committed to?*** — and it is the question
to ask before changing anything. to ask before changing anything.
## Publishing is not an act you can complete alone ## Publishing is not an act you can complete alone
**A file in `.loom/published/` that its intended readers cannot fetch is not **A file in `.norn/published/` that its intended readers cannot fetch is not
published.** *The move is the act, but the act is not finished until somebody who published.** *The move is the act, but the act is not finished until somebody who
is not you can perform the read.* is not you can perform the read.*
@@ -49,7 +49,7 @@ copy without inheriting the visibility it was published under.*
1. **Decide it is a contract and not a detail.** *This is the whole decision and 1. **Decide it is a contract and not a detail.** *This is the whole decision and
the rest is mechanics.* the rest is mechanics.*
2. **Move the file into `.loom/published/`.** *One commit, so the diff carries it.* 2. **Move the file into `.norn/published/`.** *One commit, so the diff carries it.*
3. **Say who the readers are** — *if it is not obvious from where it landed.* 3. **Say who the readers are** — *if it is not obvious from where it landed.*
4. **Fetch it.** *From somewhere that is not your machine and not your account.* 4. **Fetch it.** *From somewhere that is not your machine and not your account.*
5. **Record the decision**, if you keep a log. 5. **Record the decision**, if you keep a log.
@@ -76,11 +76,11 @@ invents a category — and a directory called `internal/` would look like a
security boundary and not be one.* security boundary and not be one.*
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/bedrock`, rendered here. This page is a copy of a document published by `norn/bedrock`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md) and is what the copy is checked against.
What of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.usages.md` What of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.usages.md`
</div> </div>
@@ -1,10 +1,10 @@
--- ---
title: Recording decisions title: Recording decisions
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md path: git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md
source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/recording-decisions.md source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/recording-decisions.md
etag: '"d190eeae7929b9a99ecf09211d94e7e5b32635bd"' etag: '"d190eeae7929b9a99ecf09211d94e7e5b32635bd"'
visibility: public visibility: public
--- ---
@@ -57,13 +57,13 @@ turned out false, or that somebody changed their mind.*
## Where it lives ## Where it lives
`.loom/event-log.md`. **A stream, so a file.** `.norn/event-log.md`. **A stream, so a file.**
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/bedrock`, rendered here. This page is a copy of a document published by `norn/bedrock`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/recording-decisions.md](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/recording-decisions.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/recording-decisions.md](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/recording-decisions.md) and is what the copy is checked against.
</div> </div>
+6 -6
View File
@@ -1,10 +1,10 @@
--- ---
title: Sibling facets title: Sibling facets
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md path: git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md
source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/sibling-facets.md source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/sibling-facets.md
etag: '"a46446a34ccb8bfc533d3cce19f4c88548c4fa04"' etag: '"a46446a34ccb8bfc533d3cce19f4c88548c4fa04"'
visibility: public visibility: public
--- ---
@@ -36,10 +36,10 @@ to whoever published it; a facet beside it is the only place a reader has to put
what they think.* what they think.*
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/bedrock`, rendered here. This page is a copy of a document published by `norn/bedrock`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/sibling-facets.md](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/sibling-facets.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/sibling-facets.md](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/sibling-facets.md) and is what the copy is checked against.
</div> </div>
+15 -15
View File
@@ -1,20 +1,20 @@
--- ---
title: Starting one of these in a repository title: Starting one of these in a repository
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/bedrock/starting.md path: git.hypertheory-labs.dev/norn/bedrock/starting.md
source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md
etag: '"b9eefba0f4668a496ccfc6a1377277f0721456d2"' etag: '"b9eefba0f4668a496ccfc6a1377277f0721456d2"'
visibility: public visibility: public
--- ---
**Make a `.loom/` directory. Everything else follows from two questions.** **Make a `.norn/` directory. Everything else follows from two questions.**
--- ---
## What can a reader not already know? ## What can a reader not already know?
**That is what you publish**, in `.loom/published/`, as ordinary documents. **That is what you publish**, in `.norn/published/`, as ordinary documents.
**Not what your service does** — its code says that. **Not how Kubernetes or **Not what your service does** — its code says that. **Not how Kubernetes or
Kafka or React work** — that is somebody else's documentation, and a copy of it Kafka or React work** — that is somebody else's documentation, and a copy of it
@@ -30,7 +30,7 @@ looking.*
## What do you need that nothing provides? ## What do you need that nothing provides?
**That is a gap**, in `.loom/gaps/`. **That is a gap**, in `.norn/gaps/`.
**The test: could you say whose job it is?** *If yes, it is a claim against them **The test: could you say whose job it is?** *If yes, it is a claim against them
and belongs with them. If no, it is a gap.* and belongs with them. If no, it is a gap.*
@@ -42,23 +42,23 @@ and belongs with them. If no, it is a gap.*
## Then, only if you have something to say ## Then, only if you have something to say
**`.loom/externals/`** — a copy of somebody's document you depend on, with what **`.norn/externals/`** — a copy of somebody's document you depend on, with what
you use and what you expected and did not find, beside it. See you use and what you expected and did not find, beside it. See
[externals](https://git.hypertheory-labs.dev/loom/externals). [externals](https://git.hypertheory-labs.dev/norn/externals).
**`.loom/venues/`** — choices you made about something with no document to hang **`.norn/venues/`** — choices you made about something with no document to hang
them on. *Kafka, React, HTTP.* them on. *Kafka, React, HTTP.*
**`.loom/event-log.md`** — decisions, if you are keeping them here. **`.norn/event-log.md`** — decisions, if you are keeping them here.
> **A file that carries no delta should not exist.** *If you do exactly what > **A file that carries no delta should not exist.** *If you do exactly what
> somebody else's document says, write nothing — recording the adoption is > somebody else's document says, write nothing — recording the adoption is
> ceremony.* > ceremony.*
## Write a `.loom/README.md` ## Write a `.norn/README.md`
**Say what is in `published/` and why somebody would want it.** *Link the **Say what is in `published/` and why somebody would want it.** *Link the
documents. One line for the curious about what `.loom` is.* documents. One line for the curious about what `.norn` is.*
**Nobody should need to understand any of this to use it** — *they are documents **Nobody should need to understand any of this to use it** — *they are documents
in a folder, and a reader who ignores the vocabulary entirely should still get in a folder, and a reader who ignores the vocabulary entirely should still get
@@ -83,10 +83,10 @@ written to a stranger, which was not the reason for doing it.*
> example**, and this page did exactly that until somebody measured it. > example**, and this page did exactly that until somebody measured it.
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/bedrock`, rendered here. This page is a copy of a document published by `norn/bedrock`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md) and is what the copy is checked against.
</div> </div>
+7 -7
View File
@@ -1,14 +1,14 @@
--- ---
title: Venues title: Venues
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/bedrock/venues.md path: git.hypertheory-labs.dev/norn/bedrock/venues.md
source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md
etag: '"35e940195e2ba9a30b4b4dc81a57f9383c709f64"' etag: '"35e940195e2ba9a30b4b4dc81a57f9383c709f64"'
visibility: public visibility: public
--- ---
**`.loom/venues/<name>.md` — a choice you made about something that has no **`.norn/venues/<name>.md` — a choice you made about something that has no
document of its own to hang it on.** document of its own to hang it on.**
*Kafka. React. HTTP. The organisation you work for.* **Things that constrain what *Kafka. React. HTTP. The organisation you work for.* **Things that constrain what
@@ -89,10 +89,10 @@ in three languages and JSON schema drift was costing us a release a quarter" can
be checked against a world that may have changed.** be checked against a world that may have changed.**
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/bedrock`, rendered here. This page is a copy of a document published by `norn/bedrock`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md) and is what the copy is checked against.
</div> </div>
+11 -11
View File
@@ -1,10 +1,10 @@
--- ---
title: Agreement — the cart title: Agreement — the cart
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/cart/cart.md path: git.hypertheory-labs.dev/norn/cart/cart.md
source: https://git.hypertheory-labs.dev/loom/cart/raw/branch/main/.loom/published/cart.md source: https://git.hypertheory-labs.dev/norn/cart/raw/branch/main/.norn/published/cart.md
etag: '"15331f1a9cc81bf61a44830cfbb7c274f4c2b119"' etag: '"15331f1a9cc81bf61a44830cfbb7c274f4c2b119"'
visibility: public visibility: public
--- ---
@@ -151,7 +151,7 @@ chat, whatever you already have.* **This is not that channel and it does not sca
into one.** into one.**
> **So the cart is not committed.** *It lives in the working tree of the machine > **So the cart is not committed.** *It lives in the working tree of the machine
> the two presences share, and `.loom/cart/` is ignored by version control.* > the two presences share, and `.norn/cart/` is ignored by version control.*
**The reason is not tidiness. A committed cart grows a third file by itself.** **The reason is not tidiness. A committed cart grows a third file by itself.**
*The rule above defends against somebody asking for one; **version control does *The rule above defends against somebody asking for one; **version control does
@@ -306,9 +306,9 @@ the question someone who was not there actually asks.
filed.** filed.**
## Select: Where does a cart live? ## Select: Where does a cart live?
- `.loom/cart/` - `.norn/cart/`
- somewhere else under `.loom/` - somewhere else under `.norn/`
- outside `.loom/` entirely - outside `.norn/` entirely
- there is no directory; carts happen somewhere that is not the repository - there is no directory; carts happen somewhere that is not the repository
## Select: What is the durable record that declines go into? ## Select: What is the durable record that declines go into?
@@ -343,11 +343,11 @@ anyone promoting them, that is one role with a discovered property, and this is
wrong. wrong.
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/cart`, rendered here. This page is a copy of a document published by `norn/cart`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/cart/raw/branch/main/.loom/published/cart.md](https://git.hypertheory-labs.dev/loom/cart/raw/branch/main/.loom/published/cart.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/cart/raw/branch/main/.norn/published/cart.md](https://git.hypertheory-labs.dev/norn/cart/raw/branch/main/.norn/published/cart.md) and is what the copy is checked against.
What of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/cart/cart.usages.md` What of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/cart/cart.usages.md`
</div> </div>
+5 -5
View File
@@ -1,8 +1,8 @@
--- ---
title: cart title: cart
loom: norn:
writtenAgainst: writtenAgainst:
- path: git.hypertheory-labs.dev/loom/cart/cart.md - path: git.hypertheory-labs.dev/norn/cart/cart.md
etag: '"15331f1a9cc81bf61a44830cfbb7c274f4c2b119"' etag: '"15331f1a9cc81bf61a44830cfbb7c274f4c2b119"'
--- ---
@@ -11,9 +11,9 @@ A round is two people, two files, and a name. Here is one, start to finish.
## Opening ## Opening
``` ```
.loom/cart/current/ .norn/cart/current/
├── name sorrel ├── name sorrel
├── loom-daily.md ├── norn-daily.md
└── claude-daily.md └── claude-daily.md
``` ```
@@ -30,7 +30,7 @@ dissolve.
An open item states its own fallback, so silence can mean proceed: An open item states its own fallback, so silence can mean proceed:
> **Select — where does the generated file go?** `.loom/externals/README.md`, or > **Select — where does the generated file go?** `.norn/externals/README.md`, or
> a fixed path in `bedrock`? *Fallback: your call, and I will write it into > a fixed path in `bedrock`? *Fallback: your call, and I will write it into
> `bedrock` if you pick a fixed path.* > `bedrock` if you pick a fixed path.*
+11 -11
View File
@@ -1,10 +1,10 @@
--- ---
title: Externals title: Externals
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/externals/externals.md path: git.hypertheory-labs.dev/norn/externals/externals.md
source: https://git.hypertheory-labs.dev/loom/externals/raw/branch/main/.loom/published/externals.md source: https://git.hypertheory-labs.dev/norn/externals/raw/branch/main/.norn/published/externals.md
etag: '"772c67f460f0ff3b9563aee9b38a64c0f3423dbd"' etag: '"772c67f460f0ff3b9563aee9b38a64c0f3423dbd"'
visibility: unknown visibility: unknown
--- ---
@@ -13,7 +13,7 @@ loom:
## Pull what you use ## Pull what you use
**You fetch a copy of somebody's document and keep it** at **You fetch a copy of somebody's document and keep it** at
`.loom/externals/<host>/<path>.md`. `.norn/externals/<host>/<path>.md`.
> ~~*The path says where it came from, so nothing has to record an origin.*~~ > ~~*The path says where it came from, so nothing has to record an origin.*~~
> **This was false and it was load-bearing.** *A stored path is short enough to > **This was false and it was load-bearing.** *A stored path is short enough to
@@ -66,7 +66,7 @@ what to decide are not.**
## What a lock holds ## What a lock holds
**One record per adopted document, in `.loom/externals/.locks`:** **One record per adopted document, in `.norn/externals/.locks`:**
- **where it was fetched from** — *resolved, as above* - **where it was fetched from** — *resolved, as above*
- **the publisher's `ETag`** — *verbatim* - **the publisher's `ETag`** — *verbatim*
@@ -164,11 +164,11 @@ the document moves.**
*Venues are for what is left: things that constrain you without publishing *Venues are for what is left: things that constrain you without publishing
anything you could adopt.* **See anything you could adopt.* **See
[venues](https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md).** [venues](https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md).**
## Gaps that belong to nobody ## Gaps that belong to nobody
**`.loom/gaps/`** — *a need with no owner.* **The test: could you say whose job **`.norn/gaps/`** — *a need with no owner.* **The test: could you say whose job
this is?** *If yes, it is a claim against them and belongs in their `.gaps.md`.* this is?** *If yes, it is a claim against them and belongs in their `.gaps.md`.*
> **Moving a file from `gaps/` into an external's `.gaps.md` is how a gap gets > **Moving a file from `gaps/` into an external's `.gaps.md` is how a gap gets
@@ -180,11 +180,11 @@ is fine** — and when the gap is finally homed, every workaround that should be
retired is findable. retired is findable.
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/externals`, rendered here. This page is a copy of a document published by `norn/externals`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/externals/raw/branch/main/.loom/published/externals.md](https://git.hypertheory-labs.dev/loom/externals/raw/branch/main/.loom/published/externals.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/externals/raw/branch/main/.norn/published/externals.md](https://git.hypertheory-labs.dev/norn/externals/raw/branch/main/.norn/published/externals.md) and is what the copy is checked against.
What of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/externals/externals.usages.md` What of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/externals/externals.usages.md`
</div> </div>
+5 -5
View File
@@ -1,8 +1,8 @@
--- ---
title: externals title: externals
loom: norn:
writtenAgainst: writtenAgainst:
- path: git.hypertheory-labs.dev/loom/externals/externals.md - path: git.hypertheory-labs.dev/norn/externals/externals.md
etag: '"772c67f460f0ff3b9563aee9b38a64c0f3423dbd"' etag: '"772c67f460f0ff3b9563aee9b38a64c0f3423dbd"'
--- ---
@@ -12,9 +12,9 @@ it — what you use it for.
This site is the worked example. Every reference page in it was adopted this way: This site is the worked example. Every reference page in it was adopted this way:
```console ```console
$ loomctl external add loom/bedrock publication.md $ nornctl external add norn/bedrock publication.md
adopted git.hypertheory-labs.dev/loom/bedrock/publication.md adopted git.hypertheory-labs.dev/norn/bedrock/publication.md
from https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md from https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md
etag "c0d9231aa8eed3041c60b72da5735585457fbc90" etag "c0d9231aa8eed3041c60b72da5735585457fbc90"
``` ```
+4 -4
View File
@@ -1,10 +1,10 @@
--- ---
title: loom title: norn
description: Conventions for holding what a repository knows, so somebody arriving can find it. description: Conventions for holding what a repository knows, so somebody arriving can find it.
template: splash template: splash
head: head:
- tag: title - tag: title
content: loom — conventions for what a repository knows content: norn — conventions for what a repository knows
hero: hero:
tagline: Conventions for holding what a repository knows — so that whoever arrives next, person or agent, can find it. tagline: Conventions for holding what a repository knows — so that whoever arrives next, person or agent, can find it.
actions: actions:
@@ -12,7 +12,7 @@ hero:
link: /bedrock/starting/ link: /bedrock/starting/
icon: right-arrow icon: right-arrow
- text: The repositories - text: The repositories
link: https://git.hypertheory-labs.dev/loom link: https://git.hypertheory-labs.dev/norn
icon: external icon: external
variant: minimal variant: minimal
--- ---
@@ -32,7 +32,7 @@ document in a repository you can read.
<CardGrid> <CardGrid>
<Card title="bedrock" icon="seti"> <Card title="bedrock" icon="seti">
The primitives. A `.loom/` directory, what goes in it, and what publishing The primitives. A `.norn/` directory, what goes in it, and what publishing
something means. [Start here](/bedrock/starting/). something means. [Start here](/bedrock/starting/).
</Card> </Card>
<Card title="externals" icon="random"> <Card title="externals" icon="random">
@@ -1,10 +1,10 @@
--- ---
title: What `loomctl` guarantees title: What `nornctl` guarantees
editUrl: false editUrl: false
loom: norn:
generated: true generated: true
path: git.hypertheory-labs.dev/loom/loom-cli/guarantees.md path: git.hypertheory-labs.dev/norn/norn-cli/guarantees.md
source: https://git.hypertheory-labs.dev/loom/loom-cli/raw/branch/main/.loom/published/guarantees.md source: https://git.hypertheory-labs.dev/norn/norn-cli/raw/branch/main/.norn/published/guarantees.md
etag: '"e8c697ea61df47838f38af7353e29d9ae3f7070c"' etag: '"e8c697ea61df47838f38af7353e29d9ae3f7070c"'
visibility: unknown visibility: unknown
--- ---
@@ -15,7 +15,7 @@ what will keep being true while they do.*
## It grants no access, and records where the copy came from ## It grants no access, and records where the copy came from
**`loomctl` reads what your credentials already let you read.** *Everything it **`nornctl` reads what your credentials already let you read.** *Everything it
does is possible with copy and paste.* **It is a mast, not a lock** — *the point does is possible with copy and paste.* **It is a mast, not a lock** — *the point
is to make the wrong thing deliberate, not impossible.* is to make the wrong thing deliberate, not impossible.*
@@ -29,7 +29,7 @@ is to make the wrong thing deliberate, not impossible.*
it writes is a file in your working tree.* **Committing and pushing are yours**, it writes is a file in your working tree.* **Committing and pushing are yours**,
*because the consequences of a push land on people a tool cannot experience.* *because the consequences of a push land on people a tool cannot experience.*
**A credential given to `loomctl` should never carry write scope**, *and if one **A credential given to `nornctl` should never carry write scope**, *and if one
does, nothing here will use it.* does, nothing here will use it.*
## Freshness is a conditional request against the publisher's `ETag` ## Freshness is a conditional request against the publisher's `ETag`
@@ -37,7 +37,7 @@ does, nothing here will use it.*
**Stored verbatim, opaque, never a hash we compute.** *A fetch that normalises **Stored verbatim, opaque, never a hash we compute.** *A fetch that normalises
anything breaks a local digest and reports a change that did not happen.* anything breaks a local digest and reports a change that did not happen.*
*This is `externals`' rule and `loomctl` is a second holder of it. **It is stated *This is `externals`' rule and `nornctl` is a second holder of it. **It is stated
here so that the tool holding it is a fact somebody can find**, and so that here so that the tool holding it is a fact somebody can find**, and so that
breaking it is visible rather than silent* — **a specimen was written in this breaking it is visible rather than silent* — **a specimen was written in this
repository that computed a hash instead, and it was wrong within a day.** repository that computed a hash instead, and it was wrong within a day.**
@@ -60,16 +60,16 @@ is verified rather than assumed.**
## The lock file ## The lock file
**`.loom/externals/.locks`, one record per adopted document, tab-separated, **`.norn/externals/.locks`, one record per adopted document, tab-separated,
ordered by path.** ordered by path.**
``` ```
path <TAB> url <TAB> etag [ <TAB> visibility ] path <TAB> url <TAB> etag [ <TAB> visibility ]
``` ```
- **`path`** — *relative to `.loom/externals/`, and **for a person to read**.* **It - **`path`** — *relative to `.norn/externals/`, and **for a person to read**.* **It
does not round-trip to a URL**; *it drops the route, the branch, and the does not round-trip to a URL**; *it drops the route, the branch, and the
publisher's `.loom/published/`.* publisher's `.norn/published/`.*
- **`url`** — *the resolved origin, branch and all.* - **`url`** — *the resolved origin, branch and all.*
- **`etag`** — *the publisher's, verbatim, including its quotes.* - **`etag`** — *the publisher's, verbatim, including its quotes.*
- **`visibility`** — *optional. What the source could be read as **when it was - **`visibility`** — *optional. What the source could be read as **when it was
@@ -100,7 +100,7 @@ schedule, and a document nobody checks is a document nobody is checking.*
**The command surface may change. This page will say when it does.** **The command surface may change. This page will say when it does.**
*A consumer whose README tells a person to type `loomctl external add loom/<repo> *A consumer whose README tells a person to type `nornctl external add norn/<repo>
<doc>.md` depends on that command by name — **not by parsing it, which is why no <doc>.md` depends on that command by name — **not by parsing it, which is why no
check would ever catch a rename**. The thing that moved would not be a document check would ever catch a rename**. The thing that moved would not be a document
they adopted.* they adopted.*
@@ -122,11 +122,11 @@ this page existed.*
*Verified fetchable by somebody who is not us on 2026-09-08.* *Verified fetchable by somebody who is not us on 2026-09-08.*
<div class="loom-provenance"> <div class="norn-provenance">
This page is a copy of a document published by `loom/loom-cli`, rendered here. This page is a copy of a document published by `norn/norn-cli`, rendered here.
The source is [https://git.hypertheory-labs.dev/loom/loom-cli/raw/branch/main/.loom/published/guarantees.md](https://git.hypertheory-labs.dev/loom/loom-cli/raw/branch/main/.loom/published/guarantees.md) and is what the copy is checked against. The source is [https://git.hypertheory-labs.dev/norn/norn-cli/raw/branch/main/.norn/published/guarantees.md](https://git.hypertheory-labs.dev/norn/norn-cli/raw/branch/main/.norn/published/guarantees.md) and is what the copy is checked against.
What of ours depends on it: `.loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.usages.md` What of ours depends on it: `.norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.usages.md`
</div> </div>
@@ -1,8 +1,8 @@
--- ---
title: loom-cli title: norn-cli
loom: norn:
writtenAgainst: writtenAgainst:
- path: git.hypertheory-labs.dev/loom/loom-cli/guarantees.md - path: git.hypertheory-labs.dev/norn/norn-cli/guarantees.md
etag: '"e8c697ea61df47838f38af7353e29d9ae3f7070c"' etag: '"e8c697ea61df47838f38af7353e29d9ae3f7070c"'
--- ---
@@ -14,18 +14,18 @@ useful way to meet it.
## Eight documents, and a tool that would not guess ## Eight documents, and a tool that would not guess
`loom-cli` had adopted eight documents by hand, months of prose fetched with `norn-cli` had adopted eight documents by hand, months of prose fetched with
`curl` into the right directory. The first thing the tool ever said about them `curl` into the right directory. The first thing the tool ever said about them
was this: was this:
```console ```console
$ loomctl external check $ nornctl external check
git.hypertheory-labs.dev/loom/annotating/annotating.md unlocked no origin recorded — `loomctl external add <url>` supplies it without rewriting this copy git.hypertheory-labs.dev/norn/annotating/annotating.md unlocked no origin recorded — `nornctl external add <url>` supplies it without rewriting this copy
git.hypertheory-labs.dev/loom/bedrock/loom-directory.md unlocked no origin recorded — ... git.hypertheory-labs.dev/norn/bedrock/norn-directory.md unlocked no origin recorded — ...
git.hypertheory-labs.dev/loom/bedrock/publication.md unlocked no origin recorded — ... git.hypertheory-labs.dev/norn/bedrock/publication.md unlocked no origin recorded — ...
git.hypertheory-labs.dev/loom/bedrock/starting.md unlocked no origin recorded — ... git.hypertheory-labs.dev/norn/bedrock/starting.md unlocked no origin recorded — ...
git.hypertheory-labs.dev/loom/cart/cart.md unlocked no origin recorded — ... git.hypertheory-labs.dev/norn/cart/cart.md unlocked no origin recorded — ...
git.hypertheory-labs.dev/loom/externals/externals.md unlocked no origin recorded — ... git.hypertheory-labs.dev/norn/externals/externals.md unlocked no origin recorded — ...
``` ```
`unlocked` means **I cannot tell you.** There was an obvious thing to do instead `unlocked` means **I cannot tell you.** There was an obvious thing to do instead
@@ -39,14 +39,14 @@ lines that decline to answer.
## Supplying the origin, without an overwrite ## Supplying the origin, without an overwrite
The path does not round-trip — `.../loom/bedrock/starting.md` has dropped the The path does not round-trip — `.../norn/bedrock/starting.md` has dropped the
route, the branch, and the publisher's `.loom/published/` — so nothing but you route, the branch, and the publisher's `.norn/published/` — so nothing but you
can say where a hand-fetched copy came from. Say it once: can say where a hand-fetched copy came from. Say it once:
```console ```console
$ loomctl external add loom/bedrock starting.md $ nornctl external add norn/bedrock starting.md
locked git.hypertheory-labs.dev/loom/bedrock/starting.md locked git.hypertheory-labs.dev/norn/bedrock/starting.md
from https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md from https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md
etag "7d997a30248a88c90b23f2f9453d7cfceb03848e" (bytes verified identical; nothing was rewritten) etag "7d997a30248a88c90b23f2f9453d7cfceb03848e" (bytes verified identical; nothing was rewritten)
``` ```
@@ -61,11 +61,11 @@ watching.
Eight documents locked. Then, on a Sunday afternoon, this: Eight documents locked. Then, on a Sunday afternoon, this:
```console ```console
$ loomctl external check $ nornctl external check
git.hypertheory-labs.dev/loom/cart/cart.md same git.hypertheory-labs.dev/norn/cart/cart.md same
git.hypertheory-labs.dev/loom/externals/externals.md CHANGED staged as a polad; git.hypertheory-labs.dev/loom/externals/externals.usages.md names what to fix git.hypertheory-labs.dev/norn/externals/externals.md CHANGED staged as a polad; git.hypertheory-labs.dev/norn/externals/externals.usages.md names what to fix
1 staged in .loom/cart/current/polad — apply or discard; nothing here drifts into being kept. 1 staged in .norn/cart/current/polad — apply or discard; nothing here drifts into being kept.
``` ```
The document had gained a section that afternoon. Nobody had said so, and nobody The document had gained a section that afternoon. Nobody had said so, and nobody
@@ -75,9 +75,9 @@ Two things in that line are doing work. The new copy is **staged**, not applied
it is a candidate, and taking it is a separate act: it is a candidate, and taking it is a separate act:
```console ```console
$ loomctl external apply $ nornctl external apply
applied git.hypertheory-labs.dev/loom/externals/externals.md applied git.hypertheory-labs.dev/norn/externals/externals.md
check git.hypertheory-labs.dev/loom/externals/externals.usages.md names what depends on this check git.hypertheory-labs.dev/norn/externals/externals.usages.md names what depends on this
``` ```
And the staged copy carries the etag it was served with, so applying locks the And the staged copy carries the etag it was served with, so applying locks the
@@ -114,13 +114,13 @@ document nobody checks is a document nobody is checking.
## Where to start ## Where to start
```console ```console
$ go build -o loomctl . && ./loomctl --help $ go build -o nornctl . && ./nornctl --help
$ loomctl external list loom/bedrock # what a repository publishes $ nornctl external list norn/bedrock # what a repository publishes
$ loomctl external add loom/bedrock starting.md $ nornctl external add norn/bedrock starting.md
$ loomctl external check # safe anywhere; it only reads $ nornctl external check # safe anywhere; it only reads
``` ```
The [guarantees](/loom-cli/guarantees/) page is the contract: what will keep The [guarantees](/norn-cli/guarantees/) page is the contract: what will keep
being true while the commands change, the lock file's format, and — the part being true while the commands change, the lock file's format, and — the part
worth reading first if you are reimplementing this — what is deliberately not worth reading first if you are reimplementing this — what is deliberately not
promised. promised.
+2 -2
View File
@@ -28,9 +28,9 @@
} }
}, },
{ {
"label": "loom-cli", "label": "norn-cli",
"autogenerate": { "autogenerate": {
"directory": "loom-cli" "directory": "norn-cli"
} }
} }
] ]
+2 -2
View File
@@ -1,9 +1,9 @@
/* A generated page should not look like a page somebody wrote. */ /* A generated page should not look like a page somebody wrote. */
.loom-provenance { .norn-provenance {
margin-top: 3rem; margin-top: 3rem;
padding-top: 1rem; padding-top: 1rem;
border-top: 1px solid var(--sl-color-hairline); border-top: 1px solid var(--sl-color-hairline);
font-size: var(--sl-text-sm); font-size: var(--sl-text-sm);
color: var(--sl-color-gray-3); color: var(--sl-color-gray-3);
} }
.loom-provenance a { color: var(--sl-color-gray-2); } .norn-provenance a { color: var(--sl-color-gray-2); }