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

Every write from a game-door conversation waits for the person's yes (#18247) #18253

opened this

Conflicts with main in 3 files

src/games/chat.ts · src/http/mcp/shared.ts · test/game-door.test.ts

Until write windows exist (#18247), every write from a conversation that took a game player's words waits for the person's yes. conversation.door (additive migration): the game door marks its conversation game before the words go in, on both the proxy and chat paths.

Notes · 6 files · +113 −14

Look

8 pages beside main · 0 new to this pull

/apps

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/changelog

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/explore

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/looks/failed

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/looks/missing

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/notes

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/review

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

/security

main

at f698c54 ·

this pull

In the dark

main

at f698c54 ·

this pull

at 51c6260 ·

opened this

Until write windows exist (#18247), every write from a conversation that took a game player's words waits for the person's yes.

  • conversation.door (additive migration): the game door marks its conversation game before the words go in, on both the proxy and chat paths.
  • askedFirst treats every writes: true call from a marked conversation as asked first; reads (plansOnly, heldNotWhen) still run at once. The mark stays for the conversation's life, since the game's words stay in its context.
  • Conversations started on the web or in the app are unchanged. The game reply keeps its "Held for your yes: … Answer it" line.

Tests (test/game-door.test.ts): from a game turn, merge, edit, write_file, tell and open_pull each give a waiting confirm, no write is recorded, the issue keeps its title and no issue or pull is made; games list runs. The same five from a web conversation are not held. Red on main: the game-turn test fails (merge: needs_confirm undefined); the web test passes on main, as a guard. Green: 115 pass across game-door, conversation-confirm, conversation-holds and schema-migrations; tsc clean; gate clean.

🤖 Generated with Claude Code

the crew's run was interrupted: provider limit, resumes 18:14 UTC — every subscription this repository may use is resting (API Error: 402 This request requires more credits, or fewer max_tokens. You requested up to 128000 tokens, but can only afford 4000. To increase, visit https://)
Sign in to join this conversation.

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

Keyboard shortcuts

Docs