+6
−2
+6
−2
plan/communication-paths.md
0 → 100644
+399
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
Per reviewer request: a single source of truth for how the four
roles (Analyst, Developer, Integrator, Administrator) communicate,
covering both channels (git refs cross-machine; local filesystem
per-machine), per-ref/per-file writers and readers with lifecycles,
the concurrency model (no concurrent same-file writes by
construction; atomic state-file writes via tmp+rename; git's
regular-merge recovery for the one multi-writer ref), and
multi-machine semantics.
Eight sections in the new doc:
§1 The two channels (table contrasting git vs local filesystem).
§2 Roles, sessions, and clones (per-machine and per-effort counts).
§3 Channel A — Git repository: ref-by-ref table (analysis, triage,
feature, qa, review, escalate, init-check), discussion of the
one multi-writer ref (analysis), discovery vs fetch, the four
poll-wrapper event grammars.
§4 Channel B — Local filesystem: file-by-file table, atomicity of
state-file writes (tmp+rename), single-writer-per-file
invariant proven file-by-file, statusline render path,
Stop-hook restore path.
§5 Worker → Administrator visibility (state-file read + ls-remote;
what a missing state file means; what Administrator does NOT do).
§6 Multi-machine semantics (single-writer-per-role across machines;
multiple Administrators OK because Phase 2 is read-only;
multi-clone single-machine layout).
§7 End-state contract (cross-reference to orchestration.md §3 / §8).
§8 Cross-references to every other plan doc and the parent CLAUDE.md.
Cross-references added:
- orchestration.md §6 preamble points readers at communication-paths.md.
- All four role prompts (Analyst/Developer/Integrator/Administrator)
add communication-paths.md to their "Read these in order" preamble.
Co-Authored-By:
Claude Opus 4.7 (1M context) <noreply@anthropic.com>
File added.
Preview size limit exceeded, changes collapsed.