Skip to content

skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770

Done
0 of 1 issue completed

Description

@objectstack-fleet

epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU

Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed on the maintainer's word in this seat's chat, 2026-11-17, verbatim: 「三点都同意,按最终计划把后续里程碑的卡全部立出来」, and, on the list of thirteen cards the seat then showed: 「同意」. The ruling records are #34659 comment 6940528935 and #34691 comment 6943107981. Readings: objectstack a0326b06, cloud 53a5844, 2026-11-17.

Why

The platform is defined by its metadata protocol; a skill that copies option lists and key tables from it drifts from it, and costs the reader's context on every load. A long skill also hides its few critical traps among reference text the model skips.

Who acts: the skills lane (skills/objectstack-{data,ui,automation}/** first). Governed surface.

Evidence

  • Each SKILL.md is 15–27 KB; the data skill is 174 KB with its rules and references, the UI skill 123 KB; the catalog is about 1.0 MB.
  • Across the vendor sets read, the median SKILL.md is 6.6–8.7 KB; Clerk enforces 500 lines / 5,000 tokens in a script; Directus keeps the router near 100 lines with at most about 8 traps inline.
  • In this seat's eval run a case failed because the model invoked the skill and never opened the reference file that held the answer (objectstack-ui/analytics-inline-vs-dataset#5).
  • Supabase and Directus skills tell the agent to read the live schema before proposing anything, and say not to re-document tool parameters.

Scope

  • Per skill: SKILL.md holds first checks (version, read what exists, read the type's contract), at most about 8 traps that pass the schema and fail at run time, and a routing list to the references. Budget 6–9 KB, hard cap 500 lines.
  • Restated option lists and key tables move behind a pointer to the generated reference index or to the contract a door serves.
  • Start with data, UI and automation; the others follow the same shape in later PRs.
  • No trap is removed until a publish-time check covers it or it stays inline.

Done when

  • The three skills meet the budget; their eval cases pass at least as often as before on the runner card's round.
  • The catalog total falls toward 0.5 MB. Replaced by ruling 7370568647 (B): read as entry files 240 KB → 119 KB, everything an agent can load 758 KB → 729 KB, catalog total 1.02 MB → 1.18 MB (the rise is eval fixtures, which the published package stops carrying under the follow-up card); the 0.5 MB figure is retired.

Relations

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    pm:epic
    area:ai
    on Nov 17, 2026
  2. added
    pm:on-hold
    and removed
    pm:epic
    on Nov 17, 2026
  3. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Released by the maintainer (recorded on #34659 at 23:01Z, comment 6963538703: 「云端的任务你说暂缓,他也不会排的呀,是不是应该先放回队列」 and 「其他技能体系的卡如果改动面大不是理由啊…那就应该开放」). pm:on-hold → pm:queue. Theme: MCP, epic #34659 (in focus).

    Router-sized SKILL.md, one skill per PR, each judged on the skills eval runner (#34764). The eval saw skills invoked with their reference never opened. Measured improvement, no named customer failure, so p2.

  4. added
    domain:skills
    pm:queue
    priority:p2
    and removed
    pm:on-hold
    on Nov 17, 2026
  5. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

    Claim: PM loop (area o3-C, epic #34659 p2, seat note of 00:08Z)
    Session: session_01WGufziunkXbDT7wUWqfmWz
    Account: os-support-ai
    Branch: claude/issue-34770-skill-router-ui (Part-of PR 1 of 3; later parts take their own branches claude/issue-34770-skill-router-automation and claude/issue-34770-skill-router-data)
    Worktree: objectstack-issue-34770
    Domain: domain:skills
    Seat: repo:objectstack#3
    File surface (this part): skills/objectstack-ui/SKILL.md (router: first checks, at most ~8 run-time traps, routing list; budget 6–9 KB, hard cap 500 lines), skills/objectstack-ui/rules/** and skills/objectstack-ui/references/** (receive what moves out, or are pointed to), skills/objectstack-ui/evals/** (only if a case's expected answer moves home; layout-free tokens), scripts/check-skills-token-ratchet.mjs (the moved files' rows, by the measured bytes), root .changeset/. ⛔ Not skills/objectstack-ai/** (ask-data text stays until #35038 lands).
    Container & model: M, mode:subagent (area o3-C os-dev), model: CONTRACT_REVIEW_TIER (dispatch-gates --tier printed "Model tier — MANDATORY" for skills/objectstack-ui/SKILL.md ⇢ 'skills/**', clause ①, no one-line exit), effort: high (seat 00:08Z: restructure)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: published skills objectstack-ui, then objectstack-automation and objectstack-data, in objectstack (each SKILL.md restates option lists and key tables the protocol already serves, 15.7 / 28.0 / 26.6 KB on main, so the few run-time traps hide in reference text the model skips: the eval saw a skill invoked with its reference never opened) | none | every authoring agent that installs the skills
    Thread-read: 6963621367
    Premise: holds on origin/main 367e324. skills/objectstack-ui/SKILL.md 15,704 bytes / 304 lines, skills/objectstack-automation/SKILL.md 27,988 / 468, skills/objectstack-data/SKILL.md 26,646 / 473, all above the card's 6–9 KB budget. The runner #34764 is closed and on main (packages/qa/scenarios/src/skill-evals/).
    Part-of plan: one skill per PR, each Part-of objectstack-ai/objectstack#34770, the last Fixes objectstack-ai/objectstack#34770. (1) ui now: no open PR touches skills/objectstack-ui/SKILL.md, rules/** or references/**; #35022 (o3-J, draft) edits only skills/objectstack-ui/evals/* and the ui router does not need to touch its case files. (2) automation after #35002 (#34637) and #34839's PR land, both on references/state-machines-and-approvals.md, a likely destination of moved text. (3) data after #35039 (#34785, SKILL.md), #35042 (#34742, rules/relationships.md) and #34964 (#34504, seat 4, references/data-hooks.md) land.
    Serial constraints cleared: file-level census of every open PR's files against skills/objectstack-{data,ui,automation}/** (at claim time): ui collides with none outside evals/; collisions for parts 2 and 3 are listed above and gate their start. overlap-check before every push.
    Pre-claim lane: domain:skills — seat-assigned to area o3-C.
    Pre-claim deps: none named; released from pm:on-hold by the maintainer (6963538703 on #34659).
    Prior rulings read: #34691 S3 = A (6943107981), #34659 6940528935 and 6963538703; skills line-budget ruling record 6513306068; thread: none; repo: objectstack-ai/objectstack

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 18, 2026
  7. 143 remaining items

  8. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim amendment: #34770 · claim 7362651148 · thread session session_01Utp6Caj1WJjAUzogG5YWv5

    • Widens: scripts/check-skills-token-ratchet.mjs — two rows instead of one: the skills/objectstack-automation/SKILL.md row (2696 → 2242, the measurement) and the skills/objectstack-automation/references/examples-flows.md row (6433 → 6627, +194, moved text pinned at the measurement).
    • Why: 776 bytes of the entry with no other home move into references/examples-flows.md (already inside the claimed references/ directory). Ruling 7128031203 fork ④ A governs moved text; the sum of the two ceilings falls by 260, and the skill as a whole is 1,042 bytes smaller.
    • Overlap: same file as the first claim; no other in-flight claim names scripts/check-skills-token-ratchet.mjs or skills/objectstack-automation/ (read at claim, 7362651148).
  9. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    os-dev-report

    {
      "issue": 34770,
      "status": "done",
      "branch": "claude/project-thread-gvlos5",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39230",
      "session": "session_01Utp6Caj1WJjAUzogG5YWv5",
      "head": "40c74104780037d0ef7d7e96a79441aa8ce6ebf9",
      "premise_still_valid": true,
      "summary": "PR 9 of the entry-file split: skills/objectstack-automation/SKILL.md is cut from 10,810 to 8,992 bytes (215 to 189 lines), frontmatter and every heading unchanged, so the seven served sections and every anchor still resolve. Every ruled flow-shape fact (7168461386, 7176941587) and both #38971 additions (the save_notice translation key, the delegated-administration gate) stay in the entry. 776 bytes with no other home moved into references/examples-flows.md (25,729 to 26,505); the skill as a whole is 1,042 bytes smaller. Draft PR, Part of #34770, Clause-2 no, Metadata-protocol none; evals/** untouched.",
      "line_budget": {
        "entry_bytes": {
          "before": 10810,
          "after": 8992
        },
        "entry_lines": {
          "before": 215,
          "after": 189
        },
        "reference_bytes": {
          "file": "skills/objectstack-automation/references/examples-flows.md",
          "before": 25729,
          "after": 26505
        },
        "skill_bytes": {
          "before": 117869,
          "after": 116827
        },
        "all_entry_files_bytes": {
          "before": 121252,
          "after": 119434
        }
      },
      "ratchet": {
        "skills/objectstack-automation/SKILL.md": {
          "before": 2696,
          "after": 2242,
          "arithmetic": "ceil((8992 - 27) / 4)",
          "headroom": 0
        },
        "skills/objectstack-automation/references/examples-flows.md": {
          "before": 6433,
          "after": 6627,
          "arithmetic": "ceil(26505 / 4)",
          "headroom": 0,
          "authority": "ruling 7128031203 fork 4 = A (moved text only); claim amended 7363248355"
        },
        "authored_sum": {
          "before": 182414,
          "after": 182154
        },
        "sum_of_ceilings_delta": -260
      },
      "eval_parity": {
        "rule": "7249189592",
        "command": "pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-automation --repeats 3 --concurrency 4 (model tier and effort as the ruling names; subscription login)",
        "turns": "195 of 195 on each text",
        "before": {
          "text": "main at 75a2d578",
          "with_skill": "79/87",
          "no_skill": "0/87",
          "trigger": "21/21"
        },
        "after": {
          "text": "918df212 (skill files byte-identical on the pushed head)",
          "with_skill": "81/87",
          "no_skill": "0/87",
          "trigger": "20/21"
        },
        "below_3_of_3_with_skill": {
          "flows 2": "main 1/3, head 3/3",
          "flows 4": "main 3/3, head 2/3",
          "flows 12": "main 1/3, head 3/3",
          "flows 14": "main 0/3, head 0/3",
          "flows 19": "main 3/3, head 2/3",
          "integrations 1": "main 2/3, head 2/3",
          "triggers 6": "main 3/3, head 2/3"
        },
        "verdict": "no regression: no case fails on every run of the head while main passes it"
      },
      "tests": "rest vitest src/meta-state-route-doc-spelling.test.ts: 1 file, 8 tests passed (verify lock, command-exit 0). check:skill-examples: 344 prose examples type-check. check:skill-served-sections: 24 served sections, 10 JSON fences parse. No behaviour a test pins changed, so no ablation.",
      "gates": "On pushed head 40c74104 after a full build (124 successful, 124 total): dispatch-gates --commands derived 71; all 71 ran, each exit 0 captured before any pipe; --ran: 71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN. Ratchet: ratcheted (authored) 182154 / 182154 (+0), both rows (+0). Beside the list, exit 0: spec check:generated, check:skill-examples, check:doc-anchors, check:skill-top-level-keys, check:skill-frame-freshness, check-platform-checklist --changed-from origin/main. overlap-check: VERDICT clean (origin/main and #38857 merge cleanly). CI on the PR at report time: in_progress 18, skipped 18, success 5; this thread is subscribed and tells the zone when the head is green. Not run locally: test:repo and the test shards (CI's).",
      "mcp_calls": "0 GitHub MCP calls. One session-tool call, subscribe_pr_activity on the PR (no GitHub write).",
      "api_writes": "3 — fleet relay pr_create (POST pulls + POST issues/39230/assignees), this comment",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "Served sections: the text inside all seven served sections of the entry is shorter (headings and block forms kept). The cloud door pins a commit of this repository; the repoint check is owed at the pin bump (precedent #36934) · carrier: whoever bumps the cloud pin · noted, not filed",
        "Eval case flows 14 fails 0/3 on both texts on its forbidden literal sourceObject: although the rule it tests is in the entry on both; the case file is under the measurement hold #38940 · carrier: eval seat · noted, not filed",
        "The card's catalog line (falls toward 0.5 MB) is out of scope as ordered: skills/ is 1,176,327 bytes before and 1,175,285 after · carrier: seat · noted, not filed",
        "The pre-push hook refused a commit message carrying a card relation line; the unpublished commit was reworded and main merged again before the first push, no history rewrite on the remote · noted"
      ],
      "deviations": [
        "The PR body's attribution link names this card thread, as this session's standing attribution rule gives it; the order named the zone thread.",
        "The PR body ends with the Generated-with line followed by the session link.",
        "No reviewer was requested (governed surface; the seat hands off)."
      ]
    }

    Report taken 2026-12-03T01:30Z.


    Generated by Claude Code

  10. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    os-dev-report

    {
      "issue": 34770,
      "round": "review round on PR 39230 (contract review 7364905628: should-fix S1, nits N1 to N3; L1 record 7364954194: R1 to R3)",
      "status": "done",
      "branch": "claude/project-thread-gvlos5",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39230",
      "session": "session_01Utp6Caj1WJjAUzogG5YWv5",
      "head": "b8eea5f6071bdea9f92f8eae1a6360c3aee7ca4e",
      "previous_head": "40c74104780037d0ef7d7e96a79441aa8ce6ebf9",
      "new_commits": [
        "e07adc1b docs(skills): the button rule stays in the automation entry as one clause",
        "d0180669 docs(skills): the automation changeset says what the 776 moved bytes are",
        "b8eea5f6 merge of main at 5a0bb8dd (the gate tool reported a stale tree)"
      ],
      "premise_still_valid": true,
      "summary": "S1 is fixed: the readonly bullet of Failure routing & runAs again carries the limit, as one clause (a button starts a system flow only as screen / api, or through a subflow node), paid inside the entry. N1 (nor a counter field), N2 (the script block now follows its sentence; the later update_record sentence comes after it) and N3 (ratchet comment wording) are taken. The entry is 8,991 bytes and 190 lines; its row is re-pinned 2242 to 2241; the reference file is unchanged in this round. R1: the PR body quotes ruling 7249189592 in its own words and reads each differing case separately. R2: flows 4 alone at six repeats reads 4 of 6 on main's text and 4 of 6 on the head's, so it is unstable on both and the isOutput example is not put back. R3a: the body footer is in the AGENTS.md form. The changeset and the body say what the 776 bytes are (about 655 moved, about 120 seating them).",
      "files_changed_this_round": [
        "skills/objectstack-automation/SKILL.md (S1 clause, N1, N2, three paying trims)",
        "scripts/check-skills-token-ratchet.mjs (entry row 2242 to 2241, its comment block; -454 to -455 in the reference row's comment)",
        ".changeset/34770-automation-skill-router.md (review-round wording, the 776-byte sentence)"
      ],
      "line_budget": {
        "entry_bytes": {
          "before": 10810,
          "after": 8991,
          "previous_head": 8992
        },
        "entry_lines": {
          "before": 215,
          "after": 190
        },
        "reference_bytes": {
          "before": 25729,
          "after": 26505
        },
        "skill_bytes": {
          "before": 117869,
          "after": 116826
        },
        "all_entry_files_bytes": {
          "before": 121252,
          "after": 119433
        }
      },
      "ratchet": {
        "skills/objectstack-automation/SKILL.md": {
          "before": 2696,
          "after": 2241,
          "arithmetic": "ceil((8991 - 27) / 4)",
          "headroom": 0
        },
        "skills/objectstack-automation/references/examples-flows.md": {
          "before": 6433,
          "after": 6627,
          "arithmetic": "ceil(26505 / 4)",
          "headroom": 0,
          "authority": "ruling 7128031203 fork 4 = A"
        },
        "authored_sum": {
          "before": 182414,
          "after": 182153
        },
        "sum_of_ceilings_delta": -261
      },
      "eval_parity": {
        "rule": "7249189592 as amended by 7249198313, quoted in the PR body",
        "round_1_full_pair": {
          "main_75a2d578": "with-skill 79/87, no-skill 0/87, triggers 21/21",
          "cut_text_918df212": "with-skill 81/87, no-skill 0/87, triggers 20/21"
        },
        "round_2_review_text_e07adc1b_ten_touched_cases_x3": "with-skill 26/30, no-skill 0/30: flows 1, 5, 7, 12, 21 and integrations 2, 3 at 3/3; flows 11 1/3; flows 19 2/3; integrations 1 2/3",
        "round_3_six_repeats": {
          "flows 4": "main text 4/6, head text 4/6",
          "flows 11": "main text 6/6, head text 6/6",
          "flows 19": "main text 4/6, head text 6/6"
        },
        "all_runs": {
          "flows 4": "main 7/9, head 6/9",
          "flows 11": "main 9/9, head 10/12",
          "flows 19": "main 7/9, head 10/12",
          "triggers 6": "main 3/3, head 2/3"
        },
        "reading": "No case fails on every run of the head while main passes it. Flows 4 and flows 19 flip on both trees: unstable on both under the ruling. Flows 4: main's two six-repeat failures have no variables key although main's text has the isOutput example; the head's two are correct screen flows that quote the forbidden literal type: 'wizard' from an unchanged reference line; 0 of 18 with-skill answers on either text write isInput or isOutput; no fact is lost, nothing goes back under 7168461386. Flows 11 dropped on the head in one round only (1/3, then 6/6); its entry bullet is byte-identical to main's and both failing answers are correct without spelling PERMISSION_DENIED; no fact is lost. Triggers 6: frontmatter byte-identical; ruling 7176941587 Q3 A leaves that false load to the eval seat.",
        "records": "/mnt/project-files/card-34770/eval/ (every round, every answer)",
        "notional_cost": "$12.89 + $12.85 (full rounds), $3.74 (round 2), $1.38 + $2.40 + $1.17 (six-repeat runs); subscription login, nothing billed"
      },
      "tests": "On head b8eea5f6: rest vitest src/meta-state-route-doc-spelling.test.ts 1 file, 8 tests passed (verify lock, command-exit 0); check:skill-examples 344 prose examples type-check; check:skill-served-sections 24 served sections, 10 JSON fences parse.",
      "gates": "CI on head b8eea5f6 (read 03:18Z): 30 check-runs success, 20 skipped, 0 failed; check-expected-skips against main's roster (1fe9c628): OK, 20 skipped, every one in the roster (exit 0). One cancelled run of PR-body guards (job 143971191512) was replaced by the run the body edit started, which passed (143971478903). PR is a draft, mergeable_state clean. Local, on pushed head b8eea5f6 after merging main 5a0bb8dd and a full build under the verify lock (124 successful, 124 total): 71 derived commands, each exit 0 captured before any pipe; --ran: 71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN, no STALE TREE. Ratchet: ratcheted (authored) 182153 / 182153 (+0), both rows (+0). Beside the list, exit 0: spec check:generated, check:skill-examples, check:doc-anchors, check:skill-top-level-keys, check:skill-frame-freshness, check-platform-checklist --changed-from origin/main. overlap-check: VERDICT clean (origin/main, #39234 and #38857 merge cleanly).",
      "mcp_calls": "0 GitHub MCP calls.",
      "api_writes": "2 this round — fleet relay issue_patch on 39230 (the PR body), this comment. Plus one git push (40c74104 to b8eea5f6, no force), which is not a REST write.",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "Eval case flows 4 forbids the literal type: 'wizard', which a correct screen-flow answer quotes when it says what a non-branching wizard would be (2 of 6 on the head's six-repeat run); the case file is under the measurement hold #38940 · carrier: eval seat · noted, not filed",
        "Eval case flows 11 requires the literal PERMISSION_DENIED; two correct answers on the head omit it · carrier: eval seat · noted, not filed"
      ],
      "deviations": [
        "R3 (b) not taken: the PR body's attribution link still names this card thread. This session's standing attribution rule fixes those two lines as given; the L1 record calls the link immaterial.",
        "The eval rounds beyond flows 4 (round 2 on ten touched cases, flows 11 and 19 at six repeats on both texts) were not in the order; round 2 is the live check the review-round edits owe, and it surfaced the flows 11 reading, which was then measured.",
        "main's text for round 3 ran in the head checkout with the two skill files checked out from 440331f1; the files were restored and the tree confirmed clean before the head's run and before any gate.",
        "main was merged once more in this round (5a0bb8dd) because the gate tool reported a stale tree; the list then ran on the merged head."
      ]
    }

    Report taken 2026-12-03T03:18Z.


    Generated by Claude Code

  11. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    PR 9 landed · 2026-12-03T03:51Z · PR #39230 merged as 7f8aa64972453eb735607fc21ddf6231c6613db5 (seat ACCEPT 7366570488; contract review PASS 7366510425). The card keeps pm:dispatched under this seat and stays open for Done-when line 2 (the catalog toward 0.5 MB), which needs a maintainer decision; the seat brings it as a decision card (analysis first) before the label moves.

  12. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    维护者速读

    • 问题:技能瘦身的九个改动都已合并,AI 每次加载技能必读的入口文字少了一半;但卡上还留着一句「整个技能目录降到约 0.5 MB」,目录实际从 1.02 MB 涨到 1.18 MB,涨的全是评测题库,而题库会随安装包发到每个客户项目里,客户的 AI 用不到它。
    • 选项:一,按已达成的效果结卡,把那句话改成实测读数,零个改动;二,结卡,另加一到两个改动,让发给客户的安装包不再带评测题库,客户装到的目录从 1.18 MB 降到约 0.80 MB;三,继续删教学文件直到接近 0.5 MB,约六个受管改动,要删掉约一半的参考教学内容;四,把题库整体搬出技能目录,约三个改动且要动审核门禁;五,给每个参考文件再加一道长度上限,这是新增门禁。
    • 推荐第二个:客户装到的应当只有 AI 会读的内容;题库是目录里唯一按规定只增不减的部分(16 天涨了 84%),留在仓库里评测照用,不再发给客户,一次解决。
    • 不定会怎样:这张卡一直开着占着认领,0.5 MB 这个数不删一半教学内容就达不到,后面每个接手的席位都要再问一遍,题库还会随每次发版继续发到客户项目里。

    Analysis · 2026-12-03T04:04Z

    Served-tier: CONTRACT_REVIEW_TIER
    Analysed-by: sub-agent of session_01Utp6CYneU7GXW7G2MU4Y5A

    Background

    PRs 1–9 of this card are merged. The last is PR #39230, merged 2026-12-03T03:50Z. Done-when line 1 is met: the largest of the 14 entry files is 9,025 bytes. Only Done-when line 2 is open: "The catalog total falls toward 0.5 MB."

    This analysis starts from a draft by the session named in the first line. Every premise below was re-run. Where a number differs from the draft, the line says so.

    Governing text

    Protocol: no option declares, changes or retires a metadata protocol key. Options B and D change what a published package contains.

    Premises, each with its re-check

    1. The catalog is 1,175,326 bytes in 115 files on main 0c5ef972. Re-check: du -sb skills and find skills -type f | wc -l.
    2. At filing (a0326b06, committed 2026-11-17T05:47Z) it was 1,018,360 bytes in 97 files. Re-check: gh api repos/objectstack-ai/objectstack/git/trees/a0326b06 for the skills subtree sha, then that tree with ?recursive=1, summing blob sizes.
    3. The split, filing to today, in KB of 1,000 bytes:
    Part Filing Today Who loads it
    Entry files (SKILL.md) 240 (11 files) 119 (14 files) the agent, on every skill load
    Hand-written rules, references, guides 518 610 the agent, when the entry routes to a file
    Generated indexes 47 60 the agent, on demand
    Eval fixtures (evals/**) 204 (29 files) 376 (42 files) nobody in a customer project
    Catalog front page 9 11 nobody

    Re-check for today: node scripts/check-skills-token-ratchet.mjs prints authored 182,163 tokens, generated 14,949, eval fixtures 93,927. The draft said 26 fixture files at filing. The tree at a0326b06 holds 29.
    4. The catalog rose by 157 KB. The fixtures rose by 172 KB (84% in 16 days). Everything an agent can load fell by 15 KB, although three skills were added. Entry plus hand-written teaching text went from 758 KB to 729 KB. So the router work mostly moved text out of the entry and into files read on demand, as ruling 7128031203 ④ A allows. Re-check: the sums of premise 3.
    5. The fixtures ship to customers. The package build copies skills/** with no filter, and the install line copies the package's tree into the project's .claude/skills/, to be committed. Re-check: grep -c evals packages/skills/scripts/sync-catalog.mjs answers 0, and skills/README.md lists evals/ in the layout as "inert (but harmless) in consumer installs".
    6. Nothing in a customer install reads the fixtures. Re-check: grep -rn evals packages/cli/src packages/create-objectstack/src packages/mcp/src finds no reader, and grep -rn evals skills/*/SKILL.md is empty, so no entry file points at one.
    7. One maintainer tool does read fixtures from a published package. skill-evals --skills-from VERSION packs that version from npm and takes "cases and bundles both" from its dist/skills/. Re-check: grep -n "skills-from" packages/qa/scenarios/src/skill-evals/cli.ts. The draft missed this. An option that stops shipping fixtures must give this flag another source for cases.
    8. No other gate compares the packed tree to the repository tree. The scaffold workflow and the scenario runner compare an installed .claude/skills/ to dist/skills, and the publish smoke does not read fixtures. check:skill-eval-tokens and the ratchet read the repository tree. Only the copy step's own check compares to skills/**. Re-check: grep -n "dist/skills" .github/workflows/scaffold-e2e.yml packages/qa/scenarios/src/runner/packages.ts.
    9. The eval runner already removes evals/ from the bundle before a graded turn, so that the turn cannot read the answers. A customer install therefore holds a folder the measured bundle never had. Re-check: grep -n WITHHELD_BUNDLE_DIR packages/qa/scenarios/src/skill-evals/arms.ts.
    10. Fixtures grow by rule: a protocol addition owes an eval (the ratchet header, population 1b, citing #26369 B). They are the only part of the catalog with no ceiling and a duty to grow. Re-check: grep -n -A8 "1b. EVAL FIXTURES" scripts/check-skills-token-ratchet.mjs.
    11. References are read. In the 282 with-skill turns recorded for PR 9 (the automation skill, /mnt/project-files/card-34770/eval/), 211 turns (75%) opened at least one file beside the entry. references/examples-flows.md (26.5 KB) was opened in 120 (43%). The mean load beside the 9 KB entry is 19 KB a turn, and the median is 24 KB. No turn read a fixture, because the runner withholds them. Re-check: count skillFilesRead over the with-skill records in each runs/ folder.
    12. The skill works at this size. With-skill 79/87 on main and 81/87 on the PR 9 head; no-skill 0/87 on both. Re-check: the "Per bundle" table in eval-before-75a2d578/summary.md and eval-head-918df212/summary.md.
    13. Reaching 0.5 MB needs deletion, not pointers. With the fixtures out, the catalog is 800 KB. Entry files, generated indexes and the front page are 190 KB. The hand-written rules, references and guides would have to fall from 610 KB to about 310 KB, a cut of about half. The draft said "about a third". Tables are 77 KB of the 610 KB by my count (lines starting with | outside code fences; the draft said 87 KB), so pointers to the contract cannot supply the cut.
    14. Sixteen hand-written files are over 16 KB and hold 344 KB. One is over 32 KB (objectstack-data/references/data-hooks.md, 40 KB). Re-check: find skills -name '*.md' -size +16k | wc -l.

    The question

    The card's last line asks for a catalog near 0.5 MB. The ordered work is done and the catalog is larger than at filing. Does the card close on what was achieved, and what, if anything, replaces the line?

    Options × real cost × workload

    Does What a customer sees Workload
    A Close the card on the measured result. Replace Done-when line 2 with the reading of premises 3 and 4. The per-file shrink-only ceilings stay the standing control Every skill load is half as long as before. The installed catalog stays 1.18 MB and grows with each release's new eval cases 0 PRs; one card edit
    B (rec) A, and one card: the published package stops carrying evals/**. The fixtures stay beside each skill in the repository, where the eval runner and the gates read them. The copy step proves the packed tree equals skills/** minus evals/, and reds if a fixture is packed. --skills-from VERSION takes cases from the checkout The same as A. The installed catalog falls to 0.80 MB and no longer grows when a release adds eval cases. The installed skill folder is the one the evals measured. Nothing the agent is routed to changes skills lane with one devx file · 1 PR, or 2 if the runner flag is split off, size S to M. Files: the copy step with its check and self-test; the runner's source for cases; the ratchet's "whole shipped tree" label; the layout line in skills/README.md; the package README; two docs pages that list evals/ as shipped. Precedents: PR #22691 (+512/−16, 14 files) built the copy step; PR #27984 (+148/−358, 1 file) changed the ratchet's fixture population; PR #35886 (+195/−32, 9 files) changed how the runner installs a bundle. No precedent for a filter in the copy step
    C Keep cutting toward the number: B first, then cut the hand-written rules, references and guides by about half About half of the reference text an agent reads today is deleted. Pointers cannot do it (premise 13), so taught rules and examples go, and each cut risks a lower pass rate skills lane · about 6 governed PRs over the 16 files of premise 14, each with a before and an after eval round. Precedent: this card's router PRs, among them #38347 (+1088/−830), #35077 (+340/−257), #38434 (+369/−410), #38586 (+472/−437); PR #39230 was +142/−89 with two full rounds and four extra readings
    D A, and move the fixtures out of skills/** altogether, to the package that holds the eval runner. Both the package and the next channel stop carrying them The same as B, and a project that installs straight from the repository's main branch is also free of fixtures skills and devx lanes · about 3 PRs. It moves 42 files and edits the runner's reader, check:skill-eval-tokens, the ratchet's population 1b, and the review-tier patterns for evals/*.json in scripts/pm/check-governed-merges.mjs and its queue guard (a human-floor gate). No precedent
    E A, and a new ceiling on the size of any one reference file, so the larger files are split An agent loads less per opened file. No change to the installed size skills lane · a new gate plus splits of up to 16 files with new ratchet rows. No precedent; ruling 7128031203 set the condition for a split and it is not met

    In business terms. A: the handbook's front pages were shortened as ordered; stop weighing the whole box. B: the same, and stop mailing the teacher's answer key to every student. C: keep tearing pages out of the handbook until the box weighs what an early estimate said. D: move the answer key to another building. E: cap the length of every chapter before any reader has complained about one.

    Four axes

    • Long-term soundness. A customer pays for what the agent loads: the entry on every load, and the files the entry routes to. The catalog's total is not that cost, and it must grow as the platform gains surface: three skills were added in the 16 days this card ran. A total-size target therefore works against the product. The card's own evidence points the same way: the vendor sets it cites cap the entry file, not the bundle. Two years out the platform should have a short router per skill (done, gated per file), teaching files that only shrink unless text is deleted first (done, the ratchet), and an install that holds exactly what was evaluated and what an agent can load. Only the last is missing. Fixtures are 32% of what a customer copies and commits, and the only part that grows by rule. The mainstream model is the npm one this package already follows: tests live beside the source in the repository and are left out of the published package. B is that model. D reaches the same install by breaking the co-location and touching a human-floor gate, for the sake of a channel the README calls "not for a released project". A leaves the gap. C and E spend effort on the part that already has a control.
    • Real pull. Nobody has reported the catalog's size. What is measured: fixtures grew 84% in 16 days and ship to every install; references are opened in 75% of turns and the pass rate is 79–81 of 87; no case is recorded losing points because a reference file is long. So there is measured growth behind B, and none behind C or E.
    • Preventing AI mistakes. C deletes text the evals show agents read and answer from. A deleted rule fails silently in a customer's app, not at publish. A fixture lists, for each case, the wrong spellings an answer must not contain and the expected answer; the eval runner withholds the folder for that reason (premise 9). In a customer project those files sit where an agent's search of the skills folder can return them. That is a possible confusion, not a measured one. B and D remove it. B adds a loud check: the pack reds if a fixture is in it.
    • No spread at the startup stage. A adds nothing. B removes shipped surface and adds no standalone gate; the copy step's existing check gains one rule. D moves files and edits four gates with no pull beyond B. E is a new gate, which defaults to no. C is a multi-week programme with no pull.

    os-decision-facets
    ① 项目长远合理性:客户付的是 AI 每次加载的文字,不是目录总重,目录还会随平台能力增加而变大;入口已限长、教学文件已只减不增,缺的只是「客户装到的就是评测过的、AI 会读的那一份」,第二个选项按主流做法(测试留仓库、不进发布包)补上这一处。
    ② 实际业务拉动:没有人投诉目录大小;实测到的是题库 16 天涨 84% 并随安装发给每个客户,参考文件在 75% 的评测回合里被打开、通过率 79–81/87,没有因参考文件过长而丢分的读数。
    ③ 防 AI 犯错:继续删会删掉 AI 正在读的规则,删错了在客户应用里静默出错;题库里写着每题的标准答案和不许出现的错误写法,评测时本来就不给 AI 看,客户项目里却能被搜到(未实测),第二个选项去掉它并在打包时响亮拒绝。
    ④ 创业阶段不扩散:第一个零新增;第二个减少发布面、不加独立门禁;搬题库要改四道门禁;单文件上限是新增门禁;继续删是无拉动的多周工程。
    Prior rulings read: "0.5 MB" catalog → 0 hits outside this card; evals "consumer install" → 1 ruling (6513306068 on #27847, letter B) and 1 execution clause (#22658 under #22649 A); #34691 S3 A (6943107981); ADR none; thread: 7128031203, 7168461386, 7176941587, 7249189592

    Recommendation

    B. From the long-term axis alone: the end state is an install that holds exactly what was evaluated and what an agent loads, built the way published packages are normally built. B is the option that reaches it with no new special case in the repository.

    • Not A: it is right about the number, but it leaves the one growing part shipping to customers, and the question returns.
    • Not C: the number was a filing-time estimate, not part of the ruling. Reaching it means deleting about half of the reference text the evals show is used, against this card's own Scope line, at about the cost of this whole card again.
    • Not D: its long-term reading is close to B's, and its workload is about three times B's with a human-floor gate edit. It adds only the next channel, which is not for released projects. If the maintainer wants that channel clean as well, D is the letter to rule; B does not block it later.
    • Not E: a new gate with no measured loss behind it, and ruling 7128031203 already says when a reference file is split.

    I agree with the draft's letter. I disagree with it on five points: the fixture count at filing (29, not 26); the size of C's cut (about half, not a third); B's workload (the runner's --skills-from VERSION and three documents are in it, so it is not only a filter and one README line); the governing text (card #22658 names evals/** in the copy, so B changes a recorded clause); and the options (D and E were missing).

    自检行:只看①选 B;②③④ 是否翻转:否。D 与 B 的①读数相近而工作量约差三倍,已在上文点名,推荐不变。

    Confidence gaps, stated and not acted on.

    • The reference-read figures come from the automation skill only. Other skills were not measured.
    • Whether any customer agent has in fact read a fixture is not measured.
    • The claim about how other vendors budget a skill rests on this card's Evidence section. I did not re-read those sources.
    • The table share in premise 13 depends on the counting rule (77 KB mine, 87 KB the draft's). Either way it is far below the 300 KB that C needs.
    • Published versions older than the change keep their fixtures, so --skills-from keeps working for them. I did not check whether anyone runs it today.
    • B leaves the next channel carrying fixtures.

    After the ruling

    • A or B: the seat replaces Done-when line 2 with the reading of premises 3 and 4, records the ruling here, and closes the card by hand as completed (PR 9 was Part of).
    • B: in the same act the seat files one domain:skills card (p3, area:ai) that cites this ruling and card [Ruling A on #22649] @objectstack/skills: the published skills catalog ships as a versioned package in the fixed group — the build copies skills/** in and files lists only it; the compatibility line and metadata.version derive from the package version #22658's clause. The dev's first check is premise 6: nothing in a consumer install reads evals/**. If a reader is found, the dev reports a fork and does not fall back to A. The card states the copy step's new rule, the runner's source for cases, the documents to edit, and that the next channel is unchanged. It needs a changeset, because the package's contents change.
    • C: the seat files one card per skill, largest first, each under the parity rule of rulings 7128031203 and 7249189592. This card stays open as their parent.
    • D: the seat files a skills card and a devx card; the gate edits go to the maintainer as a human-floor item.
    • E: the seat files a decision card for the gate's number first; no split starts before it.
    • In every case a reference file is split or cut later only on the condition ruling 7128031203 set: an eval round shows cases answered from it losing points.
  13. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    To the decision inbox · 2026-12-03T04:05Z · Done-when line 2 (catalog toward 0.5 MB) is put to the maintainer. The analysis is comment 7367244433, with options A to E; B is recommended. The decision card is in front of him now. The seat releases its hold until the ruling is recorded.

  14. added
    needs-user-decision
    and removed
    pm:dispatched
    on Dec 3, 2026
  15. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Ruled · 2026-12-03T07:04Z · B · Done-when line 2 (decision 7367244433)

    The maintainer's answer, in this card's decision thread at 2026-12-03T07:04Z: he chose the option 「B 结卡+安装包不带题库」 on the decision card that asked 「裁定 #34770 的「技能目录降到 0.5 MB」这条怎么收尾」. The card offered A, B, C and D with B recommended. Before choosing he asked two questions in the thread (what the catalog is in business terms and why it carries the fixtures; how "not shipping" is done and why not move them out), and both were answered there. Freshness: re-read through 7367259653, the newest comment, which has no later edit; the card body was last changed before the analysis.

    Governing text: ruling record 6943107981 on #34691, S3 = A (names no catalog total); ruling record 6513306068 on #27847, letter B (how fixtures are priced, not whether they ship); card #22658's Done-when clause naming evals/** in the package copy and "byte for byte"; ruling 7128031203 on this card.

    • B — close this card on the measured result, and the published package stops carrying evals/**.
      • Done-when line 2 is replaced by the reading of premises 3 and 4 of 7367244433: entry files 240 KB → 119 KB; everything an agent can load 758 KB → 729 KB; the catalog total 1.02 MB → 1.18 MB, the rise being eval fixtures. The 0.5 MB figure is retired. The card then closes as completed, by hand (PR 9 was Part of).
      • One follow-up domain:skills card (p3, area:ai) is filed in the same act. The fixtures stay beside each skill in the repository. The package's copy step skips evals/, proves the packed tree equals skills/** minus evals/, and reds if a fixture is packed. skill-evals --skills-from VERSION takes its cases from the checkout. The documents that list evals/ as shipped and the ratchet's "whole shipped tree" label are corrected. It carries a changeset.
      • This ruling is the maintainer's word for changing card [Ruling A on #22649] @objectstack/skills: the published skills catalog ships as a versioned package in the fixed group — the build copies skills/** in and files lists only it; the compatibility line and metadata.version derive from the package version #22658's clause: the published tree no longer equals skills/** byte for byte; it equals it minus evals/**. The follow-up card cites this comment as Ruling-ref:.
      • Premise the dev checks first (7367244433, premise 6): nothing in a consumer install reads evals/**. If a reader is found, the dev reports a fork. It does not fall back to A and does not ship a partial filter.
    • Execution parameters ruled with it.
      • The next channel (install straight from the repository's main branch) is unchanged and still carries the fixtures. Moving them out of skills/** (option D) is not taken; B does not block it later.
      • No reference file is cut or split for size under this ruling. That stays on the condition ruling 7128031203 set: an eval round shows cases answered from the file losing points.
      • No new gate (option E not taken). The per-file shrink-only ceilings remain the standing control.
    • Not taken: A (leaves the one growing part shipping to customers), C (deletes about half of the reference text the evals show is used), D, E.

    State: the seat repo:objectstack@os-bill executes: it edits Done-when line 2, files the follow-up card, and closes this card, moving needs-user-decision off in that same act. This thread wrote no label.

  16. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Close-out · 2026-12-03T07:08Z · ruling B (7370568647), executed. Done-when line 2 is replaced in the body by the measured reading (entry files 240 → 119 KB; loadable text 758 → 729 KB; catalog 1.02 → 1.18 MB; 0.5 MB retired). The follow-up is #39278 (p3, sub-issue): the package stops carrying evals/**. PRs 1 to 9 are merged, the last being PR #39230. Closed as completed by hand, and needs-user-decision leaves in the same act.

  17. removed
    needs-user-decision
    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

No one assigned

    Labels

    area:aidomain:skillspriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions