Skip to content

Commit 7c150b8

Browse files
Antigravity Agentclaude
andcommitted
fix(cloud): add GH_TOKEN to spawn vars + update evolution map
Bug #22: 25 service/day limit fixed with service pool Bug #23: Agents Anywhere had stale GH_TOKEN → gh auth fails silently Fix: workflow now sets GH_TOKEN alongside GITHUB_TOKEN Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 198e7da commit 7c150b8

2 files changed

Lines changed: 44 additions & 3 deletions

File tree

.github/workflows/agent-spawn.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
\"variables\": {
7272
\"ISSUE_NUMBER\": \"${ISSUE_NUMBER}\",
7373
\"GITHUB_TOKEN\": \"${AGENT_GH_TOKEN}\",
74+
\"GH_TOKEN\": \"${AGENT_GH_TOKEN}\",
7475
\"ANTHROPIC_API_KEY\": \"${ANTHROPIC_API_KEY}\",
7576
\"ANTHROPIC_BASE_URL\": \"${ANTHROPIC_BASE_URL}\",
7677
\"API_TIMEOUT_MS\": \"3000000\",

.trinity/night-evolution-map.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,49 @@
136136
- glm-5 model fix + 4 new CLI commands
137137
- sha256 new, pushed to GHCR
138138

139+
### Agent Spawn #147 (ubuntu, glm-5)
140+
- Agent read issue, coded, self-reviewed, pushed, **created PR #149**
141+
- Self-review passed: format OK, diff 17 lines, no generated files
142+
- **BUT**: entrypoint reported FAILED (false alarm — Bug #20)
143+
- Code review: FAIL — missing curl timeout, set -e, .error check
144+
- PR #149 closed — fixes needed
145+
146+
### Agent Spawn #148 (Agents Anywhere, glm-5)
147+
- Deployed OK but no comments posted — agent may have failed silently
148+
- Needs investigation
149+
150+
### Bugs Fixed (Night 2)
151+
18. **CRITICAL**: z.ai proxy returns glm-4.7 not Claude → `--model glm-5` fix
152+
19. `railway deploy` overwrites Docker image source → use `serviceInstanceUpdate`
153+
20. False FAILED: COMMIT_COUNT unset when Claude Code creates PR directly
154+
21. Stale bare repo: `git update-ref` after fetch to sync local main
155+
156+
### Docker Image Rebuilt (5th time)
157+
- Fixes: false-FAILED, stale bare repo, glm-5 model
158+
159+
### Night 2 Stats
160+
- Agent spawns: 3 (145 OK, 147 partial, 148 pending)
161+
- PRs created by agents: 2 (#146, #149)
162+
- PRs merged: 0 (both closed for quality)
163+
- Bugs fixed: 4 (total: 21)
164+
- Docker rebuilds: 5
165+
- Agent solve rate: partial — agents code but miss edge cases
166+
167+
### Night 2 Continued — Service Pool Fix + Simple Issues
168+
169+
22. **CRITICAL**: 25 service/day creation limit → workflow fails for ALL new issues
170+
- Root cause: workflow creates `agent-{N}` service per issue, hits Railway limit
171+
- Fix: round-robin pool reusing `ubuntu` and `Agents Anywhere` by service ID
172+
- Commit: `53df6a500``fix(cloud): reuse service pool`
173+
174+
### Agent Spawns (Night 2 continued)
175+
| Run | Service | Issue | Task |
176+
|-----|---------|-------|------|
177+
| 10 | ubuntu | #150 | catch unreachable in claude_stream.zig |
178+
| 11 | Agents Anywhere | #151 | catch unreachable in eternal_monitor.zig |
179+
139180
### Remaining Work
140-
- [ ] Create new agent-friendly issues and spawn more agents
141-
- [ ] Push local changes (4 new CLI commands + glm-5 fix)
181+
- [ ] Monitor agents #150, #151
182+
- [ ] Fix Agents Anywhere silent failure (if #151 fails)
142183
- [ ] Dashboard UI (Phase 5)
143184
- [ ] Agent self-metrics tracking
144-
- [ ] Investigate why `railway deploy` via MCP overrides Docker image source

0 commit comments

Comments
 (0)