naftiko: 1.0.0-alpha2 info: title: Argocd Gitops Naftikocapability Runbook description: A runbook capability over Argo CD that exposes capability deployment as a GitOps-driven Naftiko flow with sync/rollback as MCP tools. tags: [Naftiko, Argo CD, GitOps] created: '2026-05-01' modified: '2026-05-04' binds: - namespace: argocd-env keys: {ARGOCD_HOST: ARGOCD_HOST, ARGOCD_TOKEN: ARGOCD_TOKEN} capability: consumes: - namespace: argocd type: http baseUri: https://{{ARGOCD_HOST}} authentication: {type: bearer, token: '{{ARGOCD_TOKEN}}'} resources: - {name: applications, path: /api/v1/applications, operations: [{name: list-applications, method: GET}]} - name: application path: /api/v1/applications/{{name}} operations: - {name: get-application, method: GET, inputParameters: [{name: name, in: path}]} - name: app-sync path: /api/v1/applications/{{name}}/sync operations: - {name: sync-application, method: POST, inputParameters: [{name: name, in: path}]} - name: app-rollback path: /api/v1/applications/{{name}}/rollback operations: - {name: rollback-application, method: POST, inputParameters: [{name: name, in: path}]} exposes: - type: rest address: 0.0.0.0 port: 8080 namespace: argocd-gitops-naftikocapability-runbook-rest description: REST surface exposing Argo CD sync and rollback for capability runbooks. resources: - name: sync path: /apps/{{name}}/sync operations: - {method: POST, name: sync-app, inputParameters: [{name: name, in: path, type: string}], call: argocd.sync-application} - name: rollback path: /apps/{{name}}/rollback operations: - {method: POST, name: rollback-app, inputParameters: [{name: name, in: path, type: string}], call: argocd.rollback-application} - type: mcp address: 0.0.0.0 port: 3010 namespace: argocd-gitops-naftikocapability-runbook-mcp description: MCP for Argo CD GitOps operations on Naftiko capabilities. tools: - {name: list-apps, hints: {readOnly: true}, call: argocd.list-applications} - name: sync-app inputParameters: [{name: name, type: string, required: true}] call: argocd.sync-application - name: rollback-app inputParameters: [{name: name, type: string, required: true}] call: argocd.rollback-application - type: skill address: 0.0.0.0 port: 3011 namespace: argocd-gitops-naftikocapability-runbook-skills description: Skill for Argo CD runbook ops. skills: - name: argocd-gitops-naftikocapability-runbook description: GitOps-driven sync/rollback for Naftiko capabilities. location: file:///opt/naftiko/skills/argocd-gitops-naftikocapability-runbook allowed-tools: list-apps,sync-app,rollback-app tools: - {name: list-apps, from: {sourceNamespace: argocd-gitops-naftikocapability-runbook-mcp, action: list-apps}} - {name: sync-app, from: {sourceNamespace: argocd-gitops-naftikocapability-runbook-mcp, action: sync-app}} - {name: rollback-app, from: {sourceNamespace: argocd-gitops-naftikocapability-runbook-mcp, action: rollback-app}}