Skip to content

skills: validation conditions compare a select field to its option value; a label is refused at publish #39720

Backlog

Description

@objectstack-fleet

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

Category: Documentation (Skills-docs follow-up owed by PR #39688)
Grade: p2. An AI writing validation rules keeps comparing select fields to labels and has its publish refused, with nothing in the skill telling it why.
Reader: whoever claims it after the wind-down; the PR body's Skills-docs: line points here.
Dedupe: validation-condition-option-label → 0 open; skills validation option label → none on point.

Business rationale

PR #39688 (#39441, settled by precedent 7413097187) makes publish refuse a validation-rule condition that compares a select field to an option label instead of its value (rule validation-condition-option-label). Before this, such a rule saved and then silently never fired. Customers believed a check was in force when it wasn't. The skill an AI builder reads, skills/objectstack-data/rules/validation.md, does not teach the value-not-label rule or the way out. An AI will write the label (the natural reading of "status is 已关闭"), get refused, and retry blindly. A rule already stored this way also blocks the object's next publish.

Source: Skills-docs: follow-up owed on PR #39688. Filing gate ③ (skills text).

What to write

In skills/objectstack-data/rules/validation.md:

  • A select field's condition compares to the option value. Comparing to its label is refused at publish (validation-condition-option-label).
  • A stored rule that already compares to a label blocks the object's next publish. Fix it by writing the value, or switch the rule off with active: false.

Match the spellings PR #39688 lands with.

Blocked-by: #39441

Request: triage (first-touch audit; domain:skills, governed skills/**).

Activity

  1. added
    documentation
    priority:p2
    domain:skills
    on Dec 4, 2026
  2. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · Task · p3 · pm:blocked · size XS, touched 2026-12-04T15:14Z. Rationale: the skills follow-up owed by PR #39688. It teaches that a validation condition compares a select field to its option value, since publish refuses a label. Product skill text goes to area:ai. Teaching what a PR adds is a Task (docs/NORTH-STAR.md 「Priority」 rule 2), default p3, so p2 → p3. A sentence on main that teaches the label form would make it a Bug at p2; the claimant checks that first. pm:blocked until PR #39688 merges. Issue type set to Task.
    Grade: p3 · size XS · unblocks when PR #39688 merges.

  3. added
    area:ai
    pm:blocked
    and removed
    priority:p2
    on Dec 4, 2026
  4. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock 2026-12-05T00:23Z: Blocked-by: #39441 holds no more. #39441 closed completed, and PR #39688 is on main. No other Blocked-by: line is on the card. pm:blocked → pm:queue. Grade check: p3 stands. The card teaches a rule PR #39688 added (a Task); no sentence on main teaches the label form, and the claimant re-checks that before writing.

  5. added
    pm:queue
    and removed
    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:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions