fix: correct onboarding command path to root agent location#72
fix: correct onboarding command path to root agent location#72marcusquinn merged 1 commit intomainfrom
Conversation
The /onboarding command was pointing to aidevops/onboarding.md but onboarding.md is a main agent located in the root agents directory. This fixes the 'File not found' error when running /onboarding after setup.sh regenerates OpenCode commands.
WalkthroughA shell script's onboarding instruction path reference is updated from a nested directory structure ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1).agent/scripts/*.sh⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (11)📓 Common learnings📚 Learning: 2025-11-29T04:34:30.742ZApplied to files:
📚 Learning: 2025-11-29T04:34:27.158ZApplied to files:
📚 Learning: 2025-12-22T01:24:53.937ZApplied to files:
📚 Learning: 2025-11-29T04:34:42.033ZApplied to files:
📚 Learning: 2025-11-29T04:34:42.033ZApplied to files:
📚 Learning: 2025-12-22T01:24:53.937ZApplied to files:
📚 Learning: 2025-11-29T04:34:30.742ZApplied to files:
📚 Learning: 2025-12-22T01:24:53.937ZApplied to files:
📚 Learning: 2025-12-22T01:24:53.937ZApplied to files:
📚 Learning: 2025-12-22T01:25:03.138ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
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. Comment |
Summary of ChangesHello @marcusquinn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a critical file path error that prevented the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
🤖 Augment PR SummarySummary: Fixes the generated Changes:
🤖 Was this summary useful? React with 👍 or 👎 |
|
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Tue Jan 13 21:48:52 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
There was a problem hiding this comment.
Code Review
This pull request correctly fixes a file path for the /onboarding command, resolving a bug where the command failed to find the onboarding.md file. The change is simple, direct, and well-explained in the pull request description. I have added one suggestion to improve the long-term maintainability and flexibility of the tool by making the agent's home directory path configurable instead of hardcoded.
| --- | ||
|
|
||
| Read ~/.aidevops/agents/aidevops/onboarding.md and follow its instructions. | ||
| Read ~/.aidevops/agents/onboarding.md and follow its instructions. |
There was a problem hiding this comment.
While this change correctly fixes the path, the base path ~/.aidevops is hardcoded. This reduces flexibility for users who may need to store agent data in a different location (e.g., due to home directory restrictions or for organizational purposes).
To improve this, consider making the path configurable via an environment variable, such as AIDEVOPS_HOME, with the current path as a default. If the environment that executes this Read command supports shell-like expansion, you could implement this like so:
Read ${AIDEVOPS_HOME:-~/.aidevops}/agents/onboarding.md and follow its instructions.Note that you might need to escape the $ in the generate-opencode-commands.sh script (i.e., \$) to ensure the variable is evaluated when the command is run, not when it's generated.
If this change is out of scope for this PR, I recommend creating a follow-up issue to address this architectural improvement.



Summary
/onboardingcommand path fromaidevops/onboarding.mdtoonboarding.mdProblem
The
/onboardingcommand failed with:The command generator was pointing to the wrong path.
onboarding.mdis a main agent (located in root.agent/directory), not a subagent.Solution
Fix the path in
generate-opencode-commands.sh:Why this is correct
.agent/*.md(root level).agent/{domain}/*.md(subdirectories)onboarding.mdis listed in the "Main Agents" table in AGENTS.mdTesting
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.