fix(codex): trust launch home directory

This commit is contained in:
2026-06-01 17:16:00 -04:00
committed by didericis
parent 8e6583fcb7
commit a5d83bdcdc
4 changed files with 18 additions and 6 deletions
@@ -90,6 +90,7 @@ class TestProvisionProviderAuth(unittest.TestCase):
a for a in argvs
if a[:6] == ["docker", "exec", "-u", "0", "bot-bottle-demo-abc12", "sh"]
)
self.assertIn('[projects."/home/node"]', trust_config[-1])
self.assertIn('[projects."/home/node/workspace"]', trust_config[-1])
self.assertIn('trust_level = "trusted"', trust_config[-1])
self.assertIn(
@@ -228,6 +228,7 @@ class TestProvisionProviderAuth(unittest.TestCase):
a for a in argv_seen
if a[:2] == ["sh", "-c"] and "config.toml" in a[2]
)
self.assertIn('[projects."/home/node"]', trust_config[2])
self.assertIn('[projects."/home/node/workspace"]', trust_config[2])
self.assertIn('trust_level = "trusted"', trust_config[2])
self.assertIn(