Skip to content

docs: prevent Claude file-read path mistakes#34

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/claude-relative-file-read-paths-2026-04-24-10-54
Apr 24, 2026
Merged

docs: prevent Claude file-read path mistakes#34
NagyVikt merged 1 commit intomainfrom
agent/codex/claude-relative-file-read-paths-2026-04-24-10-54

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Claude often misreads or fails file operations when absolute paths point outside the active worktree context. The playbook now makes repo-relative paths the first non-negotiable rule for reads, edits, searches, and command arguments, while preserving absolute paths for cross-repo or tool-required cases.

Constraint: Claude.md is the assistant source of truth for this repo

Rejected: Add a later workflow note only | file-read guidance needs to be first and non-negotiable

Confidence: high

Scope-risk: narrow

Tested: git diff --check; pnpm test

Not-tested: pnpm lint and pnpm build are blocked by pre-existing formatter/type declaration issues outside CLAUDE.md
@NagyVikt NagyVikt merged commit 103ac69 into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/codex/claude-relative-file-read-paths-2026-04-24-10-54 branch April 24, 2026 08:57
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