refactor(sandbox-policy): remove capability family registries
This commit is contained in:
@@ -110,8 +110,9 @@ describe('parent-only override inheritance snapshot', () => {
|
||||
const policyContexts = [...runtimeContexts(parent), ...runtimeContexts(child)]
|
||||
expect(policyContexts).toHaveLength(2)
|
||||
for (const context of policyContexts) {
|
||||
expect(context).toContain('The write and edit tools cannot modify files in the standing mode.')
|
||||
expect(context).toContain('do not refuse a required modification from this standing mode alone')
|
||||
expect(context).toContain('Any available operation enforced by the DSH file sandbox cannot modify files in the standing mode.')
|
||||
expect(context).toContain('Do not refuse a required modification from this policy alone')
|
||||
expect(context).not.toContain('write and edit tools')
|
||||
expect(context).not.toContain('one-shot bash commands')
|
||||
expect(context).not.toContain('terminal sessions')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user