Orchestrator Flow Specifications¶
Specifications specific to the ubFlow Orchestrator agent.
Each FLSP_ links back to one or more FLST_ via :satisfies:.
Note
Shared specifications (applying to all agents) live in
shared/flow_specs.rst.
Agent Lifecycle¶
When a user requests creation of a new agent, ubFlow shall guide through the following steps in order, waiting for user confirmation before proceeding to the next:
|
Before generating a |
ubFlow shall support three review modes for an existing
The user may select one, several, or all modes. ubFlow shall run only the selected checks and report results per mode. |
During a traceability review ubFlow shall query every |
MCP Bootstrap¶
The |
At the start of every session ubFlow shall call the ubCode MCP schema tool
and verify that the need types If required types are absent and the current request is not an installer workflow, ubFlow shall halt, report the missing types, and ask the user to run the installer first. If required types are absent and the request appears to be a first-time setup or the user explicitly invokes the installer, ubFlow shall offer to run the installer workflow to add the missing configuration, and proceed only after explicit user confirmation. |
ubFlow shall carry built-in knowledge of the ubCode MCP server — its tool names, required parameters, and usage patterns — so that it can query needs, schemas, and project structure without relying on additional setup instructions from the user or the target project. |
Project Integration¶
When a user requests ubFlow integration into an existing or new Sphinx
project, ubFlow shall inspect the project (check for |
ubFlow shall never copy its own |
Identity & Invocation¶
ubFlow’s instructions and skills shall be encapsulated inside the ubCode VS Code extension and exposed exclusively as a chat participant. They shall not be present in or readable from the target project’s file system. |
The ubFlow agent itself shall be non-editable by the end user. Behavioral updates are delivered exclusively through the ubFlow repository and the ubCode distribution channel. Agents generated by ubFlow for target projects may be edited by the developer. |
Every |
ubFlow shall ensure that every generated |
Documentation¶
When asked, ubFlow shall generate a human-readable summary of an agent or agent family. The summary shall include: the agent’s purpose, the flow stories it addresses, its instructions and skills expressed in plain language, and its tool dependencies. The output shall be self-contained so that a team member unfamiliar with Sphinx-Needs can understand the agent’s role and behavior without navigating raw RST files. |
Extension-Bundled Instructions¶
The The stub file MUST NOT contain any |
On every session start, the ubFlow agent SHALL call the ubCode MCP server
with the parameter
The same bootstrap sequence SHALL be repeated immediately after any
If the MCP call returns |
The ubFlow installer SHALL deploy a
The companion file ensures the bootstrap cannot be silently skipped even
if the |