Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[devcontainers]: Implement readiness probe + pre-flight check before agent execution

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@jpoley đang làm issue này rồi.

Từ ngày 18/4/2026.

  • #10 của @jpoley — đang mở

Đá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

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ả

devcontainers medium-priority reliability

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:

  1. Tool check: all declared tools in devcontainer spec are present and executable
  2. Sandbox check: nanofuse isolation is active (not falling back to bare execution)
  3. Credential check: all required credentials are present as SVIDs (reject plaintext tokens)
  4. Hawkeye check: hawkeye policy is loaded and gate is open
  5. 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 preflight command 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của daax-dev/daax-devtools

Tất cả issue của daax-dev/daax-devtools

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.