docs: add missing Agents page and fix gitignore that dropped it#108
Merged
Conversation
The docs deploy workflow failed on main with broken links to docs/Admin/Agents.md from Tools.md and Chat.md. Root cause: the `.gitignore` rule `AGENTS.md` (meant for the root agent-instructions file) was unanchored, so with core.ignorecase=true on a case-insensitive filesystem it also matched `docs/Admin/Agents.md`. `git add docs/` silently skipped the new page, so it was never committed or merged — the local build only passed because the untracked file sat on disk. - Anchor the rule to `/AGENTS.md` so it ignores only the root file. - Add the previously-dropped docs/Admin/Agents.md. Verified with `npm run build` (no broken links). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Fixes the failing Docs / Build Docusaurus workflow on
main. Adds the missingdocs/Admin/Agents.mdpage and corrects the.gitignorerule that caused it to be dropped.Why it broke
The deploy workflow failed with:
Tools.mdandChat.md(merged in #107) link to an Agents page — butdocs/Admin/Agents.mdwas never actually committed. Root cause:.gitignorecontained an unanchored ruleAGENTS.md(intended for the repo-root agent-instructions file).core.ignorecase=true(macOS, case-insensitive filesystem), so git matched that pattern againstdocs/Admin/Agents.mdtoo.git add docs/therefore silently skipped the new page. The localnpm run buildstill passed because the untracked file was physically on disk — but CI checks out only tracked files, so the page was absent and the inbound links broke.The fix
/AGENTS.mdso it only ignores the root file (verified: rootAGENTS.mdstays ignored;docs/Admin/Agents.mdno longer is).docs/Admin/Agents.md.Verification
git check-ignore: rootAGENTS.mdstill ignored ✓,docs/Admin/Agents.mdno longer ignored ✓.npm run build(production) passes with no broken links and no warnings.workflow_dispatch) after merge to deploy.🤖 Generated with Claude Code