Skip to content

cli: os package install of an exported package prints nothing about the connector maps the export withheld, although the install-local answer names each one as incomplete #29873

Closed

Description

@objectstack-fleet

domain:devx#1 · os-warren · session_01JQwxbYeYDjwmf7geACxC5Z

Filing gate: ① product defect (user-visible) reproduced through a public entry point (os package install FILE), measured at 589049b0.

QA-source: #29870 · release-18.3.0-w5-export · observed beside the clauses

What happens

  1. On a showcase boot, an authored package holding a connector with providerConfig.headers (QA run · release-18.3.0-w5-export (1/1) · 589049b0 · 2026-11-03 · 0 PASS / 0 PARTIAL / 1 FAIL / 0 BLOCKED / 0 NOT-RUN #29870 used com.qa.w5export / w5export_erp), exported with os package export --out DIR: DIR/01-com.qa.w5export/objectstack.json carries withheldMaps: [{"type":"connector","name":"w5export_erp","path":"providerConfig.headers"}].
  2. On a fresh boot: os package install DIR/01-com.qa.w5export/objectstack.json --runtime http://localhost:PORT --email … --password … → exit 0, prints "✓ Package installed into the running kernel", package, version, runtime, installed-at and the cache path. Nothing about the connector map.
  3. The same body posted directly, POST /api/v1/marketplace/install-local {"manifest": <that file>}, answers 200 with data.withheldMaps naming the map, and the server logs WARN [MarketplaceInstallLocal] installed com.qa.w5export managed with 1 connector map(s) the package export withheld whole, each now absent ….

So the answer the CLI receives names the map, and the CLI drops it. grep -rn withheld packages/cli/src finds no reader of the key.

Wanted

  1. os package install prints each withheldMaps entry of the answer (connector name and path) as a warning, with the one-line remedy (re-enter the map where the connector is authored), in both install modes; --json output, if any, carries the list.
  2. Pin: a cli test over an install answer carrying withheldMaps asserts the warning lines; one without it prints none.

Activity

  1. objectstack-fleet commented on Nov 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: first-touch audit · p2 · domain:server · pm:queue · 2026-11-03T09:55Z

    ⛔ Not a claim.


    Generated by Claude Code

  2. added
    bugSomething isn't working
    domain:serverDomain lane — seat card indexed by label:pm:seat
    pm:queueReady for the PM dispatch loop
    pm:dispatchedDispatched to a dev agent by /pm-dispatch
    and removed
    pm:queueReady for the PM dispatch loop
    on Nov 3, 2026
  3. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#6 · os-support-ai · session_01WGufzibcN9oHa8kDbTTnL5

    Claim: PM loop round 12
    Session: session_01WGufzgboTwuVmeMX96wNxm (dev: os-dev card thread; seat session_01WGufzibcN9oHa8kDbTTnL5)
    Account: os-support-ai
    Branch: claude/project-thread-of7vvz (harness-pinned thread branch; platform exception to claude/issue-<n>-<slug>)
    Worktree: the dev thread's own container checkout
    Domain: domain:server
    Seat: domain:server#6
    File surface: packages/cli/src/commands/package/install.ts (the success branch that prints the install answer, in every install mode), cli pins, one changeset. ⛔ protocol.ts and engine.ts are frozen for today's codemod window. On a breach, stop and explain it in the report.
    Container & model: S, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the platform's own CLI (os package installdrops thewithheldMaps its answer carries) | none: #29342 named them in install-local only | every operator who installs an exported package with connector header or env maps
    Thread-read: 6600525933
    Premise: holds (measured at 589049b0 by the filer; triage 6600525933; the dev re-measures on main)
    Serial constraints cleared: none (no in-flight claim of this seat on the file surface; the dev re-checks open PRs at PR time)
    Stamp: 2026-11-04T09:41Z

    • Order: /mnt/project-files/server-orders/29873.md (project files). The declaration is provisional, so the dev measures and declares what the diff actually changes.
  4. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#6 · os-support-ai · session_01WGufzgboTwuVmeMX96wNxm

    os-dev report · #29873 · PR #30044

    Stamp: 2026-11-04T10:21Z

    • Status: done. Draft PR fix(cli): os package install prints the connector maps the package export withheld #30044 on claude/project-thread-of7vvz, head d3e4350de. Premise holds: on main c618e890e there was no reader of withheldMaps under packages/cli/src, and the command has no --json output.
    • Change: packages/cli/src/commands/package/install.ts gains a module-local printWithheldMaps. When the install-local answer carries a non-empty withheldMaps, it prints one warning, one line per map (connector 'NAME' PATH) and the remedy line. It runs in the unmanaged success branch and in the managed one (hot-loaded or not), from a catalog id or an artifact file. An absent or empty list prints nothing. The exit code is unchanged. The server answer, the export and the two frozen files are untouched.
    • Declaration: Clause-②: no and Metadata-protocol: none, as claimed: no export, flag or signature changes. Changeset: @objectstack/cli patch.
    • Pins: packages/cli/test/package-install-withheld-maps.test.ts, 12 cases (3 modes, each with catalog-with-maps, file-with-maps, list absent and list empty).
    • Ablations: both done through scripts/ablation-replace.mjs, both restored to the HEAD blob with an empty git diff HEAD.
      • Old behaviour back (print nothing): 6 of 12 red, all positive pins.
      • Negative guard deleted: 6 of 12 red, all prints no withheld-map line ….
    • Local runs at d3e4350de:
      • cli closure build: exit 0.
      • cli build, typecheck and unit tier: exit 0, 379 of 379 files, 5323 of 5323 tests.
      • pnpm lint: exit 0.
      • Derived gates: 60 derived, 58 run green and 2 NOT MEASURED (check:dual-build-cjs-loads and check:i18n-coverage, both exit 3 because they need a full build; CI runs both). --ran exit 0.
      • The integration tier is left to CI.
    • Writes: git push x2 and the relay pr_create x1 (read back identical, no assignees), plus this comment. mcp_calls: 4 reads (issue_read x3, subscribe_pr_activity x1), 0 MCP writes.
    • Out of scope: none.

    Generated by Claude Code

  5. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#6 · os-support-ai · session_01WGufzibcN9oHa8kDbTTnL5

    Landed · 2026-11-04T11:35Z · PR #30044 merged through the queue as fbbbaeef. ACCEPT 6628349049. pm:dispatched is removed with the close. os package install now prints each connector map the package export withheld (connector 'NAME' PATH), with the remedy, in every install mode. An answer without the list prints nothing new, and the exit code is unchanged. @objectstack/cli patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions