Skip to content

docs: qualify GITHUB_ACCESS.md pointers from the workspace root - #302

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/github-access-sed-error-aombi8
Aug 27, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
claude/github-access-sed-error-aombi8

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

A mobile session hit sed: can't read skill/GITHUB_ACCESS.md. The file is
present and tracked; the path was wrong in two ways, one of them the repo's
own doing.

AGENTS.md told the agent to read `skills/GITHUB_ACCESS.md`, written as
if cwd were this checkout. In a session holding several organs the cwd is the
repos' parent — the same layout fact this section already documents for the
SessionStart hook — so the bare path does not resolve, and the failure reads
as a missing file rather than a missing repo prefix. board/AGENTS.md carried
the same pointer, where it is worse: relative to board/, even a correctly
spelled skills/… would have missed.

Both now spell the path the way bin/_gh.sh:56 and
ensure_workspace_labels.sh:55 already print it. The markdown link target
stays relative, so the link still resolves when AGENTS.md is rendered on
GitHub; only the backticked text an agent copies into a command is qualified.

Docs only — no script, skill body, or generated block touched.

Checks

  • Both edits sit outside every generated marker pair (repos_sync:map,
    pyauto:commands, repos_sync:history); board/AGENTS.md has none.
  • bin/install.sh --check-agents-surface clean; repos_sync.py --check all
    five legs OK.
  • test_gh_surface.py::test_every_pointer_resolves scans skills/*/*.md
    bodies, not AGENTS.md; test_skill_install.py slices only the
    pyauto:commands block.
  • Suites: PyAutoBrain 559 passed, PyAutoMind 240 passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QbWdCAXjJsHs44swhBcLsq


Generated by Claude Code

A multi-organ web/mobile session is cwd'd at the repos' parent, so the
bare `skills/GITHUB_ACCESS.md` an agent copies out of AGENTS.md does not
resolve — it reads as a missing file rather than a missing repo prefix.
Spell both pointers the way bin/_gh.sh already prints them. The markdown
link targets stay relative so they still resolve on GitHub.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QbWdCAXjJsHs44swhBcLsq
@Jammy2211
Jammy2211 merged commit 0d3f28d into main Aug 27, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the claude/github-access-sed-error-aombi8 branch August 27, 2026 14:09
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.

2 participants