feat(anthropic): Claude 5.x safety defaults (prefix error, temporary fallback block, Mythos 5 on Converse)
Maintainer thường phản hồi trong vòng 1 ngày
@aheritier đang làm issue này rồi.
Từ ngày 19/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Goal
Refuse Claude 5.x configurations that docker-agent cannot serve correctly yet, instead of sending them:
- Non-empty
fallbacksis rejected when any model in the chain is a 5.x model, until #4584 lands. - Mythos 5 on Bedrock Converse is refused before any inference call.
Scope change (2026-10-20): making
thinking_prefix_mismatch: errorthe 5.x default moved to #4653. The runtime routinely edits the conversation prefix (num_history_itemstrimming, hooks, compaction), soerrorwould make those sessions fail until #4653 can replay signed history exactly or refuse cleanly. Today'sdrop_blockdefault stays, and dropped blocks are already logged.
Why
fallbacks.goforwards any list with the June beta header and no checks (fallbacks.go). Server fallback changes model mid-response and sticks to the fallback for about an hour, which docker-agent doesn't handle yet (#4584).- Mythos 5 is only available on Bedrock Mantle, not runtime or Converse (model card). Today the request fails at AWS with an unclear error.
Scope
- Fallback block: reject when the primary or any explicit target is one of the nine 5.x models, including a legacy primary with a 5.x target. Absent or empty
fallbacksworks as usual. Fallback chains with no 5.x model are unchanged. The error message points to #4584. - Refuse Mythos 5 on Converse at client construction when the model ID makes it clear.
Acceptance criteria
- Fallback tests: 5.x primary, legacy primary → 5.x target, absent/empty list, a chain with no 5.x model (unchanged, control test).
- Mythos 5 on Converse fails before any network call; Mythos 5.1 on Converse is allowed.
- Docs and
latestschema descriptions updated. -
task build,task test,task lintpass.
Parent: #4583
- Ngôn ngữ chính
- Go
- Star
- 4.6k
- Fork
- 522
- Merge trung bình
- 8 giờ 43 phút
- Pull request đã merge (30 ngày)
- 239
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 docker/docker-agent
-
Error when trying to run sandbox example?Có thể đã có người làm @dgageot đã nhận hôm nay. Đang mởarea/cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
docker/docker-agent#4672 · 1 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pkg/hooks tests fail with a misleading assertion when jq is not installedCó thể đã có người làm @dwin-gharibi đã nhận 58 ngày trước. Đang mởarea/testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
docker/docker-agent#4052 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`remove_directory` and `create_directory` hide work they already did when a later path failsCó thể đã có người làm @dwin-gharibi đã nhận 76 ngày trước. Đang mởarea/tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
docker/docker-agent#3933 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`edit_file` silently edits the first match when `oldText` occurs more than onceCó thể đã có người làm @dwin-gharibi đã nhận 76 ngày trước. Đang mởarea/tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
docker/docker-agent#3929 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Flaky test] TestA2AServer_MultipleRequestsCó thể đã có người làm @aheritier đã nhận hôm nay. Đang mởarea/a2a area/testing flaky-test
docker/docker-agent#4687 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của docker/docker-agent
Issue tương tự
-
OCIRepository: pick the Helm chart layer automatically when the first layer is a provenance fileĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fluxcd/source-controller#2198 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
webhook: mutating admission silently allows objects when createPatch fails (error discarded)Có thể đã có người làm @lemonzoey đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
volcano-sh/volcano#6138 ·
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
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 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] steve: Updating a resource through /v1 ignores dryRun, fieldManager and fieldValidationĐang mởarea/frameworks area/steve kind/bug team/frameworks
Độ 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