mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 00:51:31 +01:00
Teach agents nine habits that several teams learned the hard way (GST-3336) (#4585)
Agents using gstack now get nine working habits that three or four teams each reached on their own: don't write a file back from a cut-off read, change the design when reviews keep finding the same kind of bug, narrow a safety guard only with a tested exemption, prove a change on the real path, move timers and automations with a handoff, land base-branch settings first, and check that a check can see your change. Why: each habit cost one of those teams a lost file, a leaked key, an outage or extra review rounds. Nothing to do as a reader. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: v1/adversarial-native#2 reader=adversarial-native
This commit is contained in:
1 parent
41729a023e
commit
ebc867422e
12 files changed
+65
-10
No files matched your search
@@ -692,7 +692,9 @@ describe('capy skill: factory.md, the auto-loaded "how we work" page', () => {
|
||||
// 4,875 for the token lines halved (500M check-in, 250M standing rotation, 50M subagent look; Capy's token counts read about
|
||||
// half since 2026-11-15), point 4's go-forward rule, point 6's relay clause and point 15's subagent rule (crew rules R70, R104,
|
||||
// R105 and R109, each the owner's standing rule).
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(4875);
|
||||
// 5,050 for point 7's two clauses that a green fake or dry run isn't done and that a check must see the change and count
|
||||
// what its name says (the second batch of crew rules, G4 and G10, each reached by three crews on their own).
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(5050);
|
||||
expect(text).toMatch(/^# How we work/);
|
||||
expect(citationProblems(text)).toEqual([]);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user