Teach builder sandbox rootfs capture
All checks were successful
build / build (push) Successful in 25s

This commit is contained in:
robert
2026-05-19 13:21:32 -03:00
parent 9f56a15303
commit b802e54549
7 changed files with 34 additions and 28 deletions

View File

@@ -38,8 +38,8 @@ class BuilderPromptTests(unittest.TestCase):
def test_prompt_requires_workspace_mounted_execution_for_outputs(self) -> None:
self.assertIn("ctx.workspace_shell", SYSTEM_PROMPT)
self.assertIn("ctx.workspace_python", SYSTEM_PROMPT)
self.assertIn("/workspace/outputs/...", SYSTEM_PROMPT)
self.assertIn("not workspace-mounted", SYSTEM_PROMPT)
self.assertIn("outputs/rootfs-captures/...", SYSTEM_PROMPT)
self.assertIn("not workspace-mounted or rootfs-captured", SYSTEM_PROMPT)
def test_prompt_and_backend_load_packaged_builder_skills(self) -> None:
expected = {
@@ -66,7 +66,7 @@ class BuilderPromptTests(unittest.TestCase):
self.assertIn('config={"recursion_limit": 500}', files["deepagents-implementation-patterns/SKILL.md"])
self.assertIn("ctx.write_artifact", files["workspace-artifact-safety/SKILL.md"])
self.assertIn("ctx.workspace_shell", files["workspace-artifact-safety/SKILL.md"])
self.assertIn("/workspace/outputs/...", files["workspace-artifact-safety/SKILL.md"])
self.assertIn("outputs/rootfs-captures/...", files["workspace-artifact-safety/SKILL.md"])
self.assertIn("live_skills[].input_schema", files["agent-quality-review/SKILL.md"])
self.assertIn("ctx.workspace_python", files["agent-quality-review/SKILL.md"])