| name | amoa-verification-patterns |
| description | Use when verifying implementations. Trigger with verification, testing, or evidence requests. Loaded by ai-maestro-orchestrator-agent-main-agent |
| license | Apache-2.0 |
| compatibility | Python 3.8+, Bash, Git. Optional: Selenium, Docker, SQLite/PostgreSQL. |
| metadata | {"author":"Emasoft","version":"1.0.0"} |
| agent | amoa-main |
| context | fork |
| user-invocable | false |
Verification Patterns for AMOA
Overview
Evidence-based verification for proving code and systems work correctly. Collect measurable, reproducible evidence -- not assumptions.
Prerequisites
- Python 3.8+, Bash, Git
- Optional: Selenium (E2E), Docker (containerized tests), SQLite/PostgreSQL (integration)
Output
Verification reports with pass/fail status, collected evidence, and formatted results per test-report-format.md.
Core Patterns
- Evidence-based -- evidence-based-verification.md
- Exit code proof -- exit-code-proof.md
- E2E testing -- end-to-end-testing.md
- Integration -- integration-verification.md
Principles
See: verification-principles.md
Instructions
- Select the appropriate verification pattern (evidence-based, exit code, E2E, or integration)
- Set up the test environment per testing-protocol.md
- Execute verification and collect measurable evidence
- Format results per evidence-format.md and test-report-format.md
- Report pass/fail with evidence; escalate failures immediately (fail-fast)
- Update GitHub issues per github-integration.md and clean up test environment
Copy this checklist and track your progress:
Examples
Input: Agent receives verification request for a new function.
Output: Verification report with pass/fail, collected evidence, formatted results.
See examples.md for worked examples.
Resources
- combining-patterns.md -- Combining patterns
- 5.1 Pattern Combinations
- 5.2 Verification Pyramid
- 5.3 Complete Verification Strategy Example
- cross-platform-support.md -- Cross-platform
- 6.1 Platform-Specific Behavior
- 6.2 UTF-8 Encoding
- 6.3 Platform Detection
- 6.4 Path Handling
- ...
- troubleshooting.md -- Troubleshooting
- 10.1 Tests Pass Locally but Fail in CI/CD
- 10.2 Exit Code is 0 but Process Failed
- 10.3 Integration Test Fails with Timeout
- 10.4 E2E Test is Flaky
- ...
- docker-troubleshooting.md -- Docker
-
- Assessing Docker Container Needs for a Project
-
- Selecting Appropriate Base Images
-
- Applying Docker Best Practices
-
- Configuring Multi-Service Environments
- ...
- quick-reference.md -- Quick reference & checklist
- Pattern Selection Guide
- Exit Codes
- Output Format
- Error Handling
- ...
Error Handling
Fail-fast: failures propagate immediately, no fallbacks. See troubleshooting.md and docker-troubleshooting.md in Resources.