Skip to content

.gemini/commands/ship.toml references non-existent .gemini/agents/ directory #259

@wi5nuu

Description

@wi5nuu

Description

The .gemini/commands/ship.toml file references a .gemini/agents/ directory on lines 10 and 25, but this directory does not exist in the repository. The actual agent definitions are located in the repository root under agents/.

As a result, the /ship command in Gemini CLI cannot correctly resolve the code-reviewer, security-auditor, and test-engineer subagents because the documented path .gemini/agents/ does not exist.

Evidence

1. The .gemini/agents/ directory does not exist

$ git ls-tree -r HEAD --name-only .gemini/

.gemini/commands/build.toml
.gemini/commands/code-simplify.toml
.gemini/commands/planning.toml
.gemini/commands/review.toml
.gemini/commands/ship.toml
.gemini/commands/spec.toml
.gemini/commands/test.toml
.gemini/commands/webperf.toml

Only .gemini/commands/ exists. There is no agents/ subdirectory inside .gemini/.

2. The agent files exist at the repository root

$ ls agents/

README.md
code-reviewer.md
security-auditor.md
test-engineer.md
web-performance-auditor.md

3. .gitignore does not exclude .gemini/agents/

.DS_Store
node_modules/
.env
.env.*
*.log
.claude/.simplify-ignore-cache/
.claude/sdd-cache/

There is no ignore rule that would hide a .gemini/agents/ directory.

4. The working tree is clean

$ git status .gemini/

nothing to commit, working tree clean

This confirms there are no hidden or untracked files under .gemini/.

5. Direct comparison with the Antigravity version

.gemini/commands/ship.toml (Gemini CLI) – line 10

Spawn three subagents concurrently. Gemini CLI exposes each custom subagent in .gemini/agents/ as a tool

.gemini/commands/ship.toml (Gemini CLI) – line 25

If you've defined your own code-reviewer, security-auditor, or test-engineer in .gemini/agents/

commands/ship.toml (Antigravity) – line 10

Spawn three subagents concurrently. The CLI exposes each custom subagent in agents/ as a tool

commands/ship.toml (Antigravity) – line 25

If you've defined your own code-reviewer, security-auditor, or test-engineer in agents/

The Antigravity version correctly references agents/, while the Gemini CLI version incorrectly references .gemini/agents/.

Impact

Gemini CLI users running /ship are instructed to locate subagents in .gemini/agents/, a directory that does not exist in this repository. As a result, the parallel fan-out orchestration involving code-reviewer, security-auditor, and test-engineer cannot locate the documented agent definitions.

Proposed Fix

Update .gemini/commands/ship.toml to reference agents/ instead of .gemini/agents/, matching the Antigravity implementation.

- subagent in `.gemini/agents/` as a tool
+ subagent in `agents/` as a tool

- in `.gemini/agents/` or `~/.gemini/agents/`, those take precedence
+ in `agents/` or your global configuration, those take precedence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions