返回 CodeWhale
policy.rs
根目录 / crates / tui / src / tui / approval / policy.rs
1 //! Approval stakes for the takeover modal.
2 //!
3 //! The risk decision itself lives in `codewhale_engine::core::authority::risk`,
4 //! and the stakes split lives beside the persistent-rule eligibility it gates in
5 //! `codewhale_engine::core::authority::persistent_rules`.
6
7 // Tool categorization is runtime policy (the extension host and auto-review
8 // both consult it), so it lives in `core::authority`; re-exported here for the
9 // approval views.
10 pub use codewhale_engine::core::authority::persistent_rules::{ApprovalStakes, classify_stakes};
11 pub use codewhale_engine::core::authority::{ToolCategory, get_tool_category_for_call};
12
12 lines RUST