Tighten subagent prompt file workflow

This commit is contained in:
lpf
2026-03-06 14:12:01 +08:00
parent 49352612ea
commit 5e421bb730
15 changed files with 542 additions and 58 deletions

View File

@@ -171,8 +171,9 @@ func TestSubagentProfileStoreRejectsWritesForConfigManagedProfiles(t *testing.T)
cfg := config.DefaultConfig()
cfg.Agents.Subagents["tester"] = config.SubagentConfig{
Enabled: true,
Role: "test",
Enabled: true,
Role: "test",
SystemPromptFile: "agents/tester/AGENT.md",
}
runtimecfg.Set(cfg)