refactor(#2569): remove the c0re todo store + handlers (todos now owned in-container)
This commit is contained in:
parent
21f1569a04
commit
0977006ec6
7 changed files with 0 additions and 517 deletions
|
|
@ -16,7 +16,6 @@ use crate::container_view::{self, ContainerView};
|
|||
use crate::dashboard_events::DashboardEvent;
|
||||
use crate::operator_questions::OperatorQuestions;
|
||||
use crate::socket_server::{self, AgentSocket};
|
||||
use crate::todos::Todos;
|
||||
|
||||
/// Capacity of the dashboard event channel. Slow browser subscribers
|
||||
/// (idle tab, throttled connection) drop frames past this — that's
|
||||
|
|
@ -33,11 +32,6 @@ pub struct Coordinator {
|
|||
pub broker: Arc<Broker>,
|
||||
pub approvals: Arc<Approvals>,
|
||||
pub questions: Arc<OperatorQuestions>,
|
||||
/// Dynamic, subsystem-pushed todos (loose-ends v2). In-agent
|
||||
/// subsystems (matrix, forge, bash) upsert/clear todos over mcp.sock
|
||||
/// instead of firing wakes directly; `get_todos` merges these with
|
||||
/// the computed static loose ends.
|
||||
pub todos: Arc<Todos>,
|
||||
/// Scheduled-prompts queue. One sqlite connection,
|
||||
/// internal mutex; the worker drains due rows and the manager
|
||||
/// handlers insert / cancel through the same handle.
|
||||
|
|
@ -466,7 +460,6 @@ impl Coordinator {
|
|||
let broker = Broker::open(db_path).context("open broker")?;
|
||||
let approvals = Approvals::open(db_path).context("open approvals")?;
|
||||
let questions = OperatorQuestions::open(db_path).context("open operator_questions")?;
|
||||
let todos = Todos::open(db_path).context("open todos")?;
|
||||
let scheduled_prompts = crate::scheduled_prompts::ScheduledPrompts::open(db_path)
|
||||
.context("open scheduled_prompts")?;
|
||||
// BuildLogs wants a directory (it picks its own `build_logs.sqlite`
|
||||
|
|
@ -496,7 +489,6 @@ impl Coordinator {
|
|||
broker: Arc::new(broker),
|
||||
approvals: Arc::new(approvals),
|
||||
questions: Arc::new(questions),
|
||||
todos: Arc::new(todos),
|
||||
scheduled_prompts: Arc::new(scheduled_prompts),
|
||||
build_logs,
|
||||
audit_log,
|
||||
|
|
|
|||
Loading…
Reference in a new issue