2.0 KiB
2.0 KiB
1. Platform deployment contracts and persistence
- 1.1 Add draft server state and protected deployment-definition domain, DTO, repository, and persistence contracts.
- 1.2 Add validated create-input schemas, protected path/command updates, and safe deployment read projections.
- 1.3 Add draft creation, later Run binding, and deployment dispatch services with versioned execution-plan input.
2. Run-facing lifecycle and diagnostics
- 2.1 Extend lifecycle jobs with deployment-plan capability checks and redacted phase progress validation/projection.
- 2.2 Document the independent Run contract for preflight, custom argv/shell policy, and safe phase reports.
- 2.3 Add Platform service/API tests for unbound drafts, protected input redaction, compatibility rejection, and deployment dispatch.
3. Plugin declarations
- 3.1 Extend plugin create-form declarations with supported field metadata and recommended deployment-template mappings.
- 3.2 Update SCUM and Minecraft declarations with usable guided-install fields and defaults; preserve their runtime-binding semantics.
- 3.3 Add manifest validation tests for the new create/deployment declaration rules.
4. Management console workflows
- 4.1 Add API types/client/contracts/schemas for draft creation, deployment-definition updates, Run binding, and deploy dispatch.
- 4.2 Replace the create dialog with a staged modal workflow that renders plugin fields and deployment modes, including protected full-path and custom-command inputs.
- 4.3 Add server detail deployment editing and stage-aware job status without rendering protected inputs.
- 4.4 Add focused frontend tests for field rendering, redaction, drafts, and queued/claimed/preflight status copy.
5. Verification and delivery
- 5.1 Run focused backend, plugin, and frontend verification plus
scripts/check-structure.sh. - 5.2 Run
openspec validate support-custom-server-deployment-workflows --strict, mark verified tasks complete, stage only this task's files, commit, and push the current branch.