{
 "meta": {
  "name": "sirmmo/deploykit",
  "url": "https://github.com/sirmmo/deploykit",
  "slug": "sirmmo-deploykit",
  "host": "github.com",
  "commit": "fd5856789926d06350a6e8a8e38739b26dca754c",
  "committed_at": "2026-04-06T17:19:31+02:00",
  "evaluated_at": "2026-10-07T14:27:12+00:00",
  "neosloc": "0.8.0"
 },
 "report": {
  "schema_version": 2,
  "target": "https://github.com/sirmmo/deploykit",
  "inventory": {
   "files": 19,
   "source_files": 8,
   "source_tokens": 6747,
   "languages": {
    "python": 6747
   },
   "git": true
  },
  "surfaces": {
   "kinds": [
    "cli",
    "library"
   ],
   "evidence": {
    "cli": [
     {
      "path": "pyproject.toml",
      "detail": "console script"
     },
     {
      "path": "setup.cfg",
      "detail": "console script"
     },
     {
      "path": "src/deploykit/cli.py",
      "detail": "1 match"
     }
    ],
    "library": [
     {
      "path": "pyproject.toml",
      "detail": "Python package deploykit"
     }
    ]
   },
   "long_running": [],
   "owns_data": [],
   "uses_credentials": []
  },
  "dimensions": [
   {
    "key": "interface",
    "title": "Interface surface",
    "level": 2,
    "rationale": "[cli] --help documents every option (at least 90% of options have help text).",
    "evidence": [
     {
      "signal": "L1 non-interactive",
      "detail": "no interactive prompts",
      "path": null,
      "weight": 1
     },
     {
      "signal": "L2 help",
      "detail": "1 match",
      "path": "src/deploykit/cli.py",
      "weight": 1
     }
    ],
    "metrics": {
     "route_declarations": 0,
     "routes_by_framework": {},
     "spec_files": 1,
     "spec_operations": 0,
     "spec_coverage": null
    },
    "gaps": [
     "[cli] L3 Machine-readable output (--json/--format) and documented exit statuses. (exit statuses aren't documented)",
     "[library] L2 The public API is delimited (__all__, an exports map, exported identifiers). (no __all__/exports defining the public API)"
    ],
    "question": "Can another program use it through a documented, machine-readable surface?",
    "best_surface": "cli",
    "surfaces": {
     "cli": {
      "level": 2,
      "first_missing": "machine-output",
      "requirements": [
       {
        "level": 1,
        "id": "non-interactive",
        "text": "Invocable non-interactively: no prompts, or prompts guarded by a TTY check or a --yes/--no-input option.",
        "met": true,
        "evidence": [
         {
          "path": null,
          "detail": "no interactive prompts"
         }
        ],
        "note": ""
       },
       {
        "level": 2,
        "id": "help",
        "text": "--help documents every option (at least 90% of options have help text).",
        "met": true,
        "evidence": [
         {
          "path": "src/deploykit/cli.py",
          "detail": "1 match"
         }
        ],
        "note": ""
       },
       {
        "level": 3,
        "id": "machine-output",
        "text": "Machine-readable output (--json/--format) and documented exit statuses.",
        "met": false,
        "evidence": [],
        "note": "exit statuses aren't documented"
       },
       {
        "level": 4,
        "id": "output-schema",
        "text": "The output format is specified by a JSON Schema.",
        "met": true,
        "evidence": [
         {
          "path": "src/deploykit/cli.py",
          "detail": "1 match"
         }
        ],
        "note": ""
       }
      ]
     },
     "library": {
      "level": 1,
      "first_missing": "public-api",
      "requirements": [
       {
        "level": 1,
        "id": "importable",
        "text": "An importable, packaged API exists.",
        "met": true,
        "evidence": [
         {
          "path": "pyproject.toml",
          "detail": "Python package deploykit"
         }
        ],
        "note": ""
       },
       {
        "level": 2,
        "id": "public-api",
        "text": "The public API is delimited (__all__, an exports map, exported identifiers).",
        "met": false,
        "evidence": [],
        "note": "no __all__/exports defining the public API"
       },
       {
        "level": 3,
        "id": "typed",
        "text": "The public API is statically typed (py.typed, type declarations, a typed language).",
        "met": false,
        "evidence": [],
        "note": "no py.typed or type declarations"
       },
       {
        "level": 4,
        "id": "api-reference",
        "text": "An API reference is generated from the code (autodoc, mkdocstrings, typedoc, \u2026).",
        "met": false,
        "evidence": [],
        "note": "no generated API reference"
       }
      ]
     }
    },
    "level_name": "partial",
    "applicable": true
   },
   {
    "key": "stability",
    "title": "Contract stability",
    "level": 0,
    "rationale": "Not yet: Releases are versioned (semver tags or versioned changelog sections).",
    "evidence": [],
    "metrics": {},
    "gaps": [
     "L1 Releases are versioned (semver tags or versioned changelog sections). (no semver tags or versioned releases)"
    ],
    "question": "Can integrators rely on it not changing under them?",
    "best_surface": "all",
    "surfaces": {
     "all": {
      "level": 0,
      "first_missing": "versioned-releases",
      "requirements": [
       {
        "level": 1,
        "id": "versioned-releases",
        "text": "Releases are versioned (semver tags or versioned changelog sections).",
        "met": false,
        "evidence": [],
        "note": "no semver tags or versioned releases"
       },
       {
        "level": 2,
        "id": "changelog",
        "text": "A changelog exists and marks breaking changes.",
        "met": false,
        "evidence": [],
        "note": "no changelog"
       },
       {
        "level": 3,
        "id": "deprecation",
        "text": "A deprecation mechanism is used in code (warnings, @deprecated, Deprecation/Sunset headers) or the API is versioned.",
        "met": false,
        "evidence": [],
        "note": "no deprecation mechanism or API versioning"
       },
       {
        "level": 4,
        "id": "clean-history",
        "text": "Across tagged releases, no OpenAPI operation, CLI option or __all__ symbol was removed without first being deprecated.",
        "met": false,
        "evidence": [],
        "note": "fewer than two tagged releases to compare"
       }
      ]
     }
    },
    "level_name": "absent",
    "applicable": true
   },
   {
    "key": "events",
    "title": "Events",
    "level": null,
    "rationale": "Not applicable: no service and no long-running CLI mode (batch CLIs, libraries and desktop apps have no events).",
    "evidence": [],
    "metrics": {},
    "gaps": [],
    "question": "Can others react to state changes without polling?",
    "best_surface": null,
    "surfaces": {},
    "level_name": "n/a",
    "applicable": false
   },
   {
    "key": "identity",
    "title": "Identity",
    "level": null,
    "rationale": "Not applicable: uses no credentials and has no service surface.",
    "evidence": [],
    "metrics": {},
    "gaps": [],
    "question": "Can a machine act with its own revocable, least-privilege identity?",
    "best_surface": null,
    "surfaces": {},
    "level_name": "n/a",
    "applicable": false
   },
   {
    "key": "portability",
    "title": "Data portability",
    "level": null,
    "rationale": "Not applicable: owns no persistent data.",
    "evidence": [],
    "metrics": {},
    "gaps": [],
    "question": "Can its data get in and out, in bulk, in open formats, with an explicit schema?",
    "best_surface": null,
    "surfaces": {},
    "level_name": "n/a",
    "applicable": false
   },
   {
    "key": "ergonomics",
    "title": "Agent ergonomics",
    "level": 1,
    "rationale": "[cli] Never blocks on a prompt when stdin is not a TTY.",
    "evidence": [
     {
      "signal": "L1 never-blocks",
      "detail": "no interactive prompts",
      "path": null,
      "weight": 1
     }
    ],
    "metrics": {},
    "gaps": [
     "[cli] L2 Data on stdout, diagnostics on stderr, non-zero exit on failure. (diagnostics aren't written to stderr)",
     "[library] L1 Errors are specific exception types, and library code never calls sys.exit. (no exception classes)"
    ],
    "question": "Can an automated caller use it without guessing, and recover from failure?",
    "best_surface": "cli",
    "surfaces": {
     "cli": {
      "level": 1,
      "first_missing": "streams-and-status",
      "requirements": [
       {
        "level": 1,
        "id": "never-blocks",
        "text": "Never blocks on a prompt when stdin is not a TTY.",
        "met": true,
        "evidence": [
         {
          "path": null,
          "detail": "no interactive prompts"
         }
        ],
        "note": ""
       },
       {
        "level": 2,
        "id": "streams-and-status",
        "text": "Data on stdout, diagnostics on stderr, non-zero exit on failure.",
        "met": false,
        "evidence": [],
        "note": "diagnostics aren't written to stderr"
       },
       {
        "level": 3,
        "id": "typed-failures",
        "text": "Documented exit statuses distinguish error classes, errors are JSON in JSON mode, and color is off when not a TTY.",
        "met": false,
        "evidence": [],
        "note": "exit statuses aren't documented"
       },
       {
        "level": 4,
        "id": "agent-ready",
        "text": "--dry-run, limits for long or costly operations (timeouts, budgets), and agent docs.",
        "met": false,
        "evidence": [],
        "note": "no timeout/budget options"
       }
      ]
     },
     "library": {
      "level": 0,
      "first_missing": "typed-exceptions",
      "requirements": [
       {
        "level": 1,
        "id": "typed-exceptions",
        "text": "Errors are specific exception types, and library code never calls sys.exit.",
        "met": false,
        "evidence": [],
        "note": "no exception classes"
       },
       {
        "level": 2,
        "id": "validation",
        "text": "Inputs are validated with messages naming the bad argument.",
        "met": true,
        "evidence": [
         {
          "path": "src/deploykit/platforms/netlify.py",
          "detail": "2 matches"
         },
         {
          "path": "src/deploykit/platforms/vercel.py",
          "detail": "2 matches"
         },
         {
          "path": "src/deploykit/config.py",
          "detail": "1 match"
         }
        ],
        "note": ""
       },
       {
        "level": 3,
        "id": "timeouts-retries",
        "text": "Timeouts and retries are configurable.",
        "met": false,
        "evidence": [],
        "note": "no retry parameter"
       },
       {
        "level": 4,
        "id": "agent-ready",
        "text": "Agent docs, and examples that run as tests (doctests).",
        "met": false,
        "evidence": [],
        "note": "examples don't run as tests"
       }
      ]
     }
    },
    "level_name": "ad hoc",
    "applicable": true
   },
   {
    "key": "embeddability",
    "title": "Embeddability",
    "level": 2,
    "rationale": "[cli] Installable as a package that provides the command.",
    "evidence": [
     {
      "signal": "L1 runnable",
      "detail": "console script",
      "path": "pyproject.toml",
      "weight": 1
     },
     {
      "signal": "L2 installable",
      "detail": "console script",
      "path": "pyproject.toml",
      "weight": 1
     }
    ],
    "metrics": {},
    "gaps": [
     "[cli] L3 Published to a public registry and run non-interactively in CI. (not published to a registry)",
     "[library] L3 Published to a public registry, with at most 10 runtime dependencies. (not published to a registry)"
    ],
    "question": "Can another system run and compose it without a human?",
    "best_surface": "cli",
    "surfaces": {
     "cli": {
      "level": 2,
      "first_missing": "published",
      "requirements": [
       {
        "level": 1,
        "id": "runnable",
        "text": "Runnable from source (a declared entry point).",
        "met": true,
        "evidence": [
         {
          "path": "pyproject.toml",
          "detail": "console script"
         },
         {
          "path": "setup.cfg",
          "detail": "console script"
         }
        ],
        "note": ""
       },
       {
        "level": 2,
        "id": "installable",
        "text": "Installable as a package that provides the command.",
        "met": true,
        "evidence": [
         {
          "path": "pyproject.toml",
          "detail": "console script"
         },
         {
          "path": "setup.cfg",
          "detail": "console script"
         }
        ],
        "note": ""
       },
       {
        "level": 3,
        "id": "published",
        "text": "Published to a public registry and run non-interactively in CI.",
        "met": false,
        "evidence": [],
        "note": "not published to a registry"
       },
       {
        "level": 4,
        "id": "container-or-binary",
        "text": "Also shipped as a container image or a single binary.",
        "met": false,
        "evidence": [],
        "note": "no container image or binary"
       }
      ]
     },
     "library": {
      "level": 2,
      "first_missing": "published-minimal",
      "requirements": [
       {
        "level": 1,
        "id": "importable",
        "text": "Importable from source.",
        "met": true,
        "evidence": [
         {
          "path": "pyproject.toml",
          "detail": "Python package deploykit"
         }
        ],
        "note": ""
       },
       {
        "level": 2,
        "id": "installable",
        "text": "Installable as a package (a package manifest).",
        "met": true,
        "evidence": [
         {
          "path": "pyproject.toml",
          "detail": "package manifest"
         }
        ],
        "note": ""
       },
       {
        "level": 3,
        "id": "published-minimal",
        "text": "Published to a public registry, with at most 10 runtime dependencies.",
        "met": false,
        "evidence": [],
        "note": "not published to a registry"
       },
       {
        "level": 4,
        "id": "optional-features",
        "text": "Optional features behind extras/features.",
        "met": true,
        "evidence": [
         {
          "path": "pyproject.toml",
          "detail": "1 match"
         },
         {
          "path": "setup.cfg",
          "detail": "1 match"
         }
        ],
        "note": ""
       }
      ]
     }
    },
    "level_name": "partial",
    "applicable": true
   },
   {
    "key": "extensibility",
    "title": "Extensibility",
    "level": 0,
    "rationale": "Not yet: Internal seams: a registry, registration function or plugin manager.",
    "evidence": [],
    "metrics": {},
    "gaps": [
     "L1 Internal seams: a registry, registration function or plugin manager. (no registry or registration function)"
    ],
    "question": "Can behaviour be added without modifying the code?",
    "best_surface": "all",
    "surfaces": {
     "all": {
      "level": 0,
      "first_missing": "seams",
      "requirements": [
       {
        "level": 1,
        "id": "seams",
        "text": "Internal seams: a registry, registration function or plugin manager.",
        "met": false,
        "evidence": [],
        "note": "no registry or registration function"
       },
       {
        "level": 2,
        "id": "documented",
        "text": "The docs show how to add behaviour through those seams (even in-tree).",
        "met": false,
        "evidence": [],
        "note": "no registration functions to document"
       },
       {
        "level": 3,
        "id": "out-of-tree",
        "text": "Out-of-tree extensions are discovered (entry points, a plugin directory, configuration) without editing the package.",
        "met": false,
        "evidence": [],
        "note": "extensions must be added inside the package"
       },
       {
        "level": 4,
        "id": "versioned-api",
        "text": "The extension API is versioned, has lifecycle hooks, and has example extensions.",
        "met": false,
        "evidence": [],
        "note": "the extension API isn't versioned"
       }
      ]
     }
    },
    "level_name": "absent",
    "applicable": true
   },
   {
    "key": "observability",
    "title": "Observability",
    "level": 0,
    "rationale": "[cli] Not yet: Meaningful exit statuses, and errors on stderr.",
    "evidence": [],
    "metrics": {},
    "gaps": [
     "[cli] L1 Meaningful exit statuses, and errors on stderr. (diagnostics aren't written to stderr)",
     "[library] L1 Logs through a standard logger namespace and never prints from library code. (no standard logger)"
    ],
    "question": "Can an operator, or an orchestrating agent, tell whether it works and why not?",
    "best_surface": "cli",
    "surfaces": {
     "cli": {
      "level": 0,
      "first_missing": "exit-and-stderr",
      "requirements": [
       {
        "level": 1,
        "id": "exit-and-stderr",
        "text": "Meaningful exit statuses, and errors on stderr.",
        "met": false,
        "evidence": [],
        "note": "diagnostics aren't written to stderr"
       },
       {
        "level": 2,
        "id": "verbosity",
        "text": "Verbosity control for diagnostics (--quiet, --log-level, --debug).",
        "met": false,
        "evidence": [],
        "note": "no --quiet or log-level control"
       },
       {
        "level": 3,
        "id": "structured-diagnostics",
        "text": "Structured logs (e.g. --log-format json) or a machine-readable run summary.",
        "met": false,
        "evidence": [],
        "note": "no structured diagnostics"
       },
       {
        "level": 4,
        "id": "tracing",
        "text": "Tracing hooks (OpenTelemetry).",
        "met": false,
        "evidence": [],
        "note": "no tracing hooks"
       }
      ]
     },
     "library": {
      "level": 0,
      "first_missing": "standard-logger",
      "requirements": [
       {
        "level": 1,
        "id": "standard-logger",
        "text": "Logs through a standard logger namespace and never prints from library code.",
        "met": false,
        "evidence": [],
        "note": "no standard logger"
       },
       {
        "level": 2,
        "id": "log-levels",
        "text": "Log levels are used meaningfully (at least two levels).",
        "met": false,
        "evidence": [],
        "note": "fewer than two log levels used"
       },
       {
        "level": 3,
        "id": "hooks",
        "text": "Optional metrics or tracing hooks.",
        "met": false,
        "evidence": [],
        "note": "no metrics or tracing hooks"
       },
       {
        "level": 4,
        "id": "otel",
        "text": "OpenTelemetry instrumentation available.",
        "met": false,
        "evidence": [],
        "note": "no OpenTelemetry instrumentation"
       }
      ]
     }
    },
    "level_name": "absent",
    "applicable": true
   },
   {
    "key": "legibility",
    "title": "Change legibility",
    "level": 1,
    "rationale": "A README and some tests.",
    "evidence": [
     {
      "signal": "L1 readme-tests",
      "detail": "",
      "path": "README.md",
      "weight": 1
     }
    ],
    "metrics": {
     "source_files": 8,
     "source_tokens": 6747,
     "test_files": 2,
     "test_tokens": 787,
     "test_ratio": 0.12,
     "modules": 3,
     "modules_within_budget": 1.0,
     "oversized_files": [],
     "largest_module": {
      "path": "src/deploykit/platforms",
      "tokens": 3469
     },
     "typed_ratio": 1.0,
     "python_functions": 36,
     "python_annotated": 36,
     "import_edges": 7,
     "import_graph": true,
     "max_fan_out": 3,
     "import_cycles": 0,
     "largest_cycle": [],
     "languages": {
      "python": 6747
     }
    },
    "gaps": [
     "L2 CI runs the tests; applications pin dependencies (libraries and zero-dependency projects are exempt). (no CI)"
    ],
    "question": "Can an agent change it safely with limited context?",
    "best_surface": "all",
    "surfaces": {
     "all": {
      "level": 1,
      "first_missing": "ci-pinned",
      "requirements": [
       {
        "level": 1,
        "id": "readme-tests",
        "text": "A README and some tests.",
        "met": true,
        "evidence": [
         {
          "path": "README.md",
          "detail": ""
         },
         {
          "path": "tests/test_config.py",
          "detail": "2 test files"
         }
        ],
        "note": ""
       },
       {
        "level": 2,
        "id": "ci-pinned",
        "text": "CI runs the tests; applications pin dependencies (libraries and zero-dependency projects are exempt).",
        "met": false,
        "evidence": [],
        "note": "no CI"
       },
       {
        "level": 3,
        "id": "fits-and-verified",
        "text": "At least 90% of modules fit 32k tokens and no file exceeds 12k; test/source token ratio at least 0.3; at least 70% of the code is typed.",
        "met": false,
        "evidence": [],
        "note": "test/source token ratio 0.12 < 0.3"
       },
       {
        "level": 4,
        "id": "acyclic-documented",
        "text": "No import cycles, and agent docs (AGENTS.md, CLAUDE.md, llms.txt).",
        "met": true,
        "evidence": [
         {
          "path": "CLAUDE.md",
          "detail": ""
         }
        ],
        "note": ""
       }
      ]
     }
    },
    "level_name": "ad hoc",
    "applicable": true
   }
  ],
  "estimate": {
   "integrability_index": 0.86,
   "assessed_dimensions": 7,
   "not_applicable": [
    "events",
    "identity",
    "portability"
   ],
   "retrofit_person_days": 19.2,
   "retrofit_by_dimension": {
    "interface": 2.4,
    "stability": 2.4,
    "ergonomics": 2.4,
    "embeddability": 0.8,
    "extensibility": 4.8,
    "observability": 2.4,
    "legibility": 4.0
   },
   "wrappability": "moderate retrofit",
   "assumptions": {
    "target_level": 3,
    "size_factor": 0.5,
    "legibility_multiplier": 1.6,
    "reference_tokens": 250000
   }
  },
  "not_implemented": [],
  "value": {
   "ksloc": 0.6,
   "classic": {
    "person_months": 1.41,
    "schedule_months": 2.8,
    "cost": 15885
   },
   "capture": {
    "tests": 0.24,
    "contract": 0.5,
    "docs": 1.0,
    "capture": 0.49
   },
   "agent_factor": 0.33,
   "reproduce_pm": 0.46,
   "history": {
    "commits": 2,
    "fix_commits": 0,
    "authors": 1,
    "age_months": 0.0,
    "months_since_last": 6.0
   },
   "knowledge_pm": 0.01,
   "rediscover_pm": 0.01,
   "replacement_pm": 0.47,
   "leverage": 0.86,
   "obsolescence": 0.9,
   "value_pm": 0.36,
   "value_cost": 4082,
   "knowledge_at_risk": 0.01,
   "assumptions": {
    "salary": 56286,
    "overhead": 2.4,
    "cost_per_pm": 11257,
    "floor": 0.1,
    "rediscover_share": 0.5,
    "fix_pm": 0.025,
    "change_pm": 0.005
   }
  },
  "make_or_buy": {
   "verdict": "make",
   "make_buy_ratio": 0.2665,
   "horizon_years": 3.0,
   "break_even_price_per_year": -413.75,
   "make": {
    "model": "anthropic:claude-opus-5-5",
    "tokens": {
     "output": 27345,
     "input": 683625,
     "cached_input": 581081
    },
    "final_tokens": 9115,
    "model_cost": 1.07,
    "agent_hours": 0.3,
    "human_days": 0.58,
    "review_days": 0.37,
    "rediscover_days": 0.21,
    "calendar_days": 0.58,
    "build_cost": 311.04,
    "yearly_cost": 46.66,
    "total_cost": 451.02
   },
   "buy": {
    "via": {
     "install": "cli",
     "use": "cli"
    },
    "adoption_minutes": {
     "install": 15,
     "first_use": 60.0,
     "total": 75.0
    },
    "tokens": {
     "output": 9375,
     "input": 234375,
     "cached_input": 199218
    },
    "model_cost": 0.37,
    "upgrade_minutes_per_year": 480,
    "measured": null,
    "price_per_year": 0.0,
    "fixed_cost": 84.13,
    "yearly_cost": 536.05,
    "total_cost": 1692.27
   },
   "assumptions": {
    "day_rate": 536.05,
    "draft_factor": 3.0,
    "context_ratio": 25.0,
    "cached_share": 0.85,
    "review_tokens_per_day": 50000,
    "spec_difficulty": 2.0,
    "maintenance_share": 0.15,
    "model_priced": true
   }
  },
  "agentic": null,
  "review": null,
  "spend": null
 }
}
