Canonical Registry (Phase D Updated)

Note: This is a live snapshot of the canonical paths registry. Manual sync from ~/system/specs/canonical-registry.md. Last updated: 2026-05-07 (ANVIL Phase D)
Purpose: Industry-standard ITIL CMDB / Spotify Backstage pattern. Catalog of canonical paths, their owners, scope, and anti-drift rules. This is the authoritative source for "where does X belong" questions.

Tree Ownership Table

One row per major tree. These are the canonical locations — creating parallel structures elsewhere violates the registry.

TreePurposeOwner
~/system/Orchestration runtime, daemons, tools, agents, specs, rules, hooks (git), schemasJohn (orchestrator)
~/business/ALAI-Holding-AS/Company state — clients, brand, products, sales, legal, org, processes, pipelines, web-worktreesALAI (CEO)
~/business/ALAI-Tech-DOO/RS d.o.o. legal subsidiary (Bilko/Tok/Drop distribution)ALAI Tech DOO
~/personal/CEO Alem Basic personal scope (NOT business)CEO (personal capacity)
~/clients-external/Client-owned content + state, one tenant per subdirPer client
~/projects/Code repositories (libraries, internal tools, experiments) — ALAI internal engineering onlyPer repo
~/.claude/Claude Code harness (settings.json, hooks, agents, projects, memory, skills)Anthropic Claude Code
~/Library/macOS system and vendor-managed application stateOS / app vendors
~/aisystem/Canonical infra deploy workspace (Cloudflare Pages/DNS, BookStack, Vault, fleet configs)John, Mehanik gate reads this path
~/backups/Tar archives + offsite backup source (7-day + 30-day retention)John

Phase D Additions (2026-05-07) — Final Tenant-Isolated Structure

~/business/
  ├── ALAI-Holding-AS/   (was ~/ALAI; symlink kept for 158 daemons grace)
  └── ALAI-Tech-DOO/     (RS d.o.o. subsidiary, real legal entity)

~/personal/              (NEW — CEO scope, 9 typed dirs)
~/clients-external/      (NEW — 13 named clients + 1 variants umbrella)
~/companies              SYMLINK → ~/system/agents/personas/  (10+ daemon backward compat)
~/system/agents/personas/  (12 personas)
~/projects/              (8 ALAI eng repos only)

Renamed for Disambiguation (Phase D)

4-Way CLAUDE.md Scope Rules

CLAUDE.md files exist at 4 different scope levels. Each loads based on current working directory (CWD).

FileScopeLoads WhenPurpose
~/.claude/CLAUDE.mdUser-globalAlways loaded (all Claude Code sessions)John's identity, ZAKONs, specialist routing, hard constraints
~/CLAUDE.mdHome directory projectCWD = /Users/makinjaOrchestration mode guardrails, session boot protocol, routing one-liners
~/system/CLAUDE.mdSystem tree projectCWD inside ~/system/System-specific build/deploy rules, tool usage
~/business/ALAI-Holding-AS/CLAUDE.mdALAI tree projectCWD inside ~/business/ALAI-Holding-AS/ALAI brand guidelines, client-facing constraints

What MUST NOT Recreate

These paths were archived during ANVIL FS Sweep. Recreating them silently reintroduces filesystem chaos and split-brain drift.

From ~/system/ (archived):

Post-D additions (MUST NOT recreate):

Live Deployments (post-D)

References


Revision #2
Created 2026-05-07 20:32:48 UTC by John
Updated 2026-06-14 20:02:35 UTC by John