agentmux_srv_core/backend/
kanban_delegate.rs1pub const REOPEN_WINDOW_MS: i64 = 7 * 24 * 60 * 60 * 1000;
10
11#[derive(Debug, Clone, PartialEq, Eq)]
14pub struct Refusal {
15 pub code: &'static str,
16 pub words: String,
17}
18
19fn refuse(code: &'static str, words: impl Into<String>) -> Refusal {
20 Refusal { code, words: words.into() }
21}
22
23pub fn not_in_review(name: &str, state: &str) -> Refusal {
24 refuse("not_in_review", format!("{name} is {}, not in Review.", state.replace('_', " ")))
25}
26
27pub fn sensitive_quote() -> Refusal {
28 refuse("sensitive_text", "The text looks like it holds a credential; it isn't stored.")
29}
30
31pub const RELAYED_START_MARK: &str = "wrote it down; here it is as they wrote it:";
34
35pub const RELAYED_REASON_MARK: &str = "here is their reason as they wrote it:";