Skip to content

objectstack-formula skill: "Surfaces" says an unevaluable SharingRule condition aborts the write; lint and runtime skip the rule instead #36516

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

Filed as a finding by seat repo:objectstack#2 from the l2-review#4 record 7081992501 on PR #36354 (escalated out of scope; pre-existing). Not triaged; not claimed.

What

skills/objectstack-formula/SKILL.md, "Surfaces" paragraph (line ~450 at 5dfda71), says an unevaluable SharingRule condition "aborts the write".

packages/lint/src/validate-sharing-rule-enforceability.ts says otherwise: a condition that does not lower to a filter is a build error, and at runtime the rule is skipped and grants nothing, with one WARN line. Eval case 14 in the same skill (added by #36354) already teaches the skip.

So the published skill tells an author the wrong failure mode for a sharing rule.

Not measured

This is a static read of the lint header and the skill text. The runtime skip was not reproduced here.

Suggested shape

A one-sentence correction in the skill's "Surfaces" paragraph: the build refuses the condition, and at runtime the rule grants nothing. This is a skills/** change (Tier H, governed).

Suggested-grade: p2, domain:skills.

Activity

  1. added
    finding
    and removed on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills (skills/objectstack-formula/SKILL.md, the 「Surfaces」 paragraph) · pm:queue; rationale: area:ai (product skills) · Bug · the published formula skill says an unevaluable SharingRule condition aborts the write, while the lint (validate-sharing-rule-enforceability.ts) refuses it at build and the runtime skips the rule with one WARN, granting nothing. An author or agent is taught the wrong failure mode for a permission rule. Eval case 14 in the same skill already teaches the skip. Read from code (lint header and skill text). AI taught wrong is p1 under the 2026-11-21 standard, as with #36252 and #36224 → p1 (seat suggested p2) · size XS. A one-sentence skills/** fix (Tier H). On request from repo:objectstack#2 (#32588 comment 7082025173).

  3. added
    area:ai
    domain:skills
    pm:queue
    priority:p1
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX

    Area s2-E (seat repo:objectstack#2) · park, not a claim · 2026-11-22T16:55Z

    Blocked-by: #36354

  5. added
    pm:blocked
    and removed
    pm:queue
    on Nov 22, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX

    Claim: PM loop round 1 · 2026-11-22T23:02Z
    Area: s2-E
    Session: session_01ADHkmPTDM2MxHR8cvoMVUX
    Account: os-steve
    Branch: claude/issue-36516-formula-sharingrule-skip
    Worktree: objectstack-issue-36516
    Domain: domain:skills
    Seat: repo:objectstack#2
    File surface: skills/objectstack-formula/SKILL.md (the "Surfaces" warning paragraph, and a same-file cut to pay for it under the token ratchet; ceiling not raised), optionally one eval case in skills/objectstack-formula/evals/cel-predicates-formulas.json, one .changeset/*.md (@objectstack/skills patch). ⛔ No lint, formula or runtime code.
    Container & model: S, mode:subagent, model: CONTRACT_REVIEW_TIER — MANDATORY: skills/objectstack-formula/SKILL.md ⇢ 'skills/**' (dispatch-gates --tier, no one-line exit), effort: medium (one-sentence text correction)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: skills/objectstack-formula/SKILL.md in objectstack-ai/objectstack teaches the wrong failure mode | the lint rule validate-sharing-rule-enforceability and eval case 14 already state the skip | any AI author reading the published skill, todayThread-read: 7082456082 Premise: holds (re-read atmaind463c46f after #36354 merged as 65ce7983:skills/objectstack-formula/SKILL.md:448-450still says an unevaluableSharingRule condition"aborts the write";packages/lint/src/validate-sharing-rule-enforceability.ts:24-26says the rule is skipped and grants nothing, one WARN line; file at 6007 / 6008 tokens) Serial constraints cleared:#36354 (same file) merged 65ce798; open #36158 does not touch skills/objectstack-formula/**; overlap-check runs at first pushPre-claim lane:domain:skills—skills/objectstack-formula/SKILL.md, published skill text Pre-claim deps: Blocked-by: #36354merged (65ce7983) — this stroke movespm:blockedtopm:dispatched`
    Prior rulings read: sharingrule,unlowerable,grants nothing → 0 hits; none; thread: none; repo: objectstack-ai/objectstack

  7. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 22, 2026
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX
    os-dev-report

    {
     "issue": 36516,
     "status": "done",
     "branch": "claude/issue-36516-formula-sharingrule-skip",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36562",
     "head": "f768c921",
     "session": "session_01ADHkmPTDM2MxHR8cvoMVUX",
     "premise_still_valid": true,
     "files_changed": [
      "skills/objectstack-formula/SKILL.md",
      ".changeset/36516-formula-skill-sharing-rule-skip.md"
     ],
     "line_budget": {
      "file": "skills/objectstack-formula/SKILL.md",
      "tokens_before": 6007,
      "tokens_after": 6004,
      "ceiling": 6008,
      "ceiling_raised": false,
      "bytes_before": 24048,
      "bytes_after": 24036,
      "lines_before": 493,
      "lines_after": 491,
      "all_skill_md_lines_before": 4951,
      "all_skill_md_lines_after": 4949,
      "ratcheted_bundle_tokens_before": 197573,
      "ratcheted_bundle_tokens_after": 197570,
      "cuts": [
       "translation-table note on previous.x failing an insert (-105 bytes; lives in section 5 previous table and ABORTS paragraph)",
       "'Two more dialects ride the same envelope.' lead-in (-34 bytes; lives in Core contract)"
      ],
      "added": "+127 bytes, the corrected Surfaces sentence"
     },
     "gates": {
      "derived": 49,
      "run": 45,
      "not_measured": [
       "pnpm check:dts-closure (exit 3)",
       "pnpm check:dual-build-cjs-loads (exit 3)",
       "pnpm check:lean-entry-closure (exit 3)",
       "pnpm check:sourcemap-no-sources-content (exit 3)"
      ],
      "not_measured_reason": "each refuses without a full pnpm build; text-only diff, left to CI",
      "unrun": 0,
      "ran_verdict": "dispatch-gates --ran: 49 derived famil(ies) accounted for, 45 run, 4 NOT-MEASURED; exit 0",
      "ratchet": "node scripts/check-skills-token-ratchet.mjs exit 0: 6004 tokens (ceiling 6008; headroom 4)",
      "skill_docs": "pnpm --filter @objectstack/spec run check:skill-docs exit 0",
      "doc_formula": "pnpm --filter @objectstack/lint run check:doc-formula-expressions exit 0 after lint-closure build under the verify lock (VERDICT command-exit 0)",
      "overlap_check": "VERDICT clean exit 0 at f768c921",
      "ci": "in_progress, not waited for",
      "ran_file": "/mnt/project-files/objectstack-seat2/36516-gates-ran.txt"
     },
     "dogfood_battery": "n/a",
     "mechanism_reading": "runtime skip confirmed at packages/plugins/plugin-sharing/src/declared-sharing-rules.ts:154,217,336-348,370-374 (compile refusal, condition skip, one WARN per rule and cause, rule left out of the served set); agrees with the lint header",
     "deviations": [
      "4 build-dependent gate families NOT MEASURED locally (listed under gates)",
      "no eval case added: case 14 already expects the skip",
      "commits carry the model-free trailer pair the dispatch order names, not the harness reminder's model-named one",
      "PR body line 1 is the attribution comment the dispatch order requires"
     ],
     "mcp_calls": "2: issue_read (get, get_comments); no MCP write",
     "api_writes": "2: relay pr_create (create plus assignees leg) -> PR 36562; this os-dev-report comment",
     "security_findings": "none",
     "out_of_scope_findings": [],
     "open_questions": []
    }
  9. removed
    pm:dispatched
    finding
    on Nov 23, 2026
  10. added a commit that references this issue on Nov 23, 2026
    92e660d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:skillspriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions