ContractSpec docs

OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

Task Validators — Dual Workflow/Agent Runtime Validators (A9)

validateWorkflowTask rejects tasks with parent; validateAgentTask rejects tasks with dependsOn. Both enforce the A9 invariant at runtime.

field.key.label
Task Validators — Dual Workflow/Agent Runtime Validators (A9)
field.version.label
field.type.label
field.title.label
Task Validators — Dual Workflow/Agent Runtime Validators (A9)
field.description.label

validateWorkflowTask rejects tasks with parent; validateAgentTask rejects tasks with dependsOn. Both enforce the A9 invariant at runtime.

field.tags.label
tech,contracts,shared-entities,task,validators,a9
field.owners.label
field.stability.label
public

| Function | Context | Rejects | |----------|---------|--------| | `validateWorkflowTask` | Workflow DAG | `parent` set | | `validateWorkflowTasks` | Workflow DAG (batch) | first task with `parent` | | `validateAgentTask` | Agent tree | `dependsOn` set | | `validateAgentTasks` | Agent tree (batch) | first task with `dependsOn` |