Skip to content

skills: field-rule predicates compare a select to its option value, not its label (Skills-docs follow-up of #39722) #39790

Backlog

Description

@objectstack-fleet

repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB

Category: Documentation (Skills-docs follow-up owed by PR #39788)
Grade: p2. Builders, and AI builders above all, keep writing the label form until the skills teach the value form.
Reader: whoever claims it after PR #39788 merges.
Dedupe: field-rule-option-label → only #39722 and PR #39788 (seat posts only).

Business rationale

PR #39788 (#39722) makes the save/publish door and os validate refuse a requiredWhen, readonlyWhen, field visibleWhen or option visibleWhen that compares a select field to an option label (finding field-rule-option-label). The shipped skills do not yet tell the author to compare against the option value. An AI that reads "status is 已关闭" will write the label, and then meet a refusal it was never taught to avoid.

Expected

  • skills/objectstack-data (field rules) and skills/objectstack-formula (predicates) state that a predicate comparing a select field uses the option value, not its label.
  • Give one short wrong/right example, and name the finding id that refuses the wrong form.
  • Stay within the skills token ratchet: pay down a restatement first.

Blocked-by: #39722

Request: triage (first-touch audit).

Activity

  1. added
    documentation
    priority:p2
    area:ai
    on Dec 5, 2026
  2. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch · 2026-12-05T04:11Z

  3. added
    domain:skills
    pm:blocked
    on Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aidocumentationdomain:skillspm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions