Skip to content

fix: require milpa/command ^0.7, the only range this package can run in - #20

Merged
rodrigoteamx merged 1 commit into
mainfrom
fix/command-floor
Aug 11, 2026
Merged

fix: require milpa/command ^0.7, the only range this package can run in#20
rodrigoteamx merged 1 commit into
mainfrom
fix/command-floor

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

PluginOperations imports Milpa\Command\Effect\Subject and uses it fifteen times. That class does not exist before command v0.7.0, while composer.json declared ^0.6 acceptable.

Verified by execution, not by reading the constraint:

milpa/plugin v0.11.0 + milpa/command v0.6.0  → composer installs happily
PluginOperations::operations()               → Class "Milpa\Command\Effect\Subject" not found

The declaration was false, not merely stale.

The constraint narrows rather than widens — that is the point: it turns a silent runtime death into a composer-time conflict. Suite green at 391 tests / 1085 assertions.

Same defect devtools v0.14.0 shipped with, fixed in v0.14.1. Refs greenhouse decisions/0025.

PluginOperations imports Milpa\Command\Effect\Subject and uses it fifteen times. That class
does not exist before command v0.7.0, while composer.json declared ^0.6 as acceptable.

Verified by execution rather than by reading the constraint: with command v0.6.0 resolved,
composer installs happily and calling operations() dies on Class "Milpa\Command\Effect\Subject"
not found. The declaration was false, not merely stale.

The constraint narrows rather than widens, which is the point — it turns a silent runtime
death into a composer-time conflict. Suite green at 391 tests.

This is the same defect devtools v0.14.0 shipped with, fixed in v0.14.1. Refs greenhouse
decisions/0025.
@rodrigoteamx
rodrigoteamx merged commit 12d540c into main Aug 11, 2026
2 checks passed
@rodrigoteamx
rodrigoteamx deleted the fix/command-floor branch August 11, 2026 04:46
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