Skip to content

Commit 1d7f44c

Browse files
Fix global AGENTS.md relative links
The linked files were sometimes misinterpreted as relative to a particular repo's AGENTS.md.
1 parent fcf41f9 commit 1d7f44c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.codex/AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
`git commit --amend`, `git rebase`, `git reset --hard`, and
4545
`git cherry-pick --no-commit` followed by history edits.
4646
- Before creating or updating a commit message, read
47-
[style/commit-messages.md](style/commit-messages.md).
47+
[~/.codex/style/commit-messages.md](~/.codex/style/commit-messages.md).
4848

4949
### Worktrees
5050

5151
- When I ask you to work in your own worktree or `jj` workspace, follow
52-
[style/worktrees.md](style/worktrees.md).
52+
[~/.codex/style/worktrees.md](~/.codex/style/worktrees.md).
5353

5454
### Pull Requests
5555

.codex/style/worktrees.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ isolate your work from concurrent changes in the prompter's directory.
2020

2121
- In your own worktree, commit your work every turn for the prompter to review.
2222
- Do not squash your commits unless explicitly asked in the current turn.
23-
- Use the commit message style from [commit-messages.md](commit-messages.md).
23+
- Use the commit message style from
24+
[~/.codex/style/commit-messages.md](~/.codex/style/commit-messages.md).
2425

2526
## Turn Summary
2627

0 commit comments

Comments
 (0)