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 c6354c95fa
commit dde7183528
36 files changed
+216 -216

No files matched your search

+5 -5
View File
@@ -1,10 +1,10 @@
// Package lock reads and writes .loom/externals/.locks.
// Package lock reads and writes .norn/externals/.locks.
//
// One record per adopted document: where it was fetched from, resolved, and the
// ETag the publisher served with it. The ETag is opaque and is never a hash we
// compute — on gitea it happens to equal the git blob hash and on GitHub it does
// not, so a design that compares a local hash to a remote ETag works on exactly
// one host by coincidence. See .loom/event-log.md.
// one host by coincidence. See .norn/event-log.md.
package lock
import (
@@ -19,12 +19,12 @@ import (
)
// Dir is where adopted documents live, relative to the repository root.
const Dir = ".loom/externals"
const Dir = ".norn/externals"
// File is the lock file, inside Dir.
const File = ".locks"
const header = "# loomctl locks — one record per adopted document.\n" +
const header = "# nornctl locks — one record per adopted document.\n" +
"# path<TAB>url<TAB>etag[<TAB>visibility]\n" +
"# The url is resolved: a short form would follow whatever the default branch\n" +
"# is at the time you ask. visibility is what the source could be read as when\n" +
@@ -34,7 +34,7 @@ const header = "# loomctl locks — one record per adopted document.\n" +
type Record struct {
// Path is relative to Dir, and is for a person to read. The origin is the
// URL: the path does not round-trip, because it drops the route, the
// branch, and .loom/published/.
// branch, and .norn/published/.
Path string
// URL is the resolved origin, branch and all.
URL string