chore(agents): improve ca-test-infra-improver — remove clone isolation, use API-based analysis #2770

Closed
freemo wants to merge 1 commits from improvement/agent-ca-test-infra-improver-worker-api-mode into master

1 Commits

Author SHA1 Message Date
freemo 3bd24629b9 chore(agents): improve ca-test-infra-improver — remove clone isolation, use API-based analysis
CI / benchmark-publish (pull_request) Has been skipped
CI / helm (pull_request) Successful in 33s
CI / build (pull_request) Successful in 39s
CI / lint (pull_request) Successful in 42s
CI / typecheck (pull_request) Successful in 50s
CI / quality (pull_request) Successful in 3m50s
CI / security (pull_request) Successful in 4m19s
CI / unit_tests (pull_request) Successful in 6m46s
CI / docker (pull_request) Successful in 1m35s
CI / coverage (pull_request) Successful in 10m32s
CI / e2e_tests (pull_request) Successful in 17m56s
CI / integration_tests (pull_request) Successful in 22m52s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-regression (pull_request) Successful in 57m29s
Approved proposal: #2367
Pattern: Permission conflict / initialization crash
Evidence: Worker Mode instructs git clone, cd, mkdir, rm -rf but bash
permissions only allow read-only commands. Every Worker Mode instance
crashes on startup within 10 seconds.
Fix: Remove Clone Isolation Protocol from Worker Mode. Replace with
Forgejo API-based file reading (forgejo_get_file_content). The agent
is analysis-only and never modifies code, so a local clone is unnecessary.

ISSUES CLOSED: #2367
2026-04-05 02:29:23 +00:00