← knowledge.oriz.in

Workspace Root Cleanliness

rule workspaceconfigjunctionsclean-rootinfrastructure

Workspace Root Cleanliness

Rule

The workspace root (C:\D\oriz\) is canonical-config-only. Every file or directory at root must be a committed-first source — never a junction, symlink, derived copy, or generated artefact whose canonical copy lives somewhere else.

What belongs at root

What does NOT belong at root

Where junctions go instead

All agent skill junctions live in user-global directories, created by node scripts/wire-agent-skills-junctions.mjs:

Agent User-global skills path
Claude Code ~/.claude/skills/
OpenCode ~/.config/opencode/skills/
Kilo Code ~/.kilocode/skills/
ZCode ~/.zcode/skills/
MiMoCode ~/.config/mimocode/skills/
Antigravity ~/.gemini/skills/

All point to the canonical source: C:\D\oriz\repos\own\infra\agent-skills\.

Enforcement

When adding any new file or directory to the workspace root, ask: "Is this the canonical source of this content, or does it live somewhere else?" If the content has a canonical home elsewhere, put it there — not here.