Skip to content

Register bundle artifact hooks early#483

Merged
chubes4 merged 1 commit into
mainfrom
fix-workspace-preload-artifact-registration
May 31, 2026
Merged

Register bundle artifact hooks early#483
chubes4 merged 1 commit into
mainfrom
fix-workspace-preload-artifact-registration

Conversation

@chubes4

@chubes4 chubes4 commented May 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Register Data Machine Code bundle artifact hooks at plugin load time so Data Machine can validate DMC-owned bundle artifacts on early import paths.
  • Add a smoke test covering workspace preload artifact type registration before DMC bootstrap runs.

Testing

  • php -l data-machine-code.php && php -l tests/smoke-bundle-artifact-early-registration.php && php -l tests/smoke-workspace-preload-artifact.php
  • php tests/smoke-bundle-artifact-early-registration.php
  • php tests/smoke-workspace-preload-artifact.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Diagnosed the bundle artifact registration timing failure, drafted the minimal code/test change, and ran focused verification. Chris remains responsible for review and merge.

@chubes4
chubes4 merged commit c3f4540 into main May 31, 2026
5 checks passed
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