Skip to content

ci(actionlint): switch to the kjanat fork and retire the soak lane - #1027

Merged
kyle-sexton merged 2 commits into
mainfrom
ci/actionlint-kjanat-switch
Nov 8, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
ci/actionlint-kjanat-switch

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #788

Summary

Phase 2 of #788. The soak tally is clean
(tally comment):
across 265 completed soak runs there were 0 failures, 0 ref is missing or queue findings, and
0 false positives against real code. The actionlint composite now installs the kjanat fork. Per the
issue brief, merging this PR is the owner's go on that tally.

Fix

  • .github/actions/actionlint/action.yml: kjanat/actionlint 1.17.0 from its release, pinned by
    archive SHA-256 620abd48…. That digest's SLSA provenance names release commit
    08bb2c4f0d039744455b87aef1c647fb8b66d37b; I verified it locally with
    gh attestation verify --source-digest.
  • pr-require-checks.yml: every ./ action and reusable-workflow ref is now $/, which GitHub's
    workflow syntax recommends for same-repository refs. The soak job is gone.
  • Cache-safety policy findings, 7 in all:
    • intake-label-needs-triage runs on issues, so it now sets cache-mode: none.
    • The six calls whose if: skips them on issues each carry an inline
      cache-call-unrestricted exception naming that reason. The tally comment holds the
      classification and its basis.
  • .github/zizmor.yml: the self-repository ignore for pr-require-checks.yml is dropped.
  • The soak scripts, the support-probe fixture and their test entries are removed. Tests now expect
    $/ refs. README names the fork.

Not changed: .github/actionlint.yaml. It is a standards-managed file. The actionlint
component in melodic-software/standards distribution/sync-manifest.yml lists it as managed for
ci-workflows, and the last two edits to it here were sync PRs (#1008, #998). Its $/, queue,
cache-mode and field_added/field_removed ignores now match nothing under the fork, so they
are harmless. They stay until standards removes them. That removal has to wait until consumers
that still run rhysd 1.7.12 (claude-code-plugins pins this composite at 2476d5d) move past this
switch.

Verification

  • kjanat 1.17.0, run locally over the branch with ShellCheck on: 0 findings, exit 0. On origin/main
    it reports the 7 cache-call-unrestricted findings.
  • It reports [shellcheck] SC2086 on .github/actions/actionlint/fixtures/shellcheck.yml, which
    the lane's proof step greps for.
  • zizmor --offline .github: no findings, with the self-repository ignore removed.
  • check-jsonschema passes on pr-require-checks.yml against the pinned SchemaStore schema, whose
    reusableWorkflowCallJob allows cache-mode, and on action.yml against
    vendor.github-actions.
  • node --test .github/scripts/*.test.cjs: 965 of 967 pass locally. The 2 failures are
    environmental: graphql-operations cannot find the graphql module (no npm ci locally), and
    the pr-review-cli full-diff timing test passes when run alone.
  • Biome 2.5.11 ci .github/scripts is clean. markdownlint-cli2 on README.md finds 0 issues.
  • Fleet sweep: across the 12 repository checkouts in the tally, the fork's only extra findings are
    claude-code-plugins' 8, behind its composite pin.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5

The actionlint composite installs kjanat/actionlint 1.17.0 from its
release, pinned by the archive's SHA-256. That digest's SLSA provenance
names release commit 08bb2c4f0d039744455b87aef1c647fb8b66d37b. The
fork accepts `$/` refs and `concurrency.queue`, so pr-require-checks.yml
moves from `./` to `$/` refs, and zizmor's `self-repository` ignore for
that file goes away.

The fork's cache-safety policy reported 7 `cache-call-unrestricted`
findings on pr-require-checks.yml's reusable calls under the `issues`
trigger. intake-label-needs-triage runs on `issues` and its callee
floats on @main, so the job now caps it with `cache-mode: none`. The
other six calls are skipped on `issues` by their `if:`, which the rule
does not read; each carries an inline exception naming that reason.

The phase 1 soak job, its two scripts and its support probe are
removed.

Refs: #788

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-08T05:45:41.595104Z
We couldn’t complete this review. Comment @codex review to try again.
3a6670f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Keep main's pr-review-cli.yml review jobs and suppress their
cache-call-unrestricted finding inline: each job's if excludes issues.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

claude-review reviewed 8d76fee44db21d84a984c27baad9177c82f0e470: read 7 of 7 changed file(s); 0 finding(s), 0 as inline comments.

No findings. I read the full diff, PR context and prior-findings file. This is a first review (no earlier heads), so it is not blocking-only.

What the change does: .github/actions/actionlint/action.yml now installs kjanat/actionlint 1.17.0, pinned by archive SHA-256. pr-require-checks.yml switches every ./ ref to $/ and drops the soak job. Seven cache-call-unrestricted cases are handled: cache-mode: none on the one job that runs on issues, and an inline exception on each of the six calls that are skipped on issues. The soak scripts and the support-probe fixture are deleted. The self-repository ignore is removed from zizmor.yml. The tests and README are updated to match.

Checked:

  • A repo-wide grep (excluding .claude-lane) finds no leftover reference to kjanat-soak, actionlint-kjanat, support-probe, uses: ./.github or self-repository. Deleting the soak job, scripts and fixture strands nothing, and the edited tests (ci-fanout-consolidation, go-quality, zizmor-native) match the new $/ refs.
  • The remaining rhysd/actionlint and 1.7.12 mentions are in .github/actionlint.yaml and composite-run-shellcheck.sh comments. The PR body explains why the standards-managed actionlint.yaml stays unchanged, so I did not flag them.
  • The SHA-256 and release commit in the new action.yml default are the same values the deleted soak job used as trust anchors, and the comment records the re-verify-on-bump step.
  • The PR's 'Refs: chore(ci): evaluate actionlint's maintenance and alternatives (no $/ support) #788' closing-issue context states no testable acceptance criteria that this change fails to meet.
  • No plugin manifests are touched, so there are no manifest <field> lines.

Not independently verified: the PR's claims about local actionlint, zizmor, node --test and Biome runs are author-claimed. I could not run any tools here, so I did not confirm them. I also did not confirm that the # actionlint:ignore-next-line <rule> -- <reason> comment form is honoured by the fork. A wrong form would show up as a lint failure in the gating actionlint lane.

Cost/hold: none. No paid plan, billing setting or billed resource changes, and the removed soak job only cuts CI usage.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-security-review: 1 inline finding(s) on 8d76fee44db21d84a984c27baad9177c82f0e470; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

Comment thread .github/actions/actionlint/action.yml Resolved
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

claude-security-review reviewed 8d76fee44db21d84a984c27baad9177c82f0e470: read 7 of 7 changed file(s); 1 finding(s), 1 as inline comments.

Security review of #1027 at 8d76fee. I read the whole diff (7 listed files, plus the deleted soak scripts and fixture), the PR context, and the head pr-require-checks.yml job conditions.

critical-findings: 0

Finding (1, SUGGESTION): the provenance check no longer runs in CI.

  • .github/actions/actionlint/action.yml:31: the composite now installs a third-party binary, kjanat/actionlint 1.17.0, with the SHA-256 as the only enforced anchor.
  • The deleted actionlint-kjanat-soak.sh also ran gh attestation verify --source-digest "$KJANAT_COMMIT" on every run. After this change the commit SHA survives only in a YAML comment, and the "re-verify it on every bump" step is manual.
  • Exploit path: a later PR that changes version and sha256 together passes the lane unless the reviewer repeats the attestation check by hand.
  • This needs a bump PR from someone who can already change this file, and the pinned digest itself is sound. I rated it SUGGESTION and not higher for those reasons.
  • Consumers that float on @main pick up the fork on update. The pinned digest bounds that to this one release asset, and the soak ran that same asset on this repo's PRs.

Checked, no finding

  • cache-mode: none on intake-label-needs-triage (the only job on the low-trust issues trigger) narrows cache access, so it is not a widening.
  • The six actionlint:ignore-next-line cache-call-unrestricted exceptions each claim "skipped on issues by this job's if". I checked the head file: pr-run-checks, pr-audit-workflows, pr-scan-dependencies, pr-run-checks-go, pr-review and pr-review-security all carry github.event_name != 'issues'. The claim holds. Fork pull requests still get PR-scoped cache access, as before.
  • ./ to $/ ref changes in pr-require-checks.yml and the matching test regexes only change how same-repo refs are written. They add no new trust boundary, no permissions: change and no trigger change.
  • The removed .github/zizmor.yml self-repository ignore tightens the audit.
  • The soak job, its scripts and its fixture are deleted. The job was advisory and outside ci-status, and its GH_TOKEN use is gone with it.
  • PR text carries no embedded instructions to the lane.
  • No plugin manifests or trusted-path files (CODEOWNERS, .gitmodules, trusted-actors, check-trusted-trigger) are changed.
  • Instruction-surface deletions: none. The register was not consulted because nothing in the diff is a standing instruction.

No cost or critical-security hold.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit d7d8b1f Nov 8, 2026
38 checks passed
@kyle-sexton
kyle-sexton deleted the ci/actionlint-kjanat-switch branch November 8, 2026 06:28
kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 14, 2026
…al reference (#1004)

No related issue: the pins audit has failed on every push to main since
2026-11-12

## Summary

The "Maintenance Audit PR Convention Pins" workflow fails on every push
to main with
`drift: caller ci-workflows: no pr-contract composite step and no
pr-issue-linkage caller`
(for example [run
43551903176](https://github.com/melodic-software/standards/actions/runs/43551903176)).

ci-workflows' gate calls its own composite through GitHub's
self-repository syntax,
`uses: $/.github/actions/pr-require-checks/check-contract`

([`pr-require-checks.yml`](https://github.com/melodic-software/ci-workflows/blob/main/.github/workflows/pr-require-checks.yml),
step "Check the pull-request contract").
That switch from `./` to `$/` landed on 2026-11-08 in

[ci-workflows#1027](melodic-software/ci-workflows#1027),
so the failures
probably began with the first audit run after it, before the 2026-11-12
example.
`detectArtifactPin` found ci-workflows' local composite only through
`COMPOSITE_LOCAL_PATTERN`,
which accepted a `./` prefix and nothing else. The scan therefore found
no artifact and reported
`kind: "none"`.

GitHub documents `$/` as "the self repository reference": it resolves to
the same repository at
the running commit and takes no `@{ref}` suffix
([workflow syntax,
`jobs.<job_id>.steps[*].uses`](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-using-an-action-in-the-same-repository-as-the-workflow-at-the-running-commit-recommended);
[changelog,
2026-07-30](https://github.blog/changelog/2026-07-30-reference-same-repository-actions-with-self-repository-syntax/)).
The scan reads ci-workflows at `main`, the commit its own `main` runs,
so the existing
`sha: "main", local: true` resolution applies unchanged.

## Fix

- `components/pr-convention-policy/lockstep-drift.mjs`:
`COMPOSITE_LOCAL_PATTERN` accepts
`[.$]/` where it accepted only `\./`. It still requires a live `uses:`
entry with no `#` earlier
  on the line. Two comments now name both forms.
- `components/pr-convention-policy/lockstep-drift.test.mjs`: a `$/`
reference is detected as the
local composite at `main`, and a commented-out `$/` line still detects
nothing.

Nothing else in the component assumes `./`: `runPinScan` reads a local
artifact from the
consumer's own tree whatever the prefix. The README and threat model do
not describe the prefix.

## Verification

- `node --test components/pr-convention-policy/lockstep-drift.test.mjs`:
95 of 95 pass, exit 0.
- An offline dry run against ci-workflows `origin/main` passed the real
workflow files to
  `resolveConsumerArtifact`. It resolved

`{"kind":"composite","sha":"main","directory":".github/actions/pr-require-checks/check-contract","local":true}`.
`checkFleet` then reported no drift for ci-workflows against that tree's
`run.sh` and
`action.yml`. Only one live composite or linkage call exists in
ci-workflows' workflows
(`pr-require-checks.yml:763`), so no legacy `pr-contract` call can win
the scan.
- The real pin scan needs `LOCKSTEP_GITHUB_TOKEN` or `GITHUB_TOKEN` to
read private callers.
Without one it exits 1 with `fetch-error: the pin scan reads private
gate callers and needs
LOCKSTEP_GITHUB_TOKEN or GITHUB_TOKEN; neither is set`. The fleet-wide
result therefore comes
  from the workflow's run on main after merge.

## Related

-
[ci-workflows#1027](melodic-software/ci-workflows#1027):
moved
  `pr-require-checks.yml` to `$/` references.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 15, 2026
Refs: #982

## Summary

The re-pin pull request #982 (ci-workflows actions to v0.74.0) has
failed `CI Status` since the actionlint action
switched to the kjanat fork: two component suites cannot parse the
fork's version line, so this repository's 23
first-party action pins have stayed on v0.71.0.

## Fix

- `components/actionlint/actionlint.test.sh` and
`components/claude-lanes/claude-lanes.test.sh`: the version handed
to `require_min_version` is the last field of the first line of
`actionlint -version`. Upstream prints `1.7.12`;
  the fork prints `actionlint.kjanat.dev 1.17.0`.

Neither file is distributed, so the sync opens no pull request for this
change.

## Verification

- Failing job on #982 (`Check GitHub Actions`, head `a7efa88`):
`ERROR: actionlint reported an unparsable version:
actionlint.kjanat.dev\ 1.17.0 (fix the --version parse)` in both
  suites.
- `printf 'actionlint.kjanat.dev 1.17.0\n' | awk 'NR == 1 { print $NF
}'` prints `1.17.0`.
- `bash harness/shell/run-tests.sh
components/claude-lanes/claude-lanes.test.sh
components/actionlint/actionlint.test.sh`
with upstream actionlint 1.7.12: `2 files: 2 passed, 0 failed, 0
skipped`.

## Related

- #982
- melodic-software/ci-workflows#1027 (the switch to the fork)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.2 <[email protected]>
kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 15, 2026
…nly (#1028)

Refs: #982

## Summary

With the version parse fixed (#1027), the re-pin pull request #982 still
fails `CI Status`: nine assertions in
`components/actionlint/actionlint.test.sh` are removal controls that
expect actionlint to reject `$/` references,
`concurrency.queue`, job `cache-mode` and the `issues`
`field_added`/`field_removed` types without the config. The
kjanat fork that ci-workflows v0.74.0 installs accepts all four
natively.

## Fix

- `components/actionlint/actionlint.test.sh`: those four controls run
only when the engine is upstream actionlint.
  The fleet-label control is unchanged and runs on both engines.

The four ignores in `.github/actionlint.yaml` stay. A consumer that
still lints with upstream actionlint needs them:
claude-code-plugins pins the actionlint action at `2476d5dd`, before the
switch to the fork (ci-workflows `d7d8b1f`,
first released in v0.72.0), and uses these constructs in its workflows.
Dropping an ignore and its control is right
once no consumer lints with upstream.

## Verification

- Failing job on #982 at head `544ed7c6` (`Check GitHub Actions`):
assertions 16, 17, 23, 24, 30, 31, 38, 39 and 40,
  each "expected non-zero exit, got 0" or its missing control message.
- Upstream actionlint 1.7.12: `bash
components/actionlint/actionlint.test.sh` prints 40 `PASS`, 0 `FAIL`.
- A stub that reports the fork's version line and otherwise runs
upstream: 31 `PASS`, 0 `FAIL` (the nine assertions
above do not run; the fleet-label control does). The real fork runs this
suite on #982's next run.
- `shellcheck components/actionlint/actionlint.test.sh`: clean.

## Related

- #982, #1027
- melodic-software/ci-workflows#1027 (the switch to the fork)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.2 <[email protected]>
kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 23, 2026
)

No related issue: doc correction from an org-wide zizmor inventory.

## Summary

`components/zizmor/README.md` (Ownership) gave "ci-workflows'
`self-repository` ignore" as its example of an extra rule. ci-workflows
removed that ignore in
[ci-workflows#1027](melodic-software/ci-workflows#1027)
(commit d7d8b1f), and its `.github/zizmor.yml` on main holds only the
cooldown and `unpinned-uses` rules.

## Fix

Drop the example; the locally-owned rule itself is unchanged.

## Verification

Read ci-workflows' `.github/zizmor.yml` at main and the d7d8b1f diff,
which deletes the `self-repository` block. markdownlint (pre-commit)
reports 0 issues.

## Related

Not changed here: `distribution/sync-manifest.yml` still gives that
ignore as the reason ci-workflows keeps the `zizmor` component
`locally-owned` (the comments above the `zizmor:` component entry and
inside ci-workflows' `locally-owned` list), and names its retirement as
the removal trigger. That trigger has now been met. ci-workflows#1027
lists "flip ci-workflows' `zizmor` component to managed" as a follow-up
for standards. Flipping it would sync the org config over ci-workflows'
narrower `unpinned-uses` policy, so it is left to its own change.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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