人手最小&仕様準拠最大。Intent→Formal→Tests→Code→Verify→Operate の6フェーズ。
# 1) 依存セットアップ(WSL Ubuntu)
./scripts/dev/setup_wsl.sh
# 2) 開発環境起動(API + Postgres + OTel Collector)
./scripts/dev/dev_up.sh
# 3) 仕様→テスト→実行
make spec:lint test:all
# 4) ローカルCI一括
./scripts/ci/run_all_local.sh
make spec:lint
— Gherkin/OpenAPI/SLOのLint & 曖昧語検査make formal:check
— TLA+ (Apalache) モデル検査make test:acceptance
— BDD→E2E(API) 実行make test:property
— PBTmake test:mbt
— モデルベーステストmake test:contract
— Pactmake test:mutation
— Mutation (Stryker)make test:api-fuzz
— Schemathesis (OpenAPI fuzz)make policy:test
— OPA/Rego テストmake sbom
— Syft/CycloneDX で SBOM 生成make verify:trace
— 仕様↔テスト↔実装の対応表
- 言語/ランタイム:
src/
を他言語に差し替え可(Rust/Deno等) - DB:
compose.yaml
のpostgres
を別エンジンに変更可 - 本番: Terraform/Ansible/Helm/Kustomize いずれにも拡張可