Skip to content

fix(roadmap): read a quoted tuple as an MCP key in context - #4265

Merged
dan-petty merged 3 commits into
mainfrom
fix/4255-mcp-key-context
Nov 9, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/4255-mcp-key-context

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The citation gate of the stage job read any quoted string tuple in a plan as a key of CONST_MCP_EXPOSURE_TABLE, so a tuple of another table (a test fixture) was refused. The gate now checks a quoted tuple only when its sentence names CONST_MCP_EXPOSURE_TABLE or the words "exposure table". A key cited in such a sentence is still checked.

Closes #4255

Change: openspec/changes/archive/2026-11-09-4255-the-mcp-key-gate-reads-any/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 9, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record.

  • fail-to-pass (uv run devops ci fail-to-pass --base origin/main): 2 tests failed on base and pass on the branch: test_the_sentence_of_the_tuple_decides_the_context and test_a_quoted_tuple_of_another_table_is_no_mcp_key (both in tests/roadmap/stage/test_roadmap_stage_command_citations.py). The other 12 tests of the file passed on base. The two older tests now cite the key in a sentence that names the exposure table, as the spec scenarios already say.
  • Full uv run devops ci (before the rebase onto main): exit 0. The test step took 15m 42s, over the 5 minute budget. That is not this change.
  • After the rebase: uv run devops ci test tests/roadmap/stage/test_roadmap_stage_command_citations.py 14 passed; uv run devops openspec check passed.
  • Golden set: uv run devops roadmap eval stage --replay printed "Good plans that every gate accepts: 5 of 5" and "Result: every gate refuses what it must refuse". No recorded verdict flipped.

@dan-petty
dan-petty marked this pull request as ready for review November 9, 2026 19:07
@dan-petty
dan-petty merged commit 2cef137 into main Nov 9, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/4255-mcp-key-context branch November 9, 2026 19:11
dan-petty pushed a commit that referenced this pull request Nov 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.103.0](v0.102.0...v0.103.0)
(2026-11-09)


### Features

* **ai:** a setting holds the price of a reference model
([#4258](#4258))
([d31717d](d31717d))
* **ai:** add --since, --until, and --by to cost report and roi
([#4264](#4264))
([fe59c14](fe59c14))
* **ai:** integrate Jev 1.14 and agent configurations
([#4275](#4275))
([28356ed](28356ed))


### Bug Fixes

* **openspec:** check the archive result on disk, plan the dry run
([#4273](#4273))
([cefc184](cefc184))
* **roadmap:** build the trace facts from every plan run
([#4267](#4267))
([b46506d](b46506d))
* **roadmap:** keep refused stage replies, stop placeholder replies
([#4260](#4260))
([aea5adc](aea5adc))
* **roadmap:** match a security trigger word as a word
([#4261](#4261))
([ec96082](ec96082))
* **roadmap:** name schema violations in the log
([#4276](#4276))
([c816e8f](c816e8f))
* **roadmap:** read a quoted tuple as an MCP key in context
([#4265](#4265))
([2cef137](2cef137))


### Code Refactoring

* **ui:** delete kubernetes and logs dashboard tabs
([#4263](#4263))
([2d8b693](2d8b693))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the MCP key gate reads any quoted tuple

1 participant