[CLAUDE] Docs: S124 adap-wave AI_INFRA + owner worker-tier-pin (14 agent opus+effort:max) + user-memory relocate R6 + H24 dogfood
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 5m26s
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 5m26s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
---
|
||||
name: feedback_stale_diagnostic_background_agent
|
||||
description: "IDE diagnostics during a background agent/workflow are stale mid-edit snapshots — trust only the final clean build, not mid-flight × errors"
|
||||
metadata:
|
||||
node_type: memory
|
||||
type: feedback
|
||||
originSessionId: d75d1122-8e32-4ab7-9eb6-bb47192e0e51
|
||||
---
|
||||
|
||||
Khi một agent/workflow chạy NỀN (background) ghi file, harness bắn `<new-diagnostics>` từ IDE TypeScript language-server theo TỪNG lần save dở-dang của agent — KHÔNG phản ánh trạng-thái-cuối nhất-quán nào. Với nhiều agent ghi SONG SONG (workflow fan-out), các snapshot này càng nhiễu (vd "X declared but never read" vì agent vừa thêm import TRƯỚC khi render JSX dùng nó; "Element not assignable" vì sửa giữa chừng).
|
||||
|
||||
**Why:** S69 bị 2× — re-skin 7-designer workflow + PE-FE agent đều bắn loạt `× unused/Element`, em suýt sửa theo (suýt cp đè file vốn đã hoàn chỉnh). Build `npm run build`/`tsc` chạy SAU khi agent xong → exit 0 cả 2 app, mọi × đều false-alarm. Cùng họ gotcha #53 (agent return truncated): disk + build = source-of-truth, KHÔNG tin return/diagnostic suông. Project gotcha #68.
|
||||
|
||||
**How to apply:** (1) Agent/workflow NỀN → **bỏ qua diagnostic giữa-chừng**, tín hiệu thật = 1 lần build SẠCH chạy SAU agent hoàn-tất (lý do em main build-tập-trung sau fan-out). (2) Phân biệt ai-edit: em main edit real-time ở turn mình → diagnostic TIN được; agent nền edit → verify build TRƯỚC khi sửa/cp-đè. (3) Đừng phản xạ "thấy × thì fix" — verify build trước, tránh redundant fix + suýt clobber file đúng. Link [[feedback_workflow_fanout_reliability]] [[feedback_agent_kill_recovery]].
|
||||
Reference in New Issue
Block a user