fix(adapters): add success log when agent instructions file is loaded
Matches the pattern in codex-local and cursor-local adapters, giving operators consistent feedback about whether instructions were actually loaded. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -349,6 +349,7 @@ export async function execute(ctx: AdapterExecutionContext): Promise<AdapterExec
|
|||||||
const combinedPath = path.join(skillsDir, "agent-instructions.md");
|
const combinedPath = path.join(skillsDir, "agent-instructions.md");
|
||||||
await fs.writeFile(combinedPath, instructionsContent + pathDirective, "utf-8");
|
await fs.writeFile(combinedPath, instructionsContent + pathDirective, "utf-8");
|
||||||
effectiveInstructionsFilePath = combinedPath;
|
effectiveInstructionsFilePath = combinedPath;
|
||||||
|
await onLog("stderr", `[paperclip] Loaded agent instructions file: ${instructionsFilePath}\n`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const reason = err instanceof Error ? err.message : String(err);
|
const reason = err instanceof Error ? err.message : String(err);
|
||||||
await onLog(
|
await onLog(
|
||||||
|
|||||||
Reference in New Issue
Block a user