[devcontainers]: Implement readiness probe + pre-flight check before agent execution
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- cli, devops, infrastructure, security
Hướng nghiên cứu
Bắt đầu từ điểm vào CLI daax dev preflight và đường dẫn khởi động container hiện đang khởi chạy các agent. Theo dõi cách các khai báo devcontainer, nanofuse, thông tin xác thực SVID, hawkeye và các endpoint mạng được biểu diễn. Được xem là hoàn tất khi cả năm kiểm tra đều chạy trước khi thực thi, các lỗi xác định được cách khắc phục có thể thực hiện, quá trình khởi động chờ đến timeout có thể cấu hình và các bài kiểm thử bao quát một công cụ bị thiếu cùng một API key dạng văn bản thuần.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue: [devcontainers]: Implement readiness probe + pre-flight check before agent execution
Feature: devcontainers
Priority: medium
Labels: devcontainers, reliability, medium-priority
Description
Before an agent begins executing tasks inside a devcontainer, daax should run a pre-flight readiness check: verify all declared tools are available, sandbox constraints are active, required secrets are injected (via SVID, not plaintext), and hawkeye is connected. Agents currently start executing immediately on container start, which can lead to silent failures when tools are missing or the sandbox isn't ready.
Intel driver: LiteLLM credential vault exploit (thehackernews.com, 2026-04-07) — the attack succeeded because agents started executing before secure credential setup was verified. Pre-flight eliminates this window.
What
Implement daax dev preflight that runs before the first agent command:
- Tool check: all declared tools in devcontainer spec are present and executable
- Sandbox check: nanofuse isolation is active (not falling back to bare execution)
- Credential check: all required credentials are present as SVIDs (reject plaintext tokens)
- Hawkeye check: hawkeye policy is loaded and gate is open
- Network check: only declared network endpoints are reachable
Why
Fail-fast before the agent starts is infinitely better than failing mid-task with corrupted state. Readiness probes are table stakes in Kubernetes; they should be table stakes for agent containers too.
Definition of Done
-
daax dev preflightcommand runs all 5 checks and reports pass/fail per check - Container startup blocks agent execution until preflight passes (configurable timeout: default 30s)
- Each failed check emits a structured error with actionable fix message (not just "check failed")
- Test: container with missing declared tool fails preflight at tool-check stage with message naming the missing tool
- Test: container with plaintext API key in env fails credential check with message "use SVID instead"
- Preflight results logged to hawkeye audit trail
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của daax-dev/daax-devtools
-
[testcontainers]: Implement container pooling with state reset for faster agent test iterationsCó thể đã có người làm @jpoley đã nhận 186 ngày trước. Đang mởmedium-priority performance testcontainers
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
[testcontainers]: Emit hawkeye lifecycle events from testcontainer startup/teardownCó thể đã có người làm @jpoley đã nhận 186 ngày trước. Đang mởhawkeye high-priority observability testcontainers
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
[devcontainers]: Define devcontainer spec extension for hawkeye policy injectionCó thể đã có người làm @jpoley đã nhận 186 ngày trước. Đang mởdevcontainers hawkeye high-priority
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
-
devcontainers high-priority
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của daax-dev/daax-devtools
Issue tương tự
-
frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ranxianglei/billion-context#4172 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
awslabs/threat-composer#362 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Cloud Needs Triage Type/Bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
wso2/product-integrator#2847 ·
Maintainer thường phản hồi trong vòng 1 ngày