CAP-135: OpenStack Crews

Structured Data

Capability Metadata

FieldValue
IDCAP-135
Versionv1.33
DomainInfrastructure & Cloud
StatusDocumented
RelatedCAP-134, CAP-136, CAP-009
Sourceskills/openstack/crews/*.yaml
TopologyLeader-worker (3 parallel crews)

Configuration Reference

OpenStack crew structure (language-text):

OpenStack Operations — 3 Parallel Crews
─────────────────────────────────────────
Deployment Crew (dependency: cloud provider ready)
  Leader: deployment-coordinator
  Workers: nova-deployer, neutron-configurator, storage-attacher

Operations Crew (runs continuously)
  Leader: ops-coordinator
  Workers: monitor-agent, incident-responder, capacity-planner

Documentation Crew (dependency: deployment complete)
  Leader: docs-coordinator
  Workers: runbook-generator, change-logger, drift-detector

Crews communicate via MCP message bus (CAP-105 pattern)

Crew communication protocol: MCP message bus with dependency gates between crews

Coordination topology: parallel with dependency gates

Technical Specifications

Deployment Crew: infrastructure provisioning, network setup — runs first

Operations Crew: monitoring, incident response, capacity planning — runs continuously

Documentation Crew: runbook generation, change log, config drift detection — runs after deployment

Worker count: 3 workers per crew (9 workers total)

Dependency gates: Documentation Crew waits on Deployment Crew completion signal

Overview

Parallel crews eliminate the sequential bottleneck in traditional cloud operations: deployment, monitoring, and documentation can proceed concurrently once the foundation is in place. The 3-crew structure — deployment, operations, and documentation — maps directly to the three phases of any infrastructure project: build it, run it, and record it.

The deployment crew handles infrastructure provisioning in sequence: nova-deployer spins up compute instances, neutron-configurator establishes the network fabric, and storage-attacher binds persistent volumes. Each step produces state that the next step depends on — sequential within the crew, but the crew as a whole runs in parallel with the operations crew.

The operations crew runs continuously — monitoring resource utilization, responding to incidents, and tracking capacity trends. It does not wait for deployment to complete before starting; it monitors the deployment process itself, providing real-time feedback as infrastructure comes online. The documentation crew activates once deployment is complete, generating runbooks from the actual sequence of actions taken, logging changes, and detecting drift between the intended configuration and the actual state.

History

The 3-crew structure mirrors v1.33's own execution plan — the documentation project that generated this capability page used the same 3-parallel-crew architecture to produce documentation alongside deployment and operations work. Documentation was not deferred to the end; a documentation crew ran in parallel with the content-creation crew, capturing patterns and generating summaries as capabilities were published.

This reflexive quality — the documentation project documenting its own architecture — is intentional. CAP-135 documents crews that work the way this project works. CAP-137 documents NASA SE methodology using the methodology. CAP-138 documents V&V infrastructure using the infrastructure. The documentation site is itself a demonstration of the capabilities it describes.

v1.33 introduced the 3-crew model specifically to handle the documentation site's parallel workload: content creation, quality verification, and state management needed to run simultaneously across 9 phases and 175+ pages. The model proved effective and was formalized as CAP-135.

Key Concepts

For Students & Teachers

Think of building a house with three specialist teams working in parallel. The construction crew builds the structure — foundation, framing, roof. The utilities crew installs electricity, plumbing, and HVAC as the structure takes shape. The documentation crew photographs each step, draws the as-built plans, and writes the maintenance manual. All three teams work simultaneously; they don't wait for each other to finish before starting.

OpenStack crews work the same way: deployment builds the infrastructure, operations monitors it from day one, and documentation records it as it's built. The dependency gate is like the construction milestone — documentation can't write about completed electrical installation until it's actually complete, so it waits for that signal before proceeding with that section.

Usage Examples

Example 1: Launch all three crews

# crew-launch.yaml
crews:
  deployment:
    leader: deployment-coordinator
    workers: [nova-deployer, neutron-configurator, storage-attacher]
    start: immediate
    depends_on: []

  operations:
    leader: ops-coordinator
    workers: [monitor-agent, incident-responder, capacity-planner]
    start: immediate
    depends_on: []

  documentation:
    leader: docs-coordinator
    workers: [runbook-generator, change-logger, drift-detector]
    start: on_signal
    depends_on: [deployment.complete]

Example 2: Crew status check

skill-creator crews status --context openstack

# Output:
# Crew: deployment | Status: ACTIVE | Progress: 7/12 tasks
# Crew: operations | Status: RUNNING | Uptime: 4h32m
# Crew: documentation | Status: WAITING | Gate: deployment.complete

Related Capabilities