Skip to content

fix: avoid virtual AGENTS symlinks in worktrees#444

Merged
chubes4 merged 6 commits into
mainfrom
fix/worktree-add-existing-remote-ref
May 21, 2026
Merged

fix: avoid virtual AGENTS symlinks in worktrees#444
chubes4 merged 6 commits into
mainfrom
fix/worktree-add-existing-remote-ref

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 21, 2026

Summary

  • Avoid symlinking Studio's PHP-WASM /wordpress/AGENTS.md path into host worktrees.
  • Write an inline generated AGENTS.md projection for virtual site paths while preserving host-visible symlink behavior.
  • Extend the context injection smoke test to cover inline virtual projections and cleanup.

Verification

  • php tests/smoke-worktree-context-injection.php
  • php -l inc/Workspace/WorktreeContextInjector.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosed the Studio worktree-add crash, implemented the context projection fix, and added smoke coverage; Chris remains responsible for review and merge.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 21, 2026

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since b10ba6f

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/26255544965

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since b10ba6f

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/26255544965

Audit

audit — passed

  • intra-method-duplication — 1 finding(s)
  • structural — 1 finding(s)
  • test_coverage — 1 finding(s)
  • Total: 3 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since b10ba6f

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/26255544965
Tooling versions
  • Homeboy CLI: homeboy 0.197.1+40ad671
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 89c85243
  • Action: unknown@unknown

@chubes4 chubes4 merged commit fd2e617 into main May 21, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/worktree-add-existing-remote-ref branch May 21, 2026 22:03
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.

1 participant