Skip to content

Fix three errors in the gh-aw guide #1761

Closed

Description

@bradygaster

Three independent errors in docs/src/content/docs/guide/gh-aw.md. All small, self-contained, no code dependencies — good first-issue material.

1. Wrong path reference

Around L38, the guide references .github/aw/. That is not the correct path. Verify the actual location and correct it.

2. Redundant compile step

Around L34–35 and L100–104, the guide documents compiling as a separate manual step. gh aw add compiles automatically — the extra step is redundant and actively misleads new users into thinking their setup failed when the compile "does nothing."

Remove the standalone step, or reframe it as a troubleshooting-only action.

3. Missing restricted-secrets prompt

The guide never mentions the restricted-secrets approval prompt, which every consumer repo hits on first run. Because it's undocumented, it reads as an error rather than an expected gate.

Document what the prompt is, when it appears, and what to do about it.

Related but out of scope

Consumer repos also need Settings → Actions → Allow GitHub Actions to create and approve pull requests enabled. That's already documented in this guide, and the remaining question is whether to add a preflight check — tracked separately.

Verification

Docs-only. npm run build builds the docs site if you want to confirm rendering.

Goal and Success Criteria

Added 2026-08-20 during wave:1 triage. PAO verified all three errors with exact line citations.

Goal: Remove the three verified documentation errors from docs/src/content/docs/guide/gh-aw.md so that a new adopter following the guide step-by-step reaches a working E2E setup without false failures caused by stale instructions.

SC-1 — Stale .github/aw/ path removed from git add instructions.
docs/src/content/docs/guide/gh-aw.md L38 and L113 reference the correct compiled workflow path in their git add instructions — not .github/aw/. Fails if either line still contains .github/aw/.

SC-2 — Redundant standalone compile step removed.
The guide no longer includes a standalone gh aw compile step in the setup flow (previously L34-35 and L100-108). If compile is mentioned at all outside of a troubleshooting/optional context, that constitutes a failure. Fails if a standalone compile step remains in the primary setup sequence.

SC-3 — Restricted-secrets prompt callout present.
The guide contains a callout that explains: what the restricted-secrets approval prompt is, when it appears, and what the user must do. Fails if this callout is absent.

Activity

  1. bradygaster commented on Aug 20, 2026

    @bradygaster
    CollaboratorAuthor

    Flight sequencing note — revised 2026-08-20.

    Wave: 1.

    Depends on: nothing in this stream.

    Blocks: nothing else in this stream.

    Safe to run in parallel with: #1772, #1770, #1760, #1762, #1768, #1756, and #1759. Soft merge risk with #1748 only if both rewrite the same setup section in the gh-aw guide.

    Why / evidence: the three doc fixes are in docs/src/content/docs/guide/gh-aw.md: the redundant compile/manual lock-file step is currently lines 34-38 and repeated at lines 100-108; the stale .github/aw/ staging instruction is lines 37-38 and 110-118; rg restricted|secret|approval shows no restricted-secrets prompt coverage in the guide. #1762's already-documented Actions setting is separate at lines 63-82. No workflows/squad.md hunk is involved.

  2. added
    gh-aw
    type:docs
    priority:p2
    triaged
    good first issue
    wave:1-next
    and removed on Aug 20, 2026
  3. added
    squad
    on Aug 20, 2026
  4. added a commit that references this issue on Aug 20, 2026
    d24a322
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gh-awgood first issuepriority:p2squadtriagedtype:docswave:1-next

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions