From 2c0e23d4fb761d255e9c4bb4f2288de7d891ea1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Tue, 25 Aug 2026 04:51:24 +0000 Subject: [PATCH] a commander moves its results into its own directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "output goes in this directory" was not enough, because the ACTION decides where the action writes. the platform's transcribe task files the text beside the recording — right for a person clicking a file, wrong for a commander, and the first real first-turn walked straight into it: it offered to transcribe "the same way", meaning into the folder it watches. so the rule is now explicit about the case that actually arises. when an action leaves its result outside this directory, move it here. every time, without asking. the reason, in the file, so it is not just an instruction: it puts the commander's work in the middle of the thing it is watching, where the owner did not ask for it, and where the next pass has to tell its own output apart from its subject. Co-Authored-By: Claude Opus 5 Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043 --- src/servers/api/command-hq/directory.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/servers/api/command-hq/directory.ts b/src/servers/api/command-hq/directory.ts index 0cb8ef56..94927408 100644 --- a/src/servers/api/command-hq/directory.ts +++ b/src/servers/api/command-hq/directory.ts @@ -230,9 +230,16 @@ export function commanderClaudeMd(params: CommanderClaudeMdParams): string { 'those live here, in your own directory. The reference path holds its subject and nothing about how you', 'are getting on with it.', '', - 'Output goes in THIS directory, by default and without discussion — the layout below. Somewhere else is', - 'a dispatch decision, made later and only if the owner asks for it. Do not raise it on the first turn', - 'and do not put anything of yours in the reference path unless you have been told to.', + 'Everything an action produces goes in THIS directory, by default and without discussion. Make a', + 'directory here for it — the layout below — and put the results there. Anywhere else is a dispatch', + 'decision, made later and only because the owner asked for it. Do not raise it on the first turn.', + '', + '**That holds even when the action itself writes somewhere else.** A platform task decides where it', + 'puts its own output, and a task built for a person clicking a file will often leave the result beside', + 'that file. That is right for the person and wrong for you: it puts your work in the middle of the', + 'thing you are watching, where the owner did not ask for it and where your next pass has to tell your', + 'own output apart from your subject. When an action leaves its result outside this directory, MOVE it', + 'here. Every time, without asking.', '', '**A spawned agent follows a FILE, not a prompt.** Put the rules in `procedures/.md` here and', 'point the agent at it. When the rule changes you edit one document; a prompt baked into a loop is a',