Skip to content

fix: remove agent: Onboarding from /onboarding command frontmatter#709

Merged
marcusquinn merged 1 commit intomainfrom
bugfix/onboarding-command-agent-frontmatter
Feb 9, 2026
Merged

fix: remove agent: Onboarding from /onboarding command frontmatter#709
marcusquinn merged 1 commit intomainfrom
bugfix/onboarding-command-agent-frontmatter

Conversation

@marcusquinn
Copy link
Owner

Summary

  • Removes agent: Onboarding from the /onboarding command YAML frontmatter in generate-opencode-commands.sh
  • On fresh installs, the Onboarding agent doesn't exist yet (it's created by generate-opencode-agents.sh which writes to opencode.json), causing "Agent not found" errors when OpenCode processes the /onboarding command
  • The command now runs on the current default agent (Build+), which is always available

Root Cause

The /onboarding command file written to ~/.config/opencode/command/onboarding.md contained:

---
description: Interactive onboarding wizard
agent: Onboarding
---

When OpenCode reads this frontmatter, it tries to switch to the "Onboarding" agent — which only exists after generate-opencode-agents.sh has run and written agent config into opencode.json. On first run, that file doesn't exist.

Related PRs

Testing

  • ShellCheck clean (no new violations)
  • VM self-test: bash tests/test-vm-setup.sh --branch bugfix/onboarding-command-agent-frontmatter

The /onboarding command had 'agent: Onboarding' in its YAML frontmatter,
causing OpenCode to try switching to the Onboarding agent on first run.
Since generate-opencode-agents.sh hasn't run yet on fresh installs, the
Onboarding agent doesn't exist, producing 'Agent not found' errors.

Remove the agent directive so /onboarding runs on the current default
agent (Build+), which is always available.
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 9, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 27 minutes and 17 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bugfix/onboarding-command-agent-frontmatter

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 45 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Mon Feb 9 02:00:30 UTC 2026: Code review monitoring started
Mon Feb 9 02:00:30 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 45

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 45
  • VULNERABILITIES: 0

Generated on: Mon Feb 9 02:00:33 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

@marcusquinn marcusquinn merged commit ba6c8fb into main Feb 9, 2026
11 checks passed
@marcusquinn marcusquinn deleted the bugfix/onboarding-command-agent-frontmatter branch February 9, 2026 02:02
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