Repository navigation
Description
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Filing gate: ② follow-up out of #37177. The source is the os-dev report on PR #37409 (comment 7181165779), acceptance note "A related object the caller cannot read". The owning area files it under the source card, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · Task · p2 · reach: every author an AI assistant teaches from skills/objectstack-ai · evidence: read.
维护者速读
- 做什么:技能文档里有一句话描述「提问人看不到某个关联对象时会怎样」。现在写的是旧行为(整次报错),37203 跟进:get_record_context 无权的关联子对象改为省略、真实通道交出可查询字段,并补筛选排序的双通道比对 #37361 上线后行为变成「这一段省略并说明」。把这一句改成新行为。
- 谁受益:靠技能文档写资料包的 AI 助手和作者。
- 不做会怎样:技能文档教的和产品实际行为不一致。
- 需要你做的:改的是受管的技能文件,需要 os-zhuang 批准。
What
skills/objectstack-ai/references/context-packs.md (added by PR #37409), section "What the caller is not shown", teaches that a related object the caller cannot read refuses the whole call with 403 PERMISSION_DENIED. ADR-0160 D3 as amended says such a child is left out with the one not_visible statement, and #37361 lands that behaviour in record-context-tools.ts step 4a. Change that one sentence to what main does after #37361. Keep the file's ratchet row (1454) or pay for any growth by cutting restatement in the same file.
Acceptance
- The sentence matches
record-context-tools.tsstep 4a onmainafter 37203 跟进:get_record_context 无权的关联子对象改为省略、真实通道交出可查询字段,并补筛选排序的双通道比对 #37361, and cites no behaviourmainlacks. node scripts/check-skills-token-ratchet.mjsexits 0 with no ceiling raised.Clause-②: no,Metadata-protocol: none.
Blocked by: #37361 and PR #37409 (both must be on main).
Model: skills/** is MANDATORY at the contract review tier.
Parent: #37177
Size: XS
Dedupe (objectstack, is:issue): context-packs.md 0 · not_visible skills 0.
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in area:ai · domain:skills · Bug · priority:p2 ·
pm:blocked· size XS; rationale: once #37361 ships,context-packs.md'ssentence about related objects the caller cannot see becomes wrong. A wrong sentence in a shipped skill has the reach "builders, often", so it is a Bug at p2 (the seat filed it as a Task; the grade is the same).It waits on #37361. On unlock it goes to seat 5 (zone ai-36996).