feat: support custom server deployment drafts
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
## 1. Platform deployment contracts and persistence
|
||||
|
||||
- [x] 1.1 Add draft server state and protected deployment-definition domain, DTO, repository, and persistence contracts.
|
||||
- [x] 1.2 Add validated create-input schemas, protected path/command updates, and safe deployment read projections.
|
||||
- [x] 1.3 Add draft creation, later Run binding, and deployment dispatch services with versioned execution-plan input.
|
||||
|
||||
## 2. Run-facing lifecycle and diagnostics
|
||||
|
||||
- [x] 2.1 Extend lifecycle jobs with deployment-plan capability checks and redacted phase progress validation/projection.
|
||||
- [x] 2.2 Document the independent Run contract for preflight, custom argv/shell policy, and safe phase reports.
|
||||
- [x] 2.3 Add Platform service/API tests for unbound drafts, protected input redaction, compatibility rejection, and deployment dispatch.
|
||||
|
||||
## 3. Plugin declarations
|
||||
|
||||
- [x] 3.1 Extend plugin create-form declarations with supported field metadata and recommended deployment-template mappings.
|
||||
- [x] 3.2 Update SCUM and Minecraft declarations with usable guided-install fields and defaults; preserve their runtime-binding semantics.
|
||||
- [x] 3.3 Add manifest validation tests for the new create/deployment declaration rules.
|
||||
|
||||
## 4. Management console workflows
|
||||
|
||||
- [x] 4.1 Add API types/client/contracts/schemas for draft creation, deployment-definition updates, Run binding, and deploy dispatch.
|
||||
- [x] 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.
|
||||
- [x] 4.3 Add server detail deployment editing and stage-aware job status without rendering protected inputs.
|
||||
- [x] 4.4 Add focused frontend tests for field rendering, redaction, drafts, and queued/claimed/preflight status copy.
|
||||
|
||||
## 5. Verification and delivery
|
||||
|
||||
- [x] 5.1 Run focused backend, plugin, and frontend verification plus `scripts/check-structure.sh`.
|
||||
- [x] 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.
|
||||
Reference in New Issue
Block a user