Skip to content

Remove the decision and actionhook packages - #55

Merged
TeoSlayer merged 1 commit into
mainfrom
remove-decision-and-actionhook
Oct 1, 2026
Merged

TeoSlayer merged 1 commit into
mainfrom
remove-decision-and-actionhook

Conversation

@TeoSlayer

@TeoSlayer TeoSlayer commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Removes decision (39 files) and actionhook (2 files). Both existed for the hosted control plane, which was retired on 2026-10-01; the daemon stopped using them in v1.14.0.

Why this is safe to merge now

A common version without these packages only breaks a module that moves to it while still building a plugin version that imports them. Nothing on any dependent's main does any more:

  • dataexchange v0.3.0, eventstream v0.3.0 and handshake v0.3.0 no longer import either package.
  • pilotprotocol main pins those three (pilotprotocol#503).
  • libpilot, runtime and webhook were the last ones on handshake v0.2.8. They moved to v0.3.0 through the cascade (libpilot#58, runtime#45, webhook#40).

An earlier version of this description said a new daemon release was needed first. It is not: already released daemon versions pin common v0.5.15, which keeps the packages, so they build as before.

Checked

In this module, with GOWORK=off: go build ./..., go vet ./... and go test ./... pass, no remaining package imports either one, and go mod tidy leaves go.mod / go.sum unchanged.

Every dependent's main, moved to this commit the way the cascade does it (go get common@bff1207, go mod tidy), then go build ./..., go vet ./..., go test ./... -short:

Result Modules
Pass beacon, dataexchange, eventstream, handshake, libpilot, policy, rendezvous, runtime, skillinject, trustedagents, updater, webhook, pilot-verify
Pass except one unrelated test pilotprotocol: TestManualSnapshotTrigger needs port 18080, which another program holds on the machine that ran this

Not affected unless someone bumps them by hand: pilot-agents/responder, app-store/integration and examples/go pin old common versions and are outside the cascade.

After merge

Tag v0.6.0 (a minor bump, because exported packages are removed). A module that upgrades common to v0.6.0 must also be on dataexchange, eventstream and handshake v0.3.0 or later.

🤖 Generated with Claude Code

Both existed for the hosted control plane (signed intents, decisions,
approvals, receipts, and the before/after action boundary), which was
retired on 2026-10-01. The daemon stopped using them in v1.14.0, and
their last importers, dataexchange, eventstream and handshake, drop
them in their own changes.

No other package in this module imports either one; go.mod and go.sum
are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TeoSlayer
TeoSlayer marked this pull request as ready for review October 1, 2026 19:50
@TeoSlayer
TeoSlayer merged commit f5ca312 into main Oct 1, 2026
11 checks passed
@TeoSlayer
TeoSlayer deleted the remove-decision-and-actionhook branch October 1, 2026 19:51
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