Skip to content

docs: agent workspace layout convention and placement registry - #63

Merged
OBenner merged 1 commit into
mainfrom
docs/agent-layout
Nov 15, 2026
Merged

OBenner merged 1 commit into
mainfrom
docs/agent-layout

Conversation

@OBenner

@OBenner OBenner commented Nov 15, 2026

Copy link
Copy Markdown
Owner

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-root mints 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 by synloq.yaml. A registry↔manifest drift check in doctor is 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/reconcile ever break on a relocated role folder, a separate "arbitrary placement path" issue will be filed and linked to the per-host capability work.

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 OBenner left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 либо подтвердить строку, либо поправить формулировку на фактическое состояние (и записать результат в ранбук/конвенцию).

@OBenner
OBenner merged commit 64b416f into main Nov 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant