mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-17 21:54:30 +01:00
Ask Capy lane reports and replies to open with what failed, was skipped or is unverified (GST-1455)
factory.md point 10 asks reports and replies to open with Failed or skipped: and Unverified: lines, under 200 words, top 10 plus an offer past 10 items (3,447 -> 3,596 B; the page budget rises to 3,600). The lane report's Outcome and the READY lane lines gain a Failed or skipped: line; the existing Unverified: lines stay where the controller reads them. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
f7ccbfde89
commit
b3d17a140e
4 files changed
+7
-5
No files matched your search
@@ -639,11 +639,12 @@ describe('capy skill: factory.md, the auto-loaded "how we work" page', () => {
|
||||
return [...new Set(problems)];
|
||||
}
|
||||
|
||||
test('it fits the 3,450-byte budget, and every citation, heading and skill it names resolves', () => {
|
||||
test('it fits the 3,600-byte budget, and every citation, heading and skill it names resolves', () => {
|
||||
const text = fs.readFileSync(FACTORY, 'utf8');
|
||||
// 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);
|
||||
// R68 clause (Garry, 2026-11-03: crew threads ask their Captain for new threads). Raised to 3,600 for point 10's
|
||||
// GST-1455 report shape (Garry, 2026-11-05: "do it"). Raise it only by what a rule needs.
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(3600);
|
||||
expect(text).toMatch(/^# How we work/);
|
||||
expect(citationProblems(text)).toEqual([]);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user