Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

harness_wiring: name the block warn with the check's literal so the doctor emits[] contract sees it (GBRA-188)

garrytan2b38468bc9bd
diff --git a/src/commands/doctor/checks/harness-wiring.ts b/src/commands/doctor/checks/harness-wiring.ts
index cd29fcfa6c..b092fd0aff 100644
--- a/src/commands/doctor/checks/harness-wiring.ts
+++ b/src/commands/doctor/checks/harness-wiring.ts
@@ -406,7 +406,7 @@ export function withInstructionBlocks(check: Check, views: InstructionBlockView[
why: `The brain-first markers in ${first.path} were hand-edited; gbrain will not guess which lines are its own.`,
user_message: `The gbrain instruction block in ${first.path} has damaged markers. Please delete the block (both marker lines included), then I'll write a fresh one.` }
: repairArgv(first);
- return { name: check.name, status: 'warn', message, details, fix };
+ return { name: NAME, status: 'warn', message, details, fix };
}
/** The setup command that rewrites exactly this block: same file, same connection name and surface. A project file needs its own directory, so the user runs it there. */