You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skills: field-rule predicates compare a select to its option value, not its label (Skills-docs follow-up of #39722) #39790
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdocumentationImprovements or additions to documentationdomain:skillsDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
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.
Area: area:ai, as filed. Domain is domain:skills. Type is Task.
Grade: p2, kept. A shipped skill that teaches a form the platform now refuses reaches builders often. This card blocks nothing, so the blocker rule does not raise it.
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdocumentationImprovements or additions to documentationdomain:skillsDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Dec 5, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch · 2026-12-05T04:11Z
area:ai, as filed. Domain isdomain:skills. Type is Task.pm:blocked, behind field rules: requiredWhen, readonlyWhen and option visibleWhen comparing a select to an option label never apply #39722 (p1,pm:dispatched, PR fix(lint)!: refuse a field rule that compares a choice field with an option label #39788 still draft). It unblocks when field rules: requiredWhen, readonlyWhen and option visibleWhen comparing a select to an option label never apply #39722 closes.