docs: document rebuild queue panel + module (follow-up to #340)
This commit is contained in:
parent
a2ed35cd19
commit
4c425ede69
2 changed files with 38 additions and 8 deletions
15
CLAUDE.md
15
CLAUDE.md
|
|
@ -33,9 +33,10 @@ hive-c0re/ host daemon + CLI (one binary, subcommand-dispatched)
|
|||
in main.rs) + mutation events
|
||||
(`ApprovalAdded` / `ApprovalResolved`,
|
||||
`QuestionAdded` / `QuestionResolved`,
|
||||
`TransientSet` / `TransientCleared`). Each
|
||||
frame carries a monotonic per-process `seq`
|
||||
clients use to dedupe against snapshot reads.
|
||||
`TransientSet` / `TransientCleared`,
|
||||
`RebuildQueueChanged`). Each frame carries a
|
||||
monotonic per-process `seq` clients use to
|
||||
dedupe against snapshot reads.
|
||||
src/approvals.rs sqlite Approval queue + kinds
|
||||
src/operator_questions.rs sqlite question queue backing `ask` /
|
||||
`answer` (both operator + agent-to-agent)
|
||||
|
|
@ -63,6 +64,14 @@ hive-c0re/ host daemon + CLI (one binary, subcommand-dispatched)
|
|||
surface). Backs AgentRequest::GetLooseEnds +
|
||||
ManagerRequest::GetLooseEnds (the
|
||||
get_loose_ends MCP tool).
|
||||
src/rebuild_queue.rs global serialised queue for long-running ops
|
||||
(rebuild / meta_update / spawn / destroy).
|
||||
Single background worker drains FIFO; dedup
|
||||
collapses re-enqueued still-queued entries.
|
||||
`QueueEntry` carries id, agent, kind, state,
|
||||
source, parent_id (cascade grouping), timing,
|
||||
reason, error. Emits `RebuildQueueChanged`
|
||||
snapshots on every mutation.
|
||||
src/actions.rs approve/deny/destroy (transient-aware)
|
||||
src/auto_update.rs startup rebuild scan + ensure_manager +
|
||||
meta::lock_update_hyperhive bump
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue