summaryrefslogtreecommitdiff
path: root/internal/task/validator_test.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-05-20 19:10:53 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-05-20 19:10:53 +0000
commitbf5ea107f6aec57c1fc3d094cd42aef239d46f15 (patch)
tree5d0eced26b1e6435287838f6823007f5be951877 /internal/task/validator_test.go
parent68399a598924775a3ec22a39c2336ae497fb07f3 (diff)
fix: auto-load default config file and relax repository_url requirement
root.go: PersistentPreRunE was only reading the config file when --config was explicitly passed. This left LocalModel.Endpoint empty so the local runner was never registered and the Classifier overrode agent.type:local. Now always tries ~/.claudomator/config.toml; silently ignores ENOENT. validator.go: repository_url was unconditionally required but is irrelevant for LocalRunner tasks (pure chat completions). The executor already handles an empty RepositoryURL via the Project registry lookup at dispatch time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/task/validator_test.go')
0 files changed, 0 insertions, 0 deletions