Skip to content

fix(agent): don't pass a land check's base to launched agents - #307

Merged
moq-bot[bot] merged 1 commit into
mainfrom
fix/land-base-env
Oct 31, 2026
Merged

moq-bot[bot] merged 1 commit into
mainfrom
fix/land-base-env

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Every quest batch now fails in the host gate. #304 gives land checks QUEST_LAND_BASE, and quest agent forwarded it to the agents it launches, so test/agent.test.ts's exact-environment assertions failed. This ejected #306, for example.

QUEST_LAND_BASE now joins quest agent's stripped variables beside QUEST_GATE_ADMITTED: it describes the caller's gate, not the agent's work. The stripping test covers it.

Checks

just check and just test pass, with QUEST_LAND_BASE set as the gate sets it (705 CLI and 426 Worker tests).

Review

  • Reviewer: Codex gpt-6.1-sol, medium, quest review --base origin/main, round 1
  • Head: f7a9c5c
  • Findings: none

🤖 Generated with Claude Code

(written by Claude Opus 5.5)

#304 gives land checks QUEST_LAND_BASE, and quest agent forwarded it, so every
quest batch failed its own agent tests. Like QUEST_GATE_ADMITTED, it describes
the caller's gate, not the agent's work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c1a35b0f-3e1d-42ab-8fd4-c1d35a1d3111
Commits

Reviewing files that changed from the base of the PR and between b1f0c40 and f7a9c5c.

Files selected for processing: 2
  • src/cli/agent.ts
  • test/agent.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@kixelated
kixelated enabled auto-merge (squash) October 31, 2026 03:38
@moq-bot
moq-bot Bot merged commit 71558d1 into main Oct 31, 2026
11 of 13 checks passed
@moq-bot
moq-bot Bot deleted the fix/land-base-env branch October 31, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant