Просмотр исходного кода

Document host sandbox retry behavior

Hypatia May 2 месяцев назад
Родитель
Сommit
1222d07da9
2 измененных файлов с 5 добавлено и 1 удалено
  1. 4 0
      AGENTS.md
  2. 1 1
      scripts/doc-budgets.manifest.json

+ 4 - 0
AGENTS.md

@@ -58,6 +58,10 @@ pnpm run demo:cordis    # self-referential demo: the agent modifies its own runt
 pnpm run demo:acp       # ACP server agent (needs DEEPSEEK_API_KEY)
 ```
 
+### Host sandbox failures
+
+When required `gh`, `pnpm`, build, test, or generator commands fail because the agent sandbox blocks credentials, network, IPC, file watching, or nested `sandbox-exec`, retry unchanged with the narrowest host escalation before diagnosing authentication or project failure. Require sandbox evidence; never bypass genuine test failures or the product sandbox under test.
+
 ### Run the CI gates locally before marking a PR ready
 
 Run narrow checks during implementation and this CI-equivalent sequence before marking a PR ready. Fresh worktrees need `pnpm run build` before publint and NodeNext inspect `lib/`:

+ 1 - 1
scripts/doc-budgets.manifest.json

@@ -1,5 +1,5 @@
 {
-  "AGENTS.md": 1370,
+  "AGENTS.md": 1500,
   "docs/AGENTS.md": 1100,
   "docs/architecture.md": 1790,
   "docs/cordis-primer.md": 600,