Skip to content

Print agent investigation prompt if a test fails - #72

Merged
rical merged 1 commit into
masterfrom
agent-prompt
Sep 21, 2026
Merged

rical merged 1 commit into
masterfrom
agent-prompt

Conversation

@rical

@rical rical commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Print "AGENT INITIAL INVESTIGATION PROMPT" if one or more tests fail. This is some condensed text in English that contains some vital clues that an agent can use to perform an initial investigation of a test failure.

This might look simple, but a lot of human thought has gone into the format and info contained inside this summary. The goal is to give an agent "just enough" to figure things out. For example, the log id can be used to find logs regardless of where they might reside (logdir or ~/Downloads..). The hostname hint enables some powerful agents to actually connect to that host and investigate there, if the agent has memories about the host in question. Magic.

Print "AGENT INITIAL INVESTIGATION PROMPT" if one or more tests fail.
This is some condensed text in English that contains some vital clues
that an agent can use to perform an initial investigation of a test failure.

This might look simple, but a lot of human thought has gone into the
format and info contained inside this summary. The goal is to give an
agent "just enough" to figure things out. For example, the log id can be
used to find logs regardless of where they might reside (logdir or
~/Downloads..). The hostname hint enables some powerful agents to actually
connect to that host and investigate there, if the agent has memories
about the host in question. Magic.

Signed-off-by: Richard Alpe <richard@bit42.se>
@rical
rical merged commit 276451d into master Sep 21, 2026
2 checks passed
@rical
rical deleted the agent-prompt branch September 23, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant