Skip to content

Refresh CLAUDE.md for the 7.4 lint job - #19

Merged
matasarei merged 1 commit into
masterfrom
docs/claude-md-refresh
Aug 30, 2026
Merged

Refresh CLAUDE.md for the 7.4 lint job#19
matasarei merged 1 commit into
masterfrom
docs/claude-md-refresh

Conversation

@matasarei

Copy link
Copy Markdown
Collaborator

/gku:init --refresh. The managed family-rules block needed no change — diffed against
templates/moodle-plugin.md and it is byte-identical, 82 lines both sides. Nothing inside the
markers was touched.

What had gone stale is the hand-written guidance around it, both from changes made in this
release:

  • Lint guidance. It said the php:8.1-cli image was the lowest in the CI matrix, so a pass
    there covered everything. It no longer is — 7.4 is the declared floor, sites run it, and
    php -l cannot see a PHP 8 only function: str_contains and friends parse on 7.4 and fatal
    at runtime. The instruction is now to lint on both images, and it says why the grep exists.
  • The CI check list. It enumerated the moodle-plugin-ci steps and the superglobal grep, but
    not the php74-syntax job added in Say 7.4 on the PHP badge, and make CI enforce it #17, nor that moodle-plugin-ci needs PHP 8 and so the
    suite cannot run on 7.4 at all.

Documentation only. .claude/repo-profile.json was also refreshed — it still claimed there was
no tests/ directory, which stopped being true 103 tests ago — but it is gitignored, so it
stays local.

No release update: the tag is unchanged and no artifact is affected.

The managed family-rules block is already identical to the current template;
these are the two hand-written claims around it that this release made stale.

Lint guidance said the 8.1 image was the lowest in the matrix so a pass covered
everything. It no longer is: 7.4 is the declared floor, some sites run it, and
php -l cannot see PHP 8 only functions, which parse on 7.4 and fatal at
runtime. The CI section gains the php74-syntax job and why the suite cannot run
there.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SrD1CtCf7ERCCtH2k7LzK3
@matasarei
matasarei merged commit 0cec70c into master Aug 30, 2026
5 checks passed
@matasarei
matasarei deleted the docs/claude-md-refresh branch August 30, 2026 21:28
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