Skip to main content

aidaemon_work/
lib.rs

1#![recursion_limit = "256"]
2//! Goals, mandates, tasks, work coordination and notifications: the domain
3//! types, the store traits and their SQLite implementation.
4
5// Feature unification only (cargo-hakari); keeps the unused-dependency lint quiet.
6use workspace_hack as _;
7
8pub mod admissibility;
9pub mod authority;
10pub mod automations;
11pub mod chat_command;
12pub mod goal_tokens;
13pub mod goals;
14pub mod health;
15pub mod heartbeat;
16pub mod mandates;
17pub mod plans;
18pub mod reminders;
19pub mod schedule;
20pub mod scheduled_runs;
21pub mod scheduler;
22pub mod schema;
23pub mod sqlite;
24pub mod stores;
25pub mod task_workspaces;
26pub mod token_alerts;
27pub mod tools;
28pub mod triggers;
29
30/// Every domain type and store trait, under one path.
31pub mod traits {
32    pub use crate::goals::*;
33    pub use crate::mandates::*;
34    pub use crate::stores::*;
35    pub use aidaemon_tools::semantics::*;
36}
37
38/// The mandate protocol's own control tools. Their receipts record
39/// bookkeeping, never an observation of the world, so they are never cited as
40/// decision or measurement evidence.
41pub const MANDATE_PROTOCOL_TOOLS: &[&str] = &[
42    "manage_mandates",
43    "mandate_review",
44    "manage_goal_tasks",
45    "track_requirements",
46    "report_blocker",
47];