Skip to content

fix(tasks): run the runtime's own rzm in checks and agent work - #79

Merged
dcolthorp merged 2 commits into
mainfrom
fix/tasks-use-runtime-rzm
Nov 3, 2026
Merged

dcolthorp merged 2 commits into
mainfrom
fix/tasks-use-runtime-rzm

Conversation

@dcolthorp

@dcolthorp dcolthorp commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

The runtime starts with RZM_SKIP_REPO_DELEGATE=1 so it doesn't hand off to another binary a second time. Task checks and agents inherited that variable, so a bare rzm in them skipped repository delegation and ran whatever rzm came first on PATH. In this repo, that meant the compounding check got a global 0.50.3 binary and failed with unknown flag: --check-credentials.

  • Checks and background agents now get the runtime's binary directory first on PATH.
  • A check whose command is rzm runs the runtime's binary directly.
  • Added a test that fails without the fix and covers both [sh, -c, rzm] and [rzm].
  • Updated the scheduled-tasks spec and guide.

Verification: go test ./pkg/app/tasks/ passes. make check passes except for two failures outside this change: lint tripped on an untracked .delta/worktrees folder, and TestCompoundingScripts hit a timing failure under load that passed on two reruns. Greptile gives it 5/5 with no comments.

Reviewed with sol-loop: 1 round with gpt-6.1-sol on high. Sol verdict: approved

🤖 Generated with Claude Code

dcolthorp and others added 2 commits November 3, 2026 10:57
The runtime runs with RZM_SKIP_REPO_DELEGATE so it does not re-delegate,
and task checks and agents inherited it. A bare `rzm` there skipped repo
delegation and ran whichever rzm was first on PATH, so the compounding
check hit an old global binary without --check-credentials. Checks and
agents now get the runtime's binary directory first on PATH.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dcolthorp
dcolthorp merged commit b5201f9 into main Nov 3, 2026
22 checks passed
@dcolthorp
dcolthorp deleted the fix/tasks-use-runtime-rzm branch November 3, 2026 16:39
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