Skip to content

dahatake/HypervelocityEngineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypervelocity Engineering

開発中のテンプレートリポジトリです。 実装は随時更新されるため、README は「概要 + 導線」に絞り、実体確認できる内容だけを記載しています。

Hypervelocity Engineering(HVE)は、GitHub Copilot cloud agent と hve CLI を使って、要求定義・設計・実装・ドキュメント生成を段階実行する Vibe Coding フレームワークです。現在のテンプレート実装は Azure を前提にしています。

目次

目的

このリポジトリの目的は、業務要件の整理から設計・実装・検証までを、再現可能なワークフローとして運用することです。

  • GitHub Issues / Issue Template を起点に Web 上で実行する
  • python -m hve からローカルで同じ Workflow / Custom Agent を実行する
  • knowledge/ を中核ストアとして、original-docs/qa/・既存コードの情報を再利用する

全体像

README 用アーキテクチャ概要図

3 段構造

README 用 3 段構造フロー図

中核となる Workflow ID

hve/workflow_registry.py で定義されているオーケストレーション Workflow ID は次の 11 個です。正の一覧は workflow_registry.py を参照し、python -m hve orchestrate --help の例示や後方互換エイリアスよりこちらを優先してください。

Workflow ID 役割 主な成果物 対応ガイド
ard 企業・業務分析からユースケース候補を整理する docs/catalog/use-case-catalog.md など 01-business-requirement.md(ARD セクション)
aas アプリケーションアーキテクチャ設計 docs/catalog/app-catalog.md など 02-app-architecture-design.md
aad-web Web / Microservice 設計 docs/catalog/screen-catalog.md, docs/catalog/service-catalog-matrix.md, docs/screen/, docs/services/, docs/test-specs/ 03-app-design-microservice-azure.md
asdw-web Web / Microservice 実装・デプロイ src/, test/, Azure リソース関連成果物 05-app-dev-microservice-azure.md
abd Batch 設計 docs/batch/*.md 04-app-design-batch.md
abdv Batch 実装・デプロイ src/, test/, infra/azure/batch/ など 06-app-dev-batch-azure.md
aag AI Agent 設計(簡易 / 入口) docs/agent/, docs/ai-agent-catalog.md 07-ai-agent-simple.md
aagd AI Agent 詳細設計・実装 docs/agent/, test/agent/, Azure Agent 関連成果物 08-ai-agent.md
akm qa/original-docs/ から knowledge/ を生成・更新 knowledge/D01〜D21-*.md km-guide.md
aqod original-docs/ を横断分析して質問票を生成 qa/QA-DocConsistency-Issue-*.md original-docs-review.md
adoc ソースコードから技術ドキュメントを生成 docs-generated/ sourcecode-documentation.md

Note

aad / asdw は後方互換エイリアスで、実装上は aad-web / asdw-web に解決されます。hve/__main__.py のヘルプや使用例には aad / asdw が残っていますが、README では workflow_registry.py の canonical な ID 表記を採用しています。

用語

用語 この README での意味
Custom Agent .github/agents/ 配下の Agent 定義ファイル。例: Arch-ApplicationAnalytics, Dev-Batch-FunctionsDeploy, QA-DocConsistency, KnowledgeManager
Workflow hve/workflow_registry.py の Workflow ID と、それに対応する GitHub Actions ワークフロー群
Phase users-guide/0008 と Knowledge / Documentation 系ガイドで区切った利用フェーズ
Chain 複数の Workflow / Step を前後関係で束ねた流れ。README では Phase の進行順として扱います

Custom Agent の見方

README では全 Agent の列挙は行わず、命名規則と代表例だけを示します。完全一覧は workflow-reference.md を参照してください。

系統 役割 実在する代表例
Arch-* 分析・設計 Arch-ApplicationAnalytics, Arch-Microservice-DomainAnalytics, Arch-Batch-JobCatalog
Dev-* 実装・デプロイ Dev-Microservice-Azure-ServiceCoding-AzureFunctions, Dev-Batch-DataDeploy, Dev-Batch-FunctionsDeploy
Doc-* ソースコード由来の技術文書生成 Doc-APISpec, Doc-ComponentDesign, Doc-TechDebt
QA-* 品質確認・レビュー QA-CodeQualityScan, QA-DocConsistency, QA-PostImproveVerify
固有名 例外的な単独 Agent KnowledgeManager, E2ETesting-Playwright

3 つの使い方

方式 入口 実行場所 向いているケース 参照先
方式 1 個別 Issue に Custom Agent を手動アサイン GitHub Actions 単一タスクの試行、特定 Step のデバッグ web-ui-guide.md#方式1-copilot-cloud-agent-手動実行
方式 2 Issue Template から親 Issue を作成 GitHub Actions Sub Issue 自動生成を含むフルオーケストレーション web-ui-guide.md#方式2-ワークフローオーケストレーションweb
方式 3 python -m hve PC / Mac / 仮想マシン GitHub Actions を使わずに同じ DAG を実行したい場合 hve-cli-orchestrator-guide.md

方式 2 では、Issue 作成後に auto-orchestrator-dispatcher.ymlname: HVE Cloud Agent Orchestrator Dispatcher)がラベルを見て対象 Workflow を判定し、対応する reusable workflow を起動します。

Issue Template 一覧

.github/ISSUE_TEMPLATE/*.yml に存在する 12 個のテンプレートです。README では「どのフォームを選ぶか」を判断できる粒度だけを記載し、詳細な手順は users-guide に委譲します。

ファイル UI 名 (name) 使うとき 主な入力
setup-labels.yml Setup Labels: ラベル初期セットアップ リポジトリ作成直後にラベル群を投入・更新したい confirm
app-architecture-design.yml Architecture Design(アーキテクチャ設計) ユースケースからアプリ構成を設計したい branch, runner_type, steps, model, review_model, qa_model
web-app-design.yml Web App Design 対象 APP-ID の Web / Microservice 設計を進めたい branch, runner_type, app_ids, steps, model, review_model
web-app-dev.yml Web App Dev & Deploy 対象 APP-ID の Web / Microservice 実装・デプロイを進めたい app_ids, branch, runner_type, resource_group, steps, model
batch-design.yml Batch Design バッチの設計書を作りたい app_ids, branch, runner_type, steps, model, review_model
batch-dev.yml Batch Dev バッチを実装・デプロイしたい app_ids, branch, runner_type, resource_group, batch_job_ids, steps
ai-agent-design.yml AI Agent Design AI Agent の設計を開始したい app_ids, usecase_id, branch, runner_type, steps, model
ai-agent-dev.yml AI Agent Dev & Deploy AI Agent の実装・デプロイを進めたい app_ids, branch, runner_type, resource_group, usecase_id, steps
knowledge-management.yml knowledge/ ドキュメント生成・管理 qa/ / original-docs/ / 追加ソースから knowledge/ を再構成したい branch, runner_type, sources, target_files, force_refresh, enable_review
original-docs-review.yml Original Docs Review original-docs/ を分析して質問票を作りたい branch, runner_type, target_scope, depth, focus_areas, enable_review
sourcecode-to-documentation.yml Source Codeからのドキュメント作成 既存コードから技術文書を自動生成したい branch, runner_type, target_dirs, exclude_patterns, doc_purpose, max_file_lines
self-improve.yml Self-Improve: 自己改善ループ 品質スキャン→改善→再検証のループを回したい target_scope, task_goal, max_iterations, quality_threshold, improvement_targets, additional_context

GitHub Actions workflows

ワークフロー棚卸し結果をもとに、用途別に整理します。

Orchestrators / dispatchers

このリポジトリのオーケストレーションは以下 2 系統に正式名称を統一しています。

正式名称 実行場所 起動点 代表エントリ
HVE Cloud Agent Orchestrator GitHub Actions Issue Template から作成された Issue の label / state .github/workflows/auto-orchestrator-dispatcher.ymlname: HVE Cloud Agent Orchestrator Dispatcher)から各 auto-*-reusable.ymlworkflow_call で起動
HVE CLI Orchestrator PC / Mac / 仮想マシン ローカル端末での python -m hve / hve orchestrate --workflow <id> hve/__main__.py / hve/orchestrator.py。詳細は hve-cli-orchestrator-guide.md
  • .github/workflows/auto-orchestrator-dispatcher.yml — issue-label-driven dispatcher。Issue Template 向け reusable orchestrator を呼び出します。
  • .github/workflows/auto-pr-transition-dispatcher.yml — PR transition dispatcher。QA/review/create-subissues の transition workflow を呼び出します。

Reusable issue-template orchestrators

auto-orchestrator-dispatcher.yml から呼び出され、Issue Template ラベルと紐づく orchestrator 群です。

  • .github/workflows/auto-app-selection-reusable.yml
  • .github/workflows/auto-app-detail-design-web-reusable.yml
  • .github/workflows/auto-app-dev-microservice-web-reusable.yml
  • .github/workflows/auto-batch-design-reusable.yml
  • .github/workflows/auto-batch-dev-reusable.yml
  • .github/workflows/auto-ai-agent-design-reusable.yml
  • .github/workflows/auto-ai-agent-dev-reusable.yml
  • .github/workflows/auto-app-documentation-reusable.yml
  • .github/workflows/auto-knowledge-management-reusable.yml
  • .github/workflows/auto-aqod.yml
  • .github/workflows/setup-labels.yml

PR / Issue automation workflows

  • .github/workflows/auto-qa-to-review-transition.yml
  • .github/workflows/auto-review-to-approve-transition.yml
  • .github/workflows/auto-create-subissues-transition.yml
  • .github/workflows/create-subissues-from-pr.yml
  • .github/workflows/sync-issue-labels-to-pr.yml
  • .github/workflows/auto-draft-to-ready.yml
  • .github/workflows/auto-approve-and-merge.yml
  • .github/workflows/copilot-auto-feedback.yml
  • .github/workflows/post-qa-to-pr-comment.yml
  • .github/workflows/auto-qa-default-answer.yml
  • .github/workflows/restore-auto-qa-label.yml
  • .github/workflows/auto-issue-qa-ready-transition.yml
  • .github/workflows/auto-human-resolved-to-ready.yml
  • .github/workflows/auto-blocked-to-human-required.yml
  • .github/workflows/advance-subissues.yml
  • .github/workflows/link-copilot-pr-to-issue.yml
  • .github/workflows/auto-self-improve-close.yml

Validation and test workflows

  • .github/workflows/protect-readonly-paths.yml
  • .github/workflows/plan-validation-and-labeling.yml
  • .github/workflows/validate-subissues.yml
  • .github/workflows/validate-agents.yml
  • .github/workflows/validate-skills.yml
  • .github/workflows/validate-knowledge.yml
  • .github/workflows/test-hve-python.yml
  • .github/workflows/test-cli-scripts.yml
  • .github/workflows/bats-tests.yml

Scheduled operational workflows

  • .github/workflows/aas-timeout-monitor.yml
  • .github/workflows/audit-plans.yml
  • .github/workflows/tdd-retry-metrics.yml
  • .github/workflows/scheduled-drift-detection.yml
  • .github/workflows/scheduled-health-check.yml
  • .github/workflows/sync-azure-skills.yml

Manual workflows

以下は棚卸し時点で workflow_dispatch が確認された manual / confirmation-required workflow です(未使用とは断定しない)。

  • .github/workflows/copilot-setup-steps.yml
  • .github/workflows/rollback-drill.yml — 意図的に保持する手動 workflow_dispatch 運用 workflow です。rollback drill / rollback verification で使用し、uses: 呼び出し元がないことは未使用の根拠になりません(手動実行が意図された経路です)。
  • .github/workflows/self-hosted-runner-smoke-test.yml

Reusable E2E workflow intentionally retained

  • .github/workflows/e2e-playwright-reusable.yml — reusable な E2E Playwright workflow として意図的に保持します。workflow ファイル内で確定した uses: 呼び出しは見つかっておらず、現在は複数のテキスト参照(例: .github/workflows/auto-app-dev-microservice-web-reusable.yml の Sub Issue 向け生成指示、.github/agents/E2ETesting-Playwright.agent.mdusers-guide/workflow-reference.md)で運用上参照されています。削除/改名時は、これらの参照と依存する生成指示を合わせて更新してください。

Removed / removal-candidate workflows

  • .github/workflows/integration-tests-sample.yml — 過去の棚卸しで PR1 の削除候補として整理された optional sample workflow(棚卸し事実: workflow_dispatch のみ確認、Issue Template 連携と uses: caller は未確認)。現時点では .github/workflows/ 配下に当該ファイルは存在しません。

hve CLI

hvepython -m hve で起動する Python パッケージです。エントリポイントは hve/__main__.py です。

サブコマンド

サブコマンド 役割 主なオプション
run インタラクティブ wizard で Workflow を選んで実行(引数なし時の既定動作) wizard で対話入力
orchestrate Workflow ID を指定して DAG を実行 --workflow/-w, --model, --review-model, --qa-model, --max-parallel, --auto-qa, --auto-contents-review, --auto-coding-agent-review, --create-issues, --mcp-config, --branch, --steps, --app-id, --app-ids, --resource-group, --target-scope, --depth, --target-dirs, --exclude-patterns, --doc-purpose, --max-file-lines, --dry-run
qa-merge 回答済みの質問票をマージし、統合 QA ドキュメントを生成 qa/ 配下の回答ファイル指定
workiq-doctor Work IQ 連携の診断 --json, --skip-mcp-probe, --tenant-id, --timeout, --sdk-probe, --sdk-tool-probe, --sdk-event-trace, --sdk-tool-probe-tools-all
resume 保存済み実行セッションの管理と再開 list, show, rename, delete, continue

実行例

# インタラクティブ実行
python -m hve

# Web / Microservice 設計を CLI から実行
python -m hve orchestrate --workflow aad-web --dry-run

# original-docs から質問票を生成
python -m hve orchestrate --workflow aqod --target-scope original-docs/ --depth lightweight

# knowledge/ を再生成
python -m hve orchestrate --workflow akm --sources both

# 保存済みセッションを確認
python -m hve resume list

Note

Work IQ を使う場合は、セットアップと利用条件を hve-cli-orchestrator-guide.md#work-iq-mcp-連携オプション で確認してください。

users-guide への導線

まず読むガイド

ドキュメント 用途
getting-started.md 初期セットアップ全体
web-ui-guide.md 方式 1 / 方式 2(GitHub Web 実行)
hve-cli-orchestrator-guide.md 方式 3(ローカル CLI 実行)
workflow-reference.md Workflow / ラベル / Custom Agent の一覧
troubleshooting.md トラブル対応

フェーズ別ガイド

フェーズ ドキュメント
ARD(要求定義の自動化) 01-business-requirement.md(ARD セクション)
要求定義 01-business-requirement.md
アプリケーションアーキテクチャ設計 02-app-architecture-design.md
Web / Microservice 設計 03-app-design-microservice-azure.md
Batch 設計 04-app-design-batch.md
Web / Microservice 実装 05-app-dev-microservice-azure.md
Batch 実装 06-app-dev-batch-azure.md
AI Agent(簡易) 07-ai-agent-simple.md
AI Agent(本格) 08-ai-agent.md
Knowledge Management km-guide.md
Original Docs Review original-docs-review.md
Source Code からの Documentation sourcecode-documentation.md
プロンプト例 prompt-examples.md

リポジトリ構造

README では、実在確認できた主要ディレクトリだけを掲載します。

パス 内容
.github/ISSUE_TEMPLATE/ Issue Template 定義
.github/workflows/ GitHub Actions ワークフロー
.github/agents/ Custom Agent 定義
hve/ ローカル実行用 CLI / オーケストレーター
users-guide/ ユーザー向けガイド
data/ 入力データ置き場
knowledge/ 業務要件ドキュメント(D01〜D21)
original-docs/ 原本ドキュメント
qa/ 質問票
template/ テンプレート類
sample/ サンプル成果物
work/ 実行ログ・作業成果物
infra/ インフラ関連資産
tools/ 補助ツール
docs/ 設計ドキュメント出力先
src/ 実装コード出力先

ライセンス

MIT License

About

Business Engineering x Software Engineering include Agentic DevOps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages