Skip to content

Commit cc347d8

Browse files
committed
agents.md updates
1 parent b663027 commit cc347d8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ source /Users/Mike/lsst/lsstsw/miniconda/etc/profile.d/conda.sh
1313
conda activate /Users/Mike/miniforge3/envs/py3.12
1414
```
1515

16+
`ripgrep` (`rg`) is available in this environment and should be preferred for file/text search.
17+
1618
## Sphinx Docs Build
1719
Use this sequence to build docs in Codex:
1820
```bash
@@ -28,6 +30,14 @@ Rationale:
2830
activation is more reliable.
2931
- Setting `LC_ALL`/`LANG` avoids locale errors when invoking Sphinx.
3032

33+
## GitHub CLI
34+
- `gh` is installed in `/Users/Mike/miniforge3/envs/py3.12/bin/gh`.
35+
- Prefer `gh issue view <num> --repo rmjarvis/TreeCorr --comments` and
36+
`gh pr view <num> --repo rmjarvis/TreeCorr --comments` over browser scraping when GitHub thread
37+
content is needed.
38+
- `gh` still requires authentication in Codex shells. If commands fail with an auth prompt, run
39+
`gh auth login` in the activated conda environment or provide `GH_TOKEN`.
40+
3141
## TreeCorr Documentation Conventions
3242
- Prefer "data are" (treat "data" as plural) except when clearly used as a mass noun.
3343
- Target a 100-character line length for prose/code comments where practical.

0 commit comments

Comments
 (0)