[devcontainers]: Define devcontainer spec extension for hawkeye policy injection
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, typescript
Research direction
Start by locating the devcontainer.json handling and the devcontainer startup sequence, then trace the daax dev validate entry point. Define the schema and policy registration behavior against the listed Definition of Done, and add the requested container validation test plus an annotated devcontainer.json example.
Written by the indexing model from the issue text.
Description
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
hawkeyeblock and registers policy with hawkeye before first agent command - If
hawkeyeblock is absent, container starts with default policy (not no policy) - Validation:
daax dev validatecatches invalidhawkeyepolicy 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
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from daax-dev/daax-devtools
-
[testcontainers]: Implement container pooling with state reset for faster agent test iterationsPossibly taken @jpoley claimed this 172 days ago. Openmedium-priority performance testcontainers
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
[testcontainers]: Emit hawkeye lifecycle events from testcontainer startup/teardownPossibly taken @jpoley claimed this 172 days ago. Openhawkeye high-priority observability testcontainers
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
[devcontainers]: Implement readiness probe + pre-flight check before agent executionPossibly taken @jpoley claimed this 172 days ago. Opendevcontainers medium-priority reliability
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
devcontainers high-priority
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in daax-dev/daax-devtools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area:ui enhancement issue-form:feature platform:cross-platform review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#1092 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
developmentseed/deck.gl-raster#693 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Marker-Inc-Korea/AutoRAG#1801 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day