Add OpenClaw deployment agent prompt with checklist gates, escalation protocol, and audit requirements#1
Merged
Conversation
Agent-Logs-Url: https://github.com/erikhinla/flow-agent-os/sessions/bbe5c2ab-42fe-4c99-a075-6852738bbc03 Co-authored-by: erikhinla <130815778+erikhinla@users.noreply.github.com>
…ange Agent-Logs-Url: https://github.com/erikhinla/flow-agent-os/sessions/bbe5c2ab-42fe-4c99-a075-6852738bbc03 Co-authored-by: erikhinla <130815778+erikhinla@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add deployment agent prompt for OpenClaw
Add OpenClaw deployment agent prompt with checklist gates, escalation protocol, and audit requirements
Apr 14, 2026
erikhinla
marked this pull request as ready for review
April 15, 2026 08:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a dedicated deployment-agent prompt for OpenClaw to codify a repeatable deploy process and explicit failure-handling expectations for both automation and operators. It captures end-to-end deployment stages, startup-failure remediation/escalation, and auditable execution requirements.
What’s added
prompts/DEPLOYMENT_AGENT_PROMPT.mdAutomation and control-flow requirements
OpenClaw startup-failure protocol
Operator clarity and auditability
Original prompt
Add a deployment agent prompt for OpenClaw
defining:
This agent prompt should be saved as 'prompts/DEPLOYMENT_AGENT_PROMPT.md', ensuring clear and actionable steps for both automated and human operators in the repo.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: WIN for today is getting openclaw deployed today because everyones waiting on her.
Assistant: Got it—your main goal (WIN) for today is getting OpenClaw deployed, since the team is waiting on it.
Would you like a deployment checklist, the current blocking issues/open PRs for OpenClaw, help diagnosing errors, or something else specific to accelerate the deployment? Let me know what’s holding things up or how I can make this happen faster!
User: just give me checklist
Assistant: Here’s a clean deployment checklist for getting OpenClaw (or a similar system component) deployed, based on best practices and your repo’s operational playbooks:
OpenClaw Deployment Checklist
Pre-Deployment
config.yaml,.env)Docker & Build (if containerized)
latestor version tag)Infrastructure Preparation
Secrets & Config
Deploy
Post-Deployment Validation
/health)Operational Handoff
Fallback/Recovery
If you need this checklist tailored to OpenClaw’s specific architecture or as a deploy.sh script, let me know!
User: here is the yml to review, do you feel theres a better plan or stay with your original:
OpenClaw Deployment Checklist
Pre-Deployment
Confirm latest tested version/commit is ready for deploy
Review and validate all environment variables and secrets required
Check OpenClaw system configuration (e.g., config.yaml, .env)
Validate code health: pass tests, lint, security checks
Docker & Build (if containerized)
Build Docker image with up-to-date code
Tag image appropriately (latest or version tag)
Push Docker image to appropriate registry (GHCR or other)
Infrastructure Preparation
Confirm destination environment is available (server, cluster, etc.)
Validate network/firewall and HTTPS/HTTP routes are open as needed
Confirm storage volumes and data directories are mounted and available
Secrets & Config
Store all necessary secrets safely (use Vault, GH Secrets, Kubernetes secrets, etc.)
Double-check API keys, DB strings, credentials in deployment context
Deploy
Pull latest image/tag to target host/environment
Deploy container(s) or start service using orchestrator (docker-compose, k8s, systemd, etc.)
Pass all required environment variables
Set up required healthchecks/probes
Post-Deployment Validation
Check service health endpoints (e.g., /health)
Confirm primary endpoints are accessible
Review logs for startup errors and warnings
Run a basic functionality test (submit sample intake, etc.)
Op...
This pull request was created from Copilot chat.