claude-code: read where it runs from the controller's JSON answer
nodesRunningMe looked for printed lines in what is a JSON list, so every register tool's "also on" hint and every nodes: "all" named no machine.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package main
|
||||
|
||||
// The "instead of" table in the agent's managed instructions (novox/hq ADR 0244): to do this, call that
|
||||
// The "instead of" table in the agent's managed instructions (novox/hq ADR 0245): to do this, call that
|
||||
// address, not this shell command — generated on every render from what each seat verb and module tool
|
||||
// says it replaces, so it cannot drift from the tools the mesh has.
|
||||
//
|
||||
@@ -78,7 +78,7 @@ func InsteadOf(m *MeshTools) string {
|
||||
}
|
||||
var b strings.Builder
|
||||
b.WriteString("\n## Instead of a shell command\n\n")
|
||||
b.WriteString("Generated from what each seat verb and module tool says it replaces (`replaces`, novox/hq ADR 0244),\n")
|
||||
b.WriteString("Generated from what each seat verb and module tool says it replaces (`replaces`, novox/hq ADR 0245),\n")
|
||||
b.WriteString("rewritten on every render. Call `<address><verb>` through `mesh_call`, `<node>` being the machine;\n")
|
||||
b.WriteString("`mesh_search` with the command you would have typed finds it too.\n\n")
|
||||
b.WriteString("| call | the verb — instead of |\n|---|---|\n")
|
||||
|
||||
Reference in New Issue
Block a user