deployment_readiness
Prevent unsafe deployments by validating test results, analyzing deployment history, and enforcing hard blocking. Works with smart_git_push for deployment gating.
Instructions
Comprehensive deployment readiness validation with test failure tracking, deployment history analysis, and hard blocking for unsafe deployments. Integrates with smart_git_push for deployment gating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Type of deployment readiness check to perform | |
| strictMode | No | Enable strict validation (recommended for production) | |
| projectPath | No | Path to project directory (defaults to current working directory) | |
| allowMockCode | No | Allow mock code in deployment (NOT RECOMMENDED) | |
| emergencyBypass | No | Emergency bypass for critical fixes | |
| maxTestFailures | No | Maximum test failures allowed (0 = zero tolerance) | |
| approvalRequired | No | Require approval for overrides | |
| maxRecentFailures | No | Maximum recent deployment failures allowed | |
| targetEnvironment | No | Target deployment environment | production |
| testSuiteRequired | No | Required test suites that must pass | |
| integrateTodoTasks | No | Auto-create blocking tasks for issues | |
| mockCodeMaxAllowed | No | Maximum mock code indicators allowed | |
| blockOnFailingTests | No | Block deployment if tests are failing | |
| requireTestCoverage | No | Minimum test coverage percentage required | |
| triggerSmartGitPush | No | Trigger smart git push validation | |
| updateHealthScoring | No | Update project health scores | |
| requireAdrCompliance | No | Require ADR compliance validation | |
| blockOnRecentFailures | No | Block if recent deployments failed | |
| businessJustification | No | Business justification for overrides (required for emergency_override) | |
| migrateExistingHistory | No | Migrate existing JSON-based deployment history to memory entities | |
| enableMemoryIntegration | No | Enable memory entity storage for deployment assessment tracking and historical analysis | |
| productionCodeThreshold | No | Minimum production code quality score (0-100) | |
| deploymentSuccessThreshold | No | Minimum deployment success rate required (%) | |
| rollbackFrequencyThreshold | No | Maximum rollback frequency allowed (%) |