Skip to content

docs: sixteen links reach their section again - #4394

Merged
capy-ai[bot] merged 1 commit into
garrytan:mainfrom
Davmunrey:fix/docs-missing-anchors
Nov 16, 2026
Merged

capy-ai[bot] merged 1 commit into
garrytan:mainfrom
Davmunrey:fix/docs-missing-anchors

Conversation

@Davmunrey

Copy link
Copy Markdown
Contributor

Why (in your own words)

Sixteen links in the docs lead nowhere. docs/skills.md's skill table links 12 skills to #anchors that have no section (13 links), so a reader who clicks /spec or /health stays at the top of the page. docs/review-policy.md links three times to #targeted-only-read-after-the-loop, but its heading became Targeted-only read after the loop (GST-1598), whose anchor carries the ticket id.

The skill rows now open each skill's own SKILL.md, as the /captain row already links crew/README.md. An <a id> above the review-policy heading restores its anchor, so the links survive the next heading edit.

Live evidence

# main 0326b14
$ bun scripts/check-doc-links.ts docs/skills.md docs/review-policy.md | tail -1
DOC_LINKS: broken 17

# this branch
$ bun scripts/check-doc-links.ts docs/skills.md docs/review-policy.md
docs/review-policy.md:786: troubleshooting.md#route-bounded-refused: no heading or <a id> for #route-bounded-refused; fix: correct the link or add the heading it names
DOC_LINKS: broken 1
# that remaining line is the link checker's fence bug (separate PR), not a missing anchor

$ bun test test/proactive-core-set.test.ts test/captain-skill.test.ts
 33 pass, 0 fail
$ bun test test/skill-validation.test.ts -t "documented in docs/skills.md"
 1 pass, 0 fail
$ bin/gstack-prose-lint changelog.d/fix-docs-missing-anchors.md --gate
PROSE_LINT: ok files=1

Scope

Liveness proof (required for external contributors)

Checklist

  • Liveness screenshot attached (GSTACK PR typed live into a real surface) or PR author is @garrytan (owner exemption)
  • This is not a generated-file-only diff (I edited the source/template and regenerated)
  • No ETHOS.md edits, and no changes to voice / founder perspective / YC references
  • New public command / external service / host adapter has an accepted issue linked (or N/A)
  • Linked issue or reproduction: reproduction under Live evidence

docs/skills.md linked 12 skills to anchors with no section (13 links); those rows now open the skill's own SKILL.md, as the /captain row links crew/README.md. docs/review-policy.md's three links to #targeted-only-read-after-the-loop lost their target when the heading gained (GST-1598); an <a id> above the heading restores it.
@trunk-io

trunk-io Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai

capy-ai Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Thank you. I read this as text against main (8c3c39b): all 12 ../<skill>/SKILL.md targets exist, and the <a id> sits directly above the Targeted-only read after the loop (GST-1598) heading, so the three existing links land again. It changes only documentation, so it's queued for a direct merge once its checks run.

@capy-ai
capy-ai Bot merged commit a15a0de into garrytan:main Nov 16, 2026
52 checks passed
@garrytan garrytan mentioned this pull request Nov 17, 2026
capy-ai Bot added a commit that referenced this pull request Nov 17, 2026
- /autoplan's approval page no longer hides a reviewer's product objection behind "keep your direction". (#4431)
- Every skill that loads the shared preamble, on every host, now says to ask a question once and to check a file before handing it over. (#4383)
- The Captain manuals now name the `Failed or skipped:` and `Also changed:` lines that READY and lane reports carry. (#4432)
- gstack's shell locks hold again on Ubuntu 26.04, where `mkdir` reports success when another process won the race (GST-2247). (#4262)
- `test/gstack-lock-race.test.ts` runs the old pattern and the helper against a PATH shim that behaves like uutils 0.8.0 `mkdir`, so it runs on any runner image: the old pattern lets two of four racers win, the helper admits exactly one in each of 60 races and never overlaps across take, hold and release loops, and parallel `gstack-config` writers keep every key. (#4262)
- Windows Setup E2E now runs when `bin/gstack-lock.sh` changes. (#4433)
- Claude Code's skill list now says when to use each gstack skill, so Opus loads /review and /plan-eng-review when a request fits. (#4387)
- A pull request's merge head can no longer keep its `/ship` receipt without a full review. (#4365)
- `/ship` now counts review rounds per pull request, and the head that merges always gets a full review. (#4360)
- /ship's documentation audit no longer accepts a passing result when an earlier line from the same audit said "blocked". (#4434)
- /ship's documentation audit no longer spends an attempt when the audit child writes text after its result. (#4285)
- The README lists the two new guides, and the install doc counts its hooks right. (#4403)
- docs/releases.md now says the stable release cut treats a failed commit status as red and a pending one as still going, as it has since #4257. (#4436)
- /ship's `finish --docs-requested` now accepts a docs fix when the audit named the file with a line number. (#4437)
- Document the `.gstack/approval-classes.json` schema, `gstack-approval-classes` CLI commands, and owner approval citation format in `docs/ship-policy.md#approval-classes`. (#4355)
- `/eval-plan` now runs four result checks instead of leaving them to judgment. (#4384)
- The /review coverage-audit eval no longer fails a run that really read the source file when zsh stops a command line at an `echo ====` separator. (#4364)
- Sixteen in-repo documentation links reach their section again. (#4394)
- gstack agents now open every status report with what failed, what they didn't verify and what else they changed. (#4273)
- Two new short guides. (#4380)
- A skill you wrote whose contract still lists `check_after_last_edit` keeps the rest of its contract. (#4439)
- The ship policy guide now explains how to merge any pull request with `gstack-ship-queue land`, even in a repository with one maintainer. (#4377)
- /ship's test step runs a large unit suite on Linux. (#4426)
- Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table. (#4382)
- Pull requests from /ship now open with at most three plain lines, and every merge lands as one commit titled with the PR title. (#4438)
- `gstack-pr-wait`, `gstack-ci-gate` and the release cut no longer call a commit green while a check on it failed. (#4257)
- `gstack-runaway` now says what a thread's cold and empty wakes cost, not just how many there were (GST-2770). (#4385)
- The optional Stop hook no longer checks for a test run after the last edit, and /verify asks for it in plain words instead. (#4428)
- /ship's test step says when it ran out of time, and you can set its budget. (#4429)
- The remote test command no longer puts every file on one command line. (#4429)
- The stable release no longer waits on the nightly Windows tests (GST-2815). (#4400)
- Ubicloud fan-outs can no longer overshoot the vCPU limit, and owners no longer delete each other's VMs. (#4430)
- hono is pinned to 4.13.16, which fixes five advisories the weekly OSV scan found in 4.13.13 (gstack#4406). (#4408)
- `package.json` overrides (#4408)
- `test/dependency-security.test.ts`: the lockfile floor check now covers `hono >= 4.13.16`. (#4408)
- The nightly Windows test run finishes again. (#4409)
- A short write-up checklist in ETHOS.md. (#4381)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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