Skip to content

Data skill: field-types.md lists number precision without saying it is the total digit count (≥ 1) and that decimal places are scale #39213

Description

@objectstack-fleet

repo:objectstack@os-bill · os-bill · session_01Utp6CYUove7YBXgHy4iEsr

Filing gate: ② seat-filed, the Skills-docs: follow-up owed — skills/objectstack-data/rules/field-types.md line of PR #39211 (card #39173). Source: fleet.

维护者速读

What

skills/objectstack-data/rules/field-types.md:51 (read on origin/main 53ca731) lists precision among the number keys with no gloss. PR #39211 narrows FieldSchema.precision to int().min(1) and refuses 0 with a sentence naming scale. The skill should teach the same: precision is the TOTAL digit count (≥ 1, e.g. precision: 18, scale: 2), decimal places are scale; omit precision for "no limit".

Acceptance

  • The number row (and any other row naming precision) says total digits, ≥ 1, decimal places are scale.
  • Net token growth within the skills token ratchet; no new rule file.

Blocked-by: #39211

Activity

  1. added
    pm:blocked
    domain:skills
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    First touch · 2026-12-03T01:04Z

    定级:area:data · Task · p2 · 数据技能没写 number 的 precision 是总位数且至少 1,助手据此写出 precision: 0 · 读码(PR #39211 的 Skills-docs 尾项)

  3. added
    priority:p2
    on Dec 3, 2026
  4. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CYUove7YBXgHy4iEsr

    Unblocked · 2026-12-03T02:37Z · blocker PR #39211 (#39173) merged as 2b06762911; the refusal sentence this card teaches is on main (PRECISION_LOWER_BOUND_MESSAGE in packages/spec/src/data/field.zod.ts). pm:blocked → pm:queue.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CYUove7YBXgHy4iEsr

    Claim: PM loop round 1
    Session: session_01Utp6CYUove7YBXgHy4iEsr
    Thread session: session_01Utp6CbSkUoxdjW4XWwxBn4
    Account: os-bill
    Branch: claude/project-thread-ujg6kn
    Worktree: objectstack-issue-39213
    Domain: domain:skills
    Seat: repo:objectstack@os-bill
    Area: data-p2 (zone of seat repo:objectstack@os-bill, intake area:data p1/p2)
    File surface: skills/objectstack-data/rules/field-types.md, any other skills/objectstack-data/** line that teaches precision (the thread names it before editing), the skill refs the build regenerates, the skills token-ratchet row if the legit change needs it, one changeset if the repo requires one (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: CONTRACT_REVIEW_TIER (Model tier — MANDATORY: claude-fable-5-2 (derived from the file surface, not recalled).), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: skills/objectstack-data in this repo: the field-types table lists number/percent precisionwith no gloss, so the in-app build agent wroteprecision: 0 meaning zero decimals | the spec now refuses it (#39211) but the skill still teaches nothing | every author the data skill guides, the in-app build agent included
    Thread-read: 7365687157
    Premise: holds — at origin/main (after #39211 merge 2b06762) skills/objectstack-data/rules/field-types.md:51 (number) and :53 (percent) list precision with no gloss; the spec's PRECISION_LOWER_BOUND_MESSAGE (packages/spec/src/data/field.zod.ts) says total digits ≥ 1, decimals are scale on number/percent/rating/slider, and on currency delete precision (scale is refused there)
    Pre-claim lane: domain:skills (the table lives in skills/objectstack-data/rules/field-types.md)
    Pre-claim deps: Blocked-by: #39211 — merged 2b06762, unblocked 7365687157
    Prior rulings read: none on the card; skills token ratchet rule (Bill 11-27, ratchet card #37630 note 7216253348) applies; skills/** lands by hand-off after a CONTRACT_REVIEW_TIER L2 (rules face)
    Serial constraints cleared: check-handover.mjs --inflight --paths=skills/objectstack-data/rules/field-types.md: no readable in-flight surface meets it; none else
    Intake: area:data p2, on the maintainer's word 「再开 专区 处理 area:ux area:data p1 p2」 (2026-12-02T22:22Z).

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  8. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CbSkUoxdjW4XWwxBn4
    os-dev-report

    Card thread of zone data-p2 · 2026-12-03T03:05Z

    {
      "issue": 39213,
      "status": "done",
      "branch": "claude/project-thread-ujg6kn",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39247",
      "session": "session_01Utp6CbSkUoxdjW4XWwxBn4",
      "premise_still_valid": true,
      "summary": "The `number` and `percent` rows of skills/objectstack-data/rules/field-types.md (the only two skills lines naming `precision`, grep on main 57d7b96f) now say total digits, at least 1, decimal places are `scale`, following PRECISION_LOWER_BOUND_MESSAGE. The currency row is untouched and names neither key, so `scale` stays untaught on currency. Two same-file restatements cut (58 bytes) against 100 added; the ratchet row moves 4566 to 4576, the measured remainder of 10 tokens, under ruling record 6513306068 and standing note 7216253348. One patch changeset for @objectstack/skills. Served model tier matches the claim (CONTRACT_REVIEW_TIER).",
      "tests": "No test changes (skill text, ratchet row, changeset). Evals searched for a precision or scale expectation: none. Live check, paired, 1 repetition, claude -p haiku effort medium on the subscription login: base arm answered scale: 0 on both fields with a hedge on percent; head arm answered scale: 0 on both with no hedge; neither wrote precision: 0, so the card's failure was not reproduced on base in one repetition. Notional cost 0.017 USD in all. skill-evals not run: no case of the bundle touches digit counts.",
      "gates": "Head 5339e262. 67 derived families (dispatch-gates --commands), --ran: 67 accounted for. 61 exit 0, including check-skills-token-ratchet (61 authored bundle files within their ceilings) and its self-test, check:role-word, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:doc-authoring, check:published-files, check:nul-bytes, check-empty-changeset. NOT MEASURED: 5 exit 3 PREREQUISITE NOT MET (need built dist): check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content; 1 exit 124 (240 s local limit): check:pm-dispatch-gates. CI owns those six; PR check-runs not yet concluded at report time.",
      "mcp_calls": "0",
      "api_writes": "2: relay pr_create (POST pulls, POST issues/39247/assignees) request fw-20261203T030504Z-c877df; this report comment",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: the currency row does not say that precision is accepted there and scale is refused; in the PR's Acceptance notes"]
    }

    Deviations: the first local commit carried the harness's model-named co-author trailer; the pre-push hook refused it before anything was published and the commit was amended to the model-free pair. The worktree was built by hand (git worktree add of the platform branch) because dev-worktree.sh refuses an existing local branch.

  9. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CYUove7YBXgHy4iEsr

    Close-out · 2026-12-03T03:52Z · PR #39247 merged (merge 0c5ef9721c, readied and enqueued by the approver os-zhuang after the Tier H hand-off 7366653628): the data skill's number and percent rows gloss precision as the spec's refusal does (total digits, ≥ 1; decimal places are scale); ratchet row 4566 → 4576 under note 7216253348. Contract review PASS 7366622150, seat ACCEPT 7366643360. pm:dispatched removed.

  10. removed
    pm:dispatched
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:skillspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions