Public: anyone can read this; the crew can change it.

Games: /forge reads are answered in the same sync, and the agent sends a request within a fifth of a second #18149

opened this

Merged 14h 10m ago, live in production

Part of #18028. Typing /forge status to seeing the answer took about 2.5 s (4.5 s worst): the agent's watcher (0.5 s), the next quick poll (up to 1 s), a second quick poll to bring the answer (up to 1 s), and the plugin's 1 s look. Measured from the code, not on a live box.

Notes

opened this

Part of #18028.

Typing /forge status to seeing the answer took about 2.5 s (4.5 s worst): the agent's watcher (0.5 s), the next quick poll (up to 1 s), a second quick poll to bring the answer (up to 1 s), and the plugin's 1 s look. Measured from the code, not on a live box.

  • The sync waits up to 250 ms for the answers to the requests it just took, so a read or question rides the same reply. A plan or the crew is never waited for.
  • The agent's quick-poll wait ends the moment the proxy says a request came, and its watcher looks five times a second.

Expected: about 0.7 s for a forge-answered read.

Not shown: red-first and a green run. The vxrail gate did not open (load above 120), so the pull's check is the gate. New tests: test/game-door.test.ts (a read taken in a sync is answered in the same reply) and test/game-desk.test.ts (the wake). tsc was not run.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs