Skip to content

feat(prompts): discover AGENTS.md alongside CLAUDE.md#293

Open
Apptah wants to merge 1 commit into
HKUDS:mainfrom
Apptah:feat/agents-md-discovery
Open

feat(prompts): discover AGENTS.md alongside CLAUDE.md#293
Apptah wants to merge 1 commit into
HKUDS:mainfrom
Apptah:feat/agents-md-discovery

Conversation

@Apptah

@Apptah Apptah commented Jun 5, 2026

Copy link
Copy Markdown

Extend project-instruction discovery to also pick up AGENTS.md (the cross-tool standard used by Codex et al.) at every directory level from cwd upward, plus a global ~/.openharness/AGENTS.md fallback. CLAUDE.md behavior + the public function name are unchanged; discovery stays read-only (get_config_dir gains create=False). 14 tests pass.

🤖 Generated with Claude Code

Extend project-instruction discovery to pick up AGENTS.md (the cross-tool
standard used by Codex et al.) at every directory level from cwd upward,
plus a least-specific global ~/.openharness/AGENTS.md fallback loaded last.
CLAUDE.md behavior and the public function name are unchanged; discovery
stays read-only (get_config_dir gains create=False so the lookup never
materializes the config dir).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant