Service-Loop Graph Schema
SUMMARY
An executable graph model separating durable service topology from temporary workflow state and resource allocation.
DETAIL
A service-loop graph represents coordinated production as a changing network of dependencies rather than a sequence of isolated tasks. Its nodes may represent people, AI agents, organizations, service modules, scripts, datasets, knowledge artifacts, experiments, decisions, physical resources, or unresolved questions. Its edges describe what one node requires from, transmits to, funds, activates, constrains, or changes in another node.
The schema should distinguish structural relationships from active execution. Structural relationships describe the durable topology: a dataset is required by a model, a diagnostic step precedes an intervention, or a translator connects two specialist domains. Execution state describes what is happening now: a node is proposed, ready, active, blocked, awaiting review, completed, superseded, or invalidated. Allocation state describes which active nodes currently receive labor, money, computation, or attention. Keeping these layers separate prevents a temporary funding decision from being mistaken for a permanent property of the service system.
Edges require semantic types because different relationships imply different routing behavior. A prerequisite edge blocks downstream activation until a condition is met. An information edge can transmit a result without transferring authority. A funding edge sustains a node but does not establish that the funder controls its conclusions. A feedback edge changes the state or expected value of an earlier node. A contradiction edge preserves incompatible findings that should not be silently merged.
The graph is event-driven. When a node changes state, dependent paths can become active, invalid, or eligible for review. This makes the graph both a knowledge structure and an orchestration layer. A newly added observation may trigger a diagnostic task; a failed test may close one branch and activate another; a completed artifact may release several dependent services.
Cycles belong to the operating system even when the published context reference remains a DAG. A real service loop repeatedly moves through signal, interpretation, action, observation, and revision. The reference DAG explains the components and their dependencies without requiring a consuming AI to load the entire recurrent system at once.
The graph should retain links to executable or inspectable resources where appropriate. A node can point to a script, dataset, protocol, file, model, or service endpoint. This permits coordination to cross symbolic knowledge and operational infrastructure without treating them as the same type of object.
WHY THIS EXISTS
Supports data modeling, orchestration, graph-database design, workflow simulation, and any task that needs a precise account of what the service graph contains.
SOURCE CONTEXT POINTERS
- /concepts/daos-for-complex-service-loops/DEEP.txt
- /concepts/daos-for-complex-service-loops/PRIMITIVES.txt
- /concepts/daos-for-complex-service-loops/PATTERNS.txt
EVIDENCE QUESTIONS
- No evidence query recorded