[FEATURE]: [V2] Deterministic acceptance checks for native /goal completion
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đá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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- json, playwright, typescript
- Lĩnh vực
- ai, testing-qa, tooling
Hướng nghiên cứu
Start by tracing the native /goal completion path, especially the built-in goal judge and experimental.idle interaction, then locate the goal.acceptance.commands configuration entry point. Done means configured checks run directly, successful checks permit completion, failures feed bounded diagnostics into the continuation loop, and cancellation, pause, and iteration limits remain intact.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Problem
Native /goal provides an effective autonomous corrective loop, but completion is determined by an LLM judging conversation evidence.
Engineering workflows frequently have executable acceptance criteria, such as builds, type checking, linting and Playwright tests. These checks should be executed and evaluated deterministically before a goal can complete.
Currently, experimental.idle cannot reliably enforce this because the built-in goal judge can mark the goal complete before project plugin hooks execute.
Proposal
Support optional declarative acceptance commands for native goals.
Illustrative configuration:
{
"goal": {
"acceptance": {
"commands": ["npm test"],
"timeout": 120000
}
}
}
When the goal judge proposes completion:
- Execute the configured acceptance commands directly, without an LLM tool call.
- Allow completion only if all commands succeed.
- On failure, inject bounded diagnostic output into the existing goal continuation loop.
- Respect existing iteration limits, cancellation and pause behaviour.
Acceptance checks should be explicitly enabled for applicable goals, avoiding unnecessary execution for read-only objectives.
Alternatively, expose a goal.beforeComplete plugin hook that can permit completion or request continuation with failure evidence.
Benefits
- Deterministic verification of engineering outcomes.
- Prevention of premature goal completion.
- Reduced reliance on prompt compliance.
- Reuse of the existing native goal lifecycle.
- No need for external orchestration harnesses.
Related issues
- #54487
- #60461
- #61286
Unlike a generic session stopping hook, this proposal specifically governs native goal completion.
- Ngôn ngữ chính
- TypeScript
- Star
- 230k
- Fork
- 31.3k
- Merge trung bình
- 5 giờ 32 phút
- Pull request đã merge (30 ngày)
- 453
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 anomalyco/opencode
-
area/desktop platform/macos status/repro-plausible type/bug version/v2
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
anomalyco/opencode#67064 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 82/100
anomalyco/opencode#67009 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/web type/feature version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
anomalyco/opencode#67001 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
skills: a Claude-compatible SKILL.md that fails to parse is dropped without any logCó thể đã có người làm @liwenjie200543 đã nhận 2 ngày trước. Đang mởarea/plugins platform/linux reproduced type/bug version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#66970 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaksCó thể đã có người làm @argszero đã nhận 2 ngày trước. Đang mởarea/tui platform/wsl status/repro-simulated type/bug version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
anomalyco/opencode#66773 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của anomalyco/opencode
Issue tương tự
-
enhancement
Độ 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
-
ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/clickhouse-js#1248 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechseltĐang mởtechnik
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
AhmedNAgy25/analysor#25 ·
Maintainer thường phản hồi trong vòng 1 ngày