Repository navigation
ci: least-privilege workflow permissions; docs: archive sprint notes - #29
Merged
Merged
Conversation
…notes 1-4 (part of #12) issue-triage sets a milestone on new issues: issues: write. pr-opened authenticates with PROJECT_PAT: permissions: {}. Sprint notes move to docs/archive/sprints/ unchanged; #12's generator and hook items are not in this change. Spec: workstation-handoff specs/SPEC-D3-fa-uap-hygiene.md (NX-597). Signed-off-by: Albert E. Jukes III (A.J) <10564166+aj1126@users.noreply.github.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.
Summary
Fixes #22. Part of #12 (item 1 only).
permissions:block. Each now has a workflow-level block, matchingdocs.ymlandtest.yml:issue-triage.yml:permissions: issues: write(it reads milestones and sets one on the new issue; with the repo's read-only default token, that step couldn't set a milestone).pr-opened.yml:permissions: {}(its only step authenticates withPROJECT_PAT;GITHUB_TOKENneeds no scopes).docs/SPRINT_01..04.mdmove unchanged (100% renames) todocs/archive/sprints/, with a 3-line README there. No other tracked file links to them; the dated 2026-07-17.agents/stale_docs_report.mdstill names the old paths and is left as written. Items 2-3 of [TASK]: Chore: Streamline documentation workflow and automate architecture updates #12 (architecture.md generator, husky hook) aren't in this PR.Spec:
aj1126/workstation-handoffspecs/SPEC-D3-fa-uap-hygiene.mdR4-R5 (built as NX-600, reviewed by execution as NX-601).Checks run on head
8e4389b8(onmain8b14e14e), 2026-10-28:issue-triage.ymlunset →{"issues":"write"}; basepr-opened.ymlunset →{}.git diff -M --name-status: 4 ×R100.npm ciexit 0;npm test→ tests 44, pass 44, fail 0 (base: 44 / 44).gitleaks git --log-opts=origin/main..HEAD(8.30.1): 0 findings. Control: a plantedghp_token in a scratch repo was caught.G) and signed off.git merge-tree --write-tree origin/main HEAD: clean.Checklist
git grep SPRINT_0finds no links outside the dated stale-docs report.npm run docs:generate. Not applicable: none changed, so the generator wasn't run (the check below confirms the generated sections are current).npm run docs:check, as its two commands (generate-docs.js --check,validate-docs.js) on an LFgit archiveexport of HEAD, the way Linux CI sees it (the Windows CRLF work tree always reads "stale"): "Autogenerated documentation sections are current." exit 0; "Documentation references and structure are valid." exit 0.docs/legacy-prototype.md. Not applicable: no prototype guidance changed.