wogiflow 2.6.3 → 2.6.4
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.
- package/lib/workspace.js +18 -3
- package/package.json +1 -1
package/lib/workspace.js
CHANGED
|
@@ -1069,10 +1069,25 @@ If the MCP tool is not available (shows "MCP servers still connecting"), use the
|
|
|
1069
1069
|
|
|
1070
1070
|
This is NON-OPTIONAL. Every channel-dispatched task MUST end with a reply to the manager.
|
|
1071
1071
|
|
|
1072
|
-
##
|
|
1072
|
+
## Who to Talk To — Peers First, Manager for User Questions
|
|
1073
1073
|
|
|
1074
|
-
|
|
1075
|
-
|
|
1074
|
+
**Talk to PEERS directly** (do NOT go through the manager) when you need:
|
|
1075
|
+
- API shape/endpoint details from the other repo ("What does POST /customers return?")
|
|
1076
|
+
- Data model clarifications ("Does the Invoice entity have a lineItems relation?")
|
|
1077
|
+
- Coordination on shared types or contracts
|
|
1078
|
+
- Confirmation that the other side is ready for integration
|
|
1079
|
+
- Any technical question that the other repo can answer from its codebase
|
|
1080
|
+
|
|
1081
|
+
**Talk to the MANAGER** (which means the user) only when:
|
|
1082
|
+
- You have **results to report** (task completed, investigation findings)
|
|
1083
|
+
- You need a **user decision** (design choice, product question, approval)
|
|
1084
|
+
- You are **stuck** and no peer can help
|
|
1085
|
+
- You need to **escalate** something the user should know about
|
|
1086
|
+
|
|
1087
|
+
**Rule**: If a peer can answer your question, ask the peer. Do NOT route technical questions through the manager — the manager doesn't read source code and will just relay your question to the peer anyway. Cut out the middleman.
|
|
1088
|
+
|
|
1089
|
+
**Peer channels:**
|
|
1090
|
+
${peerNames.map(p => `- **${p}**: \`curl -s -X POST http://localhost:${channelMembers[p]?.port || '???'} -H "X-Wogi-From: ${name}" -d "your question"\``).join('\n')}
|
|
1076
1091
|
|
|
1077
1092
|
## Autonomous Mode — Auto-Approve Everything
|
|
1078
1093
|
|