Skip to content

Commit 25655a1

Browse files
committed
test(agency): sort the internal hard-limits option in the panel decision table
Signed-off-by: jddunn <[email protected]>
1 parent 7df2665 commit 25655a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/api/runtime/pool/__tests__/guard.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ const PANEL_DECISION: Record<keyof GenerateTextOptions, 'allow' | 'deny'> = {
2727
__onUsageReport: 'deny',
2828
// Added later, and allowed: accountIdOf names the account a usage event reports; it changes nothing a seat sends.
2929
accountIdOf: 'allow',
30+
// Added later, and denied: agent() sets it beside its own system prompt; a panel call would change what every seat's prompt ends with.
31+
_hardLimitsText: 'deny',
3032
};
3133

3234
describe('the pooled guard (deny list, presence not value)', () => {

0 commit comments

Comments
 (0)