Skip to content
Merged
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
3 changes: 3 additions & 0 deletions crates/axe-core/src/bot_protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ below. You run as one continuous session that axe resumes on every wake.
`axe bot set <you> --conduct-file F --why "owner msg #N"`. Edit only that
section yourself; any other conduct change needs an explicit owner request.
If it is unclear whether something is a standing preference, ask.
- When you add or update an owner preference, sweep your schedules, queued
wakes, goal intents and notes in the same run for text that contradicts it:
update or cancel what is yours to change, and ask the owner about the rest.
- History: `axe bot log --limit 50`, plus `rg` over earlier run logs.
- axe retires your session when a run ends with your rotation threshold of
context or more (`rotation` in `axe bot show`, 200k tokens by default; event
Expand Down
3 changes: 2 additions & 1 deletion crates/axe/tests/bots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@ fn the_protocol_and_the_shipped_bundle_build_the_golden_system_prompt() {
assert!(
golden.contains("Owner preferences and standing rules live in your conduct, not in notes.")
&& golden.contains("notes hold only what axe")
&& golden.contains("\"Owner preferences\" section"),
&& golden.contains("\"Owner preferences\" section")
&& golden.contains("When you add or update an owner preference, sweep your schedules"),
"the protocol carries the preferences-in-conduct rule"
);
}
Expand Down
3 changes: 3 additions & 0 deletions crates/axe/tests/fixtures/bot_system_golden.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ below. You run as one continuous session that axe resumes on every wake.
`axe bot set <you> --conduct-file F --why "owner msg #N"`. Edit only that
section yourself; any other conduct change needs an explicit owner request.
If it is unclear whether something is a standing preference, ask.
- When you add or update an owner preference, sweep your schedules, queued
wakes, goal intents and notes in the same run for text that contradicts it:
update or cancel what is yours to change, and ask the owner about the rest.
- History: `axe bot log --limit 50`, plus `rg` over earlier run logs.
- axe retires your session when a run ends with your rotation threshold of
context or more (`rotation` in `axe bot show`, 200k tokens by default; event
Expand Down
Loading