cli/contributing/update/label/__main__.py and merge/__main__.py start with a shebang but landed as mode 100644, because the commit-tree script that built #2428 wrote every new file as 100644. ruff EXE001 then fails autoformat, so make quality-high stops on main 9f5f1e4a90. Both files are now 100755 like the sibling __main__.py files; contents are unchanged.
🎯 Fix: 97 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub code quality flagged three new test modules for importing unittest both with import and with from-import. They now import Mock or patch from unittest.mock, the form the rest of the repository uses. No assertion changed; the label, merge github and merge main tests pass as before (11, 7 and 15).
🎯 Fix: 97 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TestHealthCheckLogic.setUp kept the MagicMock that patcher.start() returns and registered its .stop as cleanup. Calling .stop on that mock does nothing, so storage_optimizer.time.sleep, which is the global time.sleep, stayed patched for the rest of the xdist worker and broke later tests that rely on a real sleep. setUp now registers patcher.stop itself. A regression test runs one health check test and asserts that time.sleep is the real function again; against the old setUp it fails because time.sleep is still a leaked MagicMock. Reported by Stage 2.0 from IAM fork run 44854310979.
🎯 Fix: 96 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 95
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
entry-pr-green-update-merge.yml runs on a successful pull_request run of the PR pipeline for update/* and dependabot/* branches. cli.contributing.update.merge merges only when the updater App or Dependabot opened the PR from its own branch against the default branch, it carries the update label, every check run and status on its head is green, and the role-runtimes artifacts of that run list every role the PR changes. The gate reads with the read-only GITHUB_TOKEN; the App token is minted only after it passes and merges through the REST API pinned to the tested head SHA. entry-pr-change-dependabot-label.yml gives Dependabot PRs the same update plus level labels, and dependabot.yml adds the update label to every active ecosystem. Both workflows stay off unless CI_ENABLE_AUTO_UPDATES is true.
🎯 Fix: 82 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 82 % < 90
MEDUSA accepted false positives: RH005 cli/contributing/update/merge/__main__.py (standard CLI entry), WEB-PATH-002 cli/contributing/update/merge/github.py (zip read in memory with size caps, never extracted), B603 cli/contributing/update/merge/github.py (list-form gh subprocess, no shell).
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
utils/update/level.py reads the update commit with git diff -U0 and returns the highest step among the versions it rewrites: the first differing number decides major, minor or patch, and a step that is no number change (a commit SHA, a SHA moving to a tag) counts as major. scripts/github/update/open/pr.sh computes the level after its commit, makes sure the four labels exist through python -m cli.contributing.update.label --ensure-only, and sets update plus the level on the PR it creates or edits. The label module is stdlib only, like level.py, because the update jobs install no dependencies.
🎯 Fix: 88 %
💥 Break: 5 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ fix 88 % < 90
MEDUSA accepted false positives: B603 cli/contributing/update/label/__main__.py and B603 utils/update/level.py (list-form gh and git subprocesses, no shell); MEDUSA-AI-BACKDOOR-006 utils/update/level.py (unified-diff hunk header parsing).
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A full-SHA ref now moves to the newest unflavored release tag of its upstream when that tag contains the pin, proven by a treeless fetch of the tag and git merge-base --is-ancestor. Otherwise it keeps following the default branch tip, so no pin ever moves back to an older release; a failed fetch proves nothing and moves nothing. svc-ai-ltengine moves to v0.1.1, the commit it ran before #2309. discourse-ldap-auth stays on 9776c1d because v0.8.0 lacks its Ruby 3.4 fix. tests/external/update/repository/test_sha_pins_follow_tags.py fails on a SHA pin a release tag already contains.
🎯 Fix: 92 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 89
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
MEDUSA accepted false positive: B603 utils/update/repository.py (list-form git ls-remote, no shell).
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
call-validation.yml and call-test-deploy.yml forward the repository variable in their workflow-level env, so the priority batch count and every chunk's discover step cut the same plan. Unset or empty keeps the default.env value: env_setting and load.sh both skip an empty caller value. Set to 500, the chunk size exceeds the run's job budget, a sweep needs one chunk (two with a priority line), and INFINITO_CI_JOB_LIMIT is the only bound. A workflow guard fails when a chunk-sizing workflow stops forwarding the variable.
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Snipe-IT v8.8.4 drops the whole custom CSS setting when it declares any CSS variable (app/Models/Setting.php:315, GHSA-gmvp-6qh3-5xm6), so the role's 50-line variable mapping in custom_css.css never reached the page and Snipe-IT#0 failed every design spec on main (run 44832379727, job 136676861904: test-design.js 172, 191, 210, 223, 241 received Snipe-IT's own defaults).
The mapping now leads files/style.css, which the proxy injects before </head>; its html[data-theme] selector outranks upstream's :root and [data-theme] blocks. custom_css.css and its lookup are gone; design_config.php keeps only the stash marker, so an existing install's old block is replaced and foreign custom CSS renders again.
MEDUSA: 1 accepted false positive, MEDUSA-PHP-SCAN-030 on design_config.php:38 (sha1 builds a content-addressed logo file name).
🎯 Fix: 88 %
💥 Break: 5 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ fix 88 % < 90 (no deploy ran; the PR's Snipe-IT#0 CI is the proof)
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Snipe-IT v8.8.4 moved to Laravel's bootstrap/app.php and calls $middleware->trustHosts(), so only APP_URL's host and its subdomains are trusted. Every internal caller that reached the container as localhost, 127.0.0.1 or the container name got HTTP 400: the /health healthcheck (the swarm service never converged, Snipe-IT#2), the SSO header bridge probe (400 instead of 200/302, Snipe-IT#0 and PR 2310), the MCP identity mint and the MCP adapter upstream.
Each internal caller now presents the canonical domain as Host:
- meta/services.yml healthcheck: wget --header Host.
- tasks/04_sso.yml probe: -H Host from SNIPE_IT_DOMAIN.
- provision_mcp_identity.php: MCP_API_HOST (passed by mcp_mint.yml, fail fast when empty) as the loopback probe's Host.
- svc-ai-mcp-adapter: opt-in contract field upstream_host, validated in policy.py and sent on the REST, streamable-HTTP and SSE paths through upstream_headers(); only Snipe-IT sets it, every other consumer is unchanged.
Upstream's Host validation stays on. Evidence: adapter tests test_server 15, test_policy 60, test_server_passthrough 14, test_sse 8 pass; the new tests fail against the old adapter (negative control); healthcheck, comment and Python lints green; ruff clean; rendered healthcheck [CMD, wget, -q, -O-, --header, Host: <domain>, http://localhost/health]. MEDUSA: 0 findings, 7 pre-existing acceptances. Independent skeptic review found no hole. Residual: only the Snipe-IT CI deploy (compose and swarm) proves it.
🎯 Fix: 85 %
💥 Break: 5 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 81
🚦 Gate: ⛔ fix 85 % < 90 (operator pick 2026-11-20: commit as draft hotfix PR, CI deploy is the proof)
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
email_account.py hard-coded use_tls = 1 and no_smtp_authentication = 0. In Frappe, use_tls means STARTTLS, but Stalwart serves implicit TLS on smtps 465, so every ERPNext send hung until Stalwart's TLS timeout closed the socket (smtplib.SMTPServerDisconnected, 'Invalid Outgoing Mail Server or Port'); Stage 2.0 proved it in fork run 44617574811 ERPNext#1 (login POST 499 after 59.989 s). A relay without login (port 25, auth false) also got SMTP AUTH forced on it. The script now derives use_ssl_for_outgoing (tls and not start_tls), use_tls (tls and start_tls) and no_smtp_authentication (not auth) from the email lookup's tls, start_tls and auth, which the task passes as SMTP_TLS, SMTP_START_TLS and SMTP_AUTH. Adapted from Stage 2.0's IAM patch erpnext1-smtp-implicit-tls-r2 to main's env-passed SMTP_PASS.
test_email_account.py covers implicit TLS, STARTTLS, plain, both auth cases, convergence of an account left on STARTTLS, and the commit; against main's script 5 of its 7 tests fail (negative control). The new test is the mirrored unit test of email_account.py, so its nocheck: mirrored-unit-test exemption goes; _fake_frappe gains is_new, db_insert and db_update.
🎯 Fix: 90 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 86
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under swarm, three Moodle PHP replicas served one site from a shared NFS moodledata, and Moodle's default file session handler kept every session under $CFG->dataroot/sessions. CI run 44532889020 (PR 2243, Moodle#0 swarm) logged 'session_start(): Failed to decode session object. Session has been destroyed' nine times across the replicas, each one to two seconds before a failed spec attempt: the browser lost its session, the file picker's repository_ajax call answered requireloginerror and course navigation was sent to the login page (ERR_ABORTED). config.php now selects Moodle's core database session handler, so every replica reads the same session row from the shared MariaDB. Switching handlers signs every user out once.
ConfigTest.php runs config.php against a stub setup.php and asserts the handler class; without the line the suite fails exactly that test (negative control). The new test is the mirrored unit test of config.php, so its nocheck: mirrored-unit-test exemption goes.
🎯 Fix: 88 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ fix 88 % < 90
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kvb-code-clean follow-up to PR 2376: test_pull_request_checkouts_under_pull_request_target_need_the_gate had cyclomatic complexity 11 (limit 10). The job loop moves into _offenders(name, document); the test only walks the workflows. Unchanged behaviour: 1 passed on main's workflows, and against the pre-2376 workflows it still fails on build-ci-images-fork and images-mirror-missing-fork. ruff check and format clean.
🎯 Fix: 95 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 94
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kvb-code-clean pass on PR 2375: the second exception comment in docker-entrypoint-joomla.sh loses its closing sentence, which only restated what the pending note does. The test helpers spawn() and calls() now take the log name as a required argument instead of defaulting to "calls"; every caller passes it. test_docker_entrypoint_joomla.py: 14 passed; ruff check, ruff format and shellcheck clean.
🎯 Fix: 85 %
💥 Break: 6 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 85 % < 90, break 6 % > 5
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docker Hub re-pushed joomla:6.2.0-php8.3-apache on 2026-11-19 with the docker-joomla entrypoint of official-images 82dbb58597. It skips setup for 'apache2 -v', so the wrapper's leader no longer installed anything. When the installer fails it keeps .joomla-initializing for good. On the swarm's NFS webroot the installer cannot delete installation/ ('[ERROR] Unable to delete installation folder!'), and every replica then exits with 'Initialization did not complete (exit 1); server startup is blocked.'
docker-entrypoint-joomla.sh now runs setup through the stock entrypoint with 'apache2 -l'. One leader runs it under a mkdir lock with a heartbeat owner file, and a lock whose heartbeat is older than JOOMLA_INIT_LOCK_STALE_SECONDS (180 s) is taken over atomically. When setup stops only at the delete message, the leader finishes what Joomla's CleanupModel does: it deletes installation/ and joomla.xml and renames robots.txt.dist. It records the pending cleanup in .infinito-init.cleanup, so a failed rm is retried on the next start. A site left stuck by the old wrapper fails with the exact manual step.
test_docker_entrypoint_joomla.py has 14 cases. It passes on the fix, fails 12 of 14 on the old wrapper, and fails on a mutant without the grep guard. Two independent skeptic rounds: the first refuted the earlier version, the second found no hole. Draft: no run against the real stock entrypoint on a real NFS volume yet; the fork CI swarm run proves it.
🎯 Fix: 85 %
💥 Break: 6 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 85 % < 90, break 6 % > 5
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under pull_request_target, build-ci-images-fork builds a fork's Dockerfile on a runner whose docker config holds a packages:write token and exports the shared build cache that trusted builds read. images-mirror-missing-fork receives the Docker Hub secrets, contrary to pipeline.md, and reads the fork tree with symlinks followed. A new fork-trust-gate job fails both paths for untrusted full-scope fork pull requests until a maintainer adds the label '🛡️ Trusted' (scripts/github/gate/trusted_label.sh). Fork builds no longer export the shared cache (scripts/image/push.sh). The mirror job checks the fork tree out with core.symlinks=false, fails on any symlink (scripts/github/gate/no_symlinks.sh) and does not persist the base checkout's credentials.
test_workflow_fork_checkout_gated.py fails on the old workflows and passes on the new ones; actionlint, shellcheck and ruff are clean. Behaviour change: an untrusted full-scope fork pull request turns red at the gate and gets no deploy CI until it is labelled; same-repository pull requests run as before. Open: the label survives later pushes of the fork, and it is untested whether actions/checkout honours a global core.symlinks=false.
🎯 Fix: 88 %
💥 Break: 8 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 81
🚦 Gate: ⛔ fix 88 % < 90, break 8 % > 5
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/github/cancel/pull_request_runs.sh runs privileged under pull_request_target when a pull request closes. It also cancelled every pull_request run whose head_sha equalled the closed pull request's head, whatever pull request or repository the run belonged to. Anyone could therefore open a pull request on another pull request's head commit and close it again, which cancelled the other pull request's CI runs. The head-sha matcher now requires that the run names no other pull request and comes from the same head repository or carries this pull request's number in its run name. When another open pull request shares the head, the head-sha matcher is dropped together with the branch matcher.
test_cancel_runs.py covers a rival pull request on another head and on the same head; the old script cancels those runs.
🎯 Fix: 90 %
💥 Break: 2 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 88
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the MediaWiki swarm (run 44684132745) replica mediawiki.2 queued OpenIDConnect before composer had written extensions/OpenIDConnect/vendor/ to the shared volume. MediaWiki's ExtensionRegistry caches per replica, for a day, whether an extension's vendor/autoload.php existed when the extension was first queued, so that replica kept failing with 'Class "Jumbojett\OpenIDConnectClient" not found' after composer had finished. oidc.php.j2 now loads PluggableAuth and OpenIDConnect only when vendor/autoload.php exists as well, so the queued set, and with it the registry cache key, changes once the vendor tree appears.
test_composer_autoloader_gate.py checks that every extension declaring load_composer_autoloader (OpenIDConnect, AWS, VisualEditorPlus) is loaded behind a file_exists check on its vendor/autoload.php; on origin/main it fails for OpenIDConnect, with the change it passes (1 passed, 3 subtests). MEDUSA could not run in the sandbox (read-only ~/.medusa); the two-file diff was reviewed by hand: a constant path check and a repository-only test, no trust boundary, secret or injection surface.
🎯 Fix: 88 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 85
🚦 Gate: ⛔ fix 88 % < 90
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>