Skip to content

fix(provision): restore exec bit on 18 generator-emitted launchers - #3320

Merged
POWERFULMOVES merged 9 commits into
mainfrom
fix/provision-launcher-exec-bit
Nov 19, 2026
Merged

POWERFULMOVES merged 9 commits into
mainfrom
fix/provision-launcher-exec-bit

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

What

The PR #3184 merge (a5b0a8238) flipped 18 generator-emitted launchers in deploy/provision/ from 100755 to 100644. That merge was made on a Windows checkout, which doesn't track the exec bit, so the mode change slipped through. File contents didn't change, so pmoves_launcher_generator.py --check still passed. On the Linux nodes (B850, SPARK, KVMs), running ./claude-pmoves-b850.sh and the others directly now fails with "permission denied". Running them with bash <file> still works.

Change

  • git update-index --chmod=+x on the 18 files. This changes only the file mode; there are no content diffs.
  • New pmoves/tests/test_launcher_exec_bit.py. Every deploy/provision/*.sh that carries the generator's AUTO-GENERATED stamp must be 100755 in the git index. The test reads the index rather than the filesystem because Windows can't report the exec bit.
  • Register CLAIM for the lane.

Verification

  • The new test fails before the chmod (it lists all 18 files) and passes after.
  • pmoves_launcher_generator.py --check reports "All 52 generator files match the checked-in copies."
  • git diff --summary origin/main...HEAD shows exactly 18 mode change 100644 => 100755 entries, plus the test file and one register row.

🤖 Generated with Claude Code

The PR #3184 merge (a5b0a82) flipped 18 deploy/provision/*.sh wrappers
from 100755 to 100644 (a Windows-checkout merge carried the mode change).
Content was unchanged, so pmoves_launcher_generator.py --check stayed green,
but a direct ./claude-pmoves-b850.sh on the Linux nodes now fails with
permission denied.

- git update-index --chmod=+x on the 18 files (mode-only, no content diff)
- pmoves/tests/test_launcher_exec_bit.py: every launcher stamped
  AUTO-GENERATED by the generator must be 100755 in the git index
  (red before this change, green after)
- register CLAIM for the lane

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1

  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added docs Documentation governance AGNOTE register / agent definitions / damage-control hooks labels Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

  1. CORRECTNESS
  • 18 mode-only flips (100644→100755) match the PR claim exactly; no content changes to the launchers.
  • Test file pmoves/tests/test_launcher_exec_bit.py: parents[2] correctly resolves repo root from pmoves/tests/; git ls-files -s parsing (mode sha stage\tpath) is correct; list-args subprocess (no shell=True), -- pathspec separator, untracked-file guard, and non-empty guard all sound.
  • Nit: stamp sniffing reads only the first 2048 bytes — a stamp pushed past that window silently drops a file from coverage.
  • CI edge: check=True on git ls-files raises CalledProcessError (ugly failure, not a skip) when tests run outside a git repo (tarball/sdist export); only the git-missing case is skipped.
  • Register row (AGNOTE4482PHI.t1.md) is a declared lane-CLAIM append consistent with the file's existing rows — not scope creep; no unrelated files.
  1. SECURITY / TOPOLOGY
  • No IPs, ports, tokens, keys, or credentials in the added lines. Node labels (B850, SPARK, KVMs, Z890) appear in the register row but are already public via tracked filenames (claude-pmoves-b850.sh etc.) — no new topology exposure. Otherwise clean; no shell changes to audit.
  1. VERDICT: APPROVE — minimal, correct mode-only fix with a reasonable regression gate; nits (non-repo skip, 2048-byte stamp window) are non-blocking.
reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

@kilo-code-bot

kilo-code-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Roast 🔥

Verdict: No Issues Found | Recommendation: Merge

Oh wait, this PR is actually clean. I need to sit down. I came here with the flamethrower set to "index corruption" and left reading a test suite that reads the git index instead of trusting a Windows filesystem to know what an exec bit is. That's the correct — and, frankly, rare — instinct: the filesystem lies on Windows, the index never does. Verified all 18 mode flips are exactly 100644 => 100755 with zero content diffs, and the index now holds 100755 for all 19 generator-stamped launchers (the 19th, kimi-pmoves-knuckles.sh, survived the bad merge unscathed). The regression test's stamp-sniffing, root resolution (parents[2] from pmoves/tests/), ls-files -s parsing, and untracked-file guards all check out.

📊 Overall: Like a screen-door repair crew that showed up, replaced the door correctly, and installed a tripwire so nobody breaks it again — mode-only fix plus an index-level regression gate. The only things on file are two non-blocking nitpicks already raised by the earlier fleet-review comment (2048-byte stamp-sniff window; check=True hard-fails if pytest somehow runs outside a git repo), and both are advisory noise for any checkout where this repo's CI actually runs. Merge it.

Files Reviewed (20 files)
  • deploy/provision/claude-pmoves-4090.sh - mode-only
  • deploy/provision/claude-pmoves-5090.sh - mode-only
  • deploy/provision/claude-pmoves-b850.sh - mode-only
  • deploy/provision/claude-pmoves-z890.sh - mode-only
  • deploy/provision/codex-pmoves.sh - mode-only
  • deploy/provision/crush-pmoves-crush.sh - mode-only
  • deploy/provision/crush-pmoves-glm52.sh - mode-only
  • deploy/provision/hermes-pmoves.sh - mode-only
  • deploy/provision/install-codex-pmoves-command.sh - mode-only
  • deploy/provision/install-hermes-pmoves-command.sh - mode-only
  • deploy/provision/install-kilo-pmoves-command.sh - mode-only
  • deploy/provision/install-kimi-pmoves-command.sh - mode-only
  • deploy/provision/install-pmoves-mini-command.sh - mode-only
  • deploy/provision/kilo-pmoves-kiloclaw.sh - mode-only
  • deploy/provision/kilo-pmoves-kilocode_glm.sh - mode-only
  • deploy/provision/kilo-pmoves.sh - mode-only
  • deploy/provision/kimi-pmoves.sh - mode-only
  • deploy/provision/pmoves-mini.sh - mode-only
  • pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md - claim row (clean)
  • pmoves/tests/test_launcher_exec_bit.py - reviewed fully, no new findings

Reviewed by glm-5.3-flash · Input: 63.9K · Output: 8.3K · Cached: 388.9K

@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Review (Mavis / 5090-claude) — +1, cannot self-approve

Local verification PASS. Independently confirmed on 5090 (Windows worktree, branch pr-3320-b850-exec-bit at df32a6c8ac).

What I ran

$ python -m pytest pmoves/tests/test_launcher_exec_bit.py -v
pmoves\tests\test_launcher_exec_bit.py::test_generator_emitted_launchers_are_executable_in_index PASSED
============================== 1 passed in 0.55s ==============================

Verified file modes (git index)

All 18 affected files are 100755 on the PR's branch. (55 of 79 total deploy/provision/*.sh files are 100755; the other 24 are correctly 100644 because they are hand-written host-provisioning / test / z890 / jetson / cipher scripts, NOT generator-stamped. The new test correctly excludes them by checking for the AUTO-GENERATED by pmoves/tools/pmoves_launcher_generator.py stamp in the first 2048 bytes.)

Convergence with PR #3282 (slice A) — this PR and slice A land the SAME fix

I'm the Mavis author on PR #3282 (slice A, feat/claude-pmoves-mavis-launcher at a083db41ee). My slice A's post-flip fix ran python -m pmoves.tools.pmoves_launcher_generator to regen the 25 drifted launcher files. That regen also flipped the 18 +x bits to 100755 as a side-effect of re-emitting from the generator:

$ git -C ../PMOVES.AI-fix-5090-claude-pmoves-launcher-anthropic-routing \
       diff --summary origin/main..HEAD | grep "mode change" | wc -l
18

So slice A's diff against main already contains the 18 mode changes that PR #3320 is fixing. The two PRs converge on the same fix:

Merge compatibility

If #3282 lands first: the 18 files are already 100755 in main, so #3320's mode change becomes a no-op (no conflict). The new test + AGNOTE row still land cleanly.

If #3320 lands first: when #3282 is rebased onto the new main, the 18 files are already 100755, so the mode change in the regen is a no-op (no conflict). The content changes from the regen still apply.

Either order, no merge conflict. Recommend landing #3320 first because:

  1. Smaller, more focused diff (chmod only)
  2. The new test (test_launcher_exec_bit.py) is a useful ratchet to land BEFORE slice A — slice A's regen would still pass it, but having the ratchet in main first means future regens can't regress it
  3. PR feat(launcher): claude-pmoves-mavis — separate run name for the Mavis/MiniMax overlay #3282 still needs the operator's review of the 25 content changes from the regen (the manifest hash drift fix); landing that separately is cleaner

Test design praise

pmoves/tests/test_launcher_exec_bit.py reads from git ls-files -s (the index) instead of the filesystem. This is the right choice for a cross-platform repo — Windows can't report the exec bit at all, so a filesystem-mode test would have given false negatives on every Windows CI runner. Index-mode testing is the only way to enforce this on a Windows + Linux fleet.

Tiny nit (non-blocking)

The test catches EXISTING files that lost the bit, but not NEW files added on Windows (e.g., my slice A's claude-pmoves-mavis.sh was caught by test_claude_pmoves_mavis.py::test_bash_wrapper_exists_and_is_executable instead). A complementary ratchet that walks the generator's plan and asserts every emitted file is 100755 after the regen would be tighter — but that's a follow-up, not a blocker.

Verdict

+1 from Mavis (5090-claude). Lands cleanly on top of (or under) slice A. New test is a durable cross-platform ratchet. Fix is surgical. AGNOTE row is in the right place.

(Same GitHub author as the PR, so cannot formally APPROVE — but the substantive recommendation is approve. The 5090-CLAUDE lane review is a separate pass.)

POWERFULMOVES pushed a commit that referenced this pull request Oct 10, 2026
… launcher

The 644 siblings on main are the #3184 Windows-merge regression #3320 fixes;
the manifest already records executable: true for this file.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

  1. CORRECTNESS
  • 18 mode-only changes (100644 → 100755) verified; file list matches the PR body's claim exactly, no content diffs.
  • Test logic is sound: reads git ls-files -s (index, not filesystem — works on Windows), catches untracked stamped launchers, clear remediation message.
  • Nit: check=True on git ls-files errors (rather than skips) when git is installed but .git is absent (tarball/exported CI workspace); guard with git rev-parse --is-inside-work-tree in the skipif.
  • Nit: stamp sniffing reads only the first 2048 bytes; a stamp placed later silently exempts a file — deriving the list from the generator itself is more robust.
  • Register row is inserted out of order: the 2026-10-09T15:05:58Z CLAIM sits after 2026-10-08 rows in a newest-first log, and its TTL (2026-10-10T15:05:58Z) is already expired.
  1. SECURITY / TOPOLOGY
  • No IPs, ports, secrets, tokens, or credentials in added lines.
  • Added prose (test docstring and new register row) names internal nodes — B850, SPARK, KVMs, Z890 — in a public repo. Identifiers already appear throughout the pre-existing register and in the launcher filenames this PR touches, so marginal new exposure, but the new prose repeating them is avoidable.
  • Pre-existing (context lines only, not this PR's additions): the register file already references NATS/bus internals, host.docker.internal:8080, and secret names — not introduced here, but worth a separate scrub ticket.
  1. VERDICT: APPROVE — minimal, correct mode-only fix with a reasonable regression test; remaining items are nits (CI skip guard, stamp-window, doc ordering) and node-name prose that adds no exposure beyond what the repo already publishes.
reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

POWERFULMOVES added a commit that referenced this pull request Oct 10, 2026
…ode identity (#3331)

* feat(identity): land the spark-claude signing card and SPARK claude-code identity

The SPARK node's Claude Code session resolved no identity and no cipher
agentId, and cipher-mint-token refused spark-claude for lack of an active
card. Card ...0014 and its agent_signatures key were issued on SPARK on
2026-09-21 but never reached main; identity_vocabulary.yaml recorded that
as an open follow-up.

- signing_identity_cards.yaml / agent_signatures.yaml: card ...0014 and the
  spark-claude signature, unchanged from the SPARK originals
- agent_registry.yaml: claude_spark (mirrors claude_b850), spark-claude in
  external_contributors
- node-vocabulary.yaml: spark default_identity / cipher_agent_id for claude-code
- identity_vocabulary.yaml: claude_spark alias; follow-up note closed
- agent-teams.yaml: claude_spark in orchestration

node_identity.py on SPARK now resolves claude_spark, cipher agentId
spark-claude, register name SPARK-CLAUDE.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* chore(launchers): regenerate for claude_spark (launchers-regen)

claude-pmoves-spark.{sh,ps1,cmd} + manifest entry; the generator emits one
launcher set per declared node identity. Existing launchers unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(launchers): claude-pmoves-spark.sh is 100755 like every generated launcher

The 644 siblings on main are the #3184 Windows-merge regression #3320 fixes;
the manifest already records executable: true for this file.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* docs(chit-tour): registry count 111 -> 112 with claude_spark

#3332/#3333 recounted agent_registry.yaml to 111 on 2026-10-10; this PR adds
claude_spark, making it 112.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Agent Zero <agent.zero@pmoves.ai>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

  1. CORRECTNESS
  • 18 mode-change hunks match the claimed file list exactly; no content diffs on the launchers — git update-index --chmod=+x is the right fix and survives Linux checkouts.
  • New test parses git ls-files -s correctly (mode\thash\tstage → path via tab partition, meta.split()[0]), guards untracked files, and asserts non-755 modes with a fix hint. Stamp-scan is capped at 2048 bytes and *.sh glob is top-level only — sufficient for current generator output, but a stamp placed later would be missed (minor).
  • CI edge case: skipif only checks git on PATH; if the suite runs from a non-git export (tarball/artifact), check=True raises CalledProcessError → failure instead of skip. Guard on REPO_ROOT/.git existence.
  • Register CLAIM row TTL expired 2026-10-10T15:05:58Z (today 2026-10-11) — renew or convert to a landed note before merge (process nit).
  • git ls-files -s during a merge conflict would emit stage>0 rows; harmless here but worth knowing.
  1. SECURITY / TOPOLOGY
  • No IPs, ports, tokens, secrets, or credentials in any added line.
  • Added lines repeat internal hostnames/node IDs (B850, SPARK, KVMs, Z890-CLAUDE) in the register row and the test docstring. They duplicate identifiers already public in this file and in the launcher filenames, so marginal leak is nil — but in a public repo this pattern keeps re-publishing the fleet roster; consider sanitizing node names going forward.
  1. VERDICT: APPROVE — minimal, verifiable mode-only fix with a real regression test; only nits (non-git-export CI failure path, stale CLAIM TTL, repeated node names).
reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

PMOVES automation treadmill (operator-authorized API automation): folding this branch onto current main via update-branch so CI re-evaluates against the latest base. Merge stays gated on all required checks green; no manual action needed.

@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 936c604a2413

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 2c7ccf4cb27a

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest d27a0f00f632

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

POWERFULMOVES and others added 2 commits November 19, 2026 16:07
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ded since this PR

test_launcher_exec_bit caught them after merging main: install-minimax-pmoves-command.sh
and minimax-pmoves.sh landed on main as 100644.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 029ea14ecc5c

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest ba8d0985e588

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

@POWERFULMOVES
POWERFULMOVES merged commit 7568326 into main Nov 19, 2026
34 checks passed
@POWERFULMOVES
POWERFULMOVES deleted the fix/provision-launcher-exec-bit branch November 19, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation governance AGNOTE register / agent definitions / damage-control hooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant