Add CLAUDE.md symlinks to ensure Claude Code reads project context#259
Merged
Add CLAUDE.md symlinks to ensure Claude Code reads project context#259
Conversation
…ng files Claude Code reads CLAUDE.md for project context but ignores AGENTS.md. To ensure Claude picks up job context wherever AGENTS.md files exist: - Add `agents_md_claude_md_symlink` review rule to .deepreview that checks every AGENTS.md has a sibling CLAUDE.md symlink pointing to it - Create CLAUDE.md symlinks for all 5 existing AGENTS.md files in the repo - Update make_new_job.sh to create a CLAUDE.md symlink alongside AGENTS.md whenever a new job directory is scaffolded https://claude.ai/code/session_013LSePqqcsCg1d6now3qseB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR ensures that Claude Code can properly read project context by creating CLAUDE.md symlinks that point to AGENTS.md files. Claude Code reads CLAUDE.md for project context but ignores AGENTS.md, so symlinks are necessary to bridge this gap.
Key Changes
agents_md_claude_md_symlink): A validation rule that checks every AGENTS.md file has a corresponding CLAUDE.md symlink pointing to it, with instructions for creating missing symlinksmake_new_job.sh): Automatically creates CLAUDE.md symlinks when new jobs are generated, ensuring all future jobs follow this pattern.deepwork/jobs/test_job_flow/.deepwork/jobs/update_job_schema/doc/debugging_history/src/deepwork/standard_jobs/deepwork_jobs/Implementation Details
AGENTS.mdrather than absolute paths) to remain valid after directory moves or cloneshttps://claude.ai/code/session_013LSePqqcsCg1d6now3qseB