feat: raise agent instruction size limit

This commit is contained in:
2026-08-26 10:11:31 +09:00
parent 76ded1947d
commit 74d8ec48d2
5 changed files with 6 additions and 6 deletions

View File

@@ -357,11 +357,11 @@ stack:
test("fails instead of truncating output above the hard size limit", async (t) => {
const { harnessRoot, appRoot } = await createFixture(t);
await writeText(path.join(appRoot, ".agent", "project.md"), `## Project Rule\n\n${"x".repeat(31_000)}\n`);
await writeText(path.join(appRoot, ".agent", "project.md"), `## Project Rule\n\n${"x".repeat(33_000)}\n`);
await assert.rejects(
() => planProject(harnessRoot, "sample-front"),
/exceeds the 30720-byte limit/,
/exceeds the 32000-byte limit/,
);
});