You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cloud-connection: the in-environment install door forwards no version, so an environment user cannot install a named package version #31799
Filing gate: ② a finding from a dispatched card. cloud#4011 (a hosted versionless install picked a code plugin; PR cloud#4021) measured that an in-environment install always means "latest": the framework's cloud-connection door does not forward a version (dev report cloud#4011 comment 6732043180). The cloud lane does not dispatch this; triage routes it.
packages/cloud-connection/src/cloud-connection-plugin.ts L1252 (POST /install { package_id, seed_sample_data?, install_mode? }): the forward body carries environment_id, seed_sample_data, install_mode and installer_user_id only.
The control plane's install door accepts a named version (cloud authorizePackageInstall pinned-version branch).
Work
Accept version (and packageVersion if that is the house spelling) on the in-environment install route, validate its shape, and forward it.
Leave every refusal to the control plane (code-plugin, pre-release, listing approval).
Done when
An in-environment install naming a version installs that version; a malformed version is refused at the door; omitting it keeps "latest"; tests pin all three.
Claim: PM loop round 1 · #31799 · 2026-11-09T07:04Z · bug (p3; cloud#4011 consumer)
Session: session_01ADHkmPF1skfu2kx89BEXZi
Account: os-steve
Branch: claude/project-thread-d7w1a6 (the card thread's harness-pinned branch, restarted from main; platform exception to claude/issue-N-slug)
Worktree: objectstack-issue-31799
Domain: domain:server
Seat: domain:server#1
File surface: packages/cloud-connection/src/cloud-connection-plugin.ts (the in-environment POST /install route), its tests, a changeset (stop on breach; explain in the report)
Container & model: S, mode:thread, model: default tier, effort: medium
Clause-②: yes (widening: the in-environment install route accepts and forwards a named version; nothing narrowed)
Metadata-protocol: none
Ruling-ref: none (the card's own work list)
Responsibility: the in-environment install route drops a named version, so a hosted environment user can only install latest · reached by every in-environment install that names a version
Thread-read: none
Premise: holds (read at cc16008a: the forward body of POST /install carries no version)
Serial constraints cleared: none known; overlap with open PRs on cloud-connection-plugin.ts is re-checked in step 0, before the first push.
Order: standard order + server-seat1/31799-delta.md (project files).
{
"status": "pr_open",
"branch": "claude/project-thread-d7w1a6",
"pr": "#31861 (draft)",
"session": "session_01ADHkmQznRNHwfSHVJJUCj2",
"premise_still_valid": true,
"summary": "POST /api/v1/cloud-connection/install accepts `version`, checks it with the reused SEMVER_2_0_0_VERSION_PATTERN (malformed: 400 INVALID_REQUEST naming the key, nothing forwarded) and forwards it as params.version to sys_package/install_package. Omitted or null: no key sent, body byte-identical to main (latest). Every other refusal stays with the control plane.",
"tests": "3 new in cloud-connection-plugin.test.ts: named version forwarded (3 SemVer shapes, trim, with install_mode); 12 malformed shapes refused 400 with no fetch; CONTROL absent/null body JSON-identical to main. Base leg: 2 pins red, CONTROL green. Ablation ABLATION_31799_SHAPE (shape check off): malformed pin red ('\"latest\": expected 200 to be 400'), restored, diff clean. Suite 80 files / 1125 tests green; typecheck green; eslint --no-inline-config clean.",
"gates": "dispatch-gates --commands at 7c22f5f74f: 69 run with stdin closed, reconciled --ran: 69/69, 0 NOT-MEASURED. check:dual-build-cjs-loads exit 3 (missing dist) -> workspace build -> exit 0. Roster gates under touched dirs (authz-resolver, changeset-fixed, error-code-casing, filter-alias-parity) exit 0. check:nul-bytes OK.",
"dogfood_battery": "No route added. Dogfood files that boot cloud-connection: 28 files / 245 tests green locally under os-verify-lock. PR-side Dogfood Regression Gate aggregate left to CI.",
"mcp_calls": "issue_read x2, list_pull_requests x1, pull_request_read x1 (all reads)",
"api_writes": "1 relay pr_create (#31861, read-back identical); this comment via post-stamped",
"open_questions": [
"Control plane's install_package param name `version` is NOT MEASURED: the cloud repo is not reachable from this session; it rests on the card.",
"`packageVersion` is not accepted (one spelling only); like any unknown key it is ignored rather than refused."
],
"security_findings": "none",
"out_of_scope_findings": [],
"files_changed": [
".changeset/31799-cloud-install-named-version.md",
"packages/cloud-connection/src/cloud-connection-plugin.ts",
"packages/cloud-connection/src/cloud-connection-plugin.test.ts"
],
"line_budget": "+88 / -2 (S)",
"deviations": "none"
}
Activity
objectstack-fleet commentedon Nov 9, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage:
domain:server· p3 ·pm:queue· 2026-11-09T04:55Z⛔ Not a claim.
domain:server. Thecloud-connectionin-environment install door forwardsversion. Per [Decision]repo:cloudis used in two senses: 6 open cards are the cloud PM's whole (withdomain:cloud), 20 are objectstack-lane work that cloud asked for. Which one does the label mean? #31154 A it carries an objectstack lane and cites the cloud consumer; norepo:cloud. The consumer is cloud#4011.Generated by Claude Code
objectstack-fleet commentedon Nov 9, 2026
domain:server#1 · os-steve · session_01ADHkmPF1skfu2kx89BEXZi
Claim: PM loop round 1 · #31799 · 2026-11-09T07:04Z · bug (p3; cloud#4011 consumer)
Session:
session_01ADHkmPF1skfu2kx89BEXZiAccount:
os-steveBranch:
claude/project-thread-d7w1a6(the card thread's harness-pinned branch, restarted frommain; platform exception toclaude/issue-N-slug)Worktree:
objectstack-issue-31799Domain:
domain:serverSeat:
domain:server#1File surface:
packages/cloud-connection/src/cloud-connection-plugin.ts(the in-environmentPOST /installroute), its tests, a changeset (stop on breach; explain in the report)Container & model:
S,mode:thread,model: default tier,effort: mediumClause-②: yes (widening: the in-environment install route accepts and forwards a named version; nothing narrowed)
Metadata-protocol: none
Ruling-ref: none (the card's own work list)
Responsibility: the in-environment install route drops a named version, so a hosted environment user can only install latest · reached by every in-environment install that names a version
Thread-read: none
Premise: holds (read at
cc16008a: the forward body ofPOST /installcarries no version)Serial constraints cleared: none known; overlap with open PRs on
cloud-connection-plugin.tsis re-checked in step 0, before the first push.Order: standard order +
server-seat1/31799-delta.md(project files).objectstack-fleet commentedon Nov 9, 2026
domain:server#1 · os-steve · session_01ADHkmQznRNHwfSHVJJUCj2
os-dev-report
{ "status": "pr_open", "branch": "claude/project-thread-d7w1a6", "pr": "#31861 (draft)", "session": "session_01ADHkmQznRNHwfSHVJJUCj2", "premise_still_valid": true, "summary": "POST /api/v1/cloud-connection/install accepts `version`, checks it with the reused SEMVER_2_0_0_VERSION_PATTERN (malformed: 400 INVALID_REQUEST naming the key, nothing forwarded) and forwards it as params.version to sys_package/install_package. Omitted or null: no key sent, body byte-identical to main (latest). Every other refusal stays with the control plane.", "tests": "3 new in cloud-connection-plugin.test.ts: named version forwarded (3 SemVer shapes, trim, with install_mode); 12 malformed shapes refused 400 with no fetch; CONTROL absent/null body JSON-identical to main. Base leg: 2 pins red, CONTROL green. Ablation ABLATION_31799_SHAPE (shape check off): malformed pin red ('\"latest\": expected 200 to be 400'), restored, diff clean. Suite 80 files / 1125 tests green; typecheck green; eslint --no-inline-config clean.", "gates": "dispatch-gates --commands at 7c22f5f74f: 69 run with stdin closed, reconciled --ran: 69/69, 0 NOT-MEASURED. check:dual-build-cjs-loads exit 3 (missing dist) -> workspace build -> exit 0. Roster gates under touched dirs (authz-resolver, changeset-fixed, error-code-casing, filter-alias-parity) exit 0. check:nul-bytes OK.", "dogfood_battery": "No route added. Dogfood files that boot cloud-connection: 28 files / 245 tests green locally under os-verify-lock. PR-side Dogfood Regression Gate aggregate left to CI.", "mcp_calls": "issue_read x2, list_pull_requests x1, pull_request_read x1 (all reads)", "api_writes": "1 relay pr_create (#31861, read-back identical); this comment via post-stamped", "open_questions": [ "Control plane's install_package param name `version` is NOT MEASURED: the cloud repo is not reachable from this session; it rests on the card.", "`packageVersion` is not accepted (one spelling only); like any unknown key it is ignored rather than refused." ], "security_findings": "none", "out_of_scope_findings": [], "files_changed": [ ".changeset/31799-cloud-install-named-version.md", "packages/cloud-connection/src/cloud-connection-plugin.ts", "packages/cloud-connection/src/cloud-connection-plugin.test.ts" ], "line_budget": "+88 / -2 (S)", "deviations": "none" }Stamped 2026-11-09T07:51Z.
Generated by Claude Code