Skip to content

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

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
  4. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

    Claim: PM loop round 9 · 2026-12-05T13:18Z · chain head of a family fold
    Session: session_016WV4d1cnRvyiAqrarmDhZV
    Account: os-elon-musk
    Area: em-admin (intake reopened for epic #39760 p1/p2 by the maintainer, seat thread 2026-12-05T13:15Z, verbatim 「继续处理专题 39760 p1 p2」, routed by the seat)
    Branch: claude/issue-39790-wip
    Worktree: objectstack-issue-39790
    Domain: domain:skills
    Seat: repo:objectstack@os-elon-musk
    Unblock: pm:blocked → claimed in this stroke. Blocker #39722 is closed, and its PR #39788 merged at 2026-12-05T05:11Z.
    Family: #39790 (head), #38259, #39254, #39634. One dispatch, one PR, with a Fixes line per card.
    Fold-or-serial: FOLD. The five gates:
    ① Same defect shape and same fix. Each card is a published skill whose text lags a platform behaviour that has already merged (#39788, #38241, #39102, #39426). The fix in each case is a skill-text correction plus one eval case. Every member is Clause-②: no, pure text.
    ② Same area: one worktree under skills/**, one queue slot, the same Tier H landing and the same L2 tier.
    ③ Every member is triaged and graded p2. None sits in a decision box.
    ④ Each member is checkable on its own, against its own named sentence:

  5. added
    pm:dispatched
    and removed
    pm:blocked
    on Dec 5, 2026
  6. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
    os-dev-report

    {
      "issue": 39790,
      "status": "done",
      "branch": "claude/issue-39790-wip",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39821",
      "session": "session_016WV4d1cnRvyiAqrarmDhZV",
      "premise_still_valid": true,
      "summary": "Family fold delivered for three of four members in draft PR 39821, head 302a8c5d5a on origin/claude/issue-39790-wip (base 124f1e0823): 39790 (objectstack-data and objectstack-formula state that a predicate comparing a select uses the option value, with one wrong/right pair and the finding id field-rule-option-label), 39254 (objectstack-ai states the 8,000-character ask skill text cap, what counts, where it is refused, the export), 39634 (the objectui app-composition guide lets page and report entries omit label). One eval case per card. Every touched teaching file stays exactly at its token ceiling: each addition is paid by deleting restatement in the same file, and no ratchet row moved. MEMBER DROPPED: 38259. Its behaviour premise holds on main (publish answers 422 INVALID_METADATA, rule flow-subflow-unknown; CLI stays a warning), but its location premise fails: skills/objectstack-automation/SKILL.md holds no subflow row since commit 7f8aa64972; the stale row is line 57 of skills/objectstack-automation/references/examples-flows.md, outside the claimed file surface. No commit and no closing line for it; it needs a re-dispatch whose surface names that reference file (and the existing eval case 20 of flows-triggers-approvals.json, which is still true as written). Card assignee was not written; PR assignee os-elon-musk rode pr_create.",
      "tests": "No package source changed, so no package test or typecheck is owed. Read on head 302a8c5d5a: node scripts/check-skills-token-ratchet.mjs exit 0 ('61 authored bundle file(s) within their ceilings'; data 2240/2240, formula 2243/2243, ai 2243/2243, app-composition 1078/1078, authored bundle 182571/182571); pnpm --dir ui exec vitest run scripts/ under the verify lock, VERDICT command-exit 0 (172 files passed, 2 skipped; 5161 tests passed); spec check:skill-examples exit 0 ('345 prose examples type-check across 3 surface(s)') after a first exit 3 PREREQUISITE NOT MET cured by building the client-react closure. Live check (skill-evals, model haiku served claude-haiku-5-5, effort medium, 3 repeats, runner at f8a0207db1, subscription login): with-skill before (published @objectstack/skills@19.0.0-next.5 bundles) vs after: ai case 16 0/3 -> 3/3; objectui case 5 0/3 -> 3/3; data case 31 3/3 -> 3/3 (does not separate before from after on this model; it pins the behaviour). No-skill arm 0/3 on each after-run case. Notional cost about 0.25 USD over all shaping rounds, nothing billed. No ablation: no tested runtime behaviour changed.",
      "gates": "Local subset on head 302a8c5d5a, each exit code captured before any pipe: dispatch-gates --commands --repo objectstack-ai/objectstack exit 0 (54 families); dispatch-gates --ran exit 0: '54 derived famil(ies) accounted for — 50 run, 4 NOT-MEASURED', 0 UNRUN; all 50 exited 0 (skill-examples on its second run). NOT-MEASURED check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content :: each reads every package's built dist, whole-tree families outside this diff, left to CI. Outside the derived list, exit 0: pnpm check:doc-anchors, ui check-skill-eval-tokens. test:repo not run locally (CI's). PR check-runs on 302a8c5d5a, all completed: 35 success, 12 skipped, 0 failed. Success includes Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards. Skipped includes Temporal Conformance (live PG + MySQL), Dogfood battery (opt-in), Build Docs, Queue verdict.",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: (1) fleet-write pr_create, request fw-20261205T141154Z-ba18fa, run 47529153139: POST /repos/objectstack-ai/objectstack/pulls (draft) and POST /repos/objectstack-ai/objectstack/issues/39821/assignees; read-back identical, 10443 bytes. (2) this os-dev-report comment through post-stamped.mjs: POST /repos/objectstack-ai/objectstack/issues/39790/comments. git push: 6 (the empty-branch probe and five commits), not REST writes.",
      "classifier_refusals": [],
      "open_questions": [
        {
          "question": "The dispatch's file surface is 'skill files, eval files, generated records'; AGENTS.md Post-Task step 3 and the os-dev definition owe a changeset for a diff that publishes (@objectstack/skills). The PR carries .changeset/39790-skills-teach-shipped-refusals.md (patch). Is that accepted?",
          "options": [
            "A keep the changeset (Check Changeset is green with it)",
            "B strip it and label skip-changeset"
          ],
          "recommendation": "A, because the catalog ships in @objectstack/skills and the os-dev definition says the standing file wins over the dispatch text; B would mislabel a publishing diff."
        },
        {
          "question": "Card 38259 was dropped: its row lives in skills/objectstack-automation/references/examples-flows.md, not SKILL.md. How does it proceed?",
          "options": [
            "A re-dispatch with the surface amended to references/examples-flows.md plus the evals file, as its own PR or a push onto this branch",
            "B leave it queued"
          ],
          "recommendation": "A: one row rewrite ('at publish the name is refused when no part of the deployment holds it, 422 INVALID_METADATA flow-subflow-unknown; save the called flow first; os validate still only warns') paid by deletion in that file, plus one eval case."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed · content/docs/ui/apps.mdx, the human-facing twin the app-composition guide names, is silent on omitting a nav entry's label; nothing there is wrong, so no card",
        "carrier: 38259 · the stale subflow row is at skills/objectstack-automation/references/examples-flows.md line 57 on main 124f1e0823; the card and its claim name SKILL.md"
      ],
      "deviations": "Changeset outside the dispatch's literal file surface (see open_questions). Commit trailers use the model-free pair AGENTS.md requires, not the harness reminder's model-named line. The baseline arm of the live check is the published 19.0.0-next.5 bundle through --skills-from, not a second worktree at the merge base; the four touched teaching files are unchanged on main since that version commit. Worktree /home/user/objectstack-issue-39790 removed after the report."
    }
  7. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

    Claim amendment: 2026-12-05T14:32Z · amends claim 7438628315 · Area: em-admin
    File surface: adds .changeset/39790-skills-teach-shipped-refusals.md (patch). The catalog ships in @objectstack/skills, so this diff publishes and owes a changeset under AGENTS.md. Check Changeset is green with it.
    The fold is unchanged: #38259 is still a member. Its row lives in references/examples-flows.md (amendment on #38259), and its fix lands as one more push on this branch.

  8. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
    os-dev-report

    {
      "issue": 39790,
      "status": "done",
      "branch": "claude/issue-39790-wip",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39821",
      "session": "session_016WV4d1cnRvyiAqrarmDhZV",
      "premise_still_valid": true,
      "summary": "Follow-up round on the coordinator's ruling (option A twice; amendments 7439670749 and 7439658198): card 38259 is back in the fold as ONE more push, 302a8c5d5a..1f9705f48d on origin/claude/issue-39790-wip. The subflow row of skills/objectstack-automation/references/examples-flows.md now says that at publish a name no part of the deployment holds is refused (422 INVALID_METADATA, flow-subflow-unknown), to save the called flow first (a draft counts), and that os validate only warns. Paid in the same file by cutting phrases the skill's SKILL.md rows already say; the file stays at 6627/6627 tokens and no ratchet row moved. Eval case 27 added to flows-triggers-approvals.json; case 20 untouched. The changeset now names four members. PR body NOT edited, as ordered: it still says 38259 is outside the PR, carries three Fixes lines, and its ratchet table, live-check table and file count (now nine) predate this push; the seat owns that body edit. All four members are now delivered on head 1f9705f48d.",
      "tests": "On head 1f9705f48d: node scripts/check-skills-token-ratchet.mjs exit 0 (examples-flows.md 6627/6627 (+0); authored bundle 182571/182571); pnpm --dir ui exec vitest run scripts/ under the verify lock, VERDICT command-exit 0 (172 files passed, 2 skipped; 5161 tests passed). Live check of the new case (skill-evals --case objectstack-automation/flows-triggers-approvals#27, 3 repeats, model haiku served claude-haiku-5-5, effort medium, subscription login): with-skill before (published @objectstack/skills@19.0.0-next.5 bundles) 0/3, after 2/3; no-skill 0/3 both runs. The after-run miss read the reference file and still did not name the finding. A first wording of the prompt ('answer from what is written here') read 0/3 on both texts because no turn opened the skill; the case was reworded as an authoring task before the push. Notional cost of this round about 0.09 USD, nothing billed. No ablation: no tested runtime behaviour changed.",
      "gates": "Local subset on head 1f9705f48d, exit codes captured before any pipe: dispatch-gates --commands exit 0 (55 families; check:skill-refs joined the list with the references file); every one of the 50 commands run in the sweep exited 0, plus the ui script tests; dispatch-gates --ran exit 0: '55 derived famil(ies) accounted for — 51 run, 4 NOT-MEASURED', 0 UNRUN. NOT-MEASURED check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content :: each reads every package's built dist, whole-tree families outside this diff, left to CI. Outside the derived list, exit 0: pnpm check:doc-anchors, ui check-skill-eval-tokens. CI waited out in the foreground. PR check-runs on 1f9705f48d, all completed: 35 success, 12 skipped, 0 failed (the same names as on the previous head, Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Check Changeset and the UI set among the successes).",
      "mcp_calls": "0",
      "api_writes": "This round: 1 relay stroke, this os-dev-report comment through post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/39790/comments). git push: 1. Session total: pr_create (POST /pulls, POST /issues/39821/assignees), two report comments; 7 pushes.",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat (os-elon-musk) · PR 39821's body is stale after this push (member 38259, the ratchet and live-check tables, the file count); the coordinator reserved the body edit"
      ],
      "deviations": "The worktree was rebuilt on the existing local branch at 302a8c5d5a with plain git worktree add (dev-worktree.sh refuses an existing local branch); origin/main was not merged in, since the PR is open and reports no conflict. The local commit was amended once before it was pushed, so the push is one commit. One gate sweep outran the 10-minute foreground cap and finished in the harness background; it was waited on in-turn and every exit code read from its record. Worktree removed after this report; all work is on origin/claude/issue-39790-wip at 1f9705f48d."
    }
  9. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
    os-dev-report

    {
      "issue": 39790,
      "status": "done",
      "branch": "claude/issue-39790-wip",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39821",
      "session": "session_016WV4d1cnRvyiAqrarmDhZV",
      "premise_still_valid": true,
      "summary": "Rework round on L2 7440331348 (PASS with S1) and L1 7440345321 (REWORK on S1), both read in full. One push, 1f9705f48d..ce2f9ac1ae on origin/claude/issue-39790-wip. S1: the runAs system identity-write callout in skills/objectstack-automation/references/examples-flows.md reads 'is refused on every operation, insert through purge, a system subflow included' again, byte for byte as on main. Two other trims of the previous push were also reverted to main's wording (the screen row's 'Next / Submit and \"Step N of M\" are not authored', L2's N1; and 'does not judge that fit yet'). Paid in the same file by one non-security phrase: the screen row's 'renders the upload widget and', which the skill's SKILL.md screen row already says ('An upload is type file'). No other security teaching was reworded. The file stays at 6627/6627 tokens; no ratchet row moved. Nit: the changeset headline now says five skills, and its list of what was cut matches this head. PR body not edited. EXACT COUNTS of the PR diff against main (git diff origin/main...HEAD at ce2f9ac1ae): 10 files changed, 123 insertions, 32 deletions; 4 new eval cases (data 31, ai 16, automation 27, objectui 5). The 10 files: 1 changeset, 5 teaching files (objectstack-data/SKILL.md, objectstack-formula/SKILL.md, objectstack-ai/SKILL.md, objectstack-automation/references/examples-flows.md, objectui/guides/app-composition.md), 4 eval files.",
      "tests": "On head ce2f9ac1ae: node scripts/check-skills-token-ratchet.mjs exit 0 (examples-flows.md 6627/6627 (+0); authored bundle 182571/182571 (+0)); pnpm --dir ui exec vitest run scripts/ under the verify lock exit 0 (172 files passed, 2 skipped; 5161 tests passed). No live check re-run: this push restores sentences to main's wording and changes no eval case and no sentence an eval case reads for its verdict; the readings of the earlier rounds stand (ai 16 0/3 -> 3/3, objectui 5 0/3 -> 3/3, automation 27 0/3 -> 2/3, data 31 3/3 -> 3/3). No ablation: no tested runtime behaviour changed.",
      "gates": "Local subset on head ce2f9ac1ae, exit codes captured before any pipe: dispatch-gates --commands exit 0 (55 families, the same list as the previous head); all 50 commands of the sweep exited 0, plus the ui script tests; dispatch-gates --ran exit 0: '55 derived famil(ies) accounted for — 51 run, 4 NOT-MEASURED', 0 UNRUN. NOT-MEASURED check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content :: each reads every package's built dist, whole-tree families outside this diff, left to CI. CI waited out in the foreground. PR check-runs on ce2f9ac1ae, all completed: 36 success, 18 skipped, 0 failed.",
      "mcp_calls": "0",
      "api_writes": "This round: 1 relay stroke, this os-dev-report comment through post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/39790/comments). git push: 1. Session total: pr_create (POST /pulls, POST /issues/39821/assignees), three report comments; 8 pushes.",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat (os-elon-musk) · PR 39821's body still predates the last two pushes; the coordinator reserved the edit. True numbers: 10 files, 4 eval cases"
      ],
      "deviations": "Live check not re-run for this push (reason in tests). The fix restores two more phrases than S1 asked (the screen row sentence of N1 and one 'yet'), so the payment is a single cut and the diff of that file against main is smaller. Worktree rebuilt on the existing local branch with plain git worktree add; origin/main not merged in (PR open, no conflict). Worktree removed after this report; all work is on origin/claude/issue-39790-wip at ce2f9ac1ae."
    }
  10. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

    Delivered · 2026-12-05T22:21Z · zone em-admin
    This card was delivered by PR #39821, merged as e37358096d. That PR folds four cards, #39790, #39254, #39634 and #38259, into one Tier H PR, and the maintainer merged it.
    Reviews: L2 7440331348, then delta 7440759340 PASS. L1 delta 7440768251 ACCEPT. Seat handoff 7440854546.
    pm:dispatched was removed and assignees were cleared in this stroke.

  11. removed
    pm:dispatched
    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:skillspriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions