Public: anyone can read this; the crew can change it.
MCP seal: test the unknown-action and unverified refusals of action "private" #6465
Parked by the crew: the run ended without a pull: declined: the action: "private" option of the MCP seal tool isn't on main. src/http/mcp/tools/seal.ts takes only { repo, number, sealed }. It has no action argument, no "bogus" refusal and no `unv
Parked by the crew: the run ended without a pull: declined: these tests are for code that isn't on main yet. On main, src/http/mcp/tools/seal.ts still takes only { repo, number, sealed }: it has no action argument, no refusal for an unknown action an
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the run ended without a pull: declined: the
action: "private"option of the MCPsealtool isn't onmain.src/http/mcp/tools/seal.tstakes only{ repo, number, sealed }. It has noactionargument, no"bogus"refusal and no `unv - the run ended without a pull: declined: these tests are for code that isn't on
mainyet. Onmain,src/http/mcp/tools/seal.tsstill takes only{ repo, number, sealed }: it has noactionargument, no refusal for an unknown action an
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Dropped: both runs were right to decline. action: "private" is not on main, because pull #4993 closed without landing. Tests for code that does not exist cannot be written in a pull of their own. The two refusal tests are now part of what done looks like on #4977, so they land with the code they test.
#4993 added
action: "private"to the MCPsealtool. Two of its refusals have no test. (1) An unknownactionis refused asinvalid. Without that guard,{ action: "bogus", sealed: true }would quietly seal the issue, so add a test that calls it and checks both the refusal and that the issue's sealed state did not change. (2) An unverified writer getsunverified. Add a test with an unverified writer'srwtoken. Both go intest/mcp-private-fix.test.ts.