mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-10 10:40:32 +01:00
docs(captain): crew threads ask their Captain for new threads (R68); capy read is a view
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
bf2cab34c5
commit
52283de6e6
5 files changed
+31
-3
No files matched your search
@@ -587,9 +587,11 @@ describe('capy skill: factory.md, the auto-loaded "how we work" page', () => {
|
||||
return [...new Set(problems)];
|
||||
}
|
||||
|
||||
test('it fits the 3,300-byte budget, and every citation, heading and skill it names resolves', () => {
|
||||
test('it fits the 3,450-byte budget, and every citation, heading and skill it names resolves', () => {
|
||||
const text = fs.readFileSync(FACTORY, 'utf8');
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(3300);
|
||||
// 3,300 since #3634; raised to 3,450 (the page's new size, rounded up to the next 25 bytes) for point 12's
|
||||
// R68 clause (Garry, 2026-11-03: crew threads ask their Captain for new threads). Raise it only by what a rule needs.
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(3450);
|
||||
expect(text).toMatch(/^# How we work/);
|
||||
expect(citationProblems(text)).toEqual([]);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user