Container Fleet Audit

Detect drift between the fleet's running Docker Compose/Swarm state and its git configuration across all registered stacks, then render the findings as a formatted audit report. Use when a fleet operator needs a point-in-time fleet-wide drift audit; this workflow is read-only and does not redeploy.

Knuckles-Team 175e50b 2 files · 1.7 KB Updated

File contents

Container Fleet Audit Workflow

Compose the named atomic skills without adding new comparison logic here.

Inputs

Provide the fleet's stack selection and the git configuration reference.

Steps

Step 0: docker-compose-drift-detector [skill: docker-compose-drift-detector]

Invoke $docker-compose-drift-detector with the workflow inputs to compare each stack's running state against git configuration.

Expected: drift_report

Step 1: document-converter [skill: document-converter] [depends_on: Step 0]

Invoke $document-converter with drift_report to render it as a formatted Markdown/PDF fleet audit report.

Expected: audit_document

Output

Return drift_report and audit_document. Read-only; does not redeploy.

Execution

  • Run first: Step 0 — $docker-compose-drift-detector.
  • After level 0: Step 1 — $document-converter.

Execution: If graph-os is reachable, offload the whole DAG via graph_orchestrate action=execute_workflow (or the kg-delegate skill) for true parallel/swarm execution. Otherwise execute the steps natively in dependency order: run steps with no unmet depends_on in parallel, then their dependents.

Knuckles-Team/universal-skills/tree/main/universal_skills/health-workflows/container-fleet-audit commit 175e50b9a4

Frequently asked questions

npx skillmds@latest add knuckles-team/container-fleet-audit