feat(skills): inject brain context into review, debug, spec, tdd before spawning workers

This commit is contained in:
Mathias Bergqvist
2026-04-22 15:37:56 +02:00
parent 3625e1268d
commit f2bc39b500
9 changed files with 66 additions and 34 deletions

View File

@@ -12,11 +12,12 @@ import (
type ExecutorFn func(ctx context.Context, req iexec.Request) (iexec.Result, error)
type Config struct {
SystemPrompt string
SkillPrompt string
ExecutorFn ExecutorFn // nil = no executor (tests that don't reach execute())
DefaultModel string
SessionsDir string // optional: path to brain/sessions/ for history injection
SystemPrompt string
SkillPrompt string
ExecutorFn ExecutorFn // nil = no executor (tests that don't reach execute())
DefaultModel string
SessionsDir string // optional: path to brain/sessions/ for history injection
IngestBaseURL string // optional: base URL of ingestion server for brain context
}
type Skill struct {