Spaces:
Running
Running
File size: 712 Bytes
6918275 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # agent_profile_create.py DOX
## Purpose
- Create explicitly requested user-owned agent profiles through the administrative API.
## Ownership
- `agent_profile_create.py` validates profile metadata and persists it through `helpers.subagents`.
## Local Contracts
- Uses normal authenticated, CSRF-protected `ApiHandler` defaults.
- Accepts only a single safe profile name and flat prompt filenames; paths, reserved names, and replacements are rejected.
- Writes only beneath `usr/agents/` and never participates in Spynel routing.
## Work Guidance
- Preserve existing profile discovery and selection behavior.
## Verification
- Run `pytest tests/test_spynel.py`.
## Child DOX Index
No child DOX files.
|