Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[devcontainers]: Define devcontainer spec extension for hawkeye policy injection

オープン
#5 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@jpoley がすでに取り組んでいます。

2026年4月18日 から。

  • #10 @jpoley による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, typescript
領域
devops, tooling

調査の方向性

まず devcontainer.json の処理と devcontainer の起動シーケンスを特定し、次に daax dev validate のエントリーポイントを追跡します。記載された Definition of Done に照らしてスキーマとポリシーの登録動作を定義し、要求されたコンテナ検証テストと注釈付きの devcontainer.json の例を追加します。

索引モデルが issue の本文から書いたものです。

説明

devcontainers hawkeye high-priority

Issue: [devcontainers]: Define devcontainer spec extension for hawkeye policy injection

Feature: devcontainers
Priority: high
Labels: devcontainers, hawkeye, high-priority

Description

Currently hawkeye policy and devcontainer definitions are separate. When a devcontainer is launched for agent work, hawkeye has no structured way to know which policies apply to that container context. We need a standard extension to the devcontainer spec that declares hawkeye policy bindings — so the container itself encodes what rules govern the agent running inside it.

Intel driver: Martin Fowler's harness engineering article (2026-04-02, martinfowler.com) — "outer harness serves two goals: increases the probability the agent gets it right AND provides a feedback loop that self-corrects." The harness starts at the container definition level.

What

Define a devcontainer.json extension schema:

{
  "hawkeye": {
    "policySet": "daax/standard-v1",
    "qualityGates": ["test-coverage-80", "no-secrets", "lint-pass"],
    "feedbackMode": "adaptive",
    "maxAutoCorrections": 3
  }
}

Why

Container-declared policy means: (1) policy travels with the code, not just the repo config; (2) any agent spawned in that container automatically inherits the right hawkeye ruleset; (3) policy can be version-controlled alongside the container definition.

Definition of Done

  • Schema defined and documented in daax devcontainers spec
  • devcontainer startup sequence reads hawkeye block and registers policy with hawkeye before first agent command
  • If hawkeye block is absent, container starts with default policy (not no policy)
  • Validation: daax dev validate catches invalid hawkeye policy refs at startup, not at runtime
  • Test: container with "qualityGates": ["test-coverage-80"] causes hawkeye to reject code submissions below 80% coverage
  • Documentation: annotated devcontainer.json example with hawkeye block
主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

daax-dev/daax-devtools のほかの issue

daax-dev/daax-devtools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。