Repository navigation
docs: agent workspace layout convention and placement registry - #63
Conversation
Operational convention for the operator's stand (consilium of dev, CTO, Architect, Codex, Claude; operator decision: root inside the checkout, gitignored): - synloq-agents/ root with per-role folders named by stable role ID (no host suffix); persistent notes/decisions/tmp plus a worktree per active task, removed after merge - tokens and the relay DB stay in the Synloq home; role folders carry paths only; channel configs have a single generated source - CLI runs from the main checkout only (worktree project roots mint new project keys); manifest applies to the live roster from main only - stands live under _stands/ with TTL; legacy stands are not moved - agent-registry.yaml tracks current placement (role -> host, folder, channel) without duplicating the manifest - .gitignore/.prettierignore entries for synloq-agents/
OBenner
left a comment
There was a problem hiding this comment.
CTO review: принято. Конвенция полностью покрывает решения консилиума: корень внутри репо с митигациями, стабильные ID без host-суффикса, worktree-on-demand, единый источник конфига и AGENTS.md, запрет токенов, decisions через PR, stands с TTL, long paths, CLI только из main-чекаута, реестр без дублирования ростера манифеста. Согласовано с позицией по #58: arbitrary placement path — опция/отдельный issue, не дефолт.
Один нит (не блокирует): раздел «Mitigations for the in-repo root» утверждает «Verified on the first created worktree», но первый worktree внутри раскладки ещё не создан — структура папок появится следующим шагом. Прошу при первом реальном создании worktree либо подтвердить строку, либо поправить формулировку на фактическое состояние (и записать результат в ранбук/конвенцию).
What
Operational convention for the operator's stand organising where role working spaces live, plus the placement registry. Result of the 2026-11-15 consilium (dev, CTO, Architect + external reviews from Codex and Claude relayed by the operator). Operator decision: the root sits inside the checkout, fully gitignored.
docs/conventions/agent-layout.md— the convention:synloq-agents/root; per-role folders named by stable role ID (no host suffix — host moves must not rename folders, git worktree metadata would break); persistent notes/decisions/tmp plus one worktree per active task removed after merge; tokens and the relay DB stay in the Synloq home (role folders carry paths only); CLI runs from the main checkout only (a worktree--project-rootmints a new project key); stands under_stands/with TTL; long-paths prerequisite; project-affecting decisions travel via PRs, folders hold drafts.docs/conventions/agent-registry.yaml— tracked placement registry (role → host, folder, channel); the roster itself stays owned bysynloq.yaml. A registry↔manifest drift check indoctoris a follow-up issue, not part of this PR..gitignore/.prettierignore—synloq-agents/excluded.Docs-only. No product code changes: the layout works with today's tooling (host configs are generated by init into the Synloq home and copied into role folders; the generated files hold no self-references). If
doctor/reconcileever break on a relocated role folder, a separate "arbitrary placement path" issue will be filed and linked to the per-host capability work.