fix: give managed Homeboy one executable for agents and compose - #641
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #203 and #640. The private service-home binary is self-upgradable but inaccessible to the WordPress compose identity, so AGENTS.md fell back to a stale root binary. Provision one dedicated, world-traversable executable directory beneath the root-owned wp-coding-agents prefix: only bin and the Homeboy executable are owned/writable by the service identity. Seed from the existing service copy first; do not overwrite an installed newer managed binary. Root never mutates the service-writable executable after directory handoff. Guidance, Homeboy integration and the Kimaki systemd PATH all prefer the same executable; root/local/external modes retain their prior behavior. Validation rejects symlinked or user-owned managed prefixes, unsafe path overrides and private-home targets before privileged mutation. Tests: homeboy-service-identity, bridge-render, verify, integration-adapters, homeboy-verification-guidance, CI coverage, shell syntax and git diff --check pass on macOS. agents-md-guidance reaches the Homeboy checks then its fixture hides Homebrew PHP/md5 under PATH=/usr/bin:/bin; Linux CI is authoritative. No live VPS mutation is in this branch. Finalization outside Homeboy: Chris authorized direct OpenCode fallback after repeated Homeboy publication and Lab-staging failures; OpenAI gpt-6-luna via OpenCode implemented in an isolated issue-linked worktree and OpenAI gpt-6-sol via OpenCode reviewed ownership and PATH invariants.