Run a newcomer's first chunk in the gate, and keep the person's own Claude home out of the loop's #812
@@ -113,6 +113,10 @@ def failures(requests: mock_messages_api.Requests, before: dict[str, str]) -> li
|
||||
found.append(f"no chunk finished within {PATIENCE} s; the loop's tmux windows show:\n{windows()}")
|
||||
if not any(SETUP_INSTRUCTION in text for text in texts):
|
||||
found.append(f"none of claude's {len(texts)} requests held the setup's CLAUDE.md, so the loop's home did not load")
|
||||
for n, text in enumerate(texts):
|
||||
if OWN_INSTRUCTION in text:
|
||||
i = text.index(OWN_INSTRUCTION)
|
||||
print("DEBUG", n, len(texts), text[max(0, i - 700):i + 100], "\nSTART", text[:600], file=sys.stderr)
|
||||
if any(OWN_INSTRUCTION in text for text in texts):
|
||||
found.append("a request held the person's own CLAUDE.md, so `~/.claude` loaded in the loop")
|
||||
after = snapshot(HOME / ".claude", HOME / ".claude.json")
|
||||
|
||||
Reference in New Issue
Block a user