GitLab CI/CD · Capability

GitLab API — chaos

GitLab API — chaos. 1 operations. Lead operation: Chaos test endpoint for feature flag observability. Self-contained Naftiko capability covering one Gitlab Ci business surface.

Run with Naftiko Gitlab Cichaos

What You Can Do

GET
Getapiv4chaostest — Chaos test endpoint for feature flag observability
/v1/api/v4/chaos/test

MCP Tools

chaos-test-endpoint-feature-flag

Chaos test endpoint for feature flag observability

read-only idempotent

Capability Spec

gitlab-ci-chaos.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitLab API — chaos
  description: 'GitLab API — chaos. 1 operations. Lead operation: Chaos test endpoint for feature flag observability. Self-contained
    Naftiko capability covering one Gitlab Ci business surface.'
  tags:
  - Gitlab Ci
  - chaos
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITLAB_CI_API_KEY: GITLAB_CI_API_KEY
capability:
  consumes:
  - type: http
    namespace: gitlab-ci-chaos
    baseUri: https://gitlab.com
    description: GitLab API — chaos business capability. Self-contained, no shared references.
    resources:
    - name: api-v4-chaos-test
      path: /api/v4/chaos/test
      operations:
      - name: getapiv4chaostest
        method: GET
        description: Chaos test endpoint for feature flag observability
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: gitlab-ci-chaos-rest
    port: 8080
    description: REST adapter for GitLab API — chaos. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/v4/chaos/test
      name: api-v4-chaos-test
      description: REST surface for api-v4-chaos-test.
      operations:
      - method: GET
        name: getapiv4chaostest
        description: Chaos test endpoint for feature flag observability
        call: gitlab-ci-chaos.getapiv4chaostest
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gitlab-ci-chaos-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitLab API — chaos. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: chaos-test-endpoint-feature-flag
      description: Chaos test endpoint for feature flag observability
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gitlab-ci-chaos.getapiv4chaostest
      outputParameters:
      - type: object
        mapping: $.