[module 8] Walk user through PAT and SSH auth setup on github #106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since we are focusing on Github for the tutorial. lets walk the student through the setup process for creating a PAT, step by step in the hands on lab guide. let's just link to a how to on setting up ssh based credentials as optional (explain pro's and con's of each)
Build scope (AI-ready)
Problem
Module 8's lab tells the learner they need "a personal access token (for HTTPS) or an SSH key added to your account" and to "Do it first," but never walks them through how. The lesson's "Getting a credential (the shape)" callout is deliberately host-generic ("treat these as the shape, not gospel"). For a learner whose first push is on GitHub (the module's stated worked example), that abstraction is the wall: authentication is failure mode #1 and the single most common first-push blocker. This issue adds a concrete, GitHub-specific PAT walkthrough to the lab, links the SSH path as an optional alternative, and gives a short pros/cons so the learner can choose deliberately.
Affected files / areas
modules/08-remotes-and-hosting/README.md— the only file that needs to change. Specifically:Recommended approach
### Set up GitHub authentication (do this first)) between the "You'll need" block and Part A. It walks the PAT / HTTPS path step by step on GitHub as the worked example:tasks-apprepo, with Contents: Read and write) and classic (thereposcope). Pick one and be explicit which the steps follow.tasks-app), grant the write scope, generate, and copy the value once (it is shown a single time).passwordprompt on first push, paste the token (terminal shows nothing while pasting — normal). Mention the credential helper caches it so it is pasted only once. This connects directly to failure mode #1 (the scope403gotcha already documented in the lesson).403on push); shown once; must be cached by a credential helper or re-pasted.Keep the change small and within the module's existing voice and structure. External doc links are already used elsewhere in the course (e.g.
git-scm.com,12factor.net), so linking GitHub docs is consistent.Acceptance criteria / how to verify
bash tools/check.sh→check.sh: PASS(this enforces the no-em-dash guard and that## Prerequisites,## Hands-on lab,## Where it breaksheadings remain present).python3 tools/build_wiki.py --repo-root . --out /tmp/awc-wiki-build --web-base https://git.jpaul.io/justin/ai-workflow-course --branch main --host gitearenders without error (the CI "build" step).grep -nP '\x{2014}' modules/08-remotes-and-hosting/README.mdreturns nothing (no em-dash).Target surface(s)
Course content only (Markdown). One file:
modules/08-remotes-and-hosting/README.md. No code, no lab scripts (cli.py,tasks.py,verify-backup.sh) touched. The wiki is generated build output — do not hand-edit it.Stop-lines
tools/check.shfails the build otherwise). Watch the banned-words list in AGENTS.md.🤖 autopilot: merged @ (merge-only — no deploy to verify).