Skip to content

docs(openspec): plan #2670 Correct Valkey MCP claim in SECURITY.md - #3157

Merged
dan-petty merged 3 commits into
mainfrom
docs/2670-security-md-says-that-the-valkey
Nov 2, 2026
Merged

dan-petty merged 3 commits into
mainfrom
docs/2670-security-md-says-that-the-valkey

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Plans #2670

SECURITY.md principle 11 says that the devops valkey commands are not MCP tools. This is wrong. Six of the nine commands are MCP tools: valkey_ping, valkey_stats, valkey_info, valkey_get, valkey_set and valkey_flush. They are in CONST_MCP_EXPOSURE_TABLE and in docs/MCP_TOOLS.md. Since #2634 these tools publish no url option.

The plan rewrites one paragraph. It names the six tools, states that they publish no url option, states that a person types --url at the command line, and keeps the note that valkey keys, valkey backup and valkey cli are not MCP tools. The change is document-only: it has no spec delta and sets skip_specs. The valkey-endpoint spec already holds the rule for the tools.

Change: openspec/changes/2670-security-md-says-that-the-valkey/

🤖 Generated with Claude Code

https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW

Copy link
Copy Markdown
Owner

Review of the plan for #2670.

CI: all 18 checks green or skipped on 65c69e7. Premise: holds. On origin/main, SECURITY.md:34 ends the --url paragraph with "Those commands are not MCP tools.". docs/MCP_TOOLS.md:144-149 lists the six valkey_* tools, and CONST_MCP_EXPOSURE_TABLE (src/devops_cli/config/constants.py:268) holds exactly six valkey rows (lines 400-405: flush, get, info, ping, set, stats). commands/valkey.py has nine commands, so keys, backup and cli are the three that are not tools. That text is the only match for the false claim in the Markdown files outside the archive and CHANGELOG.

  1. The spec delta breaks openspec/config.yaml:16. A document-only change "has no spec delta and sets skip_specs: true in its .openspec.yaml". This plan has specs/valkey-endpoint/spec.md and its .openspec.yaml has no skip_specs. The new requirement ("Security policy states the Valkey MCP tool input rule") describes the prose of a document, which no consumer observes as a behavior. Its four scenarios say "A test reads SECURITY.md", but the tasks add no such test, and config.yaml:23 allows only scenarios that a test can assert. openspec/specs/valkey-endpoint/spec.md:104 already holds "The MCP Valkey tools publish no URL": it names the same six tools, the no-url rule and the person-typed --url. So the new requirement also duplicates it in intent. Fix: delete specs/, set skip_specs: true, and say why in What Changes. Then design.md loses its last decision, and the "Modified Capabilities" entry goes. The PR body "adds no code" is then true.
  2. Task 1.2 is malformed: "SECURITY.md, run uv run devops docs generate --sync-readme, and verify...". The sentence has no verb for SECURITY.md. The sync is also not needed: no command, option or message changes. devops ci docs (src/devops_cli/commands/ci.py:795, it runs devops docs check) is the right verification, and it can be the check of task 1.1. Merge the two tasks.
  3. The check of task 1.1 proves only that the false sentence is gone. It does not prove the six names are in. Add git grep -c "valkey_flush" SECURITY.md (and the other five), or one grep with all six, as a second verification command.
  4. Existing Tool Considered says "no elapsed time beyond the edit". AGENTS.md rule 3 and config.yaml:12 ask for a stated cost. State it in a number (for example, one paragraph, about N tokens, one session). Minor, since the answer is plainly "none".
  5. Feasibility cites docs/MCP_TOOLS.md but not CONST_MCP_EXPOSURE_TABLE, which is the source that the doc is generated from (the issue names it). Add git grep -n '("valkey", ' src/devops_cli/config/constants.py as the check. The plan also states the three non-tools without a check; the same grep shows it (no keys, backup or cli row).
  6. The PR is not a draft (draft: false; AGENTS.md rule 6). Not verified whether the service bot is exempt.
  7. Low: ## Workflow follow-up holds only the tuicr bullet. config.yaml:39 allows it for a change that alters code. This change alters no code, so drop it.

Title (49-char summary), Plans #2670, body and one-PR fit are fine. The SECURITY.md base moved by one line since the PR base a9d6d9f (the one-line diff is not in the --url paragraph); not verified that a rebase is needed.

Related issues: none other found by search (SECURITY.md MCP valkey returns only #2670).

Verdict: hold until finding 1 is fixed (drop the spec delta, set skip_specs: true), with findings 2 and 3 in the same push.


Generated by Claude Code

Drop the spec delta and set skip_specs, because the change edits the prose of
a policy document. Merge the two tasks into one with a content check and a
docs check. Add the exposure-table evidence, a stated cost and a note that
the issue has no acceptance criteria of its own.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
@dan-petty
dan-petty merged commit 6d248ff into main Nov 2, 2026
20 checks passed
@dan-petty
dan-petty deleted the docs/2670-security-md-says-that-the-valkey branch November 2, 2026 16:28
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