Skip to content

AI-enhanced development framework that turns natural language into formal specs and production-grade code with agentic pipelines and quality gates.

License

Notifications You must be signed in to change notification settings

itdojp/ae-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ae-framework: Agentic SDLC Orchestrator & Spec/Verification Kit

validate-artifacts-ajv testing-ddd-scripts coverage-check pr-summary-comment

🌍 Language / 言語: English | 日本語 | Documentation / ドキュメント


English

ae-framework is a project skeleton plus verification toolkit that orchestrates agent-driven SDLC work. It standardises specifications, verification, and CI automation so human/agent collaboration stays auditable and repeatable.

What this repository provides

  • Agentic SDLC orchestrator: Ready-to-run GitHub Actions (PR verify, nightly heavy tests, Slack alerts) and CLI scripts that keep requirements, tests, and regression signals aligned.
  • Spec & Verification Kit: Traceable spec format, mutation/MBT/property verification pipelines, and comparison tooling for heavy test trends (scripts/pipelines/compare-test-trends.mjs).
  • Project scaffolding & policies: pnpm workspace layout, lint/test/type-coverage gates, label gating (typecov, flake), and TDD-friendly Git hooks.
  • Cacheable heavy test artifacts: scripts/pipelines/sync-test-results.mjs to restore/store/snapshot mutation + MBT results; heavy-test-trends artifacts for CI triage.
  • Agent integrations: Playbooks and connectors for Claude Code / CodeX; JSON-first outputs and AJV validation to keep agent-produced artifacts safe.

What this is not

  • Not an agent runtime or IDE plugin — bring your own agent.
  • Not a general-purpose Next.js UI kit or design system starter.
  • Not a hosted CI/CD service — workflows are provided for self-hosted GitHub runners or forks.

Quick start (local)

# Prereqs: Node.js 20+, pnpm (corepack enable)
pnpm install
pnpm run setup-hooks

# Fast feedback
pnpm run lint
pnpm run test:fast

# Mutation quick run (mktemp-based; supports STRYKER_TEMP_DIR)
STRYKER_TIME_LIMIT=0 pnpm run pipelines:mutation:quick

# Heavy test cache & trend snapshot
node scripts/pipelines/sync-test-results.mjs --store
node scripts/pipelines/sync-test-results.mjs --snapshot
node scripts/pipelines/compare-test-trends.mjs --json-output reports/heavy-test-trends.json

Documentation pointers

  • Overview & nav: docs/README.md, docs/project-organization.md
  • CI/quality gates: docs/ci/phase2-ci-hardening-outline.md, docs/ci/label-gating.md
  • Heavy test observability: docs/ci/heavy-test-trend-archive.md, docs/ci/heavy-test-alerts.md, docs/ci/heavy-test-album.md
  • Specification & verification: docs/quality/, docs/ci-policy.md, docs/testing/integration-runtime-helpers.md
  • Connectors & agent workflows: docs/integrations/CLAUDE-CODE-TASK-TOOL-INTEGRATION.md, docs/integrations/CODEX-INTEGRATION.md

Japanese

ae-framework は エージェント協調型のSDLCオーケストレーター兼「仕様・検証キット」 です。指示・仕様・検証の流れを標準化し、エージェントと開発者が同じルールで再現性のある品質管理を行えるようにします。

提供するもの

  • SDLCオーケストレーター: PR Verify/夜間ヘビーテスト/Slack通知などのGitHub ActionsとCLIスクリプトで、要件・テスト・退行検知を一元化。
  • 仕様・検証キット: トレーサブルな仕様フォーマット、mutation/MBT/Propertyテストのパイプライン、scripts/pipelines/compare-test-trends.mjs によるトレンド比較。
  • プロジェクト骨子とポリシー: pnpmワークスペース、Lint/Test/型カバレッジのゲート、ラベルゲーティング(typecov・flake)、TDDフック。
  • ヘビーテスト成果物のキャッシュ: scripts/pipelines/sync-test-results.mjs による store/restore/snapshot、heavy-test-trends アーティファクトでCIトリアージを高速化。
  • エージェント統合指針: Claude Code / CodeX 向けプレイブック、JSON成果物のAJV検証など、エージェント生成物を安全に扱うための手順。

提供しないもの

  • エージェント実行ランタイムやIDEプラグイン(各自のエージェントを利用)。
  • 汎用のNext.js UIスターターやデザインシステム配布物。
  • ホスト型CI/CDサービス(GitHub Actionsの定義を提供)。

すぐ試す

# 前提: Node.js 20+, pnpm (corepack enable)
pnpm install
pnpm run setup-hooks

pnpm run lint
pnpm run test:fast

# Mutation quick(mktemp利用、STRYKER_TEMP_DIR対応)
STRYKER_TIME_LIMIT=0 pnpm run pipelines:mutation:quick

# ヘビーテスト結果のキャッシュ運用
node scripts/pipelines/sync-test-results.mjs --store
node scripts/pipelines/sync-test-results.mjs --snapshot
node scripts/pipelines/compare-test-trends.mjs --json-output reports/heavy-test-trends.json

ドキュメントへの入り口

  • 全体概要: docs/README.md, docs/project-organization.md
  • CI/品質ゲート: docs/ci/phase2-ci-hardening-outline.md, docs/ci/label-gating.md
  • ヘビーテスト観測: docs/ci/heavy-test-trend-archive.md, docs/ci/heavy-test-alerts.md, docs/ci/heavy-test-album.md
  • 仕様と検証: docs/ci-policy.md, docs/testing/integration-runtime-helpers.md, docs/quality/
  • エージェント統合: docs/integrations/CLAUDE-CODE-TASK-TOOL-INTEGRATION.md, docs/integrations/CODEX-INTEGRATION.md

🔒 TypeScript Policy / TypeScript ポリシー

@ts-expect-error Usage Policy

When using @ts-expect-error comments, follow this structured format:

// @ts-expect-error owner:@username expires:YYYY-MM-DD reason: detailed description

Required fields:

  • owner:@username - GitHub handle responsible for the suppression
  • expires:YYYY-MM-DD - Date when this suppression should be reviewed/removed
  • reason: description - Detailed explanation (minimum 12 characters)

Examples:

// @ts-expect-error owner:@alice expires:2025-12-31 reason: narrowing todo for complex union
const result = complexUnion as string;

// @ts-expect-error owner:@bob expires:2025-06-15 reason: legacy API compatibility until v2 migration
legacyApi.unsafeMethod(data);

Policy enforcement:

  • ✅ CI validates all @ts-expect-error comments
  • ⚠️ Local development shows warnings only
  • 🔍 Script: node scripts/ci/check-expect-error.mjs

Documentation / ドキュメント

  • Full navigation: docs/README.md
  • Quick starts: docs/getting-started/QUICK-START-GUIDE.md, docs/getting-started/PHASE-6-GETTING-STARTED.md
  • CLI Reference: docs/reference/CLI-COMMANDS-REFERENCE.md, API: docs/reference/API.md

🤝 Contributing / 貢献

We welcome contributions! See CONTRIBUTING.md. 貢献を歓迎します!詳細はCONTRIBUTING.mdをご覧ください。

📄 License / ライセンス

MIT License - see LICENSE.

🙏 Acknowledgments

Built with: MCP SDK, Claude/CodeX task tools, pnpm workspace, Vitest, AJV, GitHub Actions.


ae-framework — automating agentic specification, verification, and CI quality gates.