• v1.3.2 1598c54a8b

    grimacing released this 2026-07-22 14:26:17 +00:00 | 538 commits to main since this release

    Phase 18 — testing-and-cicd-pipelines

    What changed

    • Created a pytest test suite (90 tests, all offline) covering:
      • Terraform adapter (TYPE_MAP, _tf_value, _ref_expr, adapt emission)
      • Confidence signal (weights, thresholds, penalties, per-input scoring, compute)
      • Checkov adapter (RULE_MAP, _to_pcr, adapt)
      • Outbox writer (_canonical_hash, write_event with moto DynamoDB mocking)
      • Pipeline integration (IR load + adapt offline, run_platform.sh --check-only)
    • Added --check-only mode to run_platform.sh (offline: IR -> adapter -> validate, no AWS/Checkov/DynamoDB)
    • Created identical CI/CD pipelines:
      • .gitea/workflows/ci.yml (Gitea Actions, dev environment)
      • .github/workflows/ci.yml (GitHub Actions, production)
      • Both run 3 stages: lint, test, check-only
    • Added pyproject.toml + requirements-test.txt for dependency pinning
    • Updated README with testing and CI/CD documentation

    Requirements

    • REQ-39: pytest test suite (complete)
    • REQ-40: --check-only offline mode (complete)
    • REQ-41: Identical Gitea + GitHub CI/CD pipelines (complete)
    • REQ-42: pyproject.toml + requirements-test.txt (complete)

    Verification

    • VERIFY PASS (structural + behavioral + security + quality)
    • AUDIT CLEAN
    • 90 tests, 0 warnings

    Stats

    • 17 files changed, +1005 / -50
    • 11 new files, 6 modified
    Downloads