Bug Report
Priority: P1 — new users hit this immediately if they ran ag init inside a project directory
Description:
ag run fails with timeout because the config path lookup in run.ts defaultConfigPath() doesn't walk up to find project-local .aegis/config.yaml. The doctor command does walk up correctly, creating an inconsistency.
Steps to reproduce:
- Run
ag init inside a project directory (creates .aegis/config.yaml locally)
- Run
ag run "some prompt"
- Times out — can't find config
Expected behavior:
run.ts defaultConfigPath() should walk up directories like doctor does to find project-local config.
Workaround:
Symlink or copy config to ~/.aegis/config.yaml
Found by: Hermes (dogfooding, 2026-05-14)
Fix target: src/cli/run.ts — align defaultConfigPath() with doctor's directory walk
Bug Report
Priority: P1 — new users hit this immediately if they ran
ag initinside a project directoryDescription:
ag runfails with timeout because the config path lookup inrun.tsdefaultConfigPath()doesn't walk up to find project-local.aegis/config.yaml. Thedoctorcommand does walk up correctly, creating an inconsistency.Steps to reproduce:
ag initinside a project directory (creates.aegis/config.yamllocally)ag run "some prompt"Expected behavior:
run.tsdefaultConfigPath()should walk up directories likedoctordoes to find project-local config.Workaround:
Symlink or copy config to
~/.aegis/config.yamlFound by: Hermes (dogfooding, 2026-05-14)
Fix target:
src/cli/run.ts— aligndefaultConfigPath()withdoctor's directory walk