SOL-FORJAR-001 // forjar
Content-Addressed Static Site S3 + CloudFront Deploy
Declarative forjar recipe building, conformance-gating, and atomically syncing deterministic static sites with immutable asset headers.
Measured delta: 0 legacy sub-app deletions; byte-identical pre-cutover snapshot
Before (Failing Anti-Pattern)
aws s3 sync site/public/ s3://bucket/ --delete # WIPES legacy sub-apps!
After (Verified Code)
version: "1.0"
name: interactive-paiml-deploy
machines:
local:
hostname: localhost
addr: 127.0.0.1
resources:
public-dir:
type: file
machine: local
path: /var/www/interactive-paiml
state: directory
Verification Contract
schema: forjar.contract.v1 idempotency: byte-identical cache_control: hashed_assets: "public, max-age=31536000, immutable" html: "public, max-age=300, must-revalidate"
Verified CLI Command & Output
$ forjar validate -f deploy.forjar.yaml OK: interactive-paiml-deploy (1 machines, 1 resources)