diff --git a/.gitignore b/.gitignore index 17b9120..d476fba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ node_modules/ dist/ .astro/ -.loom/cart/ +.norn/cart/ diff --git a/.loom/externals/.locks b/.loom/externals/.locks deleted file mode 100644 index f638d5c..0000000 --- a/.loom/externals/.locks +++ /dev/null @@ -1,15 +0,0 @@ -# loomctl locks — one record per adopted document. -# pathurletag[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" diff --git a/.loom/orientation.md b/.loom/orientation.md deleted file mode 100644 index 9b07bc9..0000000 --- a/.loom/orientation.md +++ /dev/null @@ -1,62 +0,0 @@ - - -# 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 - `.gaps.md` beside the copy. -- **What of ours depends on a copy** — write it in `.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. diff --git a/.loom/README.md b/.norn/README.md similarity index 87% rename from .loom/README.md rename to .norn/README.md index 3aeb184..100e22c 100644 --- a/.loom/README.md +++ b/.norn/README.md @@ -1,10 +1,10 @@ -# `.loom` — loom/docs +# `.norn` — norn/docs **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 -[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.* **Nothing in `externals/` is edited here.** *A copy that differs from its source diff --git a/.norn/externals/.locks b/.norn/externals/.locks new file mode 100644 index 0000000..279b91c --- /dev/null +++ b/.norn/externals/.locks @@ -0,0 +1,15 @@ +# nornctl locks — one record per adopted document. +# pathurletag[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" diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/annotating/annotating.md b/.norn/externals/git.hypertheory-labs.dev/norn/annotating/annotating.md similarity index 100% rename from .loom/externals/git.hypertheory-labs.dev/loom/annotating/annotating.md rename to .norn/externals/git.hypertheory-labs.dev/norn/annotating/annotating.md diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/annotating/annotating.usages.md b/.norn/externals/git.hypertheory-labs.dev/norn/annotating/annotating.usages.md similarity index 100% rename from .loom/externals/git.hypertheory-labs.dev/loom/annotating/annotating.usages.md rename to .norn/externals/git.hypertheory-labs.dev/norn/annotating/annotating.usages.md diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/loom-directory.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/norn-directory.md similarity index 78% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/loom-directory.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/norn-directory.md index ee0f49c..c2b35c8 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/loom-directory.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/norn-directory.md @@ -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 > 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 -**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 repository has only the ones it uses.* -**Nothing outside `.loom/` is loom's business.** +**Nothing outside `.norn/` is norn's business.** diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.md similarity index 93% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.md index c0d9231..bc73997 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.md @@ -1,7 +1,7 @@ # Publication **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 > 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 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. ## 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 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 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.* 4. **Fetch it.** *From somewhere that is not your machine and not your account.* 5. **Record the decision**, if you keep a log. diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.usages.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.usages.md similarity index 100% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/publication.usages.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/publication.usages.md diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md similarity index 97% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md index d190eea..44236ab 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md @@ -49,4 +49,4 @@ turned out false, or that somebody changed their mind.* ## Where it lives -`.loom/event-log.md`. **A stream, so a file.** +`.norn/event-log.md`. **A stream, so a file.** diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md similarity index 100% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/starting.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/starting.md similarity index 83% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/starting.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/starting.md index b9eefba..90c9f6e 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/starting.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/starting.md @@ -1,12 +1,12 @@ # 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? -**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 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? -**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 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 -**`.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 -[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.* -**`.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 > somebody else's document says, write nothing — recording the adoption is > ceremony.* -## Write a `.loom/README.md` +## Write a `.norn/README.md` **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 in a folder, and a reader who ignores the vocabulary entirely should still get diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/venues.md b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/venues.md similarity index 98% rename from .loom/externals/git.hypertheory-labs.dev/loom/bedrock/venues.md rename to .norn/externals/git.hypertheory-labs.dev/norn/bedrock/venues.md index 35e9401..19cdb30 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/bedrock/venues.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/bedrock/venues.md @@ -1,6 +1,6 @@ # Venues -**`.loom/venues/.md` — a choice you made about something that has no +**`.norn/venues/.md` — a choice you made about something that has no document of its own to hang it on.** *Kafka. React. HTTP. The organisation you work for.* **Things that constrain what diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/cart/cart.md b/.norn/externals/git.hypertheory-labs.dev/norn/cart/cart.md similarity index 99% rename from .loom/externals/git.hypertheory-labs.dev/loom/cart/cart.md rename to .norn/externals/git.hypertheory-labs.dev/norn/cart/cart.md index 15331f1..640187b 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/cart/cart.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/cart/cart.md @@ -143,7 +143,7 @@ chat, whatever you already have.* **This is not that channel and it does not sca into one.** > **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 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.** ## Select: Where does a cart live? -- `.loom/cart/` -- somewhere else under `.loom/` -- outside `.loom/` entirely +- `.norn/cart/` +- somewhere else under `.norn/` +- outside `.norn/` entirely - there is no directory; carts happen somewhere that is not the repository ## Select: What is the durable record that declines go into? diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/cart/cart.usages.md b/.norn/externals/git.hypertheory-labs.dev/norn/cart/cart.usages.md similarity index 100% rename from .loom/externals/git.hypertheory-labs.dev/loom/cart/cart.usages.md rename to .norn/externals/git.hypertheory-labs.dev/norn/cart/cart.usages.md diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/externals/externals.md b/.norn/externals/git.hypertheory-labs.dev/norn/externals/externals.md similarity index 96% rename from .loom/externals/git.hypertheory-labs.dev/loom/externals/externals.md rename to .norn/externals/git.hypertheory-labs.dev/norn/externals/externals.md index 772c67f..20be6b7 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/externals/externals.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/externals/externals.md @@ -5,7 +5,7 @@ ## Pull what you use **You fetch a copy of somebody's document and keep it** at -`.loom/externals//.md`. +`.norn/externals//.md`. > ~~*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 @@ -58,7 +58,7 @@ what to decide are not.** ## 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* - **the publisher's `ETag`** — *verbatim* @@ -156,11 +156,11 @@ the document moves.** *Venues are for what is left: things that constrain you without publishing 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 -**`.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`.* > **Moving a file from `gaps/` into an external's `.gaps.md` is how a gap gets diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/externals/externals.usages.md b/.norn/externals/git.hypertheory-labs.dev/norn/externals/externals.usages.md similarity index 100% rename from .loom/externals/git.hypertheory-labs.dev/loom/externals/externals.usages.md rename to .norn/externals/git.hypertheory-labs.dev/norn/externals/externals.usages.md diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.md b/.norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.md similarity index 90% rename from .loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.md rename to .norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.md index e8c697e..e7425cd 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.md @@ -1,4 +1,4 @@ -# What `loomctl` guarantees +# What `nornctl` guarantees **Not what it does — `--help` says that, and the commands will change.** *This is 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 -**`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 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**, *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.* ## 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 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 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.** @@ -52,16 +52,16 @@ is verified rather than assumed.** ## 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.** ``` path url etag [ 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 - publisher's `.loom/published/`.* + publisher's `.norn/published/`.* - **`url`** — *the resolved origin, branch and all.* - **`etag`** — *the publisher's, verbatim, including its quotes.* - **`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.** -*A consumer whose README tells a person to type `loomctl external add loom/ +*A consumer whose README tells a person to type `nornctl external add norn/ .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 they adopted.* diff --git a/.loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.usages.md b/.norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.usages.md similarity index 92% rename from .loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.usages.md rename to .norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.usages.md index ca4070a..bb55450 100644 --- a/.loom/externals/git.hypertheory-labs.dev/loom/loom-cli/guarantees.usages.md +++ b/.norn/externals/git.hypertheory-labs.dev/norn/norn-cli/guarantees.usages.md @@ -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 `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* | | 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* | ## What we depend on that the page explicitly does not promise **The command surface.** *`scripts/publish-site.sh` and the README quote -`loomctl external add loom/ .md` verbatim.* **The page says names, +`nornctl external add norn/ .md` verbatim.* **The page says names, 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.* diff --git a/.norn/orientation.md b/.norn/orientation.md new file mode 100644 index 0000000..fb6d424 --- /dev/null +++ b/.norn/orientation.md @@ -0,0 +1,62 @@ + + +# 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 + `.gaps.md` beside the copy. +- **What of ours depends on a copy** — write it in `.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. diff --git a/HANDOFF.md b/HANDOFF.md index 90773a5..86b9443 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -7,9 +7,9 @@ can continue without reconstructing the reasoning.* ## 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 -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, and they are stamped with what they were written against so that a source moving 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 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 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 @@ -44,7 +44,7 @@ reconciled it.* **`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.* -**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 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 @@ -81,13 +81,13 @@ somebody has to remember into an incentive.* ``` scripts/generate.mjs the whole projection. Read this first; it is commented. 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/ index.mdx hand-written home /index.mdx hand-written guide, stamped /.md GENERATED — do not edit -.loom/externals/ the adopted copies and .locks — do not edit either -.loom/externals/**/*.usages.md what of ours depends on each document +.norn/externals/ the adopted copies and .locks — do not edit either +.norn/externals/**/*.usages.md what of ours depends on each document ``` **Two directories hold copies and neither may be edited**, *for the same reason:* @@ -97,7 +97,7 @@ while nobody was watching.** ## Adding a document ```sh -loomctl external add loom/ .md +nornctl external add norn/ .md npm run generate ``` @@ -110,7 +110,7 @@ on reads as current and nothing will ever correct it.* ## What is left **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.* **`.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 (`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.* --- diff --git a/README.md b/README.md index e639e14..0abbe1a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# loom/docs +# norn/docs -**The loom conventions, rendered for people.** *Astro Starlight, published at -[loom.hypertheory-labs.dev](https://loom.hypertheory-labs.dev).* +**The norn conventions, rendered for people.** *Astro Starlight, published at +[norn.hypertheory-labs.dev](https://norn.hypertheory-labs.dev).* > **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 @@ -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//`. *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 -canonical copy is in `.loom/externals/` anyway.* +canonical copy is in `.norn/externals/` anyway.* **Guides** — `index.mdx`, one per section. **Hand-written and never overwritten.** *This is where a worked example goes, and the order to read @@ -59,7 +59,7 @@ people.** ## Adding a document ```sh -loomctl external add loom/ .md +nornctl external add norn/ .md npm run generate ``` diff --git a/astro.config.mjs b/astro.config.mjs index 283174a..2645807 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,29 +3,29 @@ import starlight from '@astrojs/starlight' import sidebar from './src/sidebar.json' with { type: 'json' } // 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 // would be a second place to update and would go stale silently. export default defineConfig({ - site: 'https://loom.hypertheory-labs.dev', + site: 'https://norn.hypertheory-labs.dev', srcDir: './src', integrations: [ starlight({ - title: 'loom', + title: 'norn', description: 'Conventions for holding what a repository knows, so that somebody arriving — person or agent — can find it.', social: [ { icon: 'seti:git', 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 // repository adds a section here with no edit to this file. sidebar, - customCss: ['./src/styles/loom.css'], + customCss: ['./src/styles/norn.css'], }), ], }) diff --git a/deploy/README.md b/deploy/README.md index 95f0e68..900c586 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -1,6 +1,6 @@ # 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` — 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.** > **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 > an image we built will still hit it**, *and this repository is not evidence > 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` | | `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 infrastructure and live in `homelab-impl`, beside the other four.* diff --git a/deploy/deployment.yaml b/deploy/deployment.yaml index 8076f8d..29bbd5e 100644 --- a/deploy/deployment.yaml +++ b/deploy/deployment.yaml @@ -1,17 +1,17 @@ # 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 # 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 # unanswered question the registry gap names. apiVersion: apps/v1 kind: Deployment metadata: name: docs - namespace: loom + namespace: norn spec: replicas: 1 selector: @@ -34,7 +34,7 @@ spec: - name: git-sync-init image: registry.k8s.io/git-sync/git-sync:v4.4.0 args: - - --repo=https://git.hypertheory-labs.dev/loom/docs.git + - --repo=https://git.hypertheory-labs.dev/norn/docs.git - --ref=site - --root=/site - --link=current @@ -45,7 +45,7 @@ spec: - name: git-sync image: registry.k8s.io/git-sync/git-sync:v4.4.0 args: - - --repo=https://git.hypertheory-labs.dev/loom/docs.git + - --repo=https://git.hypertheory-labs.dev/norn/docs.git - --ref=site - --root=/site - --link=current diff --git a/deploy/httproute.yaml b/deploy/httproute.yaml index 4bb9c32..20d2b96 100644 --- a/deploy/httproute.yaml +++ b/deploy/httproute.yaml @@ -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 # `hostnames:` stops inheriting and stops being portable between environments. apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: docs - namespace: loom + namespace: norn spec: parentRefs: - name: traefik-gateway namespace: traefik - sectionName: loom + sectionName: norn rules: - backendRefs: - name: docs diff --git a/deploy/namespace.yaml b/deploy/namespace.yaml index 671632b..a6ca5f8 100644 --- a/deploy/namespace.yaml +++ b/deploy/namespace.yaml @@ -1,4 +1,4 @@ apiVersion: v1 kind: Namespace metadata: - name: loom + name: norn diff --git a/deploy/nginx-conf.yaml b/deploy/nginx-conf.yaml index a071602..1ede696 100644 --- a/deploy/nginx-conf.yaml +++ b/deploy/nginx-conf.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: docs-nginx - namespace: loom + namespace: norn data: default.conf: | server { diff --git a/deploy/service.yaml b/deploy/service.yaml index e2be60e..433fd17 100644 --- a/deploy/service.yaml +++ b/deploy/service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: name: docs - namespace: loom + namespace: norn spec: selector: { app: docs } ports: diff --git a/package-lock.json b/package-lock.json index d6afe71..8f4fa0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,10 +1,10 @@ { - "name": "loom-docs", + "name": "norn-docs", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "loom-docs", + "name": "norn-docs", "dependencies": { "@astrojs/starlight": "^0.36.0", "astro": "^5.15.0", diff --git a/package.json b/package.json index c5843a7..698c1a6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "loom-docs", + "name": "norn-docs", "type": "module", "private": true, "scripts": { diff --git a/scripts/generate.mjs b/scripts/generate.mjs index a2af82e..d78371c 100644 --- a/scripts/generate.mjs +++ b/scripts/generate.mjs @@ -1,5 +1,5 @@ #!/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. // // 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 // 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 // `---` 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' const root = join(dirname(fileURLToPath(import.meta.url)), '..') -const LOCKS = join(root, '.loom/externals/.locks') -const EXTERNALS = join(root, '.loom/externals') +const LOCKS = join(root, '.norn/externals/.locks') +const EXTERNALS = join(root, '.norn/externals') const OUT = join(root, 'src/content/docs') const argv = new Set(process.argv.slice(2)) @@ -100,12 +100,12 @@ function generatedPage(rec) { ['.gaps.md', 'What we expected and did not find'], ]) { 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 = [ '', - '
', + '
', '', `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.`, @@ -121,7 +121,7 @@ function generatedPage(rec) { // Nobody typed this page, so offering to edit it is an invitation to // lose work on the next build. editUrl: false, - loom: { + norn: { generated: true, path: rec.path, 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 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 still true — the build cannot answer that, so it asks. `.trimStart() @@ -151,7 +151,7 @@ still true — the build cannot answer that, so it asks. function guidePage(repo, records, existing) { 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 stale = [] let changed = [] @@ -162,7 +162,7 @@ function guidePage(repo, records, existing) { const split = splitFrontmatter(existing) data = { ...split.data } 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 // 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 @@ -176,7 +176,7 @@ function guidePage(repo, records, existing) { } 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) { // 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 (gone.length) parts.push(`${code(gone)} is no longer adopted`) data.banner = { - content: `${parts.join('; ')}. Run loomctl external check, or re-read this page, then npm run ack.`, + content: `${parts.join('; ')}. Run nornctl external check, or re-read this page, then npm run ack.`, } } else { delete data.banner @@ -209,7 +209,7 @@ function guidePage(repo, records, existing) { const locks = readLocks() 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) } diff --git a/src/content.config.ts b/src/content.config.ts index f3cb7c6..78db6e2 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -2,7 +2,7 @@ import { defineCollection, z } from 'astro:content' import { docsLoader } from '@astrojs/starlight/loaders' 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({ path: z.string(), etag: z.string(), @@ -13,7 +13,7 @@ export const collections = { loader: docsLoader(), schema: docsSchema({ extend: z.object({ - loom: z + norn: z .object({ // Set on a generated page: this is a rendering of somebody's document. generated: z.boolean().optional(), diff --git a/src/content/docs/annotating/annotating.md b/src/content/docs/annotating/annotating.md index 490b269..cc0509d 100644 --- a/src/content/docs/annotating/annotating.md +++ b/src/content/docs/annotating/annotating.md @@ -1,10 +1,10 @@ --- title: Agreement — annotating editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/annotating/annotating.md - source: https://git.hypertheory-labs.dev/loom/annotating/raw/branch/main/.loom/published/annotating.md + path: git.hypertheory-labs.dev/norn/annotating/annotating.md + source: https://git.hypertheory-labs.dev/norn/annotating/raw/branch/main/.norn/published/annotating.md etag: '"9b1f7e6ca92f2339b2d433686c27845362944bdb"' visibility: public --- @@ -166,11 +166,11 @@ depends on this one is now being read through a mechanism the publisher does not know about. -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/annotating`, rendered here. +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`
diff --git a/src/content/docs/annotating/index.mdx b/src/content/docs/annotating/index.mdx index 9eb44f5..b995a21 100644 --- a/src/content/docs/annotating/index.mdx +++ b/src/content/docs/annotating/index.mdx @@ -1,8 +1,8 @@ --- title: annotating -loom: +norn: writtenAgainst: - - path: git.hypertheory-labs.dev/loom/annotating/annotating.md + - path: git.hypertheory-labs.dev/norn/annotating/annotating.md etag: '"9b1f7e6ca92f2339b2d433686c27845362944bdb"' --- diff --git a/src/content/docs/bedrock/index.mdx b/src/content/docs/bedrock/index.mdx index 26ef225..e332438 100644 --- a/src/content/docs/bedrock/index.mdx +++ b/src/content/docs/bedrock/index.mdx @@ -1,18 +1,18 @@ --- title: bedrock -loom: +norn: writtenAgainst: - - path: git.hypertheory-labs.dev/loom/bedrock/loom-directory.md + - path: git.hypertheory-labs.dev/norn/bedrock/norn-directory.md etag: '"ee0f49cb900c0812678061971194325d9cba366a"' - - path: git.hypertheory-labs.dev/loom/bedrock/publication.md + - path: git.hypertheory-labs.dev/norn/bedrock/publication.md etag: '"c0d9231aa8eed3041c60b72da5735585457fbc90"' - - path: git.hypertheory-labs.dev/loom/bedrock/recording-decisions.md + - path: git.hypertheory-labs.dev/norn/bedrock/recording-decisions.md etag: '"d190eeae7929b9a99ecf09211d94e7e5b32635bd"' - - path: git.hypertheory-labs.dev/loom/bedrock/sibling-facets.md + - path: git.hypertheory-labs.dev/norn/bedrock/sibling-facets.md etag: '"a46446a34ccb8bfc533d3cce19f4c88548c4fa04"' - - path: git.hypertheory-labs.dev/loom/bedrock/starting.md + - path: git.hypertheory-labs.dev/norn/bedrock/starting.md etag: '"b9eefba0f4668a496ccfc6a1377277f0721456d2"' - - path: git.hypertheory-labs.dev/loom/bedrock/venues.md + - path: git.hypertheory-labs.dev/norn/bedrock/venues.md 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 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. - [recording-decisions](/bedrock/recording-decisions/) — an entry says what was decided and **the belief that could turn out false**, because only a stated belief can later be shown wrong. - [sibling-facets](/bedrock/sibling-facets/) — `x.notes.md` beside `x.md`, owned 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. - [venues](/bedrock/venues/) — a choice you made about something that publishes nothing you could adopt. Kafka, React, the organisation you work for. diff --git a/src/content/docs/bedrock/loom-directory.md b/src/content/docs/bedrock/norn-directory.md similarity index 54% rename from src/content/docs/bedrock/loom-directory.md rename to src/content/docs/bedrock/norn-directory.md index 2d6b075..da46498 100644 --- a/src/content/docs/bedrock/loom-directory.md +++ b/src/content/docs/bedrock/norn-directory.md @@ -1,14 +1,14 @@ --- -title: The `.loom` directory +title: The `.norn` directory editUrl: false -loom: +norn: generated: true - path: 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 + path: 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 etag: '"ee0f49cb900c0812678061971194325d9cba366a"' 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 > 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 -**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 repository has only the ones it uses.* -**Nothing outside `.loom/` is loom's business.** +**Nothing outside `.norn/` is norn's business.** -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/bedrock`, rendered here. +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.
diff --git a/src/content/docs/bedrock/publication.md b/src/content/docs/bedrock/publication.md index 6a31a46..9f745c2 100644 --- a/src/content/docs/bedrock/publication.md +++ b/src/content/docs/bedrock/publication.md @@ -1,15 +1,15 @@ --- title: Publication editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/bedrock/publication.md - source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md + path: git.hypertheory-labs.dev/norn/bedrock/publication.md + source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md etag: '"c0d9231aa8eed3041c60b72da5735585457fbc90"' visibility: public --- **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 > 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 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. ## 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 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 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.* 4. **Fetch it.** *From somewhere that is not your machine and not your account.* 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.* -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/bedrock`, rendered here. +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`
diff --git a/src/content/docs/bedrock/recording-decisions.md b/src/content/docs/bedrock/recording-decisions.md index 747ef57..96c82f1 100644 --- a/src/content/docs/bedrock/recording-decisions.md +++ b/src/content/docs/bedrock/recording-decisions.md @@ -1,10 +1,10 @@ --- title: Recording decisions editUrl: false -loom: +norn: generated: true - path: 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 + path: 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 etag: '"d190eeae7929b9a99ecf09211d94e7e5b32635bd"' visibility: public --- @@ -57,13 +57,13 @@ turned out false, or that somebody changed their mind.* ## Where it lives -`.loom/event-log.md`. **A stream, so a file.** +`.norn/event-log.md`. **A stream, so a file.** -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/bedrock`, rendered here. +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.
diff --git a/src/content/docs/bedrock/sibling-facets.md b/src/content/docs/bedrock/sibling-facets.md index f2d1ae2..56f267d 100644 --- a/src/content/docs/bedrock/sibling-facets.md +++ b/src/content/docs/bedrock/sibling-facets.md @@ -1,10 +1,10 @@ --- title: Sibling facets editUrl: false -loom: +norn: generated: true - path: 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 + path: 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 etag: '"a46446a34ccb8bfc533d3cce19f4c88548c4fa04"' 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.* -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/bedrock`, rendered here. +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.
diff --git a/src/content/docs/bedrock/starting.md b/src/content/docs/bedrock/starting.md index 46cd2f0..9d9593c 100644 --- a/src/content/docs/bedrock/starting.md +++ b/src/content/docs/bedrock/starting.md @@ -1,20 +1,20 @@ --- title: Starting one of these in a repository editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/bedrock/starting.md - source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md + path: git.hypertheory-labs.dev/norn/bedrock/starting.md + source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/starting.md etag: '"b9eefba0f4668a496ccfc6a1377277f0721456d2"' 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? -**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 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? -**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 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 -**`.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 -[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.* -**`.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 > somebody else's document says, write nothing — recording the adoption is > ceremony.* -## Write a `.loom/README.md` +## Write a `.norn/README.md` **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 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. -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/bedrock`, rendered here. +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.
diff --git a/src/content/docs/bedrock/venues.md b/src/content/docs/bedrock/venues.md index da68bd1..7667be8 100644 --- a/src/content/docs/bedrock/venues.md +++ b/src/content/docs/bedrock/venues.md @@ -1,14 +1,14 @@ --- title: Venues editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/bedrock/venues.md - source: https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/venues.md + path: git.hypertheory-labs.dev/norn/bedrock/venues.md + source: https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/venues.md etag: '"35e940195e2ba9a30b4b4dc81a57f9383c709f64"' visibility: public --- -**`.loom/venues/.md` — a choice you made about something that has no +**`.norn/venues/.md` — a choice you made about something that has no document of its own to hang it on.** *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.** -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/bedrock`, rendered here. +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.
diff --git a/src/content/docs/cart/cart.md b/src/content/docs/cart/cart.md index 51b13ef..44f658c 100644 --- a/src/content/docs/cart/cart.md +++ b/src/content/docs/cart/cart.md @@ -1,10 +1,10 @@ --- title: Agreement — the cart editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/cart/cart.md - source: https://git.hypertheory-labs.dev/loom/cart/raw/branch/main/.loom/published/cart.md + path: git.hypertheory-labs.dev/norn/cart/cart.md + source: https://git.hypertheory-labs.dev/norn/cart/raw/branch/main/.norn/published/cart.md etag: '"15331f1a9cc81bf61a44830cfbb7c274f4c2b119"' visibility: public --- @@ -151,7 +151,7 @@ chat, whatever you already have.* **This is not that channel and it does not sca into one.** > **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 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.** ## Select: Where does a cart live? -- `.loom/cart/` -- somewhere else under `.loom/` -- outside `.loom/` entirely +- `.norn/cart/` +- somewhere else under `.norn/` +- outside `.norn/` entirely - there is no directory; carts happen somewhere that is not the repository ## 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. -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/cart`, rendered here. +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`
diff --git a/src/content/docs/cart/index.mdx b/src/content/docs/cart/index.mdx index 3a64247..a4230d2 100644 --- a/src/content/docs/cart/index.mdx +++ b/src/content/docs/cart/index.mdx @@ -1,8 +1,8 @@ --- title: cart -loom: +norn: writtenAgainst: - - path: git.hypertheory-labs.dev/loom/cart/cart.md + - path: git.hypertheory-labs.dev/norn/cart/cart.md etag: '"15331f1a9cc81bf61a44830cfbb7c274f4c2b119"' --- @@ -11,9 +11,9 @@ A round is two people, two files, and a name. Here is one, start to finish. ## Opening ``` -.loom/cart/current/ +.norn/cart/current/ ├── name sorrel -├── loom-daily.md +├── norn-daily.md └── claude-daily.md ``` @@ -30,7 +30,7 @@ dissolve. 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 > `bedrock` if you pick a fixed path.* diff --git a/src/content/docs/externals/externals.md b/src/content/docs/externals/externals.md index 9c01916..6a5b731 100644 --- a/src/content/docs/externals/externals.md +++ b/src/content/docs/externals/externals.md @@ -1,10 +1,10 @@ --- title: Externals editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/externals/externals.md - source: https://git.hypertheory-labs.dev/loom/externals/raw/branch/main/.loom/published/externals.md + path: git.hypertheory-labs.dev/norn/externals/externals.md + source: https://git.hypertheory-labs.dev/norn/externals/raw/branch/main/.norn/published/externals.md etag: '"772c67f460f0ff3b9563aee9b38a64c0f3423dbd"' visibility: unknown --- @@ -13,7 +13,7 @@ loom: ## Pull what you use **You fetch a copy of somebody's document and keep it** at -`.loom/externals//.md`. +`.norn/externals//.md`. > ~~*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 @@ -66,7 +66,7 @@ what to decide are not.** ## 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* - **the publisher's `ETag`** — *verbatim* @@ -164,11 +164,11 @@ the document moves.** *Venues are for what is left: things that constrain you without publishing 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 -**`.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`.* > **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. -
+
-This page is a copy of a document published by `loom/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. +This page is a copy of a document published by `norn/externals`, rendered here. +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`
diff --git a/src/content/docs/externals/index.mdx b/src/content/docs/externals/index.mdx index ecf5e53..70f0623 100644 --- a/src/content/docs/externals/index.mdx +++ b/src/content/docs/externals/index.mdx @@ -1,8 +1,8 @@ --- title: externals -loom: +norn: writtenAgainst: - - path: git.hypertheory-labs.dev/loom/externals/externals.md + - path: git.hypertheory-labs.dev/norn/externals/externals.md 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: ```console -$ loomctl external add loom/bedrock publication.md -adopted git.hypertheory-labs.dev/loom/bedrock/publication.md - from https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/publication.md +$ nornctl external add norn/bedrock publication.md +adopted git.hypertheory-labs.dev/norn/bedrock/publication.md + from https://git.hypertheory-labs.dev/norn/bedrock/raw/branch/main/.norn/published/publication.md etag "c0d9231aa8eed3041c60b72da5735585457fbc90" ``` diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index 8870160..ca312ff 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -1,10 +1,10 @@ --- -title: loom +title: norn description: Conventions for holding what a repository knows, so somebody arriving can find it. template: splash head: - tag: title - content: loom — conventions for what a repository knows + content: norn — conventions for what a repository knows hero: tagline: Conventions for holding what a repository knows — so that whoever arrives next, person or agent, can find it. actions: @@ -12,7 +12,7 @@ hero: link: /bedrock/starting/ icon: right-arrow - text: The repositories - link: https://git.hypertheory-labs.dev/loom + link: https://git.hypertheory-labs.dev/norn icon: external variant: minimal --- @@ -32,7 +32,7 @@ document in a repository you can read. - 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/). diff --git a/src/content/docs/loom-cli/guarantees.md b/src/content/docs/norn-cli/guarantees.md similarity index 81% rename from src/content/docs/loom-cli/guarantees.md rename to src/content/docs/norn-cli/guarantees.md index df6a724..3903a16 100644 --- a/src/content/docs/loom-cli/guarantees.md +++ b/src/content/docs/norn-cli/guarantees.md @@ -1,10 +1,10 @@ --- -title: What `loomctl` guarantees +title: What `nornctl` guarantees editUrl: false -loom: +norn: generated: true - path: git.hypertheory-labs.dev/loom/loom-cli/guarantees.md - source: https://git.hypertheory-labs.dev/loom/loom-cli/raw/branch/main/.loom/published/guarantees.md + path: git.hypertheory-labs.dev/norn/norn-cli/guarantees.md + source: https://git.hypertheory-labs.dev/norn/norn-cli/raw/branch/main/.norn/published/guarantees.md etag: '"e8c697ea61df47838f38af7353e29d9ae3f7070c"' 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 -**`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 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**, *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.* ## 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 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 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.** @@ -60,16 +60,16 @@ is verified rather than assumed.** ## 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.** ``` path url etag [ 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 - publisher's `.loom/published/`.* + publisher's `.norn/published/`.* - **`url`** — *the resolved origin, branch and all.* - **`etag`** — *the publisher's, verbatim, including its quotes.* - **`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.** -*A consumer whose README tells a person to type `loomctl external add loom/ +*A consumer whose README tells a person to type `nornctl external add norn/ .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 they adopted.* @@ -122,11 +122,11 @@ this page existed.* *Verified fetchable by somebody who is not us on 2026-09-08.* -
+
-This page is a copy of a document published by `loom/loom-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. +This page is a copy of a document published by `norn/norn-cli`, rendered here. +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`
diff --git a/src/content/docs/loom-cli/index.mdx b/src/content/docs/norn-cli/index.mdx similarity index 69% rename from src/content/docs/loom-cli/index.mdx rename to src/content/docs/norn-cli/index.mdx index 28507cd..687dbc5 100644 --- a/src/content/docs/loom-cli/index.mdx +++ b/src/content/docs/norn-cli/index.mdx @@ -1,8 +1,8 @@ --- -title: loom-cli -loom: +title: norn-cli +norn: writtenAgainst: - - path: git.hypertheory-labs.dev/loom/loom-cli/guarantees.md + - path: git.hypertheory-labs.dev/norn/norn-cli/guarantees.md etag: '"e8c697ea61df47838f38af7353e29d9ae3f7070c"' --- @@ -14,18 +14,18 @@ useful way to meet it. ## 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 was this: ```console -$ loomctl external check -git.hypertheory-labs.dev/loom/annotating/annotating.md unlocked no origin recorded — `loomctl external add ` supplies it without rewriting this copy -git.hypertheory-labs.dev/loom/bedrock/loom-directory.md unlocked no origin recorded — ... -git.hypertheory-labs.dev/loom/bedrock/publication.md unlocked no origin recorded — ... -git.hypertheory-labs.dev/loom/bedrock/starting.md unlocked no origin recorded — ... -git.hypertheory-labs.dev/loom/cart/cart.md unlocked no origin recorded — ... -git.hypertheory-labs.dev/loom/externals/externals.md unlocked no origin recorded — ... +$ nornctl external check +git.hypertheory-labs.dev/norn/annotating/annotating.md unlocked no origin recorded — `nornctl external add ` supplies it without rewriting this copy +git.hypertheory-labs.dev/norn/bedrock/norn-directory.md unlocked no origin recorded — ... +git.hypertheory-labs.dev/norn/bedrock/publication.md unlocked no origin recorded — ... +git.hypertheory-labs.dev/norn/bedrock/starting.md unlocked no origin recorded — ... +git.hypertheory-labs.dev/norn/cart/cart.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 @@ -39,14 +39,14 @@ lines that decline to answer. ## Supplying the origin, without an overwrite -The path does not round-trip — `.../loom/bedrock/starting.md` has dropped the -route, the branch, and the publisher's `.loom/published/` — so nothing but you +The path does not round-trip — `.../norn/bedrock/starting.md` has dropped the +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: ```console -$ loomctl external add loom/bedrock starting.md -locked git.hypertheory-labs.dev/loom/bedrock/starting.md - from https://git.hypertheory-labs.dev/loom/bedrock/raw/branch/main/.loom/published/starting.md +$ nornctl external add norn/bedrock starting.md +locked git.hypertheory-labs.dev/norn/bedrock/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) ``` @@ -61,11 +61,11 @@ watching. Eight documents locked. Then, on a Sunday afternoon, this: ```console -$ loomctl external check -git.hypertheory-labs.dev/loom/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 +$ nornctl external check +git.hypertheory-labs.dev/norn/cart/cart.md same +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 @@ -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: ```console -$ loomctl external apply -applied git.hypertheory-labs.dev/loom/externals/externals.md - check git.hypertheory-labs.dev/loom/externals/externals.usages.md names what depends on this +$ nornctl external apply +applied git.hypertheory-labs.dev/norn/externals/externals.md + 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 @@ -114,13 +114,13 @@ document nobody checks is a document nobody is checking. ## Where to start ```console -$ go build -o loomctl . && ./loomctl --help -$ loomctl external list loom/bedrock # what a repository publishes -$ loomctl external add loom/bedrock starting.md -$ loomctl external check # safe anywhere; it only reads +$ go build -o nornctl . && ./nornctl --help +$ nornctl external list norn/bedrock # what a repository publishes +$ nornctl external add norn/bedrock starting.md +$ 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 worth reading first if you are reimplementing this — what is deliberately not promised. diff --git a/src/sidebar.json b/src/sidebar.json index cde49c3..828ce41 100644 --- a/src/sidebar.json +++ b/src/sidebar.json @@ -28,9 +28,9 @@ } }, { - "label": "loom-cli", + "label": "norn-cli", "autogenerate": { - "directory": "loom-cli" + "directory": "norn-cli" } } ] diff --git a/src/styles/loom.css b/src/styles/norn.css similarity index 75% rename from src/styles/loom.css rename to src/styles/norn.css index 8d7b671..c74c6e4 100644 --- a/src/styles/loom.css +++ b/src/styles/norn.css @@ -1,9 +1,9 @@ /* A generated page should not look like a page somebody wrote. */ -.loom-provenance { +.norn-provenance { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--sl-color-hairline); font-size: var(--sl-text-sm); color: var(--sl-color-gray-3); } -.loom-provenance a { color: var(--sl-color-gray-2); } +.norn-provenance a { color: var(--sl-color-gray-2); }