Repository navigation
docs(skills): objectstack-ai says a delete_record the human named, with one record matching, is already approved - #34538
Conversation
…th one record matching, is already approved The MCP tools table row for create_record, update_record and delete_record said "ask the human first, then retry" for every delete. The delete_record tool description now says a request naming exactly one matching record is the human's approval; the row states that rule and the ambiguous-name case. Claude-Session: https://claude.ai/code/session_01ADHkmSYVw1sqCsaHSJS9JC Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-steve · session_01ADHkmSYVw1sqCsaHSJS9JC Final head and L1 · 2026-11-17T00:45Z L1: ACCEPT (self-review)Self-review under
|
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head b9388ff · 2026-11-17T00:47Z |
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentskills/objectstack-ai/SKILL.md, read against
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA Seat record · 2026-11-17T00:52Z · Head-sha: b9388ff 维护者速读
席位意见:同意合并。新句逐字对齐 main 上已经发布的工具说明,没有发明新规则;删除依旧要 席位核对
|
|
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA Merged as |
Requested by Steve · project thread
Fixes #34456
Clause-②: no
Metadata-protocol: none
维护者速读
objectstack-ai技能的 MCP 工具表里,删除一行的说法改成和工具本身一致:用户点名要删的记录、且只匹配到一条时,这句话本身就是确认,AI 直接带confirm: true删,不再二次询问;名字匹配多条或没指明哪条时,先列出候选、问清再删。delete_record的工具说明和服务端技能,但仓库里的技能文件还写着“每次删除都先问人”,读技能的 AI 会对用户已点名的删除再问一遍。confirm: true的删除,行为不变。回滚即还原本 PR。skills/objectstack-ai/SKILL.mdMCP 工具表create_record,update_record,delete_record那一行。packages/mcp/src/mcp-http-tools.ts的DELETE_NAMED_RECORD_IS_APPROVAL与DELETE_AMBIGUOUS_ASKS_FIRST,两句意思一致。skills/**是受管面,需要 GOVERNED_APPROVERS 批准后才转 ready。What changes
skills/objectstack-ai/SKILL.md, MCP tools table, thecreate_record,update_record,delete_recordrow. "ask the human first, then retry" becomes the rule thedelete_recordtool description carries since #34453 (DELETE_NAMED_RECORD_IS_APPROVALandDELETE_AMBIGUOUS_ASKS_FIRSTinpackages/mcp/src/mcp-http-tools.ts): a request naming the record to delete, with exactly one record matching, is the human's approval, so the agent sendsconfirm: trueon that call without asking again; when the name matches more than one record, or the request does not identify one, the agent lists the candidates, asks which one, and sendsconfirm: trueonly after the answer. The server-side refusal of adelete_recordwithoutconfirm: trueis unchanged.Changeset:
.changeset/34456-skill-delete-record-named-approval.md,@objectstack/skillspatch (skills/**ships in it).Line and token readings (os-dev.md,
skills/**)skills/objectstack-ai/SKILL.mdlinesskills/objectstack-ai/**lines (whole skill)skills/objectstack-ai/SKILL.mdtokens (check-skills-token-ratchet, ceiling 6801, not raised)Gates
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackatb9388ff9derived 48 families; all 48 ran and exited 0 after a fullpnpm build(lock VERDICT command-exit 0), among themcheck-skills-token-ratchet,check:skill-links,check:skill-identifier-liveness,check:skill-compatibility,check:role-wordandcheck-empty-changeset.--ranreconciliation: 48 derived, 48 run, 0 NOT-MEASURED.No test change: prose only.
🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmSYVw1sqCsaHSJS9JC