-
Notifications
You must be signed in to change notification settings - Fork 6
refactor(gastown): Town-centric refactor — Phase A: Consolidate control plane (#419) #421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+6,182
−4,715
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b31364a
refactor(gastown): consolidate control plane into TownDO, create Agen…
jrf0110 b391dfd
refactor(gastown): reroute all handlers to TownDO, delete Rig DO + Ma…
jrf0110 09fc4ac
refactor(gastown): replace subprocess agent management with SDK (#419)
jrf0110 c5fe185
refactor(gastown): WebSocket streaming + proactive startup + config-o…
jrf0110 fb2e430
test(gastown): update integration tests for TownDO (#419)
jrf0110 491fefb
fix(gastown): address PR review comments — patrol, staleThreshold, Pa…
jrf0110 5ad3f60
fix(gastown): symlink opencode->kilo in container, fix getMayorStatus…
jrf0110 86bad4a
fix(gastown): sendMayorMessage returns { agentId, sessionStatus } for…
jrf0110 738d863
fix(gastown): install both glibc and musl CLI binary variants in cont…
jrf0110 419d31f
fix(gastown): add kilocode_token to TownConfig, fall back from rig co…
jrf0110 67b91b7
fix(gastown): read kilocode_token from X-Town-Config in container, st…
jrf0110 b1fa808
fix(gastown): don't gate entire alarm on rig count, only proactive co…
jrf0110 4b3b9c0
debug(gastown): add diagnostic logging for KILOCODE_TOKEN flow (#419)
jrf0110 eceba00
debug(gastown): add logging to configureRig for token propagation tra…
jrf0110 2d97137
test(gastown): add E2E test harness and 5 passing tests (#419)
jrf0110 8d5abc9
test(gastown): 20 E2E tests passing + fix slingBead stale data, conta…
jrf0110 d5cc78c
fix(gastown): persist townId in KV, restore HTTP polling for events, …
jrf0110 bb67f50
fix(gastown): resolve token, proactive container start, WebSocket pol…
jrf0110 bf5fb87
refactor(gastown): WebSocket passthrough — no relay, no polling (#419)
jrf0110 a76eb88
debug(gastown): add logging to trace token flow through tRPC→gastown-…
jrf0110 2933fcb
fix(gastown): fix model ID parsing, event display, AgentDO persistenc…
jrf0110 a84f654
fix(gastown): use correct model IDs for kilo gateway (OpenRouter form…
jrf0110 456d86d
fix(gastown): persist KILOCODE_TOKEN on TownContainerDO for reliable …
jrf0110 ff4d4be
debug(gastown): add detailed logging to startAgentInContainer and sen…
jrf0110 5b88751
debug(gastown): log containerStatus on every sendMayorMessage call (#…
jrf0110 0363a47
fix(gastown): store kilocode_token on town creation, not just rig cre…
jrf0110 970246f
fix(gastown): register model in kilo provider config so follow-up mes…
jrf0110 55b3d55
fix(gastown): pass model on follow-up messages to prevent model-not-f…
jrf0110 7c99c51
fix(gastown): set GASTOWN_AGENT_ROLE in agent env so plugin detects m…
jrf0110 84fa2db
fix(gastown): store owner_user_id in town config so mayor JWT has val…
jrf0110 59ca00e
refactor(gastown): move all rig routes under /api/towns/:townId/rigs/…
jrf0110 b1cb1a9
fix(gastown): fix Zod schema mismatches for nullable fields and missi…
jrf0110 d1b0079
fix(gastown): use actual rigId in agent-events persistence path (#419)
jrf0110 db2e9a0
fix(gastown): parallel agent dispatch, rig_id on agents, completion r…
jrf0110 1d29dfd
debug(gastown): add logging to schedulePendingWork for agent dispatch…
jrf0110 2880905
fix(gastown): scope agents and beads to their rig via rig_id column (…
jrf0110 e882413
fix(gastown): address all PR review comments — 9 code fixes + 4 desig…
jrf0110 3187c7d
fix(gastown): update E2E tests for town-scoped routes, pass rig_id in…
jrf0110 5ffc5e0
fix(gastown): address 10 PR review comments — round 3 (#419)
jrf0110 c85d79b
fix(gastown): address 19 PR review comments — round 4 (#419)
jrf0110 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.