d105da978d
Part 1: asserts JAR and BUILD_JAR as the script sources them (no test assigns them first), so reverting JAR to a path under target/ now fails the suite. Part 2: check_jar_path_matches_plist reads the installed launchd plist's ProgramArguments and refuses when its jar path does not resolve to $JAR, mirroring check_log_path_matches_plist. Wired into report_supervisor_state's launchd branch; unaffected when no plist is installed. Part 3 (added to the ticket after the brief, by comment): PATTERN narrowed to 'fleetd.jar' so running_pid()/assert_single_daemon see a daemon regardless of which build layout (run/ or target/) its jar sits under. The comm=java allowlist still excludes a self-matching shell. Brought .claude/skills/fleets-status/SKILL.md's pgrep pattern into agreement. Verified: bash scripts/test-redeploy-fleetd.sh exits 0. Mutation both directions for part 1 (JAR under target/ -> suite fails; JAR elsewhere -> suite passes), a positive control for part 2 (neutralizing the mismatch check makes the new test fail), and a positive control for part 3 (narrowing PATTERN back to run/fleetd.jar makes the new target/-dir test fail). mvn -o clean install: Tests run: 1929, Failures: 0, Errors: 0, Skipped: 0, BUILD SUCCESS, 172 surefire report files.