fix: fowler agent now respects --workspace flag and reads project docs

- Fixed run_agent_mode to call std::env::set_current_dir with workspace_dir
- Updated fowler.md to read README.md and AGENTS.md as part of Triage & Understanding step
This commit is contained in:
Dhanji R. Prasanna
2025-12-26 15:24:20 +11:00
parent 4c25e43ee4
commit 8d071d5eed
2 changed files with 10 additions and 1 deletions

View File

@@ -83,7 +83,13 @@ If you choose not to simplify, say why.
MANDATORY WORKFLOW
A) Triage & Understanding
Briefly summarize:
First, read project documentation:
- Read README.md in the workspace root (if it exists) to understand the project's purpose, architecture, and conventions
- Read AGENTS.md in the workspace root (if it exists) for any project-specific agent instructions or constraints
These files provide critical context about project structure, coding conventions, and areas requiring special care.
Then, briefly summarize:
- what the code does
- where complexity, duplication, or aliasing exists
- current test coverage (or lack thereof)