Skip to content

chore: migrate to focused AgentSuite v0.7.0 imports - #20

Merged
Tom Gamble (gambtho) merged 2 commits into
mainfrom
chore/suite-focused-imports
Oct 22, 2026
Merged

Tom Gamble (gambtho) merged 2 commits into
mainfrom
chore/suite-focused-imports

Conversation

@gambtho

Copy link
Copy Markdown
Member

Pins AgentSuite v0.7.0 and moves Canvas's 14 Go importers from the deprecated root package to core, oci and evidence. Only imports and package qualifiers change; no logic, wire formats, schemas or fixtures. The two guides now name the current library version.

Verification (published module, GOWORK=off): fmt, full test and build (Go race/vet, 250 JS/browser, 72 Python), go mod tidy -diff and go mod verify. No root suite imports remain.

One full run hit a flake in TestFlowReplayCancelledHistoryAndKnownNoDispatchCoverage that didn't reproduce in 60 focused runs; the rerun passed.

Refs agent-primitives/suite#53..

Copilot AI balanced review requested due to automatic review settings October 21, 2026 20:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Upstream compatibility remains independently unconfirmed because the linked PR was unavailable and dependency-backed checks were not run here.

No open issues 🎉

What changed in this PR

Migrates Canvas to AgentSuite v0.7.0’s focused packages without changing application logic or fixture formats.

Changes:

  • Replaces root-package imports in 14 Go files with core, oci, and evidence.
  • Updates the module pin and checksums.
  • Refreshes library references in two guides.
File Description
internal/​contract/​suite.go Migrates suite types and OCI validation.
internal/​contract/​suite_limits_test.go Updates validation test imports.
internal/​contract/​released_transport.go Migrates transport decoding and validation calls.
internal/​contract/​released_suite.go Migrates released-suite types and validation.
internal/​contract/​released_suite_security_test.go Updates security-test type references.
internal/​contract/​released_selection_test.go Migrates selection-test types and codecs.
internal/​contract/​evaluation.go Uses focused evidence verification APIs.
internal/​canvas/​flow_http.go Uses core JSON decoding.
internal/​canvas/​flow_definition.go Migrates flow-input decoding.
internal/​canvas/​definition.go Migrates schema and document decoding.
internal/​canvas/​changes.go Migrates change-envelope decoding.
internal/​canvas/​announcement_http.go Migrates announcement decoding.
go.sum Updates AgentSuite checksums.
go.mod Pins AgentSuite v0.7.0.
examples/​northwind-released/​README.md Updates verifier and library references.
docs/​generic-canvas.md Updates the documented library version.
cmd/​canvas/​runtime_mode.go Migrates runtime-mode decoding.
cmd/​canvas-harness/​inventory.go Migrates inventory decoding.

Review effort: Balanced

@gambtho
Tom Gamble (gambtho) merged commit 09a6b63 into main Oct 22, 2026
6 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.

2 participants