|
profiles: teach the agent to scout profiles and tools before switching
Persona gains a reconnaissance order (list_profiles, then list_tools for the real toolset, then tool_manual) and the switch-vs-delegate rule: switch when the task itself is another profile's work, delegate a side piece with spawn_agent. The profiles block is built in one place and shared with the admin prompt debug view, and the stale 'next user message' claim is fixed. list_tools applies the admin-only role gate to an explicitly named profile, the same one list_profiles uses, so it cannot enumerate hidden profiles. |
|---|
|
|
| docs/auth.md |
|---|
| docs/mechanics.md |
|---|
| docs/profiles.md |
|---|
| navi/api/routes/agents.py |
|---|
| navi/core/context_builder.py |
|---|
| navi/profiles/assistant/system_prompt.txt |
|---|
| navi/profiles/designer_3d/system_prompt.txt |
|---|
| navi/tools/list_profiles.py |
|---|
| navi/tools/list_tools.py |
|---|
| navi/tools/switch_profile.py |
|---|
| persona.txt |
|---|
| tests/unit/core/test_context_builder.py |
|---|
| tests/unit/tools/test_list_tools.py |
|---|
| webclient/docs/architecture.md |
|---|
| webclient/docs/profiles.md |
|---|