gossipcat 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -373,7 +373,7 @@ while IFS= read -r path_arg; do
|
|
|
373
373
|
fi
|
|
374
374
|
|
|
375
375
|
if ! path_is_inside "$cwd_norm" "$path_norm"; then
|
|
376
|
-
emit_deny "BOUNDARY ESCAPE: ${tool_name} targets '${path_arg}' (normalized: '${path_norm}') outside worktree cwd '${cwd_norm}'. Use a relative path (./...) inside the worktree."
|
|
376
|
+
emit_deny "BOUNDARY ESCAPE: ${tool_name} targets '${path_arg}' (normalized: '${path_norm}') outside worktree cwd '${cwd_norm}'. Use a relative path (./...) inside the worktree. If you are the orchestrator (not a subagent) and cd'd into a worktree, exempt this shell with: export GOSSIPCAT_ORCHESTRATOR_ROLE=1 and relaunch Claude Code (issue #162)."
|
|
377
377
|
fi
|
|
378
378
|
done <<EOF
|
|
379
379
|
$candidates
|
package/dist-mcp/mcp-server.js
CHANGED
|
@@ -44578,7 +44578,13 @@ Errors (${errors.length}):`);
|
|
|
44578
44578
|
lines.push(`
|
|
44579
44579
|
Mode: ${mode} | Config: .gossip/config.json (${Object.keys(config2.agents).length} agents total)`);
|
|
44580
44580
|
lines.push(`Rules: ${env.rulesFile} (${env.host} will read this on next session)`);
|
|
44581
|
-
if (hookSummary)
|
|
44581
|
+
if (hookSummary) {
|
|
44582
|
+
lines.push(hookSummary);
|
|
44583
|
+
lines.push(" \u26A0 If the orchestrator cd's into a worktree to inspect/commit subagent work,");
|
|
44584
|
+
lines.push(" the hook will gate it as a subagent. Exempt the orchestrator shell with:");
|
|
44585
|
+
lines.push(" export GOSSIPCAT_ORCHESTRATOR_ROLE=1 # add to ~/.zshrc or ~/.bashrc");
|
|
44586
|
+
lines.push(" Then relaunch Claude Code. See issue #162 for rationale.");
|
|
44587
|
+
}
|
|
44582
44588
|
lines.push("Agents will connect to relay on first gossip_dispatch() call.");
|
|
44583
44589
|
if (nativeCreated.length > 0) {
|
|
44584
44590
|
lines.push(`
|
package/package.json
CHANGED