Skip to content

v6.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 06:32
· 264 commits to main since this release
Immutable release. Only release title and notes can be modified.
7e5c4cd

[6.1.0] — 2026-10-26

Added

  • add (auth) seeds deny-by-default authorization helpers next to authentication. FastAPI gets
    src/api/dependencies/authz.py (require_roles, get_current_roles, ensure_owner); NestJS gets
    @Roles, RolesGuard and assertOwner, with AuthUser.roles; Next.js gets src/lib/authz.ts
    (hasRole, isOwner) and a server-only user.role field (input: false, default user). FastAPI
    and NestJS never read roles from the token and start every user with none, so role-gated routes deny
    until the project loads roles from its database. Ownership failures return 404, so ids of other users'
    records cannot be probed. Each stack ships unit tests; the Vite rules and the review checklist gain
    matching lines. FastAPI auth steps 5-10 and NestJS steps 6-12 are renumbered by one; the Next.js SSO
    step is now Step 15.
  • Seeded CI gains a deps gate in ci-gates.sh, run by the GitHub quality jobs (TS and FastAPI) and
    the Azure Pipelines template. It audits pnpm-lock.yaml (high and critical advisories), uv.lock or
    requirements.txt (pip-audit, pinned) and fails closed on a missing tool, a network failure or
    unparseable output. There is no label bypass: .claude/dep-audit-allow.txt holds
    <id> <YYYY-MM-DD> <reason> entries that expire, and protect-files.sh asks before editing it.
  • Re-sync adds the deps gate as a blocking check with no label bypass. A project with no
    pnpm-lock.yaml, uv.lock or requirements*.txt fails with "no lockfile found". Azure projects that
    took the "seed neither" path need the deps step added by hand, or by migrate's new health check.
  • The deps gate audits every ecosystem present (pnpm-lock.yaml, uv.lock and each
    requirements*.txt) and fails when an audit covers no packages. Unaudited Python packages fail and
    cannot be allowlisted. Blocked lines read <package>: <ids> (<severity>).
  • Native pnpm suppressions (auditConfig, ignoreGhsas, ignoreCves, audit.ignore) are rejected in
    favour of .claude/dep-audit-allow.txt, and an allowlist expiry more than 180 days out is malformed.
    The NestJS scaffold no longer seeds an inert audit.ignore.
  • FastAPI CI installs uv when uv.lock exists, so the deps gate can export it.

Security

  • ecosystem-refresh.yml no longer gives the research agent write access. The agent reads web pages, so
    a prompt injection there could previously reach Write, git and gh under a contents: write
    token. It now runs in a research job with contents: read, no shell, and file writes limited to
    .claude/audit-ecosystem-research.md and pr-body.md. A separate publish job, with no LLM,
    validates the uploaded artifact (exactly two regular files, size limits, one changed path) and opens
    the PR.
  • ecosystem-refresh.yml limits the research agent's Read, Glob and Grep to the checkout (./**).
    The publish job deletes its branch and fails with a clear message when the PR cannot be opened, and the
    run attempt joins the branch name. It needs the repository's Actions setting "Allow GitHub Actions to
    create and approve pull requests"; CI does not run on a PR opened by GITHUB_TOKEN, so close and
    reopen it to trigger checks.