You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci-doctor: compiled workflow has no actions toolset, so it can't read failed job logs #420
workflows/ci-doctor.md asks the agent to "inspect the workflow run and list its jobs" and "retrieve logs for failed jobs", but the workflow doesn't enable the GitHub actions toolset, so it has no tool that can do either.
Repro
Compile the current workflows/ci-doctor.md (578e0e0) with gh-aw v1.2.2.
The lock file sets GITHUB_TOOLSETS: "context,repos,issues,pull_requests", which is the default set with no actions.
permissions: actions: read is set, but that grants the job token permission; it doesn't add the MCP tools.
gh inside the sandbox isn't authenticated, and the workflow has no pre-step that downloads the logs.
What we saw
In an evaluation replaying 15 real CI failures on a private repo (same model and config for every run, apart from this change):
Stock ci-doctor
With toolsets: [default, actions]
Runs that ended with no diagnosis
4 of 15
0 of 15
Correct root cause
8 of 15
11 of 15
Without the toolset, the agent reported missing tools in missing_tools ("no tool can list GitHub Actions workflow jobs or fetch job logs") and either stopped or worked from whatever it could find in the checkout. With the toolset, every run called get_job_logs.
Suggested fix
tools:
github:
toolsets: [default, actions]
default keeps the current toolsets. I'm happy to open a PR if that's useful.
Activity