SpecOps
SpecOps is a pattern for maintaining formal specifications using agentic workflows. It leverages the w3c-specification-writer agent to create W3C-style specifications with RFC 2119 keywords (MUST, SHALL, SHOULD, MAY) and automatically propagates changes to consuming implementations via cross-repository workflows.
flowchart LR
UpdateSpec([Update spec]) --> ReviewSpec[Review & merge spec PR]
ReviewSpec --> PropagateChanges[Propagate to consumer repos]
How SpecOps Works
Section titled “How SpecOps Works”SpecOps keeps a specification and its implementations aligned: update the spec, review and merge the change, propagate the new requirements to consuming repositories, then refresh compliance tests against the updated version.
Update Specifications
Section titled “Update Specifications”Create a workflow that uses w3c-specification-writer to edit the spec, apply RFC 2119 language, update the version and change log, and open a pull request:
---name: Update MCP Gateway Specon: workflow_dispatch: inputs: change_description: description: 'What needs to change in the spec?' required: true type: string
safe-outputs: create-pull-request: title-prefix: "[spec] " labels: [documentation, specification]
tools: edit: bash:---
# Specification Update Workflow
Update the MCP Gateway specification using the w3c-specification-writer agent.
**Change Request**: ${{ inputs.change_description }}
## Your Task
1. Review the current specification at `docs/src/content/docs/reference/mcp-gateway.md`
2. Apply the requested changes following W3C conventions: - Use RFC 2119 keywords (MUST, SHALL, SHOULD, MAY) - Update version number (major/minor/patch) -