Skip to content

Configure DMC promotion apply for Homeboy - #292

Closed
chubes4 wants to merge 1 commit into
mainfrom
feat/291-dmc-promotion-provider
Closed

Configure DMC promotion apply for Homeboy#292
chubes4 wants to merge 1 commit into
mainfrom
feat/291-dmc-promotion-provider

Conversation

@chubes4

@chubes4 chubes4 commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

Configure Homeboy's DMC provider to discover the typed promotion apply adapter.

What changed

  • Added exact promotion-apply argv generation with explicit {handle} substitution.
  • Included commands.apply in setup/upgrade provider JSON.
  • Hardened optional WP flag arrays and asserted the full provider contract.

How to test

  1. Run bash tests/homeboy-dmc-provider.sh; expect exact provider contract and optional-skip paths pass.
  2. Run bash -n lib/homeboy.sh tests/homeboy-dmc-provider.sh; expect shell syntax passes.

Compatibility

Additive provider field with preserved existing argv and safety mappings.

Evidence

Declared public contracts

  • homeboy-dmc-provider-config: Generated DMC provider configuration now includes the typed promotion apply argv.

Compatibility impact: The apply command is additive; existing provider commands and mappings are unchanged. Empty optional WP flags no longer create empty argv values or set -u failures.

External-consumer impact: wp-coding-agents setup/upgrade will configure Homeboy to invoke the DMC adapter; users without the paired DMC/Homeboy versions retain existing commands but must not use apply until dependencies are present.

External usage: completed; source: Live Homeboy config output and wp-coding-agents provider generator tests; limitations: Full no-override Cook proof requires the paired Homeboy and DMC PRs to be built/installed together.; evidence: Extra-Chill/homeboy#7898

AI assistance

  • AI assistance: Yes
  • Tool(s): Homeboy (OpenCode)
  • Model: openai/gpt-5.6-terra
  • Used for: Implemented the provider apply wiring and exact JSON assertions; GPT-5.6 Sol diagnosed the gate failure, hardened optional argv handling, added the regression assertion, and finalized the candidate.

Source relationships

@chubes4 chubes4 closed this Aug 1, 2026
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.

Configure DMC promotion apply command for Homeboy

1 participant