Skip to content

ci: move bamarni-bin tools to vendor-bin/ and sync Psalm skills - #454

Merged
roxblnfk merged 1 commit into
1.xfrom
ci/bin-tools
Nov 25, 2026
Merged

roxblnfk merged 1 commit into
1.xfrom
ci/bin-tools

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

🔍 What was changed

  • bamarni-bin tools moved from tools/ to vendor-bin/; scripts, workflow path filters, bootstraps and configs follow.
  • Each tool directory has its own .gitignore (vendor/, composer.lock, dot-dirs, skills.json) instead of root patterns: a global llm/skills auto-inits inside every composer bin project.
  • vendor-bin/psalm runs llm/skills and syncs Psalm's bundled skill into the root .agents/skills (path-from-root, only vimeo/psalm trusted).

Checklist

  • How was this tested:
    • composer bin all install, composer bin psalm install synced psalm into the root .agents/skills, root skills intact
    • composer structarmed and composer rector:ci green locally
    • Psalm and Infection (PHPUnit mirror) fail on 1.x too: psalm 7.19.0 adds 6 errors (rerun of the last green 1.x run fails the same), the mirror fails on unloaded_files stat

ci: sync Psalm's bundled agent skills into the root `.agents/skills`

`vendor-bin/` is the plugin's conventional target directory. Psalm's skills land inside `vendor-bin/psalm/vendor`, which the root `llm/skills` never walks, so the tool runs the plugin itself and targets the root via `path-from-root`; `trusted-replace` limits it to `vimeo/psalm`.

Assisted-By: Claude Opus 5.5 <[email protected]>
@roxblnfk
roxblnfk requested a review from a team as a code owner November 25, 2026 07:23
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

core/Application/Config/Internal/ConfigInflector.php:123:35 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
core/Application/Config/Internal/ConfigInflector.php:256:21 - libxml_use_internal_errors is part of the ext-libxml extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
core/Application/Config/Internal/ConfigInflector.php:260:13 - libxml_clear_errors is part of the ext-libxml extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
core/Application/Config/Internal/ConfigInflector.php:261:13 - libxml_use_internal_errors is part of the ext-libxml extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
core/Common/Environment.php:92:29 - Testo\Common\Environment::$phpVersion with non-falsable declared type 'string' cannot be assigned possibly false type 'false|string'
core/Common/Environment.php:97:32 - Testo\Common\Environment::$xDebugVersion with non-falsable declared type 'null|string' cannot be assigned possibly false type 'false|null|string'

@codecov

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@roxblnfk
roxblnfk merged commit ed4d4ce into 1.x Nov 25, 2026
31 of 35 checks passed
@roxblnfk
roxblnfk deleted the ci/bin-tools branch November 25, 2026 07:32
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.

2 participants