life-weaver/CLAUDE.md
hum3 e3b947e1aa Export pid and person as public packages (#61)
internal/pid and internal/person move to the module root so
bytestone-loader can import them instead of carrying copies. The record's
YAML tags gain omitempty, so a writer emits only what is set.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-26 11:11:17 +00:00

1.2 KiB

life-weaver — project notes

Read the global instructions first; this file adds only what is repo-specific.

  • The builder for i.bytestone.uk. The records and the files they name are the bytestone archive on the NAS, one directory per person (people/<pid.Dir>/person.yaml), not in this repo (docs/archive.md: endpoint, layout, stages); the laptop works from a mirror at ~/.local/share/bytestone/archive. site/ is derived and gitignored. README has the record format and the vocabulary — use those names in code, tests and docs.
  • IDs are pid (a public package, as is person: bytestone-loader imports both): Crockford base32, lower case. Never introduce another encoding or a case-sensitive one; URLs use the id and the archive uses pid.Dir of it, nothing else.
  • Victoria Drummond's documents and photographs are the lecture repo's (../victoria-drummond-lecture), which puts them into her files/ in the archive itself (#53); this repo only builds from the archive. Its ATTRIBUTIONS.md is the rights register: a record names only files marked Ours or Public domain, or licensed for public use.
  • Tests use fixtures under testdata/, never the archive or the lecture repo.