Repository navigation
chore: migrate to focused AgentSuite v0.7.0 imports - #20
Merged
Merged
Conversation
There was a problem hiding this comment.
🔵 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, andevidence. - 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
Tom Gamble (gambtho)
enabled auto-merge (squash)
October 21, 2026 21:04
6 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins AgentSuite v0.7.0 and moves Canvas's 14 Go importers from the deprecated root package to
core,ociandevidence. 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 -diffandgo 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..