Skip to content

Release v2.7.0: merge v2/main into main - #5826

Merged
cliffhall merged 145 commits into
mainfrom
v2/chore/5820-release-v2.7.0
Dec 5, 2026
Merged

cliffhall merged 145 commits into
mainfrom
v2/chore/5820-release-v2.7.0

Conversation

@cliffhall

@cliffhall cliffhall commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Part of #5820

Milestone merge for v2.7.0: v2/main → main. No commits of its own;
the merged tree is origin/v2/main's (d21ec931).

Release ledger: Servers v2.7.0 Release Ledger

Source is v2/main could not start until a repository Actions policy allowed pull_request_target for main-source.yml (GitHub's default block, enforced since 2026-12-02; see #5827).

🤖 Generated with Claude Code

cliffhall and others added 30 commits November 30, 2026 01:21
…hema

The edits[].oldText parameter description said "must match exactly",
contradicting edit_file's own description and its matching: line endings
never matter, and with no exact match a run of whole lines matches when
each is equal ignoring leading and trailing whitespace, newText taking the
file's indentation. State that rule, align the README's oldText entry, and
pin the tools/list description in a protocol-level test.

Closes #5688

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Plant a credential-like OPENAI_API_KEY and assert that it appears in
neither the validation errors of get-structured-content and
get-annotated-message nor gzip-file-as-resource's private-address
refusal, with GET_ENV_INCLUDE_SECRETS off and on. Each case also pins
what the error does say, and the opt-in case first shows get-env
returning the value unmasked, so no absence assertion is vacuous.

Cases first prototyped on the issue by Shanmukh-l33t.

Closes #5646

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
GZIP_MAX_FETCH_SIZE and GZIP_MAX_FETCH_TIME_MILLIS were parsed with
Number(...), so a value such as "10MB" became NaN: the size cap stopped
applying and every fetch was aborted at once. A value that is not a whole
number in range now falls back to the documented default, with a one-line
warning on stderr (never stdout, which carries stdio framing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Reads follow the link to its target; a save's atomic rename replaces the
link itself with a regular file holding the whole graph, and the link's
former target is left byte-for-byte unchanged. Characterization only, no
behavior change. POSIX only, like the other symlink tests in the suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
… cannot read

Which line shapes are skipped, which of them log to stderr and which do
not, that every save keeps them and they count toward
MEMORY_MAX_FILE_BYTES, that no tool reaches them, and that the fix is a
hand edit with the clients stopped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Adds protocol-level characterization tests for the sibling faces of
rules already pinned elsewhere: delete_relations' exact match also
rejects a space-padded relation type; entity identity is case-sensitive
while search_nodes is case-insensitive; and observationCount agrees with
delete_observations on the next read. Each request names every item
once. Test-only; no behavior change.

Proposed by @reservoir-cmyk in #5645.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
create_entities pushed the requested entities unchanged, so a string
repeated within one entity's observations was stored twice, unlike
add_observations (#5201), and delete_observations then reported deleting
more than it was asked to. Dedupe each new entity's observations in
place: skippedEntityNames tells created entities apart by identity, so
mapped copies would report every entity as skipped.

Closes #5653

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
create_relations returned a bare empty list for a relation that already
exists, so an agent could not tell "already there" from "nothing
happened". Mirror create_entities: list the skipped relations (existing,
or repeated earlier in the same call) in an optional `skipped` field of
structuredContent, add a text notice naming them, and say so in the
tool description and README.

Closes #5654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
delete_relations and delete_observations compared the number of stored
records removed with the raw request length, so a relation or observation
listed twice reported "Deleted 1 of 2 ... The rest matched nothing" although
both items matched the same record. Both now count distinct requested items:
(from, to, relationType) for relations, keyed collision-free by JSON-encoding
the three fields, and (entityName, observation) pairs for observations. The
methods count distinct requested items that matched rather than records
removed, so a requested item stored twice counts once and the message can
never read "Deleted 2 of 1". The response shape and wording are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
… the README license section

The package.json says "SEE LICENSE IN LICENSE", but the tarball shipped no
LICENSE, and the README said MIT only, contradicting the root LICENSE's MIT to
Apache-2.0 transition terms. Commit a copy of the root LICENSE in
src/filesystem (npm always packs a root LICENSE, whatever "files" says), and
rewrite the README section to match it.

pack:verify now fails a tarball missing the license file its manifest names,
with the three packages #5700 fixes exempt, and a script test checks each
package's packed file list and that the copy matches the root LICENSE.

Closes #5639

Signed-off-by: cliffhall <cliff@futurescale.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… file's directory is missing

When the directory holding MEMORY_FILE_PATH did not exist, reads reported
an empty graph while every write failed with a raw ENOENT naming the
internal .lock file. The README already promises that the server creates
the memory file but not the directories above it, so keep that and make
reads and writes agree: both now fail with one error naming the memory
file and its directory, and pointing at MEMORY_FILE_PATH. A missing file
in an existing directory is still an empty graph.

Closes #5689

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Two processes clearing the same crash-left guard could remove a live guard
a third took in between. The clearer now renames the guard aside, compares
it with the file it judged (whose handle stays open, so its inode cannot be
reused), and links a live guard back exclusively. The comment above
guardPathOf() states the gap that remains.

Closes #5624

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…-thinking packages

Each package.json says "SEE LICENSE IN LICENSE", but their tarballs shipped no
LICENSE, and each README said MIT only, contradicting the root LICENSE's MIT to
Apache-2.0 transition terms. Commit a copy of the root LICENSE in each server
directory, as #5639 does for filesystem, and rewrite each README's license
section to match it.

With every npm package now shipping its license file, LICENSE_PENDING is
empty, so it goes, along with the exemption it carried in pack:verify and the
script test. The Python servers are left for the maintainer decision #5700
asks for.

Closes #5700

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
21 of the 32 tool input properties had no description, so a model saw
only their names. Add shared RepoPath and ContextLines aliases next to
DEFAULT_CONTEXT_LINES, use them for every repo_path and context_lines,
and describe git_diff.target, git_commit.message, git_add.files,
git_create_branch.branch_name, git_checkout.branch_name and
git_show.revision. A protocol-level test lists the tools and fails on
any input property without a description; the tool-list snapshot is
regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
The Readability.js probe, npm install and extraction ran under their
production timeouts in the test suite, so on a saturated machine a slow
but healthy child was killed and unrelated tests failed on the wall
clock. An autouse fixture now scales those budgets by 10 for every test;
tests of the timeout path still set their own short timeouts.

Closes #5658

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
The six KnowledgeGraphManager write methods matched each requested item
against the loaded graph (and against earlier items in the same batch)
by linear scan. They now build a Set or Map once per call: relation keys
are JSON.stringify of the (from, to, relationType) tuple, which no
separator in an entity name can collide, and name lookups keep the first
entity of a name, as Array.prototype.find did.

Behavior is unchanged. A new test checks a seeded run of 300 random
writes, step by step, against a reference model holding the old
scanning code, and pins separator-bearing relation keys, a hand-edited
file with two same-named entities, and create_entities' skipped report.

Refs #5693

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Rename AGENTS.md "Pacing GitHub writes" to "Pacing GitHub calls" and add
that an expensive read (the whole-board listing, field-list) runs once per
batch, that a retry after a refusal makes no expensive calls, and that the
GraphQL quota is per account, with the Projects v2 REST endpoints as the
core-quota fallback.

board-ops gains board_list/issue_item for one listing per batch, the
draft-card lookup reuses a listing it is given, and a REST section covers
reading the board and setting Status or Priority when GraphQL is exhausted.
issue-create and issue-triage reuse one listing too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
git_commit went through GitPython's index.commit(), whose parse_date()
rejects ISO-8601 values native `git commit` accepts (a `Z` suffix, `+02:00`
or `-0500` offsets, fractional seconds) and misreads RFC 2822 as UTC. Read
each set variable through `git var GIT_<role>_IDENT`, so git's own date
parser decides, and pass the `<timestamp> <offset>` it prints as the explicit
author_date/commit_date on both the plain and the merge commit path. A value
git rejects still fails the commit, now with git's message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
git_branch returned `git branch` output verbatim: `* ` on the current
branch, `+ ` on one checked out in a linked worktree, ANSI color under
color.branch=always, `origin/HEAD -> origin/main`, and a
`(HEAD detached at ...)` entry. None of that resolves as a revision, so a
name kept from git_branch failed in git_checkout, git_diff, git_show and
git_merge.

List the refs with `git for-each-ref --format=%(refname)` under
refs/heads/ and refs/remotes/ (keeping --contains / --no-contains) and
shorten each the way `git branch` does, so every line is one bare,
unambiguous ref name.

Closes #5641

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…the timeout

filesystem and sequentialthinking install their SIGINT/SIGTERM handlers on
stdio as well as Streamable HTTP; the fetch, git and time images run the
server under tini, so it is not PID 1 and the stop signal ends it. The image
smoke now asserts a clean stop of all seven images.

Closes #5611

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
… of racing it

"keeps a lock held longer than staleMs fresh" held a lock for 400 ms with
staleMs 100, so the heartbeat refreshed it every 50 ms, and a waiter judged
its age against the real clock. When a refresh landed more than 50 ms late
(a slow runner's disk or scheduler), the waiter saw a live lock older than
staleMs and broke it. Delaying each heartbeat utimes by 120 ms reproduces
the CI order [long start, waiter, long end] every time. The heartbeat itself
is sound: production keeps a 15 s margin (staleMs 30 s, a beat every 15 s).

The test now fakes Date and the heartbeat's interval only. It advances the
clock one beat at a time, waits for that beat's refresh to land and for the
waiter to look at the lock again, and holds the lock for four times staleMs
before releasing it. Timeouts stay real, so the waiter retries on its own.

Closes #5680

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Started with --repository, the server's initialize result (2025-11-25)
and server/discover result (2026-07-28) carry instructions naming the
allowed repository root, resolved the way validate_repo_path compares
it, and telling the model to pass exactly that path as repo_path. A
model no longer has to guess a path and read the right one back from
the refusal. repo_path stays required with one schema; unconfined, the
server sends no instructions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…database

bool(dt.dst()) read Europe/Dublin and Africa/Casablanca inverted under the
tz database's main format (Debian, the Docker image, PyPI tzdata), where
their +00:00 half is a negative DST, while macOS's rearguard data gave the
opposite answer. is_dst() now treats a negative dst() as the standard half
and a zero dst() as DST only when a nearby negative-DST period names the
current offset as its standard one, so a one-off change of standard offset
(Asia/Pyongyang 2018) stays not DST.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…cases

A domain allowlist in the developer's shell refuses the loopback host
before the address check runs, so the refusal cases would read the
wrong error. Clear it with GZIP_ALLOW_PRIVATE_IPS before the server
loads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
… and stop HTTP servers before a hand edit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…fore jq

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
A path component that is a file made writes report the missing
directory, but reads still returned Node's raw ENOTDIR. Reads now run the
same directory check on ENOTDIR, and keep the original error if it
passes. The tests cover every tool for that case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
… entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Review of #5715: a heartbeat that stopped refreshing left the test waiting
until Vitest's timeout, which skips the test's finally, so the fake timers
and the blocked lock holder outlived it. Each wait now gives up after 10 s of
real time with an error that names what it waited for. The finally releases
the holder and settles both lock operations, and afterEach restores real
timers for a test that times out anyway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
cliffhall and others added 15 commits December 5, 2026 01:34
…ory-fix-branch-isolation

security-advisory skill: one advisory per fix branch, pushed only to its fork
…-lease-slots

Gate lease: configurable slots, with a per-gate Vitest worker share
…ope-and-coverage

docs/quality-gate.md: keeps "The lease covers `local:gate` and
`local:gate:draft` only." followed by #5758's "### Lease slots"
subsection, as agreed with #5758's author. docs/ai-software-factory.md's
gate summary now says the per-server stages are scoped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…-scope-and-coverage

Gate: scope per-server stages to touched servers, run each suite once, lighter draft gate
Raise filesystem's declared range and the root overrides entry from
^11.0.4 / ^11.0.1 to ^11.0.8, so no copy can resolve inside the ranges of
GHSA-cf2h-pxjq-68xw (high) and GHSA-hqmv-qgp3-jx75 (medium). The lockfile
now resolves every copy to 11.0.10.

Closes #5740

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…match-11.0.8

chore(deps): require minimatch 11.0.8 or later (two advisories)
Release audit for v2.7.0 (#5820). npm audit flagged cross-spawn 7.0.6 and
6.0.6 under GHSA-ghv9-86vm-4v8m (critical), GHSA-m6qr-m48x-3xhh and
GHSA-w3gc-668g-rf8f (high). Every copy is a devDependency path
(@modelcontextprotocol/client, eslint, mcp-server-diff, shx -> execa), so
no published server ships it.

Pin each major line with a version-selector overrides key, so execa@1
keeps the 6.x API it declares: cross-spawn@^6 -> ^6.0.8 (now 6.0.10),
cross-spawn@^7 -> ^7.1.1 (now 7.1.2).

Closes #5820

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…ase-audit

chore(deps): v2.7.0 release audit — pin cross-spawn past three advisories
…on-calver-2026.12.5

chore: stamp Python CalVer versions for 2026.12.5
@cliffhall cliffhall added the v2 label Dec 5, 2026
Copilot AI balanced review requested due to automatic review settings December 5, 2026 08:29
@changeset-bot

changeset-bot Bot commented Dec 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a399368

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

sequentialthinking: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 2 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 1 0 0 0
Head 1 0 0 0

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.2.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.2.1"

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.2.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.2.1"

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

time: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 5 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 3 0 0 0
Head 3 0 0 0

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

prompts

--- base/prompts.json
+++ target/prompts.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

resources

--- base/resources.json
+++ target/resources.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

resource_templates

--- base/resource_templates.json
+++ target/resource_templates.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

git: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 6 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 14 2 0 0
Head 14 2 0 0

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"
+ instructions: "This server is confined to the Git repository at /home/runner/work/servers/servers/node_modules/.cac..."

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"
+ tools[git_add].inputSchema.properties.files.description: "Paths of the files to stage, relative to the repository root or absolute inside it. ['.'] stages eve..."
+ tools[git_add].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_checkout].inputSchema.properties.branch_name.description: "The branch to switch to. A tag, commit SHA or remote-tracking branch is also accepted, and detaches ..."
+ tools[git_checkout].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_commit].inputSchema.properties.message.description: "The commit message"
+ tools[git_commit].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_create_branch].inputSchema.properties.branch_name.description: "The name of the new branch to create"
+ tools[git_create_branch].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_diff].inputSchema.properties.context_lines.description: "Number of context lines to show around each change. Defaults to 3."
+ tools[git_diff].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_diff].inputSchema.properties.target.description: "A branch, tag, commit SHA or relative revision (HEAD~1) to diff the working tree against, or a revis..."
+ tools[git_diff_staged].inputSchema.properties.context_lines.description: "Number of context lines to show around each change. Defaults to 3."
+ tools[git_diff_staged].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_diff_unstaged].inputSchema.properties.context_lines.description: "Number of context lines to show around each change. Defaults to 3."
+ tools[git_diff_unstaged].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_log].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_merge].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_reset].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_show].inputSchema.properties.repo_path.description: "The path to the Git repository."
+ tools[git_show].inputSchema.properties.revision.description: "The commit to show: a branch, tag, commit SHA or relative revision (HEAD~1). <revision>:<path> shows..."
+ tools[git_status].inputSchema.properties.repo_path.description: "The path to the Git repository."

prompts

--- base/prompts.json
+++ target/prompts.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

resources

--- base/resources.json
+++ target/resources.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

resource_templates

--- base/resource_templates.json
+++ target/resource_templates.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

instructions

Endpoint added in target (not present in base)

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

filesystem: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 4 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 16 0 0 1
Head 16 0 0 1

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.2"

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.2"
- tools[edit_file].inputSchema.properties.edits.items.properties.oldText.description: "Text to search for - must match exactly"
+ tools[edit_file].inputSchema.properties.edits.items.properties.oldText.description: "Text to search for. It matches the file's text exactly, except that line endings (LF or CRLF) never ..."

resources

--- base/resources.json
+++ target/resources.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.2"

resource_templates

--- base/resource_templates.json
+++ target/resource_templates.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.2"

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

memory: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 4 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 9 0 1 0
Head 9 0 1 0

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.2.2"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.2.3"

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.2.2"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.2.3"
- tools[create_relations].description: "Create multiple new relations between entities in the knowledge graph. Relations should be in active..."
+ tools[create_relations].description: "Create multiple new relations between entities in the knowledge graph. Relations should be in active..."
+ tools[create_relations].outputSchema.properties.skipped: {"items":{"additionalProperties":false,"properties":{"from":{"description":"The name of the entity where the relation starts","type":"string"},"relationType":{"description":"The type of the relation",...

resources

--- base/resources.json
+++ target/resources.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.2.2"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.2.3"

resource_templates

--- base/resource_templates.json
+++ target/resource_templates.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.2.2"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.2.3"

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

everything: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 6 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 23 4 8 5
Head 23 4 8 5

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"
- instructions: "# Everything Server – Server Instructions\n\nAudience: These instructions are written for an LLM or au..."
+ instructions: "# Everything Server – Server Instructions\n\nAudience: These instructions are written for an LLM or au..."

instructions

--- base/instructions
+++ target/instructions
- # Everything Server – Server Instructions

Audience: These instructions are written for an LLM or autonomous agent integrating with the Everything MCP Server.
Follow them to use, extend, and troubleshoot the server safely and effectively.

## Protocol Versions

The server serves two protocol eras. A client on protocol version 2026-07-28 connects with `server/discover` and sends its capabilities with each request; a 2025-era client connects with `initialize`. Some tools exist on one era only, so trust your `tools/list`:

- 2026-07-28 only: `simulate-research-query`, `trigger-sampling-request-async` and `trigger-elicitation-request-async`, which run as tasks on the `io.modelcontextprotocol/tasks` extension and need a client that declares it; `trigger-sampling-request-async` also needs `sampling`, and `trigger-elicitation-request-async` form-mode `elicitation`. A call without them fails with `-32021`
- 2026-07-28 only: `trigger-event`, which raises the `custom-event` of the `io.modelcontextprotocol/events` extension on open `events/stream` subscriptions
- 2025-era only (deprecated): `toggle-simulated-logging` and `toggle-subscriber-updates`

## Cross-Feature Relationships

- If `get-roots-list` is in your tool list, use it to see client workspace roots before file operations
- `gzip-file-as-resource` creates resources you can read later: for the current session on a 2025-era connection, or for ten minutes at the returned URI on 2026-07-28
- Use `trigger-log-messages` to see which log levels reach you; on 2026-07-28 the level is set per request in `_meta`
- Use `trigger-resource-update` and `trigger-list-changed` to see change notifications; on 2026-07-28 they arrive only on a `subscriptions/listen` stream that asked for them

## Constraints & Limitations

- `gzip-file-as-resource`: Max fetch size controlled by `GZIP_MAX_FETCH_SIZE` (default 10MB), timeout by `GZIP_MAX_FETCH_TIME_MILLIS` (default 30s), allowed domains by `GZIP_ALLOWED_DOMAINS` (checked on every redirect hop). It refuses URLs whose host resolves to a loopback, private or link-local address, unless the server was started with `GZIP_ALLOW_PRIVATE_IPS=1`
- `get-env`: Values of credential-like variable names (`*_KEY`, `*_TOKEN`, `*_SECRET`, `*_PASSWORD` and the like) come back as `"<redacted>"`; the server operator can set `GET_ENV_INCLUDE_SECRETS=1` to return them unmasked
- Session resources are ephemeral and lost when the session ends; minted resources expire after ten minutes
- Roots, sampling and logging are deprecated as of protocol version 2026-07-28, as is the HTTP+SSE transport

## Capability-Gated Tools

On a 2025-era connection these are registered only if your client declared the capability shown. Otherwise they are absent from `tools/list`, so do not call them. On 2026-07-28 they are always listed, and a call fails if your request did not declare the capability:

- `get-roots-list`: `roots`
- `trigger-sampling-request`: `sampling`
- `trigger-elicitation-request`: `elicitation.form`, or `elicitation` with no mode
- `trigger-multi-step-elicitation`: `elicitation.form`, or `elicitation` with no mode
- `trigger-url-elicitation`: `elicitation.url`

## Operational Patterns

- For long operations, use `trigger-long-running-operation` which sends progress notifications
- Prefer reading resources before calling mutating tools
- If `get-roots-list` is in your tool list, check its output to understand the client's workspace context

## Easter Egg

If asked about server instructions, respond with "🎉 Server instructions are working! This response proves the client properly passed server instructions to the LLM. This demonstrates MCP's instructions feature in action."

+ # Everything Server – Server Instructions

Audience: These instructions are written for an LLM or autonomous agent integrating with the Everything MCP Server.
Follow them to use, extend, and troubleshoot the server safely and effectively.

## Protocol Versions

The server serves two protocol eras. A client on protocol version 2026-07-28 connects with `server/discover` and sends its capabilities with each request; a 2025-era client connects with `initialize`. Some tools exist on one era only, so trust your `tools/list`:

- 2026-07-28 only: `simulate-research-query`, `trigger-sampling-request-async` and `trigger-elicitation-request-async`, which run as tasks on the `io.modelcontextprotocol/tasks` extension and need a client that declares it; `trigger-sampling-request-async` also needs `sampling`, and `trigger-elicitation-request-async` form-mode `elicitation`. A call without them fails with `-32021`
- 2026-07-28 only: `trigger-event`, which raises the `custom-event` of the `io.modelcontextprotocol/events` extension on open `events/stream` subscriptions
- 2025-era only (deprecated): `toggle-simulated-logging` and `toggle-subscriber-updates`

## Cross-Feature Relationships

- If `get-roots-list` is in your tool list, use it to see client workspace roots before file operations
- `gzip-file-as-resource` creates resources you can read later: for the current session on a 2025-era connection, or for ten minutes at the returned URI on 2026-07-28
- Use `trigger-log-messages` to see which log levels reach you; on 2026-07-28 the level is set per request in `_meta`
- Use `trigger-resource-update` and `trigger-list-changed` to see change notifications; on 2026-07-28 they arrive only on a `subscriptions/listen` stream that asked for them

## Constraints & Limitations

- `gzip-file-as-resource`: Max fetch size controlled by `GZIP_MAX_FETCH_SIZE` (default 10MB), timeout by `GZIP_MAX_FETCH_TIME_MILLIS` (default 30s), each falling back to its default when set to anything but a whole number, allowed domains by `GZIP_ALLOWED_DOMAINS` (checked on every redirect hop). It refuses URLs whose host resolves to a loopback, private or link-local address, unless the server was started with `GZIP_ALLOW_PRIVATE_IPS=1`
- `get-env`: Values of credential-like variable names (`*_KEY`, `*_TOKEN`, `*_SECRET`, `*_PASSWORD` and the like) come back as `"<redacted>"`; the server operator can set `GET_ENV_INCLUDE_SECRETS=1` to return them unmasked
- Session resources are ephemeral and lost when the session ends; minted resources expire after ten minutes
- Roots, sampling and logging are deprecated as of protocol version 2026-07-28, as is the HTTP+SSE transport

## Capability-Gated Tools

On a 2025-era connection these are registered only if your client declared the capability shown. Otherwise they are absent from `tools/list`, so do not call them. On 2026-07-28 they are always listed, and a call fails if your request did not declare the capability:

- `get-roots-list`: `roots`
- `trigger-sampling-request`: `sampling`
- `trigger-elicitation-request`: `elicitation.form`, or `elicitation` with no mode
- `trigger-multi-step-elicitation`: `elicitation.form`, or `elicitation` with no mode
- `trigger-url-elicitation`: `elicitation.url`

## Operational Patterns

- For long operations, use `trigger-long-running-operation` which sends progress notifications
- Prefer reading resources before calling mutating tools
- If `get-roots-list` is in your tool list, check its output to understand the client's workspace context

## Easter Egg

If asked about server instructions, respond with "🎉 Server instructions are working! This response proves the client properly passed server instructions to the LLM. This demonstrates MCP's instructions feature in action."

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"

prompts

--- base/prompts.json
+++ target/prompts.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"

resources

--- base/resources.json
+++ target/resources.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"

resource_templates

--- base/resource_templates.json
+++ target/resource_templates.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2.4.0"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2.4.1"

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

fetch: MCP interface diff

Base: b502fd9fc711 (Merge pull request #5685 from modelcontextprotocol/v2/chore/5681-release-v2.6.0)
Head: the build in this checkout, at f5314a0c24df (Merge a399368 into b502fd9)

Diffed because it was named (--server).

⚠️ Interface changes detected in 5 part(s) of the interface. Review them below to confirm they are intended.

Tools Prompts Resources Resource templates
Base 1 1 0 0
Head 1 1 0 0

initialize

--- base/initialize.json
+++ target/initialize.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

tools

--- base/tools.json
+++ target/tools.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

prompts

--- base/prompts.json
+++ target/prompts.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

resources

--- base/resources.json
+++ target/resources.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

resource_templates

--- base/resource_templates.json
+++ target/resource_templates.json

- _meta.io.modelcontextprotocol/serverInfo.version: "2026.11.27"
+ _meta.io.modelcontextprotocol/serverInfo.version: "2026.12.5"

Updated by this run for a399368b63f63912b9f86b69a4cf5c3dfdc7e634.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The DST search stops at label-only transitions, producing incorrect, host-dependent historical results for Morocco’s October 2018 switch and requiring a fix with regression coverage.

1 open issue
What changed in this PR

Merges v2/main into main for the v2.7.0 release tracked by #5820, bringing accumulated fixes and release metadata to the seven reference servers.

Changes:

  • Hardens filesystem access, Git confinement, memory persistence, and fetch processing.
  • Improves DST reporting, container shutdown, and regression coverage.
  • Updates package versions, dependencies, licensing documentation, and scoped validation workflows.
File Description
src/​time/​uv.lock Updates release version.
src/​time/​tests/​test_server.py Covers DST boundary cases.
src/​time/​src/​mcp_server_time/​server.py Normalizes seasonal DST reporting.
src/​time/​README.md Defines DST semantics.
src/​time/​pyproject.toml Bumps release version.
src/​time/​Dockerfile Adds tini for shutdown.
src/​sequentialthinking/​README.md Clarifies licensing terms.
src/​sequentialthinking/​package.json Updates version and validation scripts.
src/​sequentialthinking/​index.ts Handles stdio shutdown signals.
src/​sequentialthinking/​CHANGELOG.md Records patch release changes.
src/​sequentialthinking/​__tests__/​stdio-smoke.test.ts Checks SIGTERM shutdown.
src/​memory/​package.json Updates version and validation scripts.
src/​memory/​CHANGELOG.md Records persistence and tool fixes.
src/​memory/​__tests__/​write-limits.test.ts Updates skipped-relation expectations.
src/​memory/​__tests__/​sibling-faces.test.ts Characterizes graph invariants.
src/​memory/​__tests__/​guard-clearing.test.ts Covers concurrent guard clearing.
src/​memory/​__tests__/​graph-path-symlink.test.ts Characterizes symlink persistence.
src/​memory/​__tests__/​graph-path-symlink-mode.test.ts Checks permission preservation during swaps.
src/​memory/​__tests__/​create-repeated-observations.test.ts Covers observation deduplication.
src/​memory/​__tests__/​atomic-save.test.ts Allows nondestructive read opens.
src/​git/​uv.lock Updates release version.
src/​git/​tests/​test_tree_config.py Checks unsafe configuration refusal.
src/​git/​tests/​test_root_identity.py Covers repository-root replacement.
src/​git/​tests/​test_root_git_dir.py Checks confinement errors and recovery.
src/​git/​tests/​test_object_dir_switch.py Covers repository identity disagreement.
src/​git/​tests/​test_lazy_fetch.py Checks older-Git submodule refusal.
src/​git/​tests/​test_http.py Checks repository instructions over HTTP.
src/​git/​tests/​test_eras.py Checks instructions across protocol eras.
src/​git/​tests/​test_entrypoints.py Covers startup repository validation.
src/​git/​tests/​test_commit_dates.py Covers Git-compatible commit dates.
src/​git/​tests/​snapshots/​list_tools.json Records parameter descriptions.
src/​git/​pyproject.toml Bumps release version.
src/​git/​Dockerfile Adds tini for shutdown.
src/​filesystem/​server.ts Updates read-only handling and edit descriptions.
src/​filesystem/​roots-utils.ts Rejects unrepresentable root paths.
src/​filesystem/​pinned-directory.ts Verifies directory identity during creation.
src/​filesystem/​path-utils.ts Adds path representability checks.
src/​filesystem/​package.json Updates version, dependency, and scripts.
src/​filesystem/​index.ts Validates directories and releases handles.
src/​filesystem/​CHANGELOG.md Records filesystem patch changes.
src/​filesystem/​__tests__/​win32-link-targets.test.ts Covers Windows symlink targets.
src/​filesystem/​__tests__/​server-tools.test.ts Updates schema and swap assertions.
src/​filesystem/​__tests__/​server-paths.test.ts Updates path-refusal expectations.
src/​filesystem/​__tests__/​pinned-directory.test.ts Covers directory replacement races.
src/​filesystem/​__tests__/​file-resources.test.ts Checks refusal-path privacy.
src/​filesystem/​__tests__/​edit-oldtext-description.test.ts Checks edit matching documentation.
src/​filesystem/​__tests__/​bin-smoke.test.ts Checks SIGTERM shutdown.
src/​fetch/​uv.lock Updates release version.
src/​fetch/​tests/​test_readability_subprocess.py Covers bounded subprocess output and input.
src/​fetch/​tests/​test_readability_js_opt_out.py Allows only the Python worker.
src/​fetch/​tests/​test_hidden_ssr.py Adapts extraction spies for workers.
src/​fetch/​tests/​test_empty_tree.py Applies parser patches in-process.
src/​fetch/​tests/​harness.py Adds worker fixtures and timeout budgets.
src/​fetch/​tests/​conftest.py Exposes new fixtures.
src/​fetch/​src/​mcp_server_fetch/​title.py Updates worker-related comments.
src/​fetch/​README.md Documents parsing and extraction limits.
src/​fetch/​pyproject.toml Bumps release version.
src/​fetch/​Dockerfile Adds tini for shutdown.
src/​everything/​tools/​gzip-file-as-resource.ts Validates limits and bounds buffering.
src/​everything/​README.md Documents limits and licensing.
src/​everything/​package.json Updates version and validation scripts.
src/​everything/​docs/​structure.md Documents numeric limit validation.
src/​everything/​docs/​instructions.md Clarifies limit fallback behavior.
src/​everything/​CHANGELOG.md Records patch release changes.
src/​everything/​__tests__/​gzip-fetch-buffering.test.ts Checks chunk copying and ordering.
src/​everything/​__tests__/​error-path-secret-hygiene.test.ts Checks credential-free error results.
scripts/​validate-py.test.mjs Covers optional pytest skipping.
scripts/​validate-py.mjs Adds coverage-oriented validation mode.
scripts/​pack-and-verify.test.mjs Checks shipped license files.
scripts/​pack-and-verify.mjs Validates tarball license presence.
scripts/​lib/​workflow-gate.test.mjs Checks scoped validation and draft behavior.
scripts/​lib/​gate-scope.test.mjs Covers server selection rules.
scripts/​lib/​gate-scope.mjs Selects affected servers for validation.
scripts/​interface-diff.test.mjs Checks base-reference precedence.
scripts/​interface-diff.mjs Honors shared validation base.
scripts/​image-smoke.test.mjs Requires shutdown checks for every image.
scripts/​image-smoke.mjs Enables all image shutdown checks.
package.json Adds scoped validation and dependency overrides.
package-lock.json Locks dependency and package updates.
docs/​contribution-model.md Corrects pacing documentation link.
docs/​ai-software-factory.md Explains scoped validation and concurrency.
CONTRIBUTING.md Updates validation guidance.
.github/​workflows/​python.yml Adds draft-aware coverage execution.
.github/​workflows/​mcp-interface-diff.yml Defers draft interface checks.
.github/​workflows/​image-smoke.yml Defers draft image checks.
.claude/​skills/​security-advisory/​SKILL.md Documents isolated advisory branches and pushes.
.claude/​skills/​security-advisory/​evals/​evals.json Adds advisory workflow cases.
.claude/​skills/​pr-flow/​SKILL.md Documents scoped and draft validation.
.claude/​skills/​issue-triage/​SKILL.md Reuses board listings during triage.
.claude/​skills/​issue-create/​SKILL.md Reuses validated board listings.

Review effort: Balanced

Comment on lines +101 to +117
def neighbouring_period(at: datetime, direction: int) -> Period | None:
"""The period just before (`direction` -1) or after (+1) the one `at` is in.
Stepped a day at a time, so a period shorter than a day is not seen; a
seasonal period lasts weeks at the least. `None` when nothing changes within
`NEIGHBOUR_SEARCH_DAYS`, or the search runs off the end of `datetime`.
"""
here = period_of(at)
instant = at.astimezone(ZoneInfo("UTC"))
for days in range(1, NEIGHBOUR_SEARCH_DAYS + 1):
try:
other = (instant + timedelta(days=direction * days)).astimezone(at.tzinfo)
except OverflowError:
return None
if period_of(other) != here:
return period_of(other)
return None
@cliffhall
cliffhall merged commit e849e7c into main Dec 5, 2026
121 checks passed
@cliffhall
cliffhall deleted the v2/chore/5820-release-v2.7.0 branch December 5, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants