Agent Operation
operating base · v1.08 entity types · 33 relationships · 17 named queries · 3 guards
Agent-native operation state for coordinating human and agent work over one or more durable domain ontologies. Models the operating layer: work, reviews, decisions, risks, open questions, actors, lifecycle, blockers, dependencies, composition, lineage, and optional references out to domain state. Not a domain model, ticketing clone, document inventory, workflow catalog, or memory store.
Entity types
8Relationships
governed33Named queries
17work_queue · → WorkItem
Active work items dispatched for implementation -- the queue an implementer or agentic loop pulls from. Curate by setting a work item's status to active.
work_item_context · WorkItem → AnyEntity
From a work item, inspect dependencies, blockers, reviews, composition, lineage, decisions, owner, subjects. all_adjacent expands against the final composed config, so on a composed instance this query also traverses overlay seam edges (e.g. project-domain's roadmap, release, milestone, and area relationships).
actor_work_queue · Actor → WorkItem
Work items owned by an actor with latest reviews, dependency counts, blockers, subjects.
review_queue · → ReviewRequest
Review requests awaiting a reviewer -- requested or in review. Reviews sent back for rework live in changes_requested_reviews.
changes_requested_reviews · → ReviewRequest
Review requests sent back with changes requested -- the implementer's rework queue, distinct from the reviewer-facing review_queue.
recent_state_notes · → StateNote
Recent operation-state notes, corrections, rationale/implementation/review notes.
state_note_context · StateNote → AnyEntity
Full context for a state note (targets, author, supersession).
state_notes_for_work_item · WorkItem → StateNote
State notes attached to a work item, newest first.
state_notes_for_review_request · ReviewRequest → StateNote
The review thread: verdict and finding notes attached to a review request, newest first. This is the read that replaces scrolling a notes blob.
approved_reviews_for_work_item · WorkItem → ReviewRequest
Approved review requests for a work item. Used by the closed-transition guard.
blocked_work_items · → WorkItem
Work items marked blocked, with risk/open-question blocker context.
work_item_rollup_context · WorkItem → WorkItem
Child/descendant work items under a parent.
work_item_lineage_context · WorkItem → WorkItem
Work item lineage/replacement context, excluding sequencing deps.
subject_operation_context · SubjectRef → AnyEntity
Work, decisions, risks, open questions attached to a subject ref.
active_risks · → Risk
Active operational risks.
open_questions_needing_review · → OpenQuestion
Planned/active open questions needing review.
proposed_decisions · → Decision
Proposed decisions awaiting acceptance/rejection/deferral.
Guards
3review_verdict_requires_rationale_note · ReviewRequest.status -> [changes_requested, approved, withdrawn]
A ReviewRequest verdict must co-write a new StateNote(kind=review_note) linked via state_note_about_review_request in the same write. Status can't advance without recording why.
review_request_approval_requires_authorized_actor · ReviewRequest.status -> approved
ReviewRequest approvals require the authenticated reviewer actor (not a writer credential or spoofed body actor).
work_item_closed_requires_approved_review · WorkItem.status -> closed
Work items cannot be closed until an approved ReviewRequest reviews them.