GraphOperations
The door every surface reaches a declared graph through. These are ordinary declared operations, so `graph:start` is a `coa` command, an MCP tool and an HTTP route from one declaration — and the Desktop reads `graph:pending` through the same door a terminal does. That is the point of putting them here rather than building a bespoke API: a run parked in a log is answerable from wherever the human happens to be. List it in an app's `config/operations.php`. It needs a {@see GraphRuns} in the container, which is where the app says WHICH graphs it declares.
GraphOperations::__construct()
public function __construct(Milpa\Interfaces\Di\DIContainerInterface $container):Parameters
| Name | Type | Description |
|---|---|---|
| $container | Milpa\Interfaces\Di\DIContainerInterface |
GraphOperations::operations()
public function operations(): arrayThe six graph operations, each projected to every surface this app exposes.