(enabled bool)
| 706 | if err != nil { |
| 707 | return PromptSection{}, err |
| 708 | } |
| 709 | if strings.TrimSpace(projectInstructions) == "" || role == "subagent" { |
| 710 | return PromptSection{}, errors.New(fmt.Sprintf("Missing project instructions: %s", cwd)) |
| 711 | } |
| 712 | budget := GetPromptBudgetProfile(role).ProjectInstructions |
| 713 | separator := projectInstructionSeparator |
| 714 | return BuildBudgetAttachmentSection( |
| 715 | "project-instructions", |
| 716 | "Project Instructions (LUMINA.md / AGENTS.md)", |
| 717 | projectInstructions, |
| 718 | &separator, |
| 719 | budget, |
| 720 | ), nil |
no outgoing calls
no test coverage detected