[Bug]: Antigravity 1.5.0+ fails text generation with 'Antigravity wrote files during text generation'
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 66/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Bắt đầu tại apps/server/src/provider/acp/AntigravityAcpSupport.ts ở antigravityWritesRunWorkflowSkill, có giới hạn phiên bản trên loại trừ 1.5.0. Sau đó kiểm tra cách sessionMeta.disabledTools được thiết lập cho phiên tạo văn bản trong AntigravityTextGeneration.runJson, và hasOnlyRuntimeDirectories(cwd) chấp nhận những gì sau khi chạy. Hoàn thành khi việc tạo văn bản chạy thành công trên Antigravity 1.5.0 mà không gặp lỗi wrote-files, và phạm vi phiên bản hoặc cách xử lý disabledTools bao gồm bản phát hành đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Use or update the managed or external Antigravity ACP runtime to version 1.5.0 (or newer).
- In Settings → Models → Text Generation, select Antigravity (e.g. gemini-3.8-flash).
- Start a new thread, or trigger thread title regeneration, commit message generation, or PR content generation.
- The title never generates and stays on the default.
Expected behavior
Text generation succeeds and returns the generated title or commit message without tripping the workspace hygiene guard.
Actual behavior
TextGeneration fails with:
TextGenerationError: Text generation failed in generateThreadTitle: Antigravity wrote files during text generation.
Impact
Major degradation or frequent failure
Version or commit
0.1.10-nightly.20261113.4630 (code path unchanged on main)
Environment
Linux x86_64, Antigravity ACP 1.5.0
Logs or stack traces
{"type":"effect-span","name":"TextGeneration.generateThreadTitle","exit":{"_tag":"Failure","cause":"TextGenerationError: Text generation failed in generateThreadTitle: Antigravity wrote files during text generation.\n at AntigravityTextGeneration.runJson\n at AntigravityTextGeneration.generateThreadTitle\n at TextGeneration.generate\n at TextGeneration.generateThreadTitle"}}
Root cause and suggested fix
In apps/server/src/provider/acp/AntigravityAcpSupport.ts:
function antigravityWritesRunWorkflowSkill(version: string | null | undefined): boolean {
const parsed = parseAntigravityVersion(version);
return (
parsed !== undefined &&
compareVersions(parsed, [1, 4, 2]) >= 0 &&
compareVersions(parsed, [1, 4, 5]) <= 0
);
}
The upper bound compareVersions(parsed, [1, 4, 5]) <= 0 assumes later releases stop creating skills/system/run-workflow/SKILL.md. Antigravity 1.5.0 still writes that file at startup unless run_workflow is disabled, so 1.5.0 no longer receives disabledTools: ["run_workflow"] in sessionMeta.
AntigravityTextGeneration.runJson runs in a scoped temp dir (t3-antigravity-text-*). The post-run guard hasOnlyRuntimeDirectories(cwd) only accepts .agents, .agents/skills, .gemini, and .gemini/skills, so the new skills/ directory is treated as a model write and the request is rejected.
Either drop the upper bound:
function antigravityWritesRunWorkflowSkill(version: string | null | undefined): boolean {
const parsed = parseAntigravityVersion(version);
return parsed !== undefined && compareVersions(parsed, [1, 4, 2]) >= 0;
}
or have the text-generation helper session always pass disabledTools: ["run_workflow"] regardless of version.
Related: #29876 (same guard, different cause: empty runtime skill directories on 1.4.1, fixed by #27191).
Workaround
Pin Antigravity ACP back to 1.4.5, or set the text generation model to another provider.
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 59 phút
- Pull request đã merge (30 ngày)
- 418
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.
- 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 pingdotgg/t3code
-
via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: MCP App inline frames never go below 80px, so compact apps get blank space under themĐang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/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]: Settings inheritance popover shows raw slugs for branch naming, default permissions and response streamingCó thể đã có người làm @juliusmarminge đã nhận 1 ngày trước. Đang mởvouch:denounced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Message navigation minimap shows a visible vertical track line on custom themes with an opaque border colorCó thể đã có người làm @ixmxvii-hash đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
Resources: Update work of urumqiCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
railmapgen/rmp-gallery#4176 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
GraphQL custom headers duplicate differently cased default headersCó thể đã có người làm @yxr-2025 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
elie222/rakazo#4625 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement sharing & sync
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Adapter] Magic HourĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
HelpCode-ai/anythingmcp#1659 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày