Skip to content

Conversation

@marcusquinn
Copy link
Owner

@marcusquinn marcusquinn commented Jan 25, 2026

Summary

  • Removes the .opencode/agent symlink that pointed to .agent/
  • This symlink caused OpenCode to read subdirectories (services/, tools/, etc.) as agents
  • Result: "Services/..." entries appeared when tabbing through main agents

Problem

When tabbing through main agents in OpenCode, users saw entries like:

  • Services/accounting
  • Services/analytics
  • Services/hosting
  • etc.

The expected behavior is that the tab loop should end with Planner-Sisyphus before returning to Build+.

Root Cause

The .opencode/agent symlink pointed to .agent/, which contains:

  • Root-level .md files (primary agents like build-plus.md, seo.md)
  • Subdirectories like services/, tools/, workflows/ (containing subagent files)

OpenCode was treating the subdirectories as agent categories and showing them in the tab completion.

Fix

Remove the symlink. The global agent configuration in ~/.config/opencode/agent/ (generated by generate-opencode-agents.sh) is the correct source for agents.

Testing

  • Removed symlink
  • Verified setup.sh doesn't recreate it
  • Ran preflight linters (pre-existing issues only)

Summary by CodeRabbit

  • Chores
    • Removed internal configuration file.

✏️ Tip: You can customize this high-level summary in your review settings.

…completion

The symlink to .agent/ caused OpenCode to read subdirectories (services/,
tools/, etc.) as agents, showing 'Services/...' entries when tabbing through
main agents.

Removing the symlink fixes the tab completion order:
Build+ → ... → Planner-Sisyphus → Build+
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 25, 2026

Walkthrough

Deleted the .agent file from the repository. This was a straightforward file removal operation without any accompanying refactoring or replacement logic.

Changes

Cohort / File(s) Summary
File Deletion
.agent
Removed file; no replacement or refactoring provided

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Possibly related PRs

Poem

One file departs, a clean farewell,
.agent bids the codebase well,
Zero debt maintained with care,
DevOps excellence in the air ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: removing a problematic symlink and its impact on tab completion behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

@gemini-code-assist
Copy link

Summary of Changes

Hello @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 an issue in OpenCode where the agent tab completion displayed incorrect entries, such as 'Services/accounting'. The root cause was identified as a symlink that inadvertently led the system to treat subdirectories as agent categories. By removing this symlink, the system now correctly identifies agents from the intended global configuration, thereby resolving the erroneous tab completion behavior.

Highlights

  • Symlink Removal: The .opencode/agent symlink, which pointed to .agent/, has been removed.
  • Tab Completion Fix: This symlink was causing OpenCode to incorrectly interpret subdirectories (like services/, tools/) as agents, leading to unwanted 'Services/...' entries in the main agent tab completion.
  • Correct Agent Source: The fix ensures that OpenCode now correctly sources agents from the global configuration in ~/.config/opencode/agent/, restoring the expected tab completion behavior.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly resolves an issue with incorrect tab completion entries in OpenCode by removing a problematic symlink (.opencode/agent). The symlink was causing OpenCode to incorrectly scan subdirectories as agents. The change is simple, effective, and aligns with the clear explanation provided in the pull request description. Based on the provided code, this change is correct and I have no further recommendations.

@augmentcode
Copy link

augmentcode bot commented Jan 25, 2026

🤖 Augment PR Summary

Summary: Removes the .opencode/agent symlink that made OpenCode treat .agent/ subdirectories as agent categories.

Result: Restores expected agent tab-completion to only include primary agents, relying on the global ~/.config/opencode/agent/ configuration.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@sonarqubecloud
Copy link

@github-actions
Copy link

🔍 Code Quality Report

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

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

�[0;34m[INFO]�[0m Recent monitoring activity:
Sun Jan 25 20:35:36 UTC 2026: Code review monitoring started
Sun Jan 25 20:35:36 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 447
Sun Jan 25 20:35:37 UTC 2026: Qlty - 0 issues found, auto-formatting applied
Sun Jan 25 20:35:39 UTC 2026: Codacy analysis completed with auto-fixes

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 447
  • VULNERABILITIES: 0

Generated on: Sun Jan 25 20:37:01 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@marcusquinn marcusquinn merged commit bfa6cd9 into main Jan 25, 2026
9 checks passed
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