@@ -35,7 +35,7 @@ Already live at `.claude/board/AGENT_LOG.md`. Permission pre-allowed
3535in ` .claude/settings.json ` :
3636
3737``` json
38- " Bash(cat >> .claude/board/AGENT_LOG.md:*)"
38+ " Bash(tee -a .claude/board/AGENT_LOG.md:*)"
3939```
4040
4141### Agent prompt template (include in every spawn)
@@ -46,7 +46,7 @@ other agents already shipped or found.
4646
4747After committing, append your entry:
4848
49- cat >> .claude/board/AGENT_LOG.md <<'EOF'
49+ tee -a .claude/board/AGENT_LOG.md > /dev/null <<'EOF'
5050
5151## YYYY-MM-DDTHH:MM — description (model, branch)
5252
6464- Git staging: if agent A and B both append without committing,
6565 only the last ` git add ` wins. Mitigation: commit immediately
6666 after append.
67- - Ordering: entries are appended at bottom (cat >> ), but convention
67+ - Ordering: entries are appended at bottom (tee -a ), but convention
6868 is newest-first. Main thread can reorder during board-hygiene.
6969
7070---
@@ -107,15 +107,15 @@ git checkout claude/blackboard
107107```
108108Session A: Session B:
109109 [does work]
110- cat >> AGENT_LOG.md <<'EOF'
110+ tee -a AGENT_LOG.md > /dev/null <<'EOF'
111111 ...entry...
112112 EOF
113113 git add && git commit && git push
114114 ← <github-webhook-activity> push event
115115 git pull origin claude/blackboard
116116 cat AGENT_LOG.md # read A's entry
117117 [builds on A's findings]
118- cat >> AGENT_LOG.md <<'EOF'
118+ tee -a AGENT_LOG.md > /dev/null <<'EOF'
119119 ...entry...
120120 EOF
121121 git add && git commit && git push
@@ -225,7 +225,7 @@ extended to cat the latest handover file into the session context.
225225
226226| Need | Workaround | Cost |
227227| ---| ---| ---|
228- | Agent A's findings feed agent B (same session) | File Blackboard (#1 ) | Low: cat >> + git add |
228+ | Agent A's findings feed agent B (same session) | File Blackboard (#1 ) | Low: tee -a + git add |
229229| Session A's work feeds session B (real-time) | Branch Pub/Sub (#2 ) | Medium: PR + subscribe |
230230| Full-context role switch (no loss) | Teleportation (#3 ) | Zero: just read the card |
231231| Session-to-session knowledge transfer | Handover Files (#4 ) | Low: write once, read at startup |
@@ -263,4 +263,4 @@ workarounds can be replaced. The contract types already exist
263263(` BlackboardEntry ` , ` ExpertCapability ` , ` Blackboard ` ). The MCP
264264server is a thin serde layer over them.
265265
266- Until then: ` cat >> AGENT_LOG.md <<'EOF'` .
266+ Until then: ` tee -a AGENT_LOG.md > /dev/null <<'EOF'` .
0 commit comments