You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b2a1cdb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: specs/058-mcp-2026-upgrade/tasks.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,14 @@ Single Go project. Backend paths are repo-relative: `internal/`, `cmd/`, `bench/
25
25
26
26
**Purpose**: get the tree compiling on v1.0.0 with no behaviour change.
27
27
28
-
-[] T001 Bump the library to v1.0.0 in `go.mod`/`go.sum` via `go get github.com/mark3labs/mcp-go@v1.0.0 && go mod tidy`, and confirm no new module is added
29
-
-[] T002 [P] Swap `NewTestStreamableHTTPServer` to the new `servertest` package in `bench/mcpcall_test.go` (3 sites)
30
-
-[] T003 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/server/mcp_routing_test.go` (5 sites)
31
-
-[] T004 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/listtools_logging_test.go` (2 sites) and drop the orphaned `mcpserver` import
32
-
-[] T005 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/manager_prompts_test.go` (2 sites)
33
-
-[] T006 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/managed/prompts_test.go` (5 sites)
34
-
-[] T007 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/core/prompts_test.go` (15 sites)
35
-
-[] T008 Verify `go build ./...`, `go build -tags server -o /dev/null ./cmd/mcpproxy`, `go vet ./...` and `go vet -tags server ./...` all exit 0
28
+
-[x] T001 Bump the library to v1.0.0 in `go.mod`/`go.sum` via `go get github.com/mark3labs/mcp-go@v1.0.0 && go mod tidy`, and confirm no new module is added
29
+
-[x] T002 [P] Swap `NewTestStreamableHTTPServer` to the new `servertest` package in `bench/mcpcall_test.go` (3 sites)
30
+
-[x] T003 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/server/mcp_routing_test.go` (5 sites)
31
+
-[x] T004 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/listtools_logging_test.go` (2 sites) and drop the orphaned `mcpserver` import
32
+
-[x] T005 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/manager_prompts_test.go` (2 sites)
33
+
-[x] T006 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/managed/prompts_test.go` (5 sites)
34
+
-[x] T007 [P] Swap `NewTestStreamableHTTPServer` to `servertest` in `internal/upstream/core/prompts_test.go` (15 sites)
35
+
-[x] T008 Verify `go build ./...`, `go build -tags server -o /dev/null ./cmd/mcpproxy`, `go vet ./...` and `go vet -tags server ./...` all exit 0
36
36
37
37
**Checkpoint**: tree compiles; `internal/server` fails only `TestProfile_SetProfileSessionScoped` and `TestProfile_SetProfileUnknown`.
38
38
@@ -42,17 +42,17 @@ Single Go project. Backend paths are repo-relative: `internal/`, `cmd/`, `bench/
42
42
43
43
**Purpose**: make the bump provably inert on the wire, and build the harness that stops later tests from passing vacuously. **No user story may start before this phase completes.**
44
44
45
-
-[] T009 Write a failing wire-capture test asserting an unpinned client still negotiates `2025-11-25` against mcpproxy, in `internal/server/protocol_era_test.go`
46
-
-[] T010 Write a failing wire-capture test asserting mcpproxy's upstream `initialize` still requests `2025-11-25`, in `internal/upstream/core/protocol_pin_test.go`
47
-
-[] T011 Add a `clientFacingStreamableOptions()` helper applying `server.WithStreamableHTTPProtocolVersions(mcp.LegacyProtocolVersions()...)` as a constant, and route all five `NewStreamableHTTPServer` sites through it in `internal/server/server.go`
48
-
-[] T012 Pin the upstream-facing handshake to `mcp.LATEST_LEGACY_PROTOCOL_VERSION` in `internal/upstream/core/connection_lifecycle.go`
49
-
-[] T013 Build the `forEachEra` test helper that pins the client era explicitly on both sides, in `internal/server/era_harness_test.go`
50
-
-[] T014 Prove the harness bites: assert a deliberately mis-pinned era makes an era assertion fail, in `internal/server/era_harness_test.go`
51
-
-[] T015 [P] Write four failing hash-stability fixtures (draft-07 refs, plain schema, native `$defs`, refs without a `definitions` block) in `internal/hash/schema_ref_test.go`
52
-
-[] T016 [P] Canonicalize `#/definitions/` to `#/$defs/` inside `NormalizeJSON` in `internal/hash/hash.go`, widening its doc comment to say it normalizes schema refs as well as key order
53
-
-[] T017 [P] Write a failing test that an upstream result envelope is not copied wholesale, in `internal/server/content_forward_test.go`
54
-
-[] T018 [P] Copy result fields explicitly instead of assigning the embedded envelope in `internal/server/content_forward.go` and `internal/server/mcp_routing.go` (FR-016b)
55
-
-[] T019 Verify the three frozen tool-surface goldens are byte-identical, and record in the PR that they were checked rather than regenerated
45
+
-[x] T009 Write a failing wire-capture test asserting an unpinned client still negotiates `2025-11-25` against mcpproxy, in `internal/server/protocol_era_test.go`
46
+
-[x] T010 Write a failing wire-capture test asserting mcpproxy's upstream `initialize` still requests `2025-11-25`, in `internal/upstream/core/protocol_pin_test.go`
47
+
-[x] T011 Add a `clientFacingStreamableOptions()` helper applying `server.WithStreamableHTTPProtocolVersions(mcp.LegacyProtocolVersions()...)` as a constant, and route all five `NewStreamableHTTPServer` sites through it in `internal/server/server.go`
48
+
-[x] T012 Pin the upstream-facing handshake to `mcp.LATEST_LEGACY_PROTOCOL_VERSION` in `internal/upstream/core/connection_lifecycle.go`
49
+
-[x] T013 Build the `forEachEra` test helper that pins the client era explicitly on both sides, in `internal/server/era_harness_test.go`
50
+
-[x] T014 Prove the harness bites: assert a deliberately mis-pinned era makes an era assertion fail, in `internal/server/era_harness_test.go`
51
+
-[x] T015 [P] Write four failing hash-stability fixtures (draft-07 refs, plain schema, native `$defs`, refs without a `definitions` block) in `internal/hash/schema_ref_test.go`
52
+
-[x] T016 [P] Canonicalize `#/definitions/` to `#/$defs/` inside `NormalizeJSON` in `internal/hash/hash.go`, widening its doc comment to say it normalizes schema refs as well as key order
53
+
-[x] T017 [P] Write a failing test that an upstream result envelope is not copied wholesale, in `internal/server/content_forward_test.go`
54
+
-[x] T018 [P] Copy result fields explicitly instead of assigning the embedded envelope in `internal/server/content_forward.go` and `internal/server/mcp_routing.go` (FR-016b)
55
+
-[x] T019 Verify the three frozen tool-surface goldens are byte-identical, and record in the PR that they were checked rather than regenerated
56
56
57
57
**Checkpoint**: full suite green on both editions; negotiated version unchanged in both directions.
0 commit comments