How omarnizam/smd-backend-factory works
SyncMind is a multi-tenant agentic automation platform, but the README says its service skeletons are not yet implemented; the repository currently contains the software factory and infrastructure. The documented change workflow runs from a job specification through tests, build and gates, reviews, human approval, staging, and a production canary. The graph preserves the documented platform services as planned subsystems. Source excerpts show the factory MCP server calling its state store and contract-check tools using shared helpers; links for other factory stages and platform services are documented rather than verified in source.
Main entry points: gates.sh Factory gates · ai-orchestrator AI orchestrator · contractlib.py Contract helpers · prompt Job specification
Components 19
Software factory
- Job specification
backend-factory/prompt - Test-first build
.claude/agents - Factory gates
factory/gates.sh - Five reviews
.claude/agents - GitHub approval
- Staging and canary
factory/deploy.sh - Gate helpers
factory/lib/factory_lib.py - Factory MCP
factory/mcp/server.py - Factory state
factory/mcp/store.py
Contract checks
- MCP contract diff
factory/tools/mcp_contract_diff.py - OpenAPI sunset
factory/tools/openapi_sunset.py - Event compatibility
factory/tools/jsonschema_compat.py - Contract helpers
factory/tools/contractlib.py
Platform services
- Core API
services/core-api - AI orchestrator
services/ai-orchestrator - Ingestion
services/ingestion - MCP gateway
services/mcp-gateway
Infrastructure
- Cloud infrastructure
infra/terraform
Other components
- Engineer
Connections 15
- Engineer → Job specification: specifies work
README.md - Job specification → Test-first build: starts test-first
README.md - Test-first build → Factory gates: builds and gates
README.md - Factory gates → Five reviews: passes to review
README.md - Five reviews → GitHub approval: requests approval
README.md - GitHub approval → Staging and canary: authorizes rollout
README.md - Factory gates → Gate helpers: uses helpers
factory/lib/factory_lib.py - Engineer → Factory MCP: queries factory
factory/mcp/server.py - Factory MCP → Factory state: reads and answers
factory/mcp/server.py - MCP contract diff → Contract helpers: uses helpers
factory/tools/mcp_contract_diff.py - OpenAPI sunset → Contract helpers: uses helpers
factory/tools/openapi_sunset.py - Event compatibility → Contract helpers: uses helpers
factory/tools/jsonschema_compat.py - Core API → AI orchestrator: publishes run events
README.md - AI orchestrator → Ingestion: calls gRPC
README.md - AI orchestrator → MCP gateway: calls MCP servers
README.md