Skip to content

Commit e93d80a

Browse files
committed
chore(gates): tighten agent context budgets and register validation entry
1 parent 3449a07 commit e93d80a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.fallowrc.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"entry": [
44
"tsdown.config.ts",
55
"scripts/check-provider-plugin.mjs",
6+
"scripts/check-affected/command.ts",
67
"packages/provider-testmu/test/package-smoke.mjs",
78
"packages/provider-testmu/tsdown.config.ts",
89
"packages/provider-testmu/src/plugin.ts",

‎scripts/__tests__/agent-guidance-contract.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { test } from 'node:test';
66
const ROOT = path.resolve(import.meta.dirname, '../..');
77

88
const BYTE_BUDGETS = {
9-
'AGENTS.md': 10_000,
10-
'CONTEXT.md': 12_000,
9+
'AGENTS.md': 4_000,
10+
'CONTEXT.md': 11_000,
1111
} as const;
12-
const FOCUSED_DOC_BUDGET = 10_000;
12+
const FOCUSED_DOC_BUDGET = 5_000;
1313
const AGENT_DOCS_TOTAL_BUDGET = 40_000;
1414

1515
type PackageManifest = {

0 commit comments

Comments
 (0)