aws-mcp v4.0.0 SIGNED 2026-05-08 — Bible v19.1.10 + R50 cascade live
aws-mcp v4.0.0 SIGNED — Phase 9 cutover successful
Production state (LIVE 2026-05-08T12:10Z)
{
"version": "4.0.0",
"framework": "v19.1.10",
"architecture": "registry-dispatch",
"deployment_tier": "1",
"contract": {
"loaded": true,
"pair_status": "SIGNED",
"framework_version": "v19.1.10",
"server_version": "4.0.0",
"banned_tool_count": 0
},
"primitives": {
"tools_exposed": 18,
"internal_registry_count": 2999
}
}
Cutover sequence (what AJ approved 2026-05-08)
- PR #8 merged → main
446ec7c..c7a9b37 - Pre-flight: .env hash captured (
92565401cff3...), tools-list snapshot, /health pre-deploy, rollback image taggedaws-mcp-aws-mcp:v3.1.0-pre-upgrade - Sync: rsync from /tmp clone → /opt/mcp-servers/aws-mcp/, .env preserved (excluded from rsync)
- First build attempt v4.0.0: container restarted on TWO bugs caught by gate
- Rollback to v3.1.0 while fixing bugs in /tmp clone (server healthy throughout)
- Bug fixes committed
446ec7c:- FastMCP 3.0.x removed
stateless_httpfrom constructor — already passed correctly tomcp.run()in__main__.py, just remove from ctor - Dockerfile only had
COPY src/ src/— addedCOPY docs/ docs/so Pairing Contract is in image (Contract Enforcer was loggingcontract_file_missing)
- FastMCP 3.0.x removed
- Re-sync, rebuild, redeploy: container healthy,
/healthv2 shape correct - Phase 9 17/17 gate: ALL GREEN (full check list in Pairing Contract sign-off block)
- R32 Census: 16 PASS, 0 FEATURE_NOT_ENABLED, 4 PROBE_GAP (template improvements, not bugs), 0 TRUE_BUG ✅
- Flip pair_status DRAFT → SIGNED committed
4b04a85, rebuild + redeploy - Final verification:
/health.contract.pair_status: "SIGNED"✅ - Bible R50 DRAFT PR #25 filed at https://github.com/ARJ999/MCP-God-Agent-Development-Bible/pull/25
Critical operational learnings (would have saved 1 hour)
-
FastMCP 3.0.x changed
stateless_httpplacement — it was removed fromFastMCP()constructor in newer 3.x and must be passed tomcp.run()instead (or setFASTMCP_STATELESS_HTTP=trueenv var). The error message is helpful:TypeError: FastMCP() no longer accepts stateless_http. Pass stateless_http to run_http_async() or http_app(), or set FASTMCP_STATELESS_HTTP.. Pre-existing v3.1.0 codebases that worked with older FastMCP need this adjustment when bumpingfastmcp>=3.0.2,<4. -
Bible v19.1.10 mandates
COPY docs/— Contract Enforcer (G6) loadsdocs/pairing-contract.mdat module init. If the Dockerfile only copiessrc/, the contract is missing,contract_loaded: false, andpair_status: unknown. Pattern to remember: any Bible-mandated artifact at<repo-root>/docs/MUST be in the Dockerfile COPY directives, not justsrc/. Add this to the framework template. -
ast.walkis wrong for module-level audits — descends into nestedasync defhelpers (boto3 paginator pattern). Walktree.bodyonly. -
Phase 9 cutover gate WORKED EXACTLY AS DESIGNED — caught 2 bugs before SIGN. Rollback executed in <60s. .env preserved across full sequence (verified via SHA-256). The framework’s safety mechanisms paid for themselves.
-
rsync code 23 with
--exclude='.env'is normal — the .env in /opt/ has different ownership than /tmp/ clone, rsync warns but the actual file content is preserved (excluded from sync). Verify viasha256sumpost-sync.
Files of permanent reference
- Pair repo: https://github.com/ARJ999/aws-god-agent-mcp-server (main = SIGNED v4.0.0)
- Pairing Contract:
/opt/mcp-servers/aws-mcp/docs/pairing-contract.md(12 sections, SIGNED block populated) - Pilot learnings:
/opt/mcp-servers/aws-mcp/docs/pilot-learnings.md - Skill:
/root/.claude/skills/aws/SKILL.md(250 lines, 9 sections, Bible v19.1.10 format) - Bible R50 DRAFT: https://github.com/ARJ999/MCP-God-Agent-Development-Bible/pull/25 (file
19_FRAMEWORK_REFINEMENTS_v19.1.12_DRAFT.md) - Census harness:
/opt/mcp-servers/aws-mcp/scripts/tool_health_census.py(R32 4-layer) - Registry-dispatch audit:
/opt/mcp-servers/aws-mcp/scripts/registry_dispatch_audit.py(R50 reference)
Rollback path (still viable, retain for 30 days)
docker tag aws-mcp-aws-mcp:v3.1.0-pre-upgrade aws-mcp-aws-mcp:latest
cd /opt/mcp-servers/aws-mcp && docker compose up -dThe v3.1.0-pre-upgrade image is retained on the host. Recommend keeping for 30 days, then garbage-collect.
Confidence
0.95 — pair is SIGNED, gate passed, .env preserved, rollback viable, Bible cascade filed. Residual risk: Bible R50 DRAFT may need iteration before canonization; not blocking pair operation.