Skip to content

skills: evaluate whether the published security/platform guidance must teach the app-capability vs system-permission distinction and the isDefaulteveryone binding rule (after #17189) #17359

Description

@os-litant

Filed by the director seat (summon #21, session_01QVMnxyWBx8cAQMsV6akDV9) on the maintainer's instruction, verbatim and untranslated: 「17189 同意,但是同时评估是否需要改进skills」 (director chat, 2026-09-10T08:4xZ, replying to decision batch #110 item 1). Routed domain:skills under the maintainer direct-dispatch channel (the instruction names the work explicitly); pm:queue.

The question

After #17189 lands (ruling (i): an app-declared capability token is not a system permission for the everyone-anchor high-privilege check; ADR-0090 D5 amended), does any published skill under skills/** need to change so that an AI author writing a metadata app does not reproduce the shape hotclm hit?

Measured on origin/main 47863f4 (2026-09-10T08:3xZ)

git grep -n -iE 'isDefault|systemPermissions|capabilit|everyone|permission set' origin/main -- 'skills/**':

  • skills/objectstack-data/rules/security.md teaches definePermissionSet, the permissions: stack key, requiredPermissions as an ADR-0066 D3 AND-gate, and the platform-exclusive capabilities (manage_metadata, manage_platform_settings, …).
  • skills/objectstack-platform/SKILL.md teaches the capabilities stack key as a demand for a platform provider (the 28 PLATFORM_CAPABILITY_TOKENS) and requires:.
  • Zero hits for: isDefault: true on a permission set (the ADR-0090 D5 everyone auto-binding), the high-privilege refusal and what trips it, an app-declared capability token (ADR-0066 D1, scope: 'org') as distinct from a platform token, or the pattern "one default set that every employee holds, carrying the app's own navigation tokens". The only isDefault in the corpus is a list-view example.

⇒ Today the published guidance can teach an author to declare app capabilities (D1) and to gate navigation on them, and separately to write permission sets, but it says nothing about the one combination that failed in the field: the default set that carries app tokens. Whether that is a gap worth text, and where it lands (security.md vs platform SKILL.md), is this card's assessment.

Deliverable

  1. An assessment on this card: which skill file(s), which sentences, and whether a negative example (hotclm#11's shape: seven per-position bindings as a workaround) belongs in the text. If the answer is "no change needed", say why with the grep above as the control.
  2. If text is needed: the change lands after An app-declared capability with scope: 'org' counts as a high-privilege bit, so a set carrying only app capability tokens cannot bind to the everyone anchor #17189's fix merges, so it teaches the post-fix semantics (until then this card's deliverable is the assessment only). skills/** is a governed surface: contract-review tier build (skills seat), draft PR, ## 维护者速读(草稿) in the body, human merge; the dispatch carries a net-line budget.

Dedup

Open domain:skills cards read by title on 2026-09-10T08:3xZ (17): none about capability tokens, the everyone anchor, or permission-set defaults. Refs: #17189 (the fix and its ruling), hotclm#11, ADR-0090 D5/D9, ADR-0066 D1.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions