Repository navigation
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:skillsDomain lane — seat card indexed by label:pm:seatpriority:p1High: required for production / M2
Description
③ maintainer-directed task · Source: maintainer: 「我还关心如何优化元数据项目的skills,让他们知道哪些应该用平台的能力,对象,避免重复开发。」 (2026-11-19T05:39Z). He answered the analysis with 「同意」 (05:46Z) and then 「立卡 p1」 (05:47Z). Both are in the project thread on #35328. The analysis ran on Fable, read-only, at main 05e0eb8. Child of #35328.
维护者速读
- 问题: 套件(hotcrm、hotsrm、生产套件)的 agent 不知道平台已经有什么,所以会自己造。已经造出来的有自由文本的单位、按自然小时算的时效、各自一份的汇率思路。skills 只教怎么写元数据,从不列平台已有的对象和能力。
- 要做: 在 objectstack-project skill 下加一份从源码生成的「平台目录」。§0 加第三问:先查目录再新建;目录里没有、但第二个应用也会照抄的,就去平台立卡,应用可以先建并打标。另外补几条 eval。
- 你要做的: 无,已裁。
Business reason
- Who benefits: every metadata-app project that installs
@objectstack/skills. First are the managed suites. - Scenario: a suite agent needs attachments, comments, an exchange rate, an approval record, notifications, a time zone or a country. Today nothing in the skills tells it the platform owns these.
- What it has already cost:
- hotsrm
uomis free text (Units of measure on the platform: a standard unit list, quantity fields that carry their unit, and conversion #35339); - hotcrm's case SLA counts wall-clock time (Working calendars on the platform: working days, holidays and make-up workdays that deadlines, escalations and schedules count against #35340);
- each suite owns its own party and item master data, which is now ruled acceptable ([Decision] Shared master data across the managed suites (hotcrm, hotsrm, production): conventions now, a thin registry app later, or one shared party model #35328 A).
- hotsrm
- If not done: every new suite repeats the inventory. Each copy later needs migration once the platform owns the thing.
Current state (read)
skills/objectstack-project/SKILL.md:28-36§0 "App or platform?" separates business judgement from consistency checks only. Nothing says "before adding an object, field or flow, check whether the platform ships it".skills/objectstack-project/SKILL.md:135-143§3 covers defects only. A suite that builds its ownuomor calendar breaks no rule.:45says an MCP-only build applies only §0 and §3, so the new question belongs in §0.- Across
skills/**/*.md, only 20 distinctsys_*names appear. These appear zero times:sys_attachment,sys_comment,sys_exchange_rate,sys_business_unit,sys_notification,sys_email,sys_import_job,sys_audit_log,sys_record_share,sys_webhook. - The value domains are a closed set of three (
packages/spec/src/shared/value-domain.zod.ts:96-100). Skills use one, once (skills/objectstack-data/rules/field-types.md:168, currency). - No skill links
content/docs/capabilities/*. - MCP
list_objectsfilters system objects by default (skills/objectstack-ai/SKILL.md:206), so "look it up at runtime" finds none of the platform objects. - The object-name source is
packages/spec/src/system/constants/platform-object-names.ts:38(PLATFORM_OBJECTS_BY_PACKAGE) and:193(PLATFORM_PROVIDED_OBJECT_NAMES). It holds 111 names, each pinned by the owning package's conformance test. Most of them are infrastructure (oauth, scim, jwks) and none says what an app would otherwise build. - The "would a second app copy it? ⇒ platform" test already exists. It is at
.claude/skills/pm-dispatch/references/app-platform-boundary.md:26, and:36keeps it out of customer skills. The maintainer accepted publishing a customer-actionable form of that question.
Scope (ruled)
- Catalog, generated. Add
skills/objectstack-project/references/platform-catalog.md.- Rows: the app-facing subset of platform objects (estimate 25–30), the three value domains and the capability switches (
requires:). - Each object row carries one hand-written column, "what you would otherwise build".
- The names are generated from
platform-object-names.ts, plus an app-facing marker or a small parallel list pinned by a test, so no row can name an object that does not exist. - Wire it into the existing skill gates (
check:skill-refs,check:skill-identifier-liveness). - Before a row ships, confirm an app can actually look the object up or write it.
- Rows: the app-facing subset of platform objects (estimate 25–30), the three value domains and the capability switches (
- "Not owned by the platform" rows. Party and item master data stay with each suite, matched by key contract ([Decision] Shared master data across the managed suites (hotcrm, hotsrm, production): conventions now, a thin registry app later, or one shared party model #35328 ruling A). This stops "check the platform first" from being read as "wait for the platform".
- "Planned" section, capped at a few rows. A concept the platform has carded but not shipped is listed as not available, with a link to its card. A carded item that already has a field contract (units Units of measure on the platform: a standard unit list, quantity fields that carry their unit, and conversion #35339, working calendars Working calendars on the platform: working days, holidays and make-up workdays that deadlines, escalations and schedules count against #35340) points to that contract. The PR that ships the capability moves the row into the main table. ⛔ No planned row reads as usable (ADR-0049).
- §0 third question.
- Before adding an object, field or flow, check the catalog. If the platform ships it, use it.
- If it is absent but a second app would copy it, file a platform card at
objectstack-ai/objectstack. The app may build its own meanwhile, marked// PLATFORM-CANDIDATE: <link>. - §5 step 4 sweeps these markers on each bump, the same way it sweeps
PLATFORM-GAP. - Keep the wording textually apart from §3: a defect is never worked around, while a missing capability may be built and marked.
- objectstack-data. Teach
valueDomainfor time zone and country beside the existing currency line. - Evals. Add 2–3 cases to each of
skills/objectstack-project/evals/project-process.jsonand the data skill's evals. Examples: "add an attachments table", "add a uom text field", "store the customer's country". The expected answer uses the platform object or value domain, or files a platform card.
Out of scope
- The lint warning for hand-rolled value-domain fields is a separate card under [Decision] Shared master data across the managed suites (hotcrm, hotsrm, production): conventions now, a thin registry app later, or one shared party model #35328.
- An object-name shadow lint waits for an inventory of what hotcrm and hotsrm duplicated.
- No change to
.claude/skills/pm-dispatch/**.
Reader
- The
area:aiseat that owns product skills: one PR covering the generator, the catalog, the §0/§5 text, the data-skill line and the evals. - After release: the hotsrm and hotcrm seats re-sync skills.
Dedupe
"platform catalog"→ 151 hits; the top 5 read are unrelated (scenario runner, lint advisories, dogfood anchors).skills platform-first OR "platform first"→ 5854; the top open hits are fleet-skills clean-up (fleet skills: the skill ratchet counts bytes, and prose is no longer held to a 120-byte line (skills clean-up step 1) #35229, fleet skills: fix the passages that contradict the new area and grading rules (skills clean-up step 2) #35230, fleet skills: each repo's rules move back to its own repo, the cloud checklist skills state only differences, and dogfood-verification is updated (step 7) #35238), which cover.claude/skills, notskills/.PLATFORM-CANDIDATE→ 1179, none on this subject.- No open card covers this.
Grade
area:ai · Task · maintainer-sourced, grade set by the maintainer (「立卡 p1」) · reach: three suite inventories named in #35328/#35339/#35340 (read) · evidence: read
Metadata
Metadata
Assignees
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:skillsDomain lane — seat card indexed by label:pm:seatpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:skills; rationale: area:ai · Task · maintainer-directed (child of #35328). The p1 the seat filed under the maintainer's words stands as set.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CY9JfbUzkuca2gUyu6
Claim: PM loop round 2 · area ai-1 (the maintainer, verbatim, 2026-11-19 project chat: 「再开一个 ai 区」「暂时都只派 p1 p2 的卡」) · 2026-11-19T14:20Z
Area: ai-1
Session:
session_01Utp6CY9JfbUzkuca2gUyu6Account:
os-billBranch: pending — mode:thread: the card thread pushes only the branch the platform assigns it; the area posts a
Branch:amendment here when the thread opensWorktree: the card thread's own checkout
Domain:
domain:skillsSeat:
repo:objectstack#5File surface:
skills/objectstack-project/SKILL.md(§0 third question, §5 step-4 marker sweep), newskills/objectstack-project/references/platform-catalog.mdand its generator + pin test (outsidepackages/spec/src/**),skills/objectstack-data/rules/field-types.md(valueDomain line),skills/objectstack-project/evals/project-process.json,skills/objectstack-data/evals/*.json, skill-gate wiring (check:skill-refs,check:skill-identifier-liveness), generated outputs these feed, root.changeset/. Stop on breach and report.Container & model:
L,mode:thread,model: CONTRACT_REVIEW_TIER (Model tier — MANDATORY: claude-fable-5-2 (derived from the file surface, not recalled) — skills/objectstack-project/SKILL.md ⇢ 'skills/**' clause ①, dispatch-gates --tier --repo objectstack-ai/objectstack at fca72dfa),effort: highClause-②: no — published skill text and a generated reference; no schema accept set widened (an export added to
packages/spec/src/**is a breach: stop and report)Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7001513592
Premise: holds — at
origin/mainfca72df:skills/objectstack-project/SKILL.md§0 "App or platform?" (:28) has no "check what the platform ships" question; §3 (:135) covers defects only; :45 MCP-only builds apply §0 and §3;packages/spec/src/shared/value-domain.zod.ts:96-100three members;platform-object-names.ts:37PLATFORM_OBJECTS_BY_PACKAGE,:193PLATFORM_PROVIDED_OBJECT_NAMES;skills/objectstack-ai/SKILL.md:209list_objects filters system objects. Line numbers drift by a few from the card's 05e0eb8 reading.Serial constraints cleared: none — overlap-check (probe surface vs open PRs) clean; only release PR #35129 shares
skills/objectstack-project/SKILL.mdand merges cleanly. Sibling #35442 (this area) is file-disjoint.Pre-claim lane:
domain:skills(skills/**, governed: seat L2 at CONTRACT_REVIEW_TIER + Tier H landing)Pre-claim deps: none — parent #35328 carries ruling A (7000155587); units ADR-0158 merged (#35370) with Open items 8/10 ruled A (7008524997, 7008551416) on #35339 — units stay a Planned row (no shipped capability yet)
Prior rulings read: skills,tell,metadata-app,projects,already,ships,generated,catalog,check,first,question,objectstack-project → 273 hits; ADR-0027 Decision §12, ADR-0029 D3, ADR-0063 Decision §2, ADR-0080 Decision §5, ADR-0093 D7, ADR-0150 D9; thread: none; plus #35328 ruling A (7000155587) and ADR-0049 (no planned row reads as usable); repo: objectstack-ai/objectstack
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CY9JfbUzkuca2gUyu6
Claim amendment to comment 7011796056 (area ai-1) · 2026-11-19T14:24Z
Branch:
claude/project-thread-k1jvg6(mode:thread: the platform-assigned branch of the card thread; replaces the claim'spendingline)Thread session:
session_01Utp6CagM1Y2StfAMDW5AwdWorktree: the card thread's own checkout
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CY9JfbUzkuca2gUyu6
Claim amendment to comment 7011796056 (area ai-1), superseding amendment 7011898589 · 2026-11-19T14:26Z
Branch:
claude/project-thread-1d1bw6(mode:thread: the platform-assigned branch of the reopened card thread; claude/project-thread-k1jvg6 was never pushed)Thread session:
session_01Utp6CbQCBay2ZapF4WUt1Y(reopened at the contract tier the claim'sContainer & model:line mandates; the first thread session_01Utp6CagM1Y2StfAMDW5Awd stopped with no commits)Worktree: the card thread's own checkout
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CY9JfbUzkuca2gUyu6
Claim amendment to comment 7011796056 (area ai-1), on the card thread's file-surface question (the card's own scope item 1: "Wire it into the existing skill gates") · 2026-11-19T14:31Z
File surface (added):
packages/spec/scripts/build-skill-references.ts(emits the generated catalog socheck:skill-refsverifies it and the generated manifest proves ownership);scripts/pm/check-governed-merges.mjs— ONE line: thespec-skill-refsrow's candidate regexp also admitsreferences/platform-catalog.md(the manifest still proves each file; no other row or rule touched);scripts/check-skills-token-ratchet.mjs— the self-test's pinned excluded-path list gains that one path. Without these the ratchet prices a generated file as hand-authored and every spec regeneration turns it red. Overlap-check of the added paths atorigin/mainc0484c8: clean, 0 PR heads. The L2 review reads the regexp change as a gate edit.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbQCBay2ZapF4WUt1Y
os-dev-report
Draft PR #35572 at head
1295eb7c· 2026-11-19T15:52Z{ "issue": 35345, "status": "done", "branch": "claude/project-thread-1d1bw6", "pr": "https://github.com/objectstack-ai/objectstack/pull/35572", "session": "session_01Utp6CbQCBay2ZapF4WUt1Y", "premise_still_valid": true, "summary": "skills/objectstack-project/references/platform-catalog.md is now emitted by packages/spec/scripts/build-skill-references.ts from hand lists in packages/spec/scripts/lib/platform-catalog.ts (outside packages/spec/src): 30 app-facing platform objects in six groups with what each replaces and how the app reaches it, the three value domains, all 32 requires capability tokens, the party/item master data that stays with each app (#35328 ruling A), and two Planned rows (units -> ADR-0158, working calendars -> #35340) each marked not available. A pin test refuses a row outside PLATFORM_PROVIDED_OBJECT_NAMES, duplicates, stranger tokens, a non-exhaustive value-domain table and a usable-sounding Planned row. objectstack-project SKILL.md section 0 asks a third question (check the catalog; absent, file a platform card and mark PLATFORM-CANDIDATE) and section 5 step 4 sweeps the markers; objectstack-data field-types teaches valueDomain for a time zone and a country beside the currency line; three eval cases per skill; changeset for @objectstack/skills (patch). Gate wiring: the governed-merges spec-skill-refs candidate regexp admits references/platform-catalog.md, the ratchet self-test excluded list names the generated file, and the objectstack-project/SKILL.md ceiling row is raised 2901 -> 2990 after two same-file cuts, under the card's ruling of record (arithmetic in the row's comment and the PR body).", "tests": "Locked (OS_VERIFY_LOCK_SLOT=card-35345): pnpm --filter @objectstack/spec build :: exit 0; typecheck :: exit 0; vitest run --maxWorkers=2 scripts/ :: exit 0 — Test Files 81 passed (81), Tests 1641 passed (1641), VERDICT command-exit 0. Re-run at 1295eb7c: platform-catalog.test.ts + skill-map-guards.test.ts — Test Files 2 passed, Tests 53 passed, VERDICT 0. No ablation: no tested runtime behaviour changed (skill text, a generated page, a pin test).", "gates": "dispatch-gates --commands (158 at fd1c7203) run unlocked with exit codes captured before any pipe; --ran reconciliation: 126 derived families accounted, 121 run, 5 NOT-MEASURED (exit 3, prerequisite: unbuilt dist or shallow clone — check-plugin-teardown-shape --self-test, lint check:doc-formula-expressions, check:dual-build-cjs-loads, check:i18n-coverage, check:lean-entry-closure; also exit 3: lint check:doc-security-posture, spec check:skill-examples, check:docs-transcript-drift), 0 UNRUN; 151 of 161 recorded commands exit 0. Exit 1: pnpm check:role-word — the generated page said user-to-role; reworded to user-to-position (1295eb7c), re-run exit 0. Exit 1: pnpm --dir ui exec vitest run scripts/ — Test Files 2 failed | 169 passed, Tests 27 failed | 5050 passed; both files (ui/scripts/__tests__/date-only-zone-pins-10183.test.ts, unit-registry-absence-collision.test.ts) spawn ui package test runs that find no case on this box; neither reads this PR's files; CI's. Re-run at 1295eb7c, all exit 0: check:role-word, check:skill-refs, check-skills-token-ratchet + --self-test (104), check-governed-merges --self-test (911), check-skill-identifier-liveness, check-skill-links, check-doc-authoring, check-nul-bytes, check-closing-keyword-parity, check-issue-citations, overlap-check --branch=HEAD (clean, 0 PR heads), check:commit-card-trailers --range origin/main..HEAD. Skills readings: objectstack-project/SKILL.md 206 lines 2900/2901 -> 213 lines 2990/2990; field-types.md 265 lines 3553/3553 -> 266 lines 3552/3553; catalog 153 lines 2560 generator-owned; SKILL.md sum 63935 -> 64025; bundle total 274972 -> 279185. CI families: the PR's check-runs, not re-run locally.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "reads only: mcp__github__issue_read on #35345 and its comments; no MCP write tool", "api_writes": "0 REST proxy writes — the PR went through the relay (pr_create, run 44559540142, read-back identical, assignee os-bill, labels none); this comment through post-stamped.mjs", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["class: c · reach: named producer · ui/scripts/__tests__/date-only-zone-pins-10183.test.ts and unit-registry-absence-collision.test.ts fail on a box without a ui build (spawned runs report no case); dedupe words: date-only-zone-pins no case · carrier: PR body · noted, not filed"] }Generated by Claude Code
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbQCBay2ZapF4WUt1Y
Ruling record for this card (posted at the dispatching seat's order on the L2 round of PR #35572) · 2026-11-19T16:59Z
/mnt/project-files/card-35328/skills-platform-first-analysis.md, a read-only analysis atmain05e0eb8). That word is what this card rests on: the scope is the card body's 要做 (the generated platform catalog under objectstack-project, §0's third question, the §5 sweep, a few evals).Generated by Claude Code
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbQCBay2ZapF4WUt1Y
os-dev-report
Delta to report 7014293667 after L2 round 1 (record 7015659227): PR #35572 at head
0626f7e1· 2026-11-19T17:25Z{ "issue": 35345, "status": "done", "branch": "claude/project-thread-1d1bw6", "pr": "https://github.com/objectstack-ai/objectstack/pull/35572", "session": "session_01Utp6CbQCBay2ZapF4WUt1Y", "premise_still_valid": true, "summary": "Fix round 1 on the same branch, one push (0626f7e1). M1: the catalog's value-domain paragraph and eval 23 state what main does (the write refuses a non-member; forms pick the currency code from ISO 4217; a time zone or a country is a plain text input; no list or filter reads the domain). M2: the sys_mailbox row says engine-owned, read-only for manage_mailboxes holders, mounted by requires: ['mailbox'], rows only where the host composes an IMAP account source, no Setup entry; the sys_mail_message row says where its rows come from. S1: the SKILL.md ceiling row and the PR body cite ruling record 6513306068 as the only raise authority and the card's grade as scope; the card's ruling record is posted (comment 7016042622). S2: the page's hand-written text is hoisted into PROSE, summed by handWrittenBytes(), and the pin test holds it under a shrink-only ceiling in the ratchet's measure: 6331 bytes -> 1583/1583. S3: eval 22 expects UN/ECE Rec 20 codes (H87, KGM, XBX) as option values with the business's spellings as labels. S4: the homeAmount literal is back in field-types.md, nested under currencyConfig, paid by four same-file restatement cuts (3541/3553, row untouched). N1 positions distribute permission sets; N2 question 3 moved after the own-use paragraph (zero bytes); N5 two governed-merges self-test cases (the catalog path and four near misses; the prose source pinned under the generator's trusted prefix; battery floor 23 -> 25); N6 the ruled keys on both master-data rows. Not taken: N3 (bytes this file cannot pay), N4 (a per-package mounting table is not cheap), N7 (a follow-up card, the seat's). PR body rewritten through the relay (issue_patch, read-back identical): the '+89 subtotal pin' line removed, sizes re-measured.", "tests": "Locked (OS_VERIFY_LOCK_SLOT=card-35345, NODE_OPTIONS=--max-old-space-size=4096): pnpm --filter @objectstack/spec typecheck && vitest run --maxWorkers=2 scripts/platform-catalog.test.ts scripts/skill-map-guards.test.ts :: exit 0 — Test Files 2 passed (2), Tests 56 passed (56), VERDICT command-exit 0. (A first attempt at the default 2 GB heap OOMed inside check:test-typecheck's tsc; re-run with the heap the full run had.) No ablation: skill text, a generated page, pin tests.", "gates": "Unlocked, exit 0 each at 0626f7e1: check-governed-merges --self-test (913 assertions), check-skills-token-ratchet (+ --self-test 104), spec check:skill-refs (in sync, 10 files), check:role-word, check-skill-identifier-liveness, check-skill-links, check-doc-authoring, check-nul-bytes, check-issue-citations, check-closing-keyword-parity, overlap-check --branch=HEAD (clean), check:commit-card-trailers --range origin/main..HEAD (4 commits). CI at 0626f7e1: 60 success, 13 skipped, 0 failed. Readings: objectstack-project/SKILL.md 2990/2990 (unchanged); field-types.md 3552 -> 3541/3553; catalog 2560 -> 2670 generator-owned, hand-written part 1583/1583; SKILL.md sum 64025; bundle total 279185 -> 279354.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "reads only (issue_read earlier); no MCP write tool", "api_writes": "0 REST proxy writes — PR body via relay issue_patch (run 44572063817), this and the ruling-record comment via post-stamped.mjs", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carried from 7014293667: ui/scripts/__tests__ date-only-zone-pins-10183 and unit-registry-absence-collision red on a box without a ui build (Test UI green on the head) · noted, not filed"] }Generated by Claude Code
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ
Seat ACCEPT for PR #35572 at head
2b5cea8270925b9ecf143e12b4837d45bb2b8c5d: record 7019149748 on the PR. Contract review FAIL 7015659227 → d1 7016983755 → d2 7018036905 → merge-only d3 7019120349, all PASS since d1. Tier H (skills/**): reviewers os-zhuang, hotlong;pm:awaiting-merge. Seat 5 closes this card after the merge.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ
Close-out: PR #35572 merged as 0ca5218 (maintainer merge, Tier H). It brings the platform catalog page, §0 question 3 and the §5 sweep, the value-domain sentence, the evals, and the ratchet rows (SKILL.md 2990, field-types.md 3541, catalog hand-written ceiling 1581). The standing nits N3, N4, N5 (descriptive half), N7, N8 and N9 are accepted deviations.
pm:dispatchedremoved.