Update Card Status
update_card_statusVerify, deprecate, or reconfirm a card after human review; deprecation requires a reason and preserves the file.
Instructions
Change a card's status. action="verify" (draft -> verified, only after a human reviewer approves it) or action="deprecate" (draft/verified -> deprecated, requires reason; the file is kept, never deleted — FR3). action="reconfirm" (verified only: a human re-checked the card and it is still right; refreshes last_verified without changing status; refused for a card that needs review). deprecated is terminal, there is no un-deprecate. When deprecating a draft because the learning is wrong, a duplicate or not worth keeping, start the reason with "rejected:". Any other transition returns invalid_transition with the valid options.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"action": "<action>"
},
"name": "update_card_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Who performed this action — defaults to REVIEWER_NAME or "human-reviewer" | |
| id | Yes | Card id | |
| action | Yes | One of: verify, deprecate, reconfirm | |
| reason | No | Required when action is "deprecate" | |
| expected_hash | No | For action "reconfirm": sha256 of the card file as it was listed; refused if the file changed since | |
| verification_method | No | How the card was verified, for action "verify" — defaults to "chat-approval". When approving a candidate from `npm run promote-merged`, pass the evidence it printed (e.g. "merged:owner/repo@sha+chat-approval"). |