naftiko: 1.0.0-alpha2 info: label: SPIRE Health Check API — Health description: 'SPIRE Health Check API — Health. 2 operations. Lead operation: SPIRE Liveness probe. Self-contained Naftiko capability covering one Spire business surface.' tags: - Spire - Health created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPIRE_API_KEY: SPIRE_API_KEY capability: consumes: - type: http namespace: health-health baseUri: http://{bind_address}:{bind_port} description: SPIRE Health Check API — Health business capability. Self-contained, no shared references. resources: - name: live path: /live operations: - name: getliveness method: GET description: SPIRE Liveness probe outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ready path: /ready operations: - name: getreadiness method: GET description: SPIRE Readiness probe outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: health-health-rest port: 8080 description: REST adapter for SPIRE Health Check API — Health. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/live name: live description: REST surface for live. operations: - method: GET name: getliveness description: SPIRE Liveness probe call: health-health.getliveness outputParameters: - type: object mapping: $. - path: /v1/ready name: ready description: REST surface for ready. operations: - method: GET name: getreadiness description: SPIRE Readiness probe call: health-health.getreadiness outputParameters: - type: object mapping: $. - type: mcp namespace: health-health-mcp port: 9090 transport: http description: MCP adapter for SPIRE Health Check API — Health. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: spire-liveness-probe description: SPIRE Liveness probe hints: readOnly: true destructive: false idempotent: true call: health-health.getliveness outputParameters: - type: object mapping: $. - name: spire-readiness-probe description: SPIRE Readiness probe hints: readOnly: true destructive: false idempotent: true call: health-health.getreadiness outputParameters: - type: object mapping: $.