Engine documentation

The product runs as a local Python CLI (stratify) with optional Docker packaging. All processing stays on your machine — see STRATIFY_MANIFEST.md in the repository root.

Install

cd engine
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
stratify --version

Stratify Discovery Engine

Point --input at a folder of .json / .csv exports. Outputs a transformation roadmap and structured findings.

stratify discovery \
  --input ./samples/inventory \
  --output ./out/discovery

Stratify Guardrail Protocol

Recursively scans .tf and .tf.json for governance heuristics. Produces a compliance scorecard and remediation notes (no auto-rewrite of HCL in this release).

stratify guardrail \
  --input ./samples/iac \
  --output ./out/guardrail

Stratify Velocity Suite

Consumes a dependency graph JSON and a waves/timeline JSON to emit a migration runbook.

stratify velocity \
  --deps ./samples/deps.json \
  --timeline ./samples/timeline.json \
  --output ./out/velocity

Docker

docker build -f engine/Dockerfile -t stratify-engine:local engine
docker run --rm \
  -v "$PWD/engine/samples:/data:ro" \
  -v "$PWD/out:/out" \
  stratify-engine:local discovery --input /data/inventory --output /out/discovery