docs: clarify row placement as row-level shell including context menu
All checks were successful
技能自动化发布 / release (push) Successful in 7s

This commit is contained in:
2026-08-09 10:20:20 +08:00
parent 98f057e26b
commit 51be1517c0
8 changed files with 40 additions and 13 deletions

View File

@@ -514,6 +514,8 @@ class TestActionsManifest(unittest.TestCase):
"数组相对顺序",
"全部直接展示",
"左右分栏",
"行级入口",
"行右键",
):
self.assertIn(marker, text, msg=f"ACTIONS.md missing {marker!r}")
self.assertNotIn(
@@ -521,6 +523,17 @@ class TestActionsManifest(unittest.TestCase):
text,
msg="ACTIONS.md must not document removed overflow more-menu truncation",
)
self.assertIn(
"新增 `row-context-menu` 等 placement",
text,
msg="ACTIONS.md must forbid inventing a separate row-context-menu placement",
)
placement_enum = _load_actions_schema().get("$defs", {}).get("placement", {}).get("enum") or []
self.assertNotIn(
"row-context-menu",
placement_enum,
msg="skill-actions.schema must not add row-context-menu to placements enum",
)
for forbidden in (
"数据管理 toolbar " + "只挂",
"toolbar " + "只放 async",