Repository navigation
docs(skills): os package install takes -u/--url and -t/--token in the platform skill's operations reference - #30821
Conversation
… platform skill's operations reference The `os package install` row named `--runtime` for the target server and listed only `--email/--password` as its credential. The CLI now spells the server `-u/--url` (no alias for `-r/--runtime`) and adds `-t/--token` (env `OS_RUNTIME_TOKEN`), so the row says that. The restated "via its install-local endpoint" goes; the blockquote below the table already names that endpoint, which pays the token ratchet. Claude-Session: https://claude.ai/code/session_016WV4czuE7FD4NhcJptgwre Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#1 · os-elon-musk · session_016WV4d1mkgEris4MHHLjtnk Contract-review-claim: session_016WV4d1mkgEris4MHHLjtnk · head b2d0f91 · 2026-11-06T05:02Z |
|
domain:skills#1 · os-elon-musk · session_016WV4d1mkgEris4MHHLjtnk Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Implemented-by: VERDICT: PASS |
|
domain:skills#1 · os-elon-musk · session_016WV4d1mkgEris4MHHLjtnk 维护者速读
席位核对 — ACCEPT · head b2d0f91
Generated by Claude Code |
Requested by Elon · project thread
domain:skills#1 · os-elon-musk · session_016WV4czuE7FD4NhcJptgwre
Fixes #30772
Clause-②: no
Metadata-protocol: none
维护者速读
objectstack-platform技能运维参考页里os package install那一行,服务器参数从--runtime改成-u/--url,凭据补上新的-t/--token(环境变量OS_RUNTIME_TOKEN),与--email/--password并列。-r/--runtime改名为-u/--url且不留别名,并新增-t/--token;技能还写旧参数,AI 照抄会被 CLI 当作未知参数拒绝。skills/objectstack-platform/references/operations.md第 106 行。packages/cli/src/commands/package/install.ts的static override flags(url为-u、OS_RUNTIME_URL、默认http://localhost:3000;token为-t、OS_RUNTIME_TOKEN),应与第 106 行一致。skills/**需受管审批人 os-zhuang 或 hotlong 批准),之后席位落地。What changes
skills/objectstack-platform/references/operations.mdL106, theos package installrow: the synopsis now reads[--version │ -u/--url http://localhost:3000]in place of[--version │ --runtime http://localhost:3000], and the credential sentence names-t/--tokenbeside--email/--password, with the env namesOS_RUNTIME_TOKENorOS_RUNTIME_EMAIL/OS_RUNTIME_PASSWORD. "Auths with the target runtime's session" becomes "Auths as a target runtime user", since a token is not a session sign-in. The row keeps its shape and still says the credential is not the cloud login.os package installtargets". Removing the restatement pays for the token flag inside the ceiling..changeset/30772-platform-skill-package-install-url.md:'@objectstack/skills': patch.Why
Ruling A on #30126 row 13 (record 6674432613). PR #30792 landed it on
mainat2fbddd4c, and this PR was merged withorigin/main7da99b79before the gates. On that tree,packages/cli/src/commands/package/install.tsdeclaresurl(char: 'u',env: 'OS_RUNTIME_URL', defaulthttp://localhost:3000) andtoken(char: 't',env: 'OS_RUNTIME_TOKEN'). There is noruntimeflag left.-v/--versionand--email/--password(OS_RUNTIME_EMAIL/OS_RUNTIME_PASSWORD) are unchanged, and a token together with--email/--passwordis refused.content/docs/deployment/cli.mdx(L3261-3279) says the same.Tests
This PR changes skill prose only. No eval case names
os package install(git grep 'package install' skills/hits only L106 and the blockquote's L112), so no eval was edited. No package code changed. After the change,git grep -- '--runtime'overskills/**and.claude/**returns nothing.Acceptance notes
operations.md: 199 → 199 lines, 12475 → 12474 bytes, 3119 → 3119 tokens (ceiling 3119, headroom 0 → 0; no ceiling raised). Bundle (sum of everyskills/*/SKILL.md): unchanged at 4524 lines, since no SKILL.md is touched.operations.md, in other hunks (L13, L42-58, a new section after L113, L192-193). This PR's single hunk is L106 and does not overlap them. Whichever lands second should re-runcheck-skills-token-ratchet. With docs(skills): teach the stack's push block — direct transport, credentialRef only, relay not yet served #30764's −3 tokens, the merged file still fits.--runtimewas removed. The CLI refuses it as an unknown flag, and the@objectstack/clichangeset from fix(cli,rest)!: os package install takes -u/--url and -t/--token; the /meta permission refusal is localized #30792 carries the FROM → TO migration.Verification
dispatch-gates on head b2d0f91: 43 derived, 43 run, all exit 0; pnpm lint exit 0
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 43 commands for the two changed paths (merge base7da99b79). All 43 exited 0 on headb2d0f914, after a whole-treepnpm build --concurrency=2underos-verify-lock(118 tasks, VERDICT command-exit 0), which clears the five dist-reading prerequisites (check:doc-formula-expressions,check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content).check-skills-token-ratchet:operations.md3119 / 3119.node scripts/pm/dispatch-gates.mjs --ran FILE --repo objectstack-ai/objectstack: "43 derived famil(ies) accounted for — 43 run, 0 NOT-MEASURED", exit 0.pnpm lint: exit 0.🤖 Generated with Claude Code
https://claude.ai/code/session_016WV4czuE7FD4NhcJptgwre
Generated by Claude Code