Skip to content

Skills docs: a seed record in a keyed mode must carry every externalId field or it is refused at load (seeds.md) #35480

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CaysxGzF62ACvZ1x9x

Filing gate: ② Skills-docs follow-up owed by PR #35459 (#34857 + #35336, ruling B1), L1-a R1 7007542258. ⛔ Not a claim.
Reader: domain:skills (skills/objectstack-data/references/seeds.md). Suggested-grade: p2 · same grade as the cards it follows. Same file as #35456 (fold candidate under the seat's rules; both add save/load rules to seeds.md).
Dedupe: seeds.md externalId blank refused in open issues: #35456 covers the unknown-object rule only.

维护者速读

  • 用户能看到什么变化:用技能写初始化数据时,会被提醒每条记录都要填上唯一标识字段,否则这条记录加载时会被拒收。
  • 为什么做:加载时拒收留空标识的记录已经上线(你选的方案 B1),技能文档还没写这条规矩。
  • 出错会怎样:只是文档;不改的话,按技能写出的数据可能在加载时被拒收一部分记录。
  • 要你做什么:无(分诊定级)。

What happens

After PR #35459, in the keyed seed modes (ignore, upsert, update) the loader refuses a record whose externalId value is blank (no value, null or '') in any composite component or in the single key field (name by default), naming the object, record index, field and fix; other records load. skills/objectstack-data/references/seeds.md does not say so at :48 (the externalId row), :68 (composite keys) or :93 (externalId selection).

Expected

seeds.md states the rule at those three anchors: a record in a keyed mode carries every externalId field (or the default name), whitespace counts as a value, and a blank one is refused at load. Optionally one eval in skills/objectstack-data/evals/ that authors a keyed seed with a blank key and expects the refusal. Land after PR #35459.

Activity

  1. added
    priority:p2
    pm:queue
    domain:skills
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills · pm:queue; rationale: area:package · Bug (shipped seeds.md omits the rule that a keyed-mode seed record must carry every externalId field) · builders, often → p2 as set under the shipped-skill rule. Fold candidate with #35456 (same file).

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTRf6qBRCqPh4JZaZL

    Claim: PM loop round 1 — area b1-D seeds fold (chain head #35480; with #35456, one PR; maintainer 2026-11-20 04:26Z 「skills 都派」)
    Session: session_01L6bhgTRf6qBRCqPh4JZaZL
    Account: os-sales
    Branch: claude/issue-35480-seeds-load-refusals
    Worktree: objectstack-issue-35480
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: b1-D
    File surface: skills/objectstack-data/references/seeds.md, two eval cases in skills/objectstack-data/evals/hooks-security-seeds-datasources.json (one per card), any other sentence under skills/objectstack-data/** that contradicts the two rules (named in the PR body), the seeds.md row of scripts/check-skills-token-ratchet.mjs only if a measured remainder is left after deletion in the same file, one changeset
    Container & model: S, mode:subagent, model: claude-fable-5-2 — dispatch-gates --tier: MANDATORY, clause ① (skills/**, no one-line exit), effort: medium (S docs follow-up); governed register: skills/** is a governed surface, the area does not land it and hands the PR to the seat
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack — the published data skill teaches seeds without the two refusals main now makes | PR #35459 (merged de395b42, a keyed-mode record with a blank externalId field is refused at load) and PR #35388 (merged fe3ebc87, the save door refuses a seed naming an unknown object) | app authors, mostly AI, who install the skills
    Thread-read: 7008174529
    Premise: holds — on origin/main both PRs are merged (de395b4, fe3ebc8, ancestors of main); unknownSeedObjectRefusal is in the packages tree and in no file under skills/; seeds.md states neither rule
    Serial constraints cleared: this area's PR #35746 (#35714) appends one case at the end of the same eval file; this PR places its two cases beside the existing seed cases, away from that hunk, and overlap-check runs before each push. No other open PR changes seeds.md or the eval file (open skills PRs #35709, #35673, #35665, #35662 read by file list)
    Pre-claim lane: skills/objectstack-data/** → area b1-D (published skills text)
    Pre-claim deps: PR #35459 merged de395b4; PR #35388 merged fe3ebc8
    Prior rulings read: skills,docs,seed,record,keyed,mode,carry,externalid,field,refused,load,seeds → 330 hits, none on this text among the top tier (ADR-0142 D9, ADR-0144 D8, ADR-0147 §2, ADR-0153 D8, ADR-0154 D2, ADR-0158 §8 are other subjects); the card cites ruling B1 of #34857, which PR #35459 implements and the text follows; thread: none; repo: objectstack-ai/objectstack

    Fold answer: fold — #35456 is the same file and the same mechanism (a refusal main already makes, taught in seeds.md with one eval each), both cards are graded p2, neither is in the decision inbox, each has its own named criterion, and triage names the fold (7030549304). Not a narrowing PR, so the body carries one Fixes line per card. Excluded: #35714 (same eval file, another mechanism, its own PR #35746).

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTRf6qBRCqPh4JZaZL
    os-dev-report

    {
      "issue": 35480,
      "folded": [
        35456
      ],
      "status": "done",
      "branch": "claude/issue-35480-seeds-load-refusals",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35750",
      "session": "session_01L6bhgTRf6qBRCqPh4JZaZL",
      "premise_still_valid": true,
      "summary": "seeds.md of the published data skill now teaches the two refusals main makes: a seed record that leaves an externalId field blank (no value, null or ''; whitespace is a value; each field of a list, or the default name) is refused at load in every mode while the other records load (commit b3b374b39, eval id 34, first card), and a seed saved at runtime whose object resolves to nothing is refused 422 INVALID_METADATA at object, a draft object being enough for a draft seed (commit 20c06ad50, eval id 35, second card). Every mechanism assumption of the dispatch held on origin/main 03bce5c22 (seed-loader.ts:469-471, :1840, :2345-2365; protocol-save-door-refusals.ts:1087-1091, :1157-1193); os validate and os build judge neither, so only the load and the runtime save are taught. Three restatements were cut in seeds.md (-128 bytes); the remainder moved the ceiling row 1759 to 1898 under ruling record 6513306068, quoted in the PR body. The PR is a draft on a governed surface (skills/**): no reviewer, no ready flip, no auto-merge.",
      "tests": "No runtime code changed, so no unit suite and no ablation. Two eval cases (ids 34, 35) placed after the seed cases (ids 4, 30, 31); JSON parses. node scripts/pm/overlap-check.mjs at 20c06ad50: 'VERDICT clean exit 0' (origin/main, and the open pulls 35746, 35743, 35665 that share a file, all merge cleanly).",
      "gates": "Local subset at 20c06ad50, exit codes captured before any pipe: 0 check-skills-token-ratchet ('59 authored bundle file(s) within their ceilings'; seeds.md 1898 / 1898); 0 its --self-test ('104 cases pass'); 0 check-adr-0087-registration --base origin/main; 0 check-changeset-no-major; 0 check-empty-changeset; 0 check-closing-keyword-parity; 0 check-comment-mask-corpus; 0 check-declaration-mirrors; 0 check-self-test-wired; 0 check-self-test-workflow-commands; 0 check-doc-route-spelling --advisory; 0 spec check:skill-refs ('10 generated files in sync'); 0 spec check:skill-served-sections; 0 spec check:skill-docs; 0 check:skill-compatibility; 0 check:skill-frame-sync; 0 check:skill-identifier-liveness; 0 check:skill-links; 0 check:doc-authoring; 0 check:nul-bytes; 0 check:pm-skill-id-lint; 0 check:role-word; 0 check:ratchet-remedy-authority; 0 check:scripts-symbol-anchors; 0 check:corpus-claim-drift; 0 check:closed-ceremony-text. NOT MEASURED: spec check:skill-examples, exit 3 PREREQUISITE NOT MET (client SDK not built in this worktree). dispatch-gates --ran: 25 of 67 derived families run locally, 42 unrun and left to CI (declared narrowing). CI check-runs on 20c06ad50 at report time: all in_progress (Check Changeset, Check PR Size, Governed Surface Queue Guard, the Lint and Type Check lanes, PR-body guards); none concluded.",
      "budget": {
        "file": "skills/objectstack-data/references/seeds.md",
        "lines": {
          "before": 182,
          "after": 190
        },
        "bytes": {
          "before": 7033,
          "after_cuts": 6905,
          "after": 7590
        },
        "tokens": {
          "before": 1759,
          "after": 1898
        },
        "ceiling_row": {
          "before": 1759,
          "after": 1898
        },
        "bundle_ratcheted_tokens": {
          "before": 196132,
          "after": 196271
        },
        "bundle_eval_fixture_tokens": {
          "before": 70045,
          "after": 70589
        },
        "bundle_total_tokens": {
          "before": 280730,
          "after": 281413
        }
      },
      "files_changed": [
        ".changeset/35480-seeds-load-and-save-refusals.md",
        "scripts/check-skills-token-ratchet.mjs",
        "skills/objectstack-data/evals/hooks-security-seeds-datasources.json",
        "skills/objectstack-data/references/seeds.md"
      ],
      "deviations": [
        "The suggested route asked for a net of at most +10 lines; lines are +8, but tokens are +139: only 128 bytes of real restatement were found in seeds.md, so the seeds.md ceiling row moved by the measured remainder (the claim's file surface allows that row).",
        "The first card names three anchors; the rule is stated once in the externalId selection section with a pointer from the externalId row, as the dispatch route allows.",
        "Local gates are a declared subset (skills, changeset and script families); build-reading families, check:pm-dispatch-gates and test:repo are left to CI.",
        "Commit trailers are the model-free pair AGENTS.md requires; the harness reminder's model-named trailer was not used."
      ],
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, then POST /issues/35750/assignees, one stroke, run 44679313132); post-stamped comment on issue 35480 (this report); post-stamped pointer comment on issue 35456. Plus 3 git pushes (empty-branch probe, then the two commits in one push).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — os validate / os build do not judge a blank seed key or a seed's unknown object; both are refused only at load and at the runtime save. Read-only observation, recorded in the PR acceptance notes."
      ]
    }
  6. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTRf6qBRCqPh4JZaZL

    Claim: re-posted for a re-created branch — same seat, same session, same card; supersedes the branch named in claim 7030802876
    Session: session_01L6bhgTRf6qBRCqPh4JZaZL
    Account: os-sales
    Branch: claude/issue-35496-skills-docs-fold
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: b1-D

    Why: at the seat request this card is folded with four others of area b1-D into one pull, #35757, which closes it. The earlier pull for this card is closed as superseded; its commits are in #35757 unchanged. The five fold gates are answered on #35496 (comment 7031854511).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:packagedomain:skillspm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions