deployment_readiness
Validate deployment readiness by checking test failures, deployment history, and blocking unsafe deployments. Supports multiple environments, strict mode, and emergency bypass with approval.
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 | |
| projectPath | No | Path to project directory (defaults to current working directory) | |
| targetEnvironment | No | Target deployment environment | production |
| strictMode | No | Enable strict validation (recommended for production) | |
| allowMockCode | No | Allow mock code in deployment (NOT RECOMMENDED) | |
| productionCodeThreshold | No | Minimum production code quality score (0-100) | |
| mockCodeMaxAllowed | No | Maximum mock code indicators allowed | |
| maxTestFailures | No | Maximum test failures allowed (0 = zero tolerance) | |
| requireTestCoverage | No | Minimum test coverage percentage required | |
| blockOnFailingTests | No | Block deployment if tests are failing | |
| testSuiteRequired | No | Required test suites that must pass | |
| maxRecentFailures | No | Maximum recent deployment failures allowed | |
| deploymentSuccessThreshold | No | Minimum deployment success rate required (%) | |
| blockOnRecentFailures | No | Block if recent deployments failed | |
| rollbackFrequencyThreshold | No | Maximum rollback frequency allowed (%) | |
| requireAdrCompliance | No | Require ADR compliance validation | |
| integrateTodoTasks | No | Auto-create blocking tasks for issues | |
| updateHealthScoring | No | Update project health scores | |
| triggerSmartGitPush | No | Trigger smart git push validation | |
| emergencyBypass | No | Emergency bypass for critical fixes | |
| businessJustification | No | Business justification for overrides (required for emergency_override) | |
| approvalRequired | No | Require approval for overrides | |
| enableMemoryIntegration | No | Enable memory entity storage for deployment assessment tracking and historical analysis | |
| migrateExistingHistory | No | Migrate existing JSON-based deployment history to memory entities |