You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Agent definition — AgentProfile struct and registry #1
Define the AgentProfile type that represents a named agent persona (CEO, CTO, Researcher, …).
This is the foundational contract that the mailbox and communication systems will build on top of.
```go
type AgentProfile struct {
ID string // unique slug, e.g. "cto"
Name string // display name, e.g. "CTO"
Role string // short role label
SystemPrompt string // full system prompt injected at session start
Model string // preferred model identifier (overrides global default)
Skills []string // skill file names to load
Metadata map[string]string // arbitrary key/value for extensions
}
```
Acceptance criteria
AgentProfile struct defined and exported from internal/agent
Registry supports CRUD operations backed by SQLite
At least 3 built-in profiles shipped (orchestrator, researcher, coder)
Unit tests for registry CRUD
No breaking changes to existing ClientConfig / session interfaces
Notes
Keep profiles as plain data — no behaviour attached yet
Model field should accept the same provider:model format as ClientConfig.Model
Skills field references skill file names resolved by the existing skills loader
Activity
feat(agent): UUID-based AgentProfile with Nickname and TeamID (#1)
Merge pull request #5 from EngineerProjects/feat/agent-definition
feat(agent): add AgentProfile and ProfileRegistry (#1)
feat(agent): UUID-based AgentProfile with Nickname and TeamID (#1)
Merge pull request #5 from EngineerProjects/feat/agent-definition