scaffold-ca-python 0.1.3__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scaffold_ca_python-0.1.3/.github/agents/speckit.analyze.agent.md → scaffold_ca_python-0.2.0/.github/skills/speckit-analyze/SKILL.md +81 -6
- scaffold_ca_python-0.1.3/.github/agents/speckit.checklist.agent.md → scaffold_ca_python-0.2.0/.github/skills/speckit-checklist/SKILL.md +97 -9
- scaffold_ca_python-0.2.0/.github/skills/speckit-clarify/SKILL.md +291 -0
- scaffold_ca_python-0.2.0/.github/skills/speckit-constitution/SKILL.md +179 -0
- scaffold_ca_python-0.2.0/.github/skills/speckit-converge/SKILL.md +283 -0
- scaffold_ca_python-0.1.3/.github/agents/speckit.implement.agent.md → scaffold_ca_python-0.2.0/.github/skills/speckit-implement/SKILL.md +77 -49
- scaffold_ca_python-0.2.0/.github/skills/speckit-plan/SKILL.md +166 -0
- scaffold_ca_python-0.1.3/.github/agents/speckit.specify.agent.md → scaffold_ca_python-0.2.0/.github/skills/speckit-specify/SKILL.md +119 -80
- scaffold_ca_python-0.1.3/.github/agents/speckit.tasks.agent.md → scaffold_ca_python-0.2.0/.github/skills/speckit-tasks/SKILL.md +66 -51
- scaffold_ca_python-0.2.0/.github/skills/speckit-taskstoissues/SKILL.md +117 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.gitignore +1 -0
- scaffold_ca_python-0.2.0/.release-please-manifest.json +3 -0
- scaffold_ca_python-0.2.0/.specify/.gitignore +14 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/init-options.json +4 -3
- scaffold_ca_python-0.2.0/.specify/integration.json +19 -0
- scaffold_ca_python-0.2.0/.specify/integrations/copilot.manifest.json +17 -0
- scaffold_ca_python-0.2.0/.specify/integrations/speckit.manifest.json +19 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/scripts/bash/check-prerequisites.sh +73 -20
- scaffold_ca_python-0.2.0/.specify/scripts/bash/common.sh +942 -0
- scaffold_ca_python-0.2.0/.specify/scripts/bash/create-new-feature.sh +504 -0
- scaffold_ca_python-0.2.0/.specify/scripts/bash/resolve-template.sh +57 -0
- scaffold_ca_python-0.2.0/.specify/scripts/bash/setup-plan.sh +85 -0
- scaffold_ca_python-0.2.0/.specify/scripts/bash/setup-tasks.sh +94 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/templates/checklist-template.md +11 -6
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/templates/plan-template.md +23 -14
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/templates/spec-template.md +8 -5
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/templates/tasks-template.md +9 -8
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/CHANGELOG.md +14 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/PKG-INFO +18 -14
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/README.md +15 -11
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/pyproject.toml +8 -8
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/gep.md +1 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/tasks.md +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/006-ca-scaffold-enhancements/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/contracts/gep.md +0 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/data-model.md +0 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/plan.md +0 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/quickstart.md +42 -36
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/spec.md +3 -3
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/tasks.md +7 -7
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/contracts/gep-restapi.md +2 -6
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/data-model.md +1 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/plan.md +1 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/quickstart.md +0 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/research.md +1 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/spec.md +4 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/tasks.md +3 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/011-fix-restapi-cleanup/research.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/011-fix-restapi-cleanup/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/011-fix-restapi-cleanup/tasks.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/data-model.md +2 -23
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/plan.md +8 -8
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/quickstart.md +6 -28
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/research.md +0 -37
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/spec.md +5 -17
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/tasks.md +2 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/016-dedup-command-aliases/spec.md +1 -1
- scaffold_ca_python-0.2.0/specs/017-pep8-naming-validation/contracts/name-validation.md +103 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/017-pep8-naming-validation/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/019-mcp-entry-point-restructure/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/data-model.md +4 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/spec.md +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/tasks.md +1 -1
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/checklists/requirements.md +35 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/contracts/gep-add-tool.md +218 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/data-model.md +126 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/plan.md +122 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/quickstart.md +188 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/research.md +186 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/spec.md +141 -0
- scaffold_ca_python-0.2.0/specs/021-mcp-add-tool/tasks.md +223 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/delete_module.py +6 -21
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/generate_driven_adapter.py +11 -6
- scaffold_ca_python-0.2.0/src/scaffold_ca_python/commands/generate_entry_point.py +593 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/generate_helper.py +4 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/generate_model.py +4 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/generate_project.py +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/generate_use_case.py +6 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/file_writer.py +27 -2
- scaffold_ca_python-0.2.0/src/scaffold_ca_python/core/mcp_tool_spec.py +325 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/module_builder.py +54 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/name_utils.py +14 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/pyproject_writer.py +84 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/driven_adapters/da_rest_consumer.py +5 -3
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/driven_adapters/da_secrets.py +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/entry_points/ep_agent.py +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/entry_points/ep_mcp.py +7 -7
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/entry_points/ep_restapi.py +8 -8
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/models/file_operation.py +19 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/agent/agent.py.jinja2 +5 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/app.py.jinja2 +6 -3
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/prompts.py.jinja2 +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/resources.py.jinja2 +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/test_app.py.jinja2 +0 -2
- scaffold_ca_python-0.2.0/src/scaffold_ca_python/templates/entry_point/mcp/test_tool_stub.py.jinja2 +8 -0
- scaffold_ca_python-0.2.0/src/scaffold_ca_python/templates/entry_point/mcp/tool_stub.py.jinja2 +5 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/tools.py.jinja2 +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/test_app.py.jinja2 +3 -3
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/application/config/driven_adapters_container.py.jinja2 +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/application/config/resource_container.py.jinja2 +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/pyproject_toml.jinja2 +15 -8
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_delete_module.py +10 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_dry_run_checksum.py +2 -2
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_driven_adapter.py +29 -8
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_entry_point.py +821 -6
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_helper.py +21 -15
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_model.py +9 -3
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_use_case.py +17 -11
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_workflow.py +3 -3
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/test_file_writer.py +47 -0
- scaffold_ca_python-0.2.0/tests/core/test_mcp_tool_spec.py +396 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/test_name_utils.py +29 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/test_pyproject_writer.py +118 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/driven_adapters/test_da_rest_consumer.py +30 -5
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/driven_adapters/test_da_secrets.py +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/entry_points/test_ep_agent.py +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/entry_points/test_ep_mcp.py +5 -5
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/entry_points/test_ep_restapi.py +4 -4
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/test_module_builder.py +101 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_entry_point_templates.py +116 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_project_templates.py +19 -0
- scaffold_ca_python-0.2.0/uv.lock +789 -0
- scaffold_ca_python-0.1.3/.github/agents/speckit.clarify.agent.md +0 -181
- scaffold_ca_python-0.1.3/.github/agents/speckit.constitution.agent.md +0 -84
- scaffold_ca_python-0.1.3/.github/agents/speckit.plan.agent.md +0 -153
- scaffold_ca_python-0.1.3/.github/agents/speckit.taskstoissues.agent.md +0 -30
- scaffold_ca_python-0.1.3/.github/prompts/speckit.analyze.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.checklist.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.clarify.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.constitution.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.implement.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.plan.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.specify.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.tasks.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.github/prompts/speckit.taskstoissues.prompt.md +0 -3
- scaffold_ca_python-0.1.3/.release-please-manifest.json +0 -3
- scaffold_ca_python-0.1.3/.specify/scripts/bash/common.sh +0 -330
- scaffold_ca_python-0.1.3/.specify/scripts/bash/create-new-feature.sh +0 -335
- scaffold_ca_python-0.1.3/.specify/scripts/bash/setup-plan.sh +0 -73
- scaffold_ca_python-0.1.3/specs/017-pep8-naming-validation/contracts/name-validation.md +0 -65
- scaffold_ca_python-0.1.3/src/scaffold_ca_python/commands/generate_entry_point.py +0 -304
- scaffold_ca_python-0.1.3/uv.lock +0 -666
- {scaffold_ca_python-0.1.3/.github/agents → scaffold_ca_python-0.2.0/.github}/copilot-instructions.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/issue_template.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/pull_request_template.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/workflows/build.yml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/workflows/dependency-review.yml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/workflows/publish.yml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/workflows/release-please.yml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/workflows/scorecards-analysis.yml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.github/workflows/secret-scanner.yml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.pre-commit-config.yaml +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.python-version +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/memory/constitution.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/scripts/bash/update-agent-context.sh +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/templates/agent-file-template.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/.specify/templates/constitution-template.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/LICENSE +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/SECURITY.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/release-please-config.json +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/ca.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/dm.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/gda.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/gh.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/gm.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/gpipe.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/guc.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/up.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/contracts/vs.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/quickstart.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/004-scaffold-ca-python-cli/spec.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/006-ca-scaffold-enhancements/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/006-ca-scaffold-enhancements/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/006-ca-scaffold-enhancements/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/contracts/clean-architecture.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/contracts/gda.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/contracts/gep.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/contracts/gpipe.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/quickstart.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/007-cli-usability-enhancements/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/008-fastapi-entrypoint-baseline/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/009-app-factory-split/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/011-fix-restapi-cleanup/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/011-fix-restapi-cleanup/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/011-fix-restapi-cleanup/quickstart.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/012-fix-restapi-test-templates/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/quickstart.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/014-tests-in-src/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/quickstart.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/015-factory-builder-refactor/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/016-dedup-command-aliases/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/016-dedup-command-aliases/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/016-dedup-command-aliases/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/016-dedup-command-aliases/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/016-dedup-command-aliases/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/017-pep8-naming-validation/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/017-pep8-naming-validation/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/017-pep8-naming-validation/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/017-pep8-naming-validation/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/017-pep8-naming-validation/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/019-mcp-entry-point-restructure/contracts/gep-mcp.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/019-mcp-entry-point-restructure/data-model.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/019-mcp-entry-point-restructure/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/019-mcp-entry-point-restructure/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/019-mcp-entry-point-restructure/tasks.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/checklists/requirements.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/contracts/readme-outline.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/plan.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/quickstart.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/specs/020-pypi-publish-readme/research.md +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/cli.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/generate_pipeline.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/update_project.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/commands/validate_structure.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/project_detector.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/structure_validator.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/core/template_renderer.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/driven_adapters/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/driven_adapters/da_generic.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/entry_points/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/entry_points/ep_generic.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/simple/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/simple/delete_module_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/simple/helper_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/simple/model_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/factory/simple/use_case_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/models/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/models/context.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/models/layer.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/models/violation.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/generic/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/generic/adapter.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/generic/test_adapter.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/rest_consumer/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/rest_consumer/rest_consumer.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/rest_consumer/test_rest_consumer.py.jinja2 +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/secrets/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/secrets/secrets_adapter.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/driven_adapter/secrets/test_secrets_adapter.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/agent/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/agent/card.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/agent/entrypoint_main.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/agent/test_agent.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/generic/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/generic/entrypoint_main.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/generic/handler.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/generic/test_handler.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/server.py.jinja2 +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/test_prompts.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/test_resources.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/mcp/test_tools.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/app.py.jinja2 +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/exception_handler.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/health.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/rest_controller.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/server.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/test_exception_handler.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/test_rest_controller.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/entry_point/restapi/test_server.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/helper/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/helper/helper.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/helper/test_helper.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/model/model.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/model/test_model.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/pipeline/azure/azure_pipelines.yml.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/pipeline/github/ci.yml.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/README.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/application/config/__init__.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/application/config/config.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/application/config/container.py.jinja2 +1 -1
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/application/config/usecases_container.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/dockerfile.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/dockerignore.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/gitignore.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/layer_init.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/main.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/mypy_ini.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/project/python_version.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/use_case/test_use_case.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/src/scaffold_ca_python/templates/use_case/use_case.py.jinja2 +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_cli.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_pipeline.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_generate_project.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_performance.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_update_project.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/commands/test_validate_structure.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/conftest.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/test_project_detector.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/test_structure_validator.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/core/test_template_renderer.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/driven_adapters/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/driven_adapters/test_da_generic.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/entry_points/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/entry_points/test_ep_generic.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/fixtures/dry_run_baseline.json +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/simple/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/simple/test_delete_module_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/simple/test_helper_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/simple/test_model_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/simple/test_use_case_factory.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/test_dry_run_parity.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/test_extensibility.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/factory/test_registry.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/models/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/models/test_context.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/models/test_file_operation.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/models/test_layer.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/models/test_violation.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/__init__.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_di_config_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_docker_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_driven_adapter_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_entrypoint_main_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_helper_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_model_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_pipeline_templates.py +0 -0
- {scaffold_ca_python-0.1.3 → scaffold_ca_python-0.2.0}/tests/templates/test_use_case_templates.py +0 -0
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: "speckit-analyze"
|
|
3
|
+
description: "Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation."
|
|
4
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
5
|
+
metadata:
|
|
6
|
+
author: "github-spec-kit"
|
|
7
|
+
source: "templates/commands/analyze.md"
|
|
3
8
|
---
|
|
4
9
|
|
|
10
|
+
|
|
5
11
|
## User Input
|
|
6
12
|
|
|
7
13
|
```text
|
|
@@ -10,21 +16,57 @@ $ARGUMENTS
|
|
|
10
16
|
|
|
11
17
|
You **MUST** consider the user input before proceeding (if not empty).
|
|
12
18
|
|
|
19
|
+
## Pre-Execution Checks
|
|
20
|
+
|
|
21
|
+
**Check for extension hooks (before analysis)**:
|
|
22
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
23
|
+
- If it exists, read it and look for entries under the `hooks.before_analyze` key
|
|
24
|
+
- If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that `.specify/extensions.yml` could not be read (include the parser error) and that no hooks were checked, including any mandatory (`optional: false`) hooks registered there, then continue normally
|
|
25
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
26
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
27
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
28
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
29
|
+
- When constructing command invocations from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
30
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
31
|
+
- **Optional hook** (`optional: true`):
|
|
32
|
+
```
|
|
33
|
+
## Extension Hooks
|
|
34
|
+
|
|
35
|
+
**Optional Pre-Hook**: {extension}
|
|
36
|
+
Command: `/{command}`
|
|
37
|
+
Description: {description}
|
|
38
|
+
|
|
39
|
+
Prompt: {prompt}
|
|
40
|
+
To execute: `/{command}`
|
|
41
|
+
```
|
|
42
|
+
- **Mandatory hook** (`optional: false`):
|
|
43
|
+
```
|
|
44
|
+
## Extension Hooks
|
|
45
|
+
|
|
46
|
+
**Automatic Pre-Hook**: {extension}
|
|
47
|
+
Executing: `/{command}`
|
|
48
|
+
EXECUTE_COMMAND: {command}
|
|
49
|
+
|
|
50
|
+
Wait for the result of the hook command before proceeding to the Goal.
|
|
51
|
+
```
|
|
52
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
53
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
54
|
+
|
|
13
55
|
## Goal
|
|
14
56
|
|
|
15
|
-
Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (`spec.md`, `plan.md`, `tasks.md`) before implementation. This command MUST run only after `/speckit
|
|
57
|
+
Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (`spec.md`, `plan.md`, `tasks.md`) before implementation. This command MUST run only after `/speckit-tasks` has successfully produced a complete `tasks.md`.
|
|
16
58
|
|
|
17
59
|
## Operating Constraints
|
|
18
60
|
|
|
19
61
|
**STRICTLY READ-ONLY**: Do **not** modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).
|
|
20
62
|
|
|
21
|
-
**Constitution Authority**: The project constitution (`.specify/memory/constitution.md`) is **non-negotiable** within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside `/speckit
|
|
63
|
+
**Constitution Authority**: The project constitution (`.specify/memory/constitution.md`) is **non-negotiable** within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside `/speckit-analyze`.
|
|
22
64
|
|
|
23
65
|
## Execution Steps
|
|
24
66
|
|
|
25
67
|
### 1. Initialize Analysis Context
|
|
26
68
|
|
|
27
|
-
Run `.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks` once from repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS. Derive absolute paths:
|
|
69
|
+
Run `.specify/scripts/bash/check-prerequisites.sh --json --require-spec --require-tasks --include-tasks` once from repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS. Derive absolute paths:
|
|
28
70
|
|
|
29
71
|
- SPEC = FEATURE_DIR/spec.md
|
|
30
72
|
- PLAN = FEATURE_DIR/plan.md
|
|
@@ -154,14 +196,47 @@ Output a Markdown report (no file writes) with the following structure:
|
|
|
154
196
|
|
|
155
197
|
At end of report, output a concise Next Actions block:
|
|
156
198
|
|
|
157
|
-
- If CRITICAL issues exist: Recommend resolving before `/speckit
|
|
199
|
+
- If CRITICAL issues exist: Recommend resolving before `/speckit-implement`
|
|
158
200
|
- If only LOW/MEDIUM: User may proceed, but provide improvement suggestions
|
|
159
|
-
- Provide explicit command suggestions: e.g., "Run /speckit
|
|
201
|
+
- Provide explicit command suggestions: e.g., "Run /speckit-specify with refinement", "Run /speckit-plan to adjust architecture", "Manually edit tasks.md to add coverage for 'performance-metrics'"
|
|
160
202
|
|
|
161
203
|
### 8. Offer Remediation
|
|
162
204
|
|
|
163
205
|
Ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)
|
|
164
206
|
|
|
207
|
+
### 9. Check for extension hooks
|
|
208
|
+
|
|
209
|
+
After reporting, check if `.specify/extensions.yml` exists in the project root.
|
|
210
|
+
- If it exists, read it and look for entries under the `hooks.after_analyze` key
|
|
211
|
+
- If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that `.specify/extensions.yml` could not be read (include the parser error) and that no hooks were checked, including any mandatory (`optional: false`) hooks registered there, then continue normally
|
|
212
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
213
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
214
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
215
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
216
|
+
- When constructing command invocations from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
217
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
218
|
+
- **Optional hook** (`optional: true`):
|
|
219
|
+
```
|
|
220
|
+
## Extension Hooks
|
|
221
|
+
|
|
222
|
+
**Optional Hook**: {extension}
|
|
223
|
+
Command: `/{command}`
|
|
224
|
+
Description: {description}
|
|
225
|
+
|
|
226
|
+
Prompt: {prompt}
|
|
227
|
+
To execute: `/{command}`
|
|
228
|
+
```
|
|
229
|
+
- **Mandatory hook** (`optional: false`):
|
|
230
|
+
```
|
|
231
|
+
## Extension Hooks
|
|
232
|
+
|
|
233
|
+
**Automatic Hook**: {extension}
|
|
234
|
+
Executing: `/{command}`
|
|
235
|
+
EXECUTE_COMMAND: {command}
|
|
236
|
+
```
|
|
237
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
238
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
239
|
+
|
|
165
240
|
## Operating Principles
|
|
166
241
|
|
|
167
242
|
### Context Efficiency
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: "speckit-checklist"
|
|
3
|
+
description: "Generate a custom checklist for the current feature based on user requirements."
|
|
4
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
5
|
+
metadata:
|
|
6
|
+
author: "github-spec-kit"
|
|
7
|
+
source: "templates/commands/checklist.md"
|
|
3
8
|
---
|
|
4
9
|
|
|
10
|
+
|
|
5
11
|
## Checklist Purpose: "Unit Tests for English"
|
|
6
12
|
|
|
7
13
|
**CRITICAL CONCEPT**: Checklists are **UNIT TESTS FOR REQUIREMENTS WRITING** - they validate the quality, clarity, and completeness of requirements in a given domain.
|
|
@@ -23,6 +29,15 @@ description: Generate a custom checklist for the current feature based on user r
|
|
|
23
29
|
|
|
24
30
|
**Metaphor**: If your spec is code written in English, the checklist is its unit test suite. You're testing whether the requirements are well-written, complete, unambiguous, and ready for implementation - NOT whether the implementation works.
|
|
25
31
|
|
|
32
|
+
**Ownership and checkbox lifecycle**:
|
|
33
|
+
|
|
34
|
+
- Custom checklists generated by this command are reviewer-owned requirements-quality review artifacts.
|
|
35
|
+
- `[x]` means the reviewer determined the requirements-quality criterion is satisfied.
|
|
36
|
+
- `[x]` does NOT mean implementation work is complete.
|
|
37
|
+
- This command generates or appends checklist items; it MUST NOT mark generated items `[x]`.
|
|
38
|
+
- An agent may assist with evaluating items only when explicitly asked by the reviewer.
|
|
39
|
+
- `checklists/requirements.md` is a separate built-in spec-quality checklist maintained by `/speckit-specify` and `/speckit-clarify`; do not treat that exception as applying to custom checklists generated here.
|
|
40
|
+
|
|
26
41
|
## User Input
|
|
27
42
|
|
|
28
43
|
```text
|
|
@@ -31,13 +46,51 @@ $ARGUMENTS
|
|
|
31
46
|
|
|
32
47
|
You **MUST** consider the user input before proceeding (if not empty).
|
|
33
48
|
|
|
49
|
+
## Pre-Execution Checks
|
|
50
|
+
|
|
51
|
+
**Check for extension hooks (before checklist generation)**:
|
|
52
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
53
|
+
- If it exists, read it and look for entries under the `hooks.before_checklist` key
|
|
54
|
+
- If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that `.specify/extensions.yml` could not be read (include the parser error) and that no hooks were checked, including any mandatory (`optional: false`) hooks registered there, then continue normally
|
|
55
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
56
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
57
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
58
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
59
|
+
- When constructing command invocations from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
60
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
61
|
+
- **Optional hook** (`optional: true`):
|
|
62
|
+
```
|
|
63
|
+
## Extension Hooks
|
|
64
|
+
|
|
65
|
+
**Optional Pre-Hook**: {extension}
|
|
66
|
+
Command: `/{command}`
|
|
67
|
+
Description: {description}
|
|
68
|
+
|
|
69
|
+
Prompt: {prompt}
|
|
70
|
+
To execute: `/{command}`
|
|
71
|
+
```
|
|
72
|
+
- **Mandatory hook** (`optional: false`):
|
|
73
|
+
```
|
|
74
|
+
## Extension Hooks
|
|
75
|
+
|
|
76
|
+
**Automatic Pre-Hook**: {extension}
|
|
77
|
+
Executing: `/{command}`
|
|
78
|
+
EXECUTE_COMMAND: {command}
|
|
79
|
+
|
|
80
|
+
Wait for the result of the hook command before proceeding to the Execution Steps.
|
|
81
|
+
```
|
|
82
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
83
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
84
|
+
|
|
34
85
|
## Execution Steps
|
|
35
86
|
|
|
36
|
-
1. **Setup**: Run `.specify/scripts/bash/check-prerequisites.sh --json` from repo root and parse JSON for FEATURE_DIR
|
|
87
|
+
1. **Setup**: Run `.specify/scripts/bash/check-prerequisites.sh --json --template checklist-template` from repo root and parse JSON for FEATURE_DIR, AVAILABLE_DOCS list, and TEMPLATE_CONTENT.
|
|
37
88
|
- All file paths must be absolute.
|
|
38
89
|
- For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
|
|
39
90
|
|
|
40
|
-
2. **
|
|
91
|
+
2. **IF EXISTS**: Load `.specify/memory/constitution.md` for project principles and governance constraints.
|
|
92
|
+
|
|
93
|
+
3. **Clarify intent (dynamic)**: Derive up to THREE initial contextual clarifying questions (no pre-baked catalog). They MUST:
|
|
41
94
|
- Be generated from the user's phrasing + extracted signals from spec/plan/tasks
|
|
42
95
|
- Only ask about information that materially changes checklist content
|
|
43
96
|
- Be skipped individually if already unambiguous in `$ARGUMENTS`
|
|
@@ -69,13 +122,13 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
69
122
|
|
|
70
123
|
Output the questions (label Q1/Q2/Q3). After answers: if ≥2 scenario classes (Alternate / Exception / Recovery / Non-Functional domain) remain unclear, you MAY ask up to TWO more targeted follow‑ups (Q4/Q5) with a one-line justification each (e.g., "Unresolved recovery path risk"). Do not exceed five total questions. Skip escalation if user explicitly declines more.
|
|
71
124
|
|
|
72
|
-
|
|
125
|
+
4. **Understand user request**: Combine `$ARGUMENTS` + clarifying answers:
|
|
73
126
|
- Derive checklist theme (e.g., security, review, deploy, ux)
|
|
74
127
|
- Consolidate explicit must-have items mentioned by user
|
|
75
128
|
- Map focus selections to category scaffolding
|
|
76
129
|
- Infer any missing context from spec/plan/tasks (do NOT hallucinate)
|
|
77
130
|
|
|
78
|
-
|
|
131
|
+
5. **Load feature context**: Read from FEATURE_DIR:
|
|
79
132
|
- spec.md: Feature requirements and scope
|
|
80
133
|
- plan.md (if exists): Technical details, dependencies
|
|
81
134
|
- tasks.md (if exists): Implementation tasks
|
|
@@ -86,7 +139,7 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
86
139
|
- Use progressive disclosure: add follow-on retrieval only if gaps detected
|
|
87
140
|
- If source docs are large, generate interim summary items instead of embedding raw text
|
|
88
141
|
|
|
89
|
-
|
|
142
|
+
6. **Generate checklist** - Use TEMPLATE_CONTENT as the structural template and create "Unit Tests for Requirements":
|
|
90
143
|
- Create `FEATURE_DIR/checklists/` directory if it doesn't exist
|
|
91
144
|
- Generate unique checklist filename:
|
|
92
145
|
- Use short, descriptive name based on domain (e.g., `ux.md`, `api.md`, `security.md`)
|
|
@@ -95,6 +148,7 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
95
148
|
- If file does NOT exist: Create new file and number items starting from CHK001
|
|
96
149
|
- If file exists: Append new items to existing file, continuing from the last CHK ID (e.g., if last item is CHK015, start new items at CHK016)
|
|
97
150
|
- Never delete or replace existing checklist content - always preserve and append
|
|
151
|
+
- Leave every newly generated item unchecked (`[ ]`); checkbox state belongs to the reviewer
|
|
98
152
|
|
|
99
153
|
**CORE PRINCIPLE - Test the Requirements, Not the Implementation**:
|
|
100
154
|
Every checklist item MUST evaluate the REQUIREMENTS THEMSELVES for:
|
|
@@ -204,15 +258,15 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
204
258
|
- ✅ "Are [edge cases/scenarios] addressed in requirements?"
|
|
205
259
|
- ✅ "Does the spec define [missing aspect]?"
|
|
206
260
|
|
|
207
|
-
|
|
261
|
+
7. **Structure Reference**: Generate the checklist following the canonical template in `.specify/templates/checklist-template.md` for title, meta section, category headings, ownership note, notes section, and ID formatting. If template is unavailable, use: H1 title, purpose/created meta lines, an ownership note explaining that `[x]` means reviewer approval of requirements quality, `##` category sections containing `- [ ] CHK### <requirement item>` lines with globally incrementing IDs starting at CHK001, and notes that `/speckit-implement` reads checklist state but does not modify markers.
|
|
208
262
|
|
|
209
|
-
|
|
263
|
+
8. **Report**: Output full path to checklist file, item count, and summarize whether the run created a new file or appended to an existing one. Summarize:
|
|
210
264
|
- Focus areas selected
|
|
211
265
|
- Depth level
|
|
212
266
|
- Actor/timing
|
|
213
267
|
- Any explicit user-specified must-have items incorporated
|
|
214
268
|
|
|
215
|
-
**Important**: Each `/speckit
|
|
269
|
+
**Important**: Each `/speckit-checklist` command invocation uses a short, descriptive checklist filename and either creates a new file or appends to an existing one. This allows:
|
|
216
270
|
|
|
217
271
|
- Multiple checklists of different types (e.g., `ux.md`, `test.md`, `security.md`)
|
|
218
272
|
- Simple, memorable filenames that indicate checklist purpose
|
|
@@ -293,3 +347,37 @@ Sample items:
|
|
|
293
347
|
- Correct: Validation of requirement quality
|
|
294
348
|
- Wrong: "Does it do X?"
|
|
295
349
|
- Correct: "Is X clearly specified?"
|
|
350
|
+
|
|
351
|
+
## Post-Execution Checks
|
|
352
|
+
|
|
353
|
+
**Check for extension hooks (after checklist generation)**:
|
|
354
|
+
Check if `.specify/extensions.yml` exists in the project root.
|
|
355
|
+
- If it exists, read it and look for entries under the `hooks.after_checklist` key
|
|
356
|
+
- If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that `.specify/extensions.yml` could not be read (include the parser error) and that no hooks were checked, including any mandatory (`optional: false`) hooks registered there, then continue normally
|
|
357
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
358
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
359
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
360
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
361
|
+
- When constructing command invocations from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
362
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
363
|
+
- **Optional hook** (`optional: true`):
|
|
364
|
+
```
|
|
365
|
+
## Extension Hooks
|
|
366
|
+
|
|
367
|
+
**Optional Hook**: {extension}
|
|
368
|
+
Command: `/{command}`
|
|
369
|
+
Description: {description}
|
|
370
|
+
|
|
371
|
+
Prompt: {prompt}
|
|
372
|
+
To execute: `/{command}`
|
|
373
|
+
```
|
|
374
|
+
- **Mandatory hook** (`optional: false`):
|
|
375
|
+
```
|
|
376
|
+
## Extension Hooks
|
|
377
|
+
|
|
378
|
+
**Automatic Hook**: {extension}
|
|
379
|
+
Executing: `/{command}`
|
|
380
|
+
EXECUTE_COMMAND: {command}
|
|
381
|
+
```
|
|
382
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
383
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "speckit-clarify"
|
|
3
|
+
description: "Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec."
|
|
4
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
5
|
+
metadata:
|
|
6
|
+
author: "github-spec-kit"
|
|
7
|
+
source: "templates/commands/clarify.md"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## User Input
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
$ARGUMENTS
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
18
|
+
|
|
19
|
+
## Pre-Execution Checks
|
|
20
|
+
|
|
21
|
+
**Check for extension hooks (before clarification)**:
|
|
22
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
23
|
+
- If it exists, read it and look for entries under the `hooks.before_clarify` key
|
|
24
|
+
- If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that `.specify/extensions.yml` could not be read (include the parser error) and that no hooks were checked, including any mandatory (`optional: false`) hooks registered there, then continue normally
|
|
25
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
26
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
27
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
28
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
29
|
+
- When constructing command invocations from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
30
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
31
|
+
- **Optional hook** (`optional: true`):
|
|
32
|
+
```
|
|
33
|
+
## Extension Hooks
|
|
34
|
+
|
|
35
|
+
**Optional Pre-Hook**: {extension}
|
|
36
|
+
Command: `/{command}`
|
|
37
|
+
Description: {description}
|
|
38
|
+
|
|
39
|
+
Prompt: {prompt}
|
|
40
|
+
To execute: `/{command}`
|
|
41
|
+
```
|
|
42
|
+
- **Mandatory hook** (`optional: false`):
|
|
43
|
+
```
|
|
44
|
+
## Extension Hooks
|
|
45
|
+
|
|
46
|
+
**Automatic Pre-Hook**: {extension}
|
|
47
|
+
Executing: `/{command}`
|
|
48
|
+
EXECUTE_COMMAND: {command}
|
|
49
|
+
|
|
50
|
+
Wait for the result of the hook command before proceeding to the Outline.
|
|
51
|
+
```
|
|
52
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
53
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
54
|
+
|
|
55
|
+
## Outline
|
|
56
|
+
|
|
57
|
+
Goal: Detect and reduce ambiguity or missing decision points in the active feature specification and record the clarifications directly in the spec file.
|
|
58
|
+
|
|
59
|
+
Note: This clarification workflow is expected to run (and be completed) BEFORE invoking `/speckit-plan`. If the user explicitly states they are skipping clarification (e.g., exploratory spike), you may proceed, but must warn that downstream rework risk increases.
|
|
60
|
+
|
|
61
|
+
Execution steps:
|
|
62
|
+
|
|
63
|
+
1. Run `.specify/scripts/bash/check-prerequisites.sh --json --paths-only` from repo root **once** (combined `--json --paths-only` mode / `-Json -PathsOnly`). Parse minimal JSON payload fields:
|
|
64
|
+
- `FEATURE_DIR`
|
|
65
|
+
- `FEATURE_SPEC`
|
|
66
|
+
- (Optionally capture `IMPL_PLAN`, `TASKS` for future chained flows.)
|
|
67
|
+
- If JSON parsing fails, abort and instruct user to re-run `/speckit-specify` or verify feature branch environment.
|
|
68
|
+
- For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
|
|
69
|
+
|
|
70
|
+
2. **IF EXISTS**: Load `.specify/memory/constitution.md` for project principles and governance constraints.
|
|
71
|
+
|
|
72
|
+
3. Load the current spec file. Perform a structured ambiguity & coverage scan using this taxonomy. For each category, mark status: Clear / Partial / Missing. Produce an internal coverage map used for prioritization (do not output raw map unless no questions will be asked).
|
|
73
|
+
|
|
74
|
+
Functional Scope & Behavior:
|
|
75
|
+
- Core user goals & success criteria
|
|
76
|
+
- Explicit out-of-scope declarations
|
|
77
|
+
- User roles / personas differentiation
|
|
78
|
+
|
|
79
|
+
Domain & Data Model:
|
|
80
|
+
- Entities, attributes, relationships
|
|
81
|
+
- Identity & uniqueness rules
|
|
82
|
+
- Lifecycle/state transitions
|
|
83
|
+
- Data volume / scale assumptions
|
|
84
|
+
|
|
85
|
+
Interaction & UX Flow:
|
|
86
|
+
- Critical user journeys / sequences
|
|
87
|
+
- Error/empty/loading states
|
|
88
|
+
- Accessibility or localization notes
|
|
89
|
+
|
|
90
|
+
Non-Functional Quality Attributes:
|
|
91
|
+
- Performance (latency, throughput targets)
|
|
92
|
+
- Scalability (horizontal/vertical, limits)
|
|
93
|
+
- Reliability & availability (uptime, recovery expectations)
|
|
94
|
+
- Observability (logging, metrics, tracing signals)
|
|
95
|
+
- Security & privacy (authN/Z, data protection, threat assumptions)
|
|
96
|
+
- Compliance / regulatory constraints (if any)
|
|
97
|
+
|
|
98
|
+
Integration & External Dependencies:
|
|
99
|
+
- External services/APIs and failure modes
|
|
100
|
+
- Data import/export formats
|
|
101
|
+
- Protocol/versioning assumptions
|
|
102
|
+
|
|
103
|
+
Edge Cases & Failure Handling:
|
|
104
|
+
- Negative scenarios
|
|
105
|
+
- Rate limiting / throttling
|
|
106
|
+
- Conflict resolution (e.g., concurrent edits)
|
|
107
|
+
|
|
108
|
+
Constraints & Tradeoffs:
|
|
109
|
+
- Technical constraints (language, storage, hosting)
|
|
110
|
+
- Explicit tradeoffs or rejected alternatives
|
|
111
|
+
|
|
112
|
+
Terminology & Consistency:
|
|
113
|
+
- Canonical glossary terms
|
|
114
|
+
- Avoided synonyms / deprecated terms
|
|
115
|
+
|
|
116
|
+
Completion Signals:
|
|
117
|
+
- Acceptance criteria testability
|
|
118
|
+
- Measurable Definition of Done style indicators
|
|
119
|
+
|
|
120
|
+
Misc / Placeholders:
|
|
121
|
+
- TODO markers / unresolved decisions
|
|
122
|
+
- Ambiguous adjectives ("robust", "intuitive") lacking quantification
|
|
123
|
+
|
|
124
|
+
For each category with Partial or Missing status, add a candidate question opportunity unless:
|
|
125
|
+
- Clarification would not materially change implementation or validation strategy
|
|
126
|
+
- The item is specifically about implementation method, tech-stack comparison, or task breakdown (note internally)
|
|
127
|
+
|
|
128
|
+
4. Generate (internally) a prioritized queue of candidate clarification questions (maximum 5). Do NOT output them all at once. Apply these constraints:
|
|
129
|
+
- Maximum of 5 total questions across the whole session.
|
|
130
|
+
- Each question must be answerable with EITHER:
|
|
131
|
+
- A short multiple‑choice selection (2–5 distinct, mutually exclusive options), OR
|
|
132
|
+
- A one-word / short‑phrase answer (explicitly constrain: "Answer in <=5 words").
|
|
133
|
+
- Only include questions whose answers materially impact architecture, data modeling, task decomposition, test design, UX behavior, operational readiness, or compliance validation.
|
|
134
|
+
- Ensure category coverage balance: attempt to cover the highest impact unresolved categories first; avoid asking two low-impact questions when a single high-impact area (e.g., security posture) is unresolved.
|
|
135
|
+
- Exclude questions already answered, trivial stylistic preferences, or plan-level execution details (unless blocking correctness).
|
|
136
|
+
- Favor clarifications that reduce downstream rework risk or prevent misaligned acceptance tests.
|
|
137
|
+
- If more than 5 categories remain unresolved, select the top 5 by (Impact * Uncertainty) heuristic.
|
|
138
|
+
|
|
139
|
+
5. Sequential questioning loop (interactive):
|
|
140
|
+
- Present EXACTLY ONE question at a time.
|
|
141
|
+
- **Question writing quality (applies to every question, MC or short-answer):**
|
|
142
|
+
- Lead with `**Question:**` followed by a full interrogative that ends with `?`. The question text before the `?` must make sense on its own.
|
|
143
|
+
- NEVER use a topic label, section heading, or requirement id as the question itself. For example, `Acceptance device/runtime matrix (FR-023)` is INVALID — it is a label, not a question.
|
|
144
|
+
- After the `?`, the only permitted suffix is an optional parenthesized requirement/question id. Exact format: `**Question:** <interrogative>?` or `**Question:** <interrogative>? (FR-023)`. Never put the id before the `?`, and never use the id (alone or with a topic label) as the whole prompt.
|
|
145
|
+
- Immediately after the question line, add one plain-language "Why it matters" sentence (the stake for acceptance or shipping) before the recommendation/options.
|
|
146
|
+
- Use everyday wording; introduce jargon only if defined in the same sentence. Self-check: a reader who does not know Spec Kit must be able to answer from the Question line alone. Terse is fine; cryptic labels are not.
|
|
147
|
+
- For multiple‑choice questions:
|
|
148
|
+
- **Analyze all options** and determine the **most suitable option** based on:
|
|
149
|
+
- Best practices for the project type
|
|
150
|
+
- Common patterns in similar implementations
|
|
151
|
+
- Risk reduction (security, performance, maintainability)
|
|
152
|
+
- Alignment with any explicit project goals or constraints visible in the spec
|
|
153
|
+
- Present your **recommended option prominently** at the top with clear reasoning (1-2 sentences explaining why this is the best choice).
|
|
154
|
+
- Format as: `**Recommended:** Option [X] - <reasoning>`
|
|
155
|
+
- Then render all options as a Markdown table:
|
|
156
|
+
|
|
157
|
+
| Option | Description |
|
|
158
|
+
|--------|-------------|
|
|
159
|
+
| A | <Option A description> |
|
|
160
|
+
| B | <Option B description> |
|
|
161
|
+
| C | <Option C description> (add D/E as needed up to 5) |
|
|
162
|
+
| Short | Provide a different short answer (<=5 words) (Include only if free-form alternative is appropriate) |
|
|
163
|
+
|
|
164
|
+
- After the table, add: `You can reply with the option letter (e.g., "A"), accept the recommendation by saying "yes" or "recommended", or provide your own short answer.`
|
|
165
|
+
- For short‑answer style (no meaningful discrete options):
|
|
166
|
+
- Provide your **suggested answer** based on best practices and context.
|
|
167
|
+
- Format as: `**Suggested:** <your proposed answer> - <brief reasoning>`
|
|
168
|
+
- Then output: `Format: Short answer (<=5 words). You can accept the suggestion by saying "yes" or "suggested", or provide your own answer.`
|
|
169
|
+
- After the user answers:
|
|
170
|
+
- If the user replies with "yes", "recommended", or "suggested", use your previously stated recommendation/suggestion as the answer.
|
|
171
|
+
- Otherwise, validate the answer maps to one option or fits the <=5 word constraint.
|
|
172
|
+
- If ambiguous, ask for a quick disambiguation (count still belongs to same question; do not advance).
|
|
173
|
+
- Once satisfactory, record it in working memory (do not yet write to disk) and move to the next queued question.
|
|
174
|
+
- Stop asking further questions when:
|
|
175
|
+
- All critical ambiguities resolved early (remaining queued items become unnecessary), OR
|
|
176
|
+
- User signals completion ("done", "good", "no more"), OR
|
|
177
|
+
- You reach 5 asked questions.
|
|
178
|
+
- Never reveal future queued questions in advance.
|
|
179
|
+
- If no valid questions exist at start, immediately report no critical ambiguities.
|
|
180
|
+
|
|
181
|
+
6. Integration after EACH accepted answer (incremental update approach):
|
|
182
|
+
- Maintain in-memory representation of the spec (loaded once at start) plus the raw file contents.
|
|
183
|
+
- For the first integrated answer in this session:
|
|
184
|
+
- Ensure a `## Clarifications` section exists (create it just after the highest-level contextual/overview section per the spec template if missing).
|
|
185
|
+
- Under it, create (if not present) a `### Session YYYY-MM-DD` subheading for today.
|
|
186
|
+
- Append a bullet line immediately after acceptance: `- Q: <question> → A: <final answer>`.
|
|
187
|
+
- Then immediately apply the clarification to the most appropriate section(s):
|
|
188
|
+
- Functional ambiguity → Update or add a bullet in Functional Requirements.
|
|
189
|
+
- User interaction / actor distinction → Update User Stories or Actors subsection (if present) with clarified role, constraint, or scenario.
|
|
190
|
+
- Data shape / entities → Update Data Model (add fields, types, relationships) preserving ordering; note added constraints succinctly.
|
|
191
|
+
- Non-functional constraint → Add/modify measurable criteria in Success Criteria > Measurable Outcomes (convert vague adjective to metric or explicit target).
|
|
192
|
+
- Edge case / negative flow → Add a new bullet under Edge Cases / Error Handling (or create such subsection if template provides placeholder for it).
|
|
193
|
+
- Terminology conflict → Normalize term across spec; retain original only if necessary by adding `(formerly referred to as "X")` once.
|
|
194
|
+
- If the clarification invalidates an earlier ambiguous statement, replace that statement instead of duplicating; leave no obsolete contradictory text.
|
|
195
|
+
- Save the spec file AFTER each integration to minimize risk of context loss (atomic overwrite).
|
|
196
|
+
- Preserve formatting: do not reorder unrelated sections; keep heading hierarchy intact.
|
|
197
|
+
- Keep each inserted clarification minimal and testable (avoid narrative drift).
|
|
198
|
+
|
|
199
|
+
7. Validation (performed after EACH write plus final pass):
|
|
200
|
+
- Clarifications session contains exactly one bullet per accepted answer (no duplicates).
|
|
201
|
+
- Total asked (accepted) questions ≤ 5.
|
|
202
|
+
- Updated sections contain no lingering vague placeholders the new answer was meant to resolve.
|
|
203
|
+
- No contradictory earlier statement remains (scan for now-invalid alternative choices removed).
|
|
204
|
+
- Markdown structure valid; only allowed new headings: `## Clarifications`, `### Session YYYY-MM-DD`.
|
|
205
|
+
- Terminology consistency: same canonical term used across all updated sections.
|
|
206
|
+
|
|
207
|
+
8. Write the updated spec back to `FEATURE_SPEC`.
|
|
208
|
+
|
|
209
|
+
9. **Re-validate Spec Quality Checklist** (if it exists):
|
|
210
|
+
- Check if `FEATURE_DIR/checklists/requirements.md` exists.
|
|
211
|
+
- If it does NOT exist, skip this step silently.
|
|
212
|
+
- If it exists:
|
|
213
|
+
1. Read the checklist file.
|
|
214
|
+
2. Identify all GitHub task-list checkbox lines — lines matching `- [ ]`, `- [x]`, or `- [X]` (case-insensitive, tolerant of leading whitespace for nested items) outside of code fences. Ignore all other content (headings, notes, non-checkbox bullets, metadata).
|
|
215
|
+
3. For each checkbox line, record its current marker state (checked or unchecked) and item text into a before-snapshot list.
|
|
216
|
+
4. Re-evaluate each checkbox item against the **updated** spec (the version just saved in step 7).
|
|
217
|
+
5. For each checkbox item, update only if the checked/unchecked state actually changes:
|
|
218
|
+
- If the item now passes and was unchecked: change `[ ]` to `[x]`.
|
|
219
|
+
- If the item now fails and was checked: change `[x]`/`[X]` to `[ ]`.
|
|
220
|
+
- If the state is unchanged: leave the marker as-is (preserve existing case to avoid cosmetic diffs).
|
|
221
|
+
6. Save the updated checklist file. **Only toggle the `[ ]`/`[x]` marker portion of checkbox lines whose state changed.** All other file content — headings, metadata, notes, line ordering, whitespace — must remain unchanged to avoid noisy diffs.
|
|
222
|
+
7. Compare the before-snapshot with the current state to compute three lists for the Completion Report:
|
|
223
|
+
- **Newly passing**: items that changed from unchecked to checked.
|
|
224
|
+
- **Regressions**: items that changed from checked to unchecked.
|
|
225
|
+
- **Still unchecked**: items that remain unchecked.
|
|
226
|
+
8. Record the before/after pass counts as checked/total checkbox items (e.g., "12/16 → 15/16 items passing").
|
|
227
|
+
|
|
228
|
+
Behavior rules:
|
|
229
|
+
|
|
230
|
+
- If no meaningful ambiguities found (or all potential questions would be low-impact), respond: "No critical ambiguities detected worth formal clarification." and suggest proceeding.
|
|
231
|
+
- If spec file missing, instruct user to run `/speckit-specify` first (do not create a new spec here).
|
|
232
|
+
- Never exceed 5 total asked questions (clarification retries for a single question do not count as new questions).
|
|
233
|
+
- Avoid speculative tech stack questions unless the absence blocks functional clarity.
|
|
234
|
+
- Respect user early termination signals ("stop", "done", "proceed").
|
|
235
|
+
- If no questions asked due to full coverage, output a compact coverage summary (all categories Clear) then suggest advancing.
|
|
236
|
+
- If quota reached with unresolved high-impact categories remaining, explicitly flag them under Deferred with rationale.
|
|
237
|
+
|
|
238
|
+
Context for prioritization: $ARGUMENTS
|
|
239
|
+
|
|
240
|
+
## Mandatory Post-Execution Hooks
|
|
241
|
+
|
|
242
|
+
**You MUST complete this section before reporting completion to the user.**
|
|
243
|
+
|
|
244
|
+
Check if `.specify/extensions.yml` exists in the project root.
|
|
245
|
+
- If it does not exist, or no hooks are registered under `hooks.after_clarify`, skip to the Completion Report.
|
|
246
|
+
- If it exists, read it and look for entries under the `hooks.after_clarify` key.
|
|
247
|
+
- If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that `.specify/extensions.yml` could not be read (include the parser error) and that no hooks were checked, including any mandatory (`optional: false`) hooks registered there, then continue to the Completion Report.
|
|
248
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
249
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
250
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
251
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
252
|
+
- When constructing command invocations from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
253
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
254
|
+
- **Mandatory hook** (`optional: false`) — **You MUST emit `EXECUTE_COMMAND:` for each mandatory hook**:
|
|
255
|
+
```
|
|
256
|
+
## Extension Hooks
|
|
257
|
+
|
|
258
|
+
**Automatic Hook**: {extension}
|
|
259
|
+
Executing: `/{command}`
|
|
260
|
+
EXECUTE_COMMAND: {command}
|
|
261
|
+
```
|
|
262
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
263
|
+
- **Optional hook** (`optional: true`):
|
|
264
|
+
```
|
|
265
|
+
## Extension Hooks
|
|
266
|
+
|
|
267
|
+
**Optional Hook**: {extension}
|
|
268
|
+
Command: `/{command}`
|
|
269
|
+
Description: {description}
|
|
270
|
+
|
|
271
|
+
Prompt: {prompt}
|
|
272
|
+
To execute: `/{command}`
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
## Completion Report
|
|
276
|
+
|
|
277
|
+
Report completion (after questioning loop ends or early termination):
|
|
278
|
+
- Number of questions asked & answered.
|
|
279
|
+
- Path to updated spec.
|
|
280
|
+
- Sections touched (list names).
|
|
281
|
+
- Spec quality checklist status (if `FEATURE_DIR/checklists/requirements.md` was re-validated): show before/after pass counts (e.g., "Spec Quality Checklist: 12/16 → 15/16 items passing") and list any items that changed state — both newly checked (unchecked → checked) and any regressions (checked → unchecked). If any items remain unchecked, list them as areas needing attention.
|
|
282
|
+
- Coverage summary table listing each taxonomy category with Status: Resolved (was Partial/Missing and addressed), Deferred (exceeds question quota, or remaining item is specifically implementation method, tech-stack comparison, or task breakdown), Clear (already sufficient), Outstanding (still Partial/Missing but low impact).
|
|
283
|
+
- If any Outstanding or Deferred remain, recommend whether to proceed to `/speckit-plan` or run `/speckit-clarify` again later post-plan.
|
|
284
|
+
- Suggested next command.
|
|
285
|
+
|
|
286
|
+
## Done When
|
|
287
|
+
|
|
288
|
+
- [ ] Spec ambiguities identified and clarifications integrated into spec file
|
|
289
|
+
- [ ] Spec quality checklist re-validated against updated spec (if `FEATURE_DIR/checklists/requirements.md` exists)
|
|
290
|
+
- [ ] Extension hooks dispatched or skipped according to the rules in Mandatory Post-Execution Hooks above
|
|
291
|
+
- [ ] Completion reported to user with questions answered, sections touched, checklist status, and coverage summary
|