Allowlist: readonly entry, on_deny = continue, tokens of stopped runs (#20)

This commit was merged in pull request #20.
This commit is contained in:
hermes committed 2026-11-14 12:54:15 +00:00
1 parent 9ce4756fad
commit 39a2e74742
11 files changed
+487 -89

No files matched your search

+4
View File
@@ -68,6 +68,9 @@ pub struct Run {
pub turns: u64,
#[serde(default)]
pub spent_tokens: u64,
/// Tool calls the policy denied (soft denies that the agent got to answer, plus the one that stopped the run).
#[serde(default)]
pub denies: u32,
/// Sink result (PR URL, branch note) once published.
#[serde(default)]
pub published: Option<String>,
@@ -187,6 +190,7 @@ mod tests {
attempts: 0,
turns: 0,
spent_tokens: 0,
denies: 0,
published: None,
quota_until: None,
}