Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions agent/prompt_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,11 @@ def _strip_yaml_frontmatter(content: str) -> str:
"2. **Work inside the workspace.** `cd $HERMES_KANBAN_WORKSPACE` before "
"any file operations. The workspace is yours for this run. Don't modify "
"files outside it unless the task explicitly asks.\n"
"3. **Heartbeat on long operations.** Call `kanban_heartbeat(note=...)` "
"every few minutes during long subprocesses (training, encoding, crawling). "
"Skip heartbeats for short tasks.\n"
"3. **Heartbeat on long operations and stage changes.** Call `kanban_heartbeat(note=...)` "
"when you start a meaningful operational stage (inspect, edit, test, review, deploy) "
"or every few minutes during long subprocesses (training, encoding, crawling). "
"Keep the note factual and public-safe: what stage is running, what artifact/command is relevant, "
"and current outcome. Do not include private chain-of-thought. Skip heartbeats for tiny tasks.\n"
"4. **Block on genuine ambiguity.** If you need a human decision you cannot "
"infer (missing credentials, UX choice, paywalled source, peer output you "
"need first), call `kanban_block(reason=\"...\")` and stop. Don't guess. "
Expand Down
Loading