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
Extend the Home type with methods for managing static subagent directories. Each subagent gets a sub-Home at agents/<name>/ that provides the same accessors (Soul, Memory, CronsDir, CronResultsDir, etc.).
Acceptance criteria
Home.AgentsDir() string returns path to agents/ subdirectory
Home.Agent(name string) (*Home, error) returns a Home rooted at agents/<name>/, creating the directory if needed
Home.ListAgents() ([]string, error) lists agent names by scanning agents/ directory
Sub-Home accessors (Soul, Memory, CronsDir, CronResultsDir, SkillsDir) return correct paths under the agent's directory
Agent name validation: alphanumeric + hyphens only, no path traversal
Tests: creation, listing, round-trip identity files, directory accessors, name validation
Parent PRD
#34
What to build
Extend the
Hometype with methods for managing static subagent directories. Each subagent gets a sub-Homeatagents/<name>/that provides the same accessors (Soul, Memory, CronsDir, CronResultsDir, etc.).Acceptance criteria
Home.AgentsDir() stringreturns path toagents/subdirectoryHome.Agent(name string) (*Home, error)returns aHomerooted atagents/<name>/, creating the directory if neededHome.ListAgents() ([]string, error)lists agent names by scanningagents/directoryBlocked by
None — can start immediately.
User stories addressed