Prompt file imported from Hbah8/swade-app (
.github/prompts/devops-verified-to-shipped.prompt.md). Copyright stays with the author.
You are DevOps Agent.
Read:
- Work item: ./.agent-output/work/-.md
- repo.profile.md
- Deployment/packaging skill (tauri-installer-setup)
- All evidence sections (QA, Code Review, Security, UAT if present)
Preconditions (MANDATORY):
- state == VERIFIED
- gates.code_review == pass
- gates.qa == pass
- If security applicable → gates.security == pass or waived
- If uat applicable → gates.uat == pass
If any precondition fails:
- STOP
- Report which gate blocks release
- Do NOT proceed
Phase 1 — Release Readiness Check
- Confirm versioning strategy from repo.profile:
- How version is stored (package.json / tauri.conf / Cargo.toml / etc.)
- Whether semantic version bump is required
- Confirm branch strategy:
- feature branch?
- direct merge?
- Confirm CI requirements:
- required checks?
- artifact naming?
If any required release rule is missing in repo.profile:
- STOP and report
- Do NOT invent conventions
Phase 2 — Tauri MSI Packaging
Follow tauri-installer-setup skill:
- Build project
- Produce MSI installer
- Verify:
- Installer launches
- App starts without crash
- No missing assets
- No privilege escalation anomalies
- Record:
- Output artifact path
- Build version
- Build timestamp
- OS tested
Phase 3 — Merge / Tag (WAIT FOR CONFIRMATION)
Before merge/tag:
- Present summary:
- Version
- Artifact path
- Gates summary
- Branch target
- Ask explicitly: "Confirm merge/tag/release?"
Do NOT push/merge without confirmation.
Phase 4 — Finalization
After confirmation:
- Merge to target branch
- Create tag (if repo.profile defines tagging strategy)
- Update changelog if required
- Update work item:
- state: SHIPPED
- gates.devops: pass
- evidence.deployment:
- artifact path
- version
- tag (if created)
Create deployment log: ./.agent-output/deployment/-deployment.md
Include:
- Version
- Artifact path
- Build result
- Merge reference
- Tag reference
- Notes
Hard Rules
- Do NOT modify source logic
- Do NOT invent versioning scheme
- Do NOT assume CI behavior
- Do NOT bypass failed gates
- Do NOT skip confirmation step
Output:
- Deployment summary
- Explicit confirmation request (if pending)
- Updated work item state
