Skip to content

Fix agent startup continuation and GitHub MCP token fallback#530

Merged
ExtraToast merged 4 commits into
mainfrom
fix-agent-startup-continuation
Jun 4, 2026
Merged

Fix agent startup continuation and GitHub MCP token fallback#530
ExtraToast merged 4 commits into
mainfrom
fix-agent-startup-continuation

Conversation

@jorisjonkers-dev-agents

Copy link
Copy Markdown
Contributor

Summary

  • stop new interactive agent sessions from implicitly resuming prior native Claude/Codex sessions
  • bypass Codex hook-trust prompts for managed interactive and headless runs
  • let GitHub MCP token minting infer repoUrl from the workspace git remote when REPO_URL is not forwarded

KB alignment

  • follows decision 01KT90SQ3MGRSYQ52W9YC4MJS6: interactive starts must be fresh; explicit continuation remains separate

Tests

  • ./gradlew :services:agent-gateway:test --tests '*AgentSessionManagerTest' --tests '*HeadlessJobManagerTest' --tests '*AgentControllerTest'\n- ./gradlew :services:assistant-api:test --tests '*StartAgentSessionCommandHandlerTest' --tests '*StartHeadlessJobCommandHandlerTest'\n- ./gradlew :platform:tooling:test --tests '*PlatformAgentMcpFluxTest'\n- bash -n services/agent-runner/agent-github-token.sh services/agent-runner/gh-mcp-wrapper.sh services/agent-runner/entrypoint.sh\n- git diff --check main..HEAD

@ExtraToast ExtraToast merged commit 9f17beb into main Jun 4, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant