How envforge-dev/envforge-dev-backend-intelligence works
Backend Intelligence is a small Node.js CLI for planning verification gates, assessing declared evidence, auditing selected Dockerfile risks, and checking local report hashes against declared revision and environment. Its main workflow is profile and evidence files entering the CLI, which dispatches to the engine and optionally the artifact verifier, then prints a result. The README documents these capabilities and cautions that metadata and hashes do not prove test execution or readiness. The graph reflects the sampled runtime; upstream reference material is not mapped as executable product code.
Main entry points: backend.mjs Command CLI · engine.mjs Gate engine · artifacts.mjs Artifact verifier
Components 6
CLI workflow
- Command CLI
backend.mjs - JSON results
backend.mjs
Verification checks
- Gate engine
src/engine.mjs
Artifact verification
- Artifact verifier
src/artifacts.mjs - Local reports
Other components
- Operator
Connections 7
- Operator → Command CLI: provides inputs
README.md - Command CLI → Gate engine: dispatches checks
backend.mjs - Command CLI → Artifact verifier: creates verifier
backend.mjs - Gate engine → Artifact verifier: checks artifacts
src/engine.mjs - Artifact verifier → Local reports: reads reports
src/artifacts.mjs - Gate engine → JSON results: returns assessment
src/engine.mjs - Command CLI → JSON results: prints JSON
backend.mjs