Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Template: once no other account has quota, the PM's account takes work as any other (#2694)

0xken153442ea9a1731
diff --git a/backend/src/superTabs/instructions.test.ts b/backend/src/superTabs/instructions.test.ts
index 56ccd86db..f21180cf1 100644
--- a/backend/src/superTabs/instructions.test.ts
+++ b/backend/src/superTabs/instructions.test.ts
@@ -115,6 +115,11 @@ describe('the built-in template', () => {
expect(routing).toContain('Urgent work (production down, security) ignores quota.')
for (const gone of ['share per day', '5-hour', 'Engineers move to the next model', 'Max 20x']) expect(routing).not.toContain(gone)
})
+ it('lets the PM\'s own account take work as any other once no other account has weekly quota left', () => {
+ // Ken, 2026-11-03: with every other account out, work should not wait on the PM's weekly line.
+ const routing = INSTRUCTIONS_TEMPLATE.slice(INSTRUCTIONS_TEMPLATE.indexOf('## Routing')).replace(/\n +/g, ' ')
+ expect(routing).toContain('- When no other account has weekly quota left, the PM\'s account takes work as any other account does.')
+ })
})
describe('role names', () => {
diff --git a/backend/src/superTabs/instructionsTemplate.ts b/backend/src/superTabs/instructionsTemplate.ts
index cdbd4351b..736f42cc8 100644
--- a/backend/src/superTabs/instructionsTemplate.ts
+++ b/backend/src/superTabs/instructionsTemplate.ts
@@ -98,6 +98,7 @@ export const TEMPLATE_ROUTING = `## Routing
4. An idle agent is reused only between candidates equal so far, except the same Reviewer for its next round and
work that follows straight on from what the agent just did.
5. Between equals, the machine with fewer agents working. Then price.
+- When no other account has weekly quota left, the PM's account takes work as any other account does.
- The route's lines show each account's weekly quota left and reset time, but its order does not rank by them: the PM
applies this order itself. Picking against it needs a reason in the route's override: urgency, context, or a machine
the work needs. "Idle" is not a reason.