Commit

Agents no longer count not having run CI as a doubt: the workflows run as checks after the push

syntaqxcommitted Parent207bee0Browse files
1 file+1−10/1 viewed
+1−1
1818 const MAX_ITEM_CHARS: usize = 160;
1919
2020 /// What the agent is asked, after its task.
21−pub const ASK: &str = "Also end your final message with how sure you are that your change is right and complete, as JSON inside <g1t-confidence></g1t-confidence> tags: {\"confidence\": \"high\" | \"medium\" | \"low\", \"uncertain_about\": [\"a few words for each thing you could not verify or had to guess\"]}. Say high only if you ran the checks and tests and they passed and nothing was guessed. The block is taken out of your summary.";
21+pub const ASK: &str = "Also end your final message with how sure you are that your change is right and complete, as JSON inside <g1t-confidence></g1t-confidence> tags: {\"confidence\": \"high\" | \"medium\" | \"low\", \"uncertain_about\": [\"a few words for each thing you could not verify or had to guess\"]}. Say high only if you ran the project's tests (and any other check you can run here) and they passed and nothing was guessed. The repository's CI workflows run as checks on the pull request after you push, and count on their own, so not having run them is not something to be unsure about. The block is taken out of your summary.";
2222
2323 /// The prompt with the question added.
2424 pub fn ask(prompt: &str) -> String {