Skip to content

feat(config): add code-explorer default agent#38

Open
rmacomber wants to merge 1 commit into
get-vix:mainfrom
rmacomber:fix/gpt55-vix-recovery-and-dashboard
Open

feat(config): add code-explorer default agent#38
rmacomber wants to merge 1 commit into
get-vix:mainfrom
rmacomber:fix/gpt55-vix-recovery-and-dashboard

Conversation

@rmacomber

Copy link
Copy Markdown

Summary

- Add a default `code-explorer` agent for whiteboard/voice code walkthrough callbacks
- Keep the agent read-only with file/search/LSP tools only
- Document its output style for concise code explanations with file references

## Why

The whiteboard/ElevenLabs flow can request a `code-explorer` agent. Without a default definition, that callback fails because the agent does not exist in the shipped defaults.

## Testing

- `go test ./internal/config ./internal/daemon -run 'TestBootstrap|TestLoadCustomAgents|TestParseAgentFile' -count=1`
- Parsed `internal/config/defaults/agents/code-explorer.md` frontmatter locally and verified read-only tools
- Scanned the PR candidate for secret-like tokens and personal paths

@kirby88

kirby88 commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

This seems like an superset of PR #37? can you clean it please and I'll merge after. Thank you

    Add the read-only code-explorer agent used by the whiteboard and voice flows when they need to inspect and explain repository code.

    Co-authored-by: vix <290354907+vix-agent@users.noreply.github.com>
@rmacomber rmacomber force-pushed the fix/gpt55-vix-recovery-and-dashboard branch from f755bd3 to 21afebd Compare June 20, 2026 22:03
@rmacomber

Copy link
Copy Markdown
Author

Cleaned. I rebased this branch onto current main after #37 merged, so PR #38 now contains only:

- `internal/config/defaults/agents/code-explorer.md`

Verification rerun:

```text
go test ./internal/config ./internal/daemon -run 'TestBootstrap|TestLoadCustomAgents|TestParseAgentFile' -count=1
ok  github.com/get-vix/vix/internal/config  0.048s
ok  github.com/get-vix/vix/internal/daemon  0.036s
```

I also rechecked the agent frontmatter/read-only tool list and scanned the PR file for secret-like tokens/personal paths; no findings.

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.

2 participants