Repository navigation
Closed
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p1High: required for production / M2
Description
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
A person who only connected an MCP client has no way to install the skills. A person with a project has no command to refresh them after an upgrade, so the local knowledge quietly falls behind the server.
Who acts: the server lane (packages/cli, packages/skills). Reader: every user of the skills.
Evidence
- The only install path is
create-objectstack, which runs a third-party sync at scaffold time. Nooscommand refreshes.claude/skills/. os validate --targetwarns when the local skills version differs from the target's (packages/cli/src/commands/validate.ts:235); nothing repairs it.- Nothing documents an install for a user with no project (
content/docs/ai/connect-mcp.mdx). - Vendors solve version skew with a command:
npx convex ai-files install|update|status,stripe agent setup,nb init, and the Next.js rules block refreshed on upgrade.
Scope
os skills install,os skills update,os skills status: copy the catalog at a named version, default the active target's version, into the agent's skills directory; report installed versus target.- Works in an empty directory and in a project.
- The open server's instructions and
/mcp/skillname this command (sibling card mcp: the open door's initialize instructions carry the ask-data selection rule and the skills install line; /mcp/skill renders from the published skill #34686).
Done when
- In an empty directory, the command installs the catalog matching a running server's version, and
statusreports a mismatch after the server is upgraded.
Relations
- Parent: Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659. Decision record: [Decision] The published skills: who reviews a change, how they are verified, one catalog or two for code-first and MCP, and the E2 premise reading #34691 S3 = A; Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 D4 = A. Related: mcp: the open door's initialize instructions carry the ask-data selection rule and the skills install line; /mcp/skill renders from the published skill #34686.
- Dedup, open and closed: none found for
os skills install.
Metadata
Metadata
Assignees
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 17, 2026
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).Named effect: the ask-data skill is published, but a user who only connected an MCP client has no way to install it, which limits milestone 1's value today. So p1.
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgNCAXyGfBQFZBwixH
Claim: PM loop round 1 · 2026-11-17T23:06Z
Session:
session_01WGufzgNCAXyGfBQFZBwixHAccount:
os-support-aiBranch:
claude/issue-34773-os-skills-installWorktree:
objectstack-issue-34773Domain:
domain:serverSeat:
repo:objectstack#3File surface:
os skillscommand group (install,update,status) underpackages/cli/src/commands/, its registration, and helpers underpackages/cli/src/utils/, reusing howrestriction-profile.tsreads a target's@objectstack/skillsversion;initializeinstructions and/mcp/skillcarry (packages/mcp/src/mcp-server-runtime.ts, landed by mcp: the open door's initialize instructions carry the ask-data selection rule and the skills install line; /mcp/skill renders from the published skill #34686, and its pin test and README), so the line names the new command;content/docs/ai/skills.mdx,content/docs/ai/connect-mcp.mdx(the install for a user with no project), and the CLI reference page if one listsoscommands;Not
packages/specorskills/**. Stop and report if the route needs either.Container & model:
M,mode:subagent(area o3-G),model: TIER_DEFAULT,effort: highClause-②: yes (widening: a new published CLI command group,
os skills install | update | status)Metadata-protocol: none
Responsibility:
platform — no os command installs or refreshes the published skills; the only path is create-objectstack's scaffold-time syncThread-read: 6963599108
Premise: holds at origin/main
4443014630.packages/cli/src/commands/has no skills command.validate.ts:235-241(--target) only warns on a local-versus-target@objectstack/skillsversion drift (RestrictionVersionDrift,utils/restriction-profile.ts:115/:578).@objectstack/skills18.5.0 publishesdist/skills/<name>/SKILL.md. The only installer iscreate-objectstack'snpx skills experimental_syncat scaffold time. The MCP instructions namepnpm add -D @objectstack/skills@<version>(mcp-server-runtime.ts), which needs a project.Route:
install [--version V] [--target T] [--dir D]copies the published catalog at a named version (default: the active target's skills version, else the CLI's own matching version) into the agent's skills directory (default.claude/skills/, overridable), in an empty directory or in a project, with no package.json needed. It fetches the@objectstack/skillstarball at that exact version from the configured npm registry, with no third-party CLI.updatere-installs at the target's version and replaces only the skills the catalog owns.statusreports installed versus target, plus missing or extra skills, and exits non-zero on a mismatch only when asked (for example--check). Done when: in an empty directory it installs the catalog matching a running server's version, andstatusreports a mismatch after the server is upgraded.Serial constraints cleared: mcp: the open door's initialize instructions carry the ask-data selection rule and the skills install line; /mcp/skill renders from the published skill #34686 (the sibling) is merged. No open PR names
os skills(search at claim time). The dev runs overlap-check before every push.Pre-claim lane:
domain:server, an epic Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 child released by the maintainer (records 6963486364, 6963538703) and raised to p1 by triage 6963599108. The seat routed it to area o3-G (23:05Z).Pre-claim deps: parent Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 (S3 = A on [Decision] The published skills: who reviews a change, how they are verified, one catalog or two for code-first and MCP, and the E2 premise reading #34691 6943107981; D4 = A). Related: mcp: the open door's initialize instructions carry the ask-data selection rule and the skills install line; /mcp/skill renders from the published skill #34686 (merged).
Prior rulings read: install,update,report,published,skills,server,version → 148 hits; ADR-0003 §3, ADR-0024 §4, ADR-0027 §11, ADR-0035 §5, ADR-0038 §5, ADR-0087 D4, ADR-0125 D4 keyword-only; thread: triage 6963599108 only.
Lease
o3-G(seat post #34584); child of epic #34659. L1 is L1-c, then the seat's opus L2 for the Clause-② declaration.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgNCAXyGfBQFZBwixH
os-dev-report
Stamp: 2026-11-18T01:40Z
{ "issue": 34773, "status": "done", "branch": "claude/issue-34773-os-skills-install", "pr": "https://github.com/objectstack-ai/objectstack/pull/35060", "session": "session_01WGufzgNCAXyGfBQFZBwixH", "premise_still_valid": true, "summary": "Added `os skills install | update | status` (packages/cli/src/commands/skills/*, helpers in src/utils/skills-catalog.ts, skills-install-state.ts, skills-command.ts, `skills` oclif topic). Version order: --version (exact), else --target (the `os validate --target` reader, versions.skills), else the CLI's own version (same changeset fixed group); output names the source. The catalog is the @objectstack/skills tarball at that exact version read with `npm pack` in the cwd (user .npmrc / npm_config_* apply; no existing registry helper existed), unpacked in process keeping only dist/skills/NAME/** with a SKILL.md; unknown versions refused by name; a .objectstack-skills.json record (version + per-file sha256) lets update replace/remove only catalog-owned skills and status report missing/modified/extra, with --check exiting 1 on a mismatch; all three take --json. The MCP open server's initialize install line now names `os skills install --version V` (plus the `npx -p @objectstack/cli@V` form) instead of pnpm add; pin, README, cli.mdx (new Skills section), skills.mdx and connect-mcp.mdx updated; patch changeset for cli and mcp.", "tests": "Head 3dcccc7826 (merge of origin/main onto bec9bdc5cb). New packages/cli/test/skills-commands.test.ts (unit tier, registry and target seams stubbed, no network): 22 passed at bec9bdc5cb; after the merge with test/mcp-connect.test.ts 36 passed. MCP pin red first (`expected 'ObjectStack MCP Server...' to contain 'os skills install --version 18.5.0'`, 1 failed / 7 passed), then 8 passed (also 8 passed after the merge). At bec9bdc5cb: `pnpm --filter @objectstack/mcp test && typecheck` 71 files / 1254 tests passed, check:test-typecheck OK; `pnpm --filter @objectstack/cli typecheck` exit 0; cli `vitest run --project unit` 427/427 files, 6085/6085 tests; integration tier declared to CI (no integration file, bin/ or serve-process touched). Ablations via scripts/ablation-replace.mjs (tests import src, no dist leg): A1 update ownership (planSkillsWrite conflict branch to `else if (false)`) red 2 failed / 20 passed, restored blob == HEAD and git diff HEAD empty; first A1 attempt was a vacuous syntax-error run (no tests), discarded and rerun. A2 status mismatch (drop !versionMatches) red 3 failed / 19 passed incl. the Done-when test, restored blob == HEAD. Live against the real registry in an empty dir: install --version 18.5.0 put 11 skills (objectstack-data byte-identical to the tarball), status --check exit 0, update --version 99.0.0 exit 1 naming the version, update --version 18.4.0 then status --check exit 1.", "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack derived 118 families at 3dcccc7826; all run with exit codes captured before any pipe; --ran reconciliation `118 derived, 116 run, 2 NOT-MEASURED, 0 UNRUN`. NOT MEASURED (exit 3 prerequisite): check:skill-examples, check:i18n-coverage. check:docs and check:docs-transcript-drift first exited 1 on the merged head because spec/lint dist predated the merged sources (json-schema older than src; rule count 70 vs 71); after rebuilding spec and lint both exit 0, so 116 run green. Earlier sweep at bec9bdc5cb: 115 green, 3 exit 3. overlap-check at 3dcccc7826: VERDICT overlap exit 1, only #34791 conflicting in content/docs/deployment/cli.mdx, and that conflict is #34791 against main itself (its 70-to-69 line vs main's 70-to-71 at cli.mdx:890; git merge-tree origin/main vs #34791 head), not this diff; at bec9bdc5cb VERDICT clean exit 0. check-governed-merges --branch: 0 of 15 paths governed, 1518 changed lines. check-changeset-no-major with a simulated PR payload: level axis OK (widening + none at patch). CI on PR head 3dcccc7826: 41 check-runs success, 15 skipped, 0 failed; including Lint & Repo Gate jobs, Type Check workspace/source/consumer/debt, Test Core 1-10/10, Build Core, Governed Surface Queue Guard, Dogfood Regression Gate, Live E2E UI, Test UI, Check Changeset, PR-body guards success; Lint UI, Type Check UI, Build & E2E UI skipped by filter.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — git push (branch probe and later pushes, not REST); relay pr_create (objectstack-ai/objectstack#35060, read back identical, assignee os-support-ai); post-stamped comment on #34773 (this report)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — an open-source server does not serve /api/v1/discovery/restriction-profile (cloud-only route per restriction-profile.ts), so --target against os dev is refused by the validate reader's existing 404 sentence; for open servers the version reaches users through the MCP initialize line", "carrier: none · noted, not filed — the order's premise that /mcp/skill carries the install line is false on a841e26b23: only skillsInstallLine in mcp-server-runtime.ts (initialize) carries it", "carrier: skills lane · noted, not filed — skills-reference.mdx and packages/skills/README.md still lead with pnpm add plus experimental_sync, which keeps working", "carrier: #34791 · its cli.mdx:890 line conflicts with main, independent of this PR" ], "deviations": "PR body cites readings at bec9bdc5cb; the head is the origin/main merge 3dcccc7826, whose re-run readings are in this report (no body patch, to stay inside the write budget). The container restarted mid gate re-run; the sweep was resumed, not restarted from zero. Merge commit carries git's default message (no trailers)." }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgNCAXyGfBQFZBwixH
Delivered · 2026-11-18T03:11Z
PR #35060 merged to
mainat0c6089725band closed this card (Fixes).os skills install / update / statusinstall the published@objectstack/skillsat the server's version into the agent's skills directory, with or without a project, then refresh and check it. Paths from the tarball and from the install record are refused if they could leave the skills directory (..,\,:, or a resolved target outside the root), and every target is judged before the first write. On Windows thenpm packdestination is quoted.initializeskills line now namesos skills install --version VERSION, with thenpx -p @objectstack/cli@VERSIONfallback. The pending mcp: the open door's initialize instructions carry the ask-data selection rule and the skills install line; /mcp/skill renders from the published skill #34686 release note was corrected to match. That was a DELIBERATE CORRECTION, confirmed by the seat's record 6967431826.Declared
Clause-②: yes (widening),Metadata-protocol: none,patch. Reviews: L1-c ACCEPT 6966450600, delta ACCEPT 6967097514; seat contract review PASS 6966546222, delta PASS 6967431826. Follow-ups: #35079 (atomicapplySkillsWrite, triage); N5 (sync-catalog.mjsshould apply the reader's name rules) is with the skills lane. Version Packages #33849 regenerates from the corrected note.pm:dispatchedandlease:o3-Gremoved in this stroke.