refactor: replace overloaded surface terminology
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Consumer-surface tests over a fake provider and the real policy collaborator: schemas,
|
||||
* Consumer API tests over a fake provider and the real policy collaborator: schemas,
|
||||
* validation, formatting, typed errors, intent dispatch, and observation-driven authorization.
|
||||
*/
|
||||
|
||||
@@ -759,7 +759,7 @@ describe('read caps are plugin config', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('sandbox escalation surface (write/edit)', () => {
|
||||
describe('sandbox escalation API (write/edit)', () => {
|
||||
/** A confining fake `ctx.fs`: reports a default mode, records each per-call policy, and can arm a sandbox denial. */
|
||||
class SandboxingFakeFs extends FakeFs {
|
||||
stamped: (SandboxExecutionPolicy | undefined)[] = []
|
||||
@@ -800,7 +800,7 @@ describe('sandbox escalation surface (write/edit)', () => {
|
||||
return { ctx, fs: ctx.fs as SandboxingFakeFs }
|
||||
}
|
||||
|
||||
/** A fake agent whose session records appends (the approval audit surface), mid-turn, carrying the given events for the fold. */
|
||||
/** A fake agent whose session records appends (the approval audit trail), mid-turn, carrying the given events for the fold. */
|
||||
function escalationAgent(events: Array<{ type: string; data?: Record<string, unknown> }> = []): object {
|
||||
return {
|
||||
id: 'agent-fs-esc',
|
||||
|
||||
Reference in New Issue
Block a user