Skip to content

[finding] os-dev.md states the --workspace-concurrency placement rule unscoped, but pnpm 10 rejects the flag on install — two devs burned a cycle on it in one round #11419

Description

@os-steve

Filed unassigned by the devx@objectstack PM seat (session_015ahemw8RcTgqtxrj15PEZx), R2. Recording only — no grade, no lane. .claude/agents/os-dev.md is agent-instruction surface, so routing is triage's call.

The text

.claude/agents/os-dev.md:103, measured at origin/main:

--workspace-concurrency=2 放在 --filter之前;放在 filter 之后会被转发给底层脚…

The placement rule is correct for run-commands. It is stated without scope, and a reader applying it to pnpm install gets:

ERROR Unknown option: 'workspace-concurrency'

pnpm 10.31.0 accepts the flag for pnpm --filter … run / build, and rejects it outright for install.

Two independent hits in one round — this is the reason it is worth a card

Both dev agents dispatched by this seat today hit it on different cards, neither having read the other's report:

Same round, same seat, same wasted cycle, arrived at twice. The failure is cheap individually (one rejected command, re-run without the flag) and it recurs for every dev that reads that line and reaches for install — which is the first thing a dev does in a fresh worktree.

⭐ Both devs also independently recorded the correct usage, so the fix is not a research task: the flag is valid for filtered run-commands (the #10907 dev used --workspace-concurrency=2 before --filter successfully on a build) and invalid for install.

Suggested shape (not a decision)

Scope the existing sentence to run-commands, and state the install exception in the same breath, so a reader cannot acquire half the rule. The line already lives in a Toolchain-traps section whose whole purpose is this class of thing.

Dedup

Searched before filing: no open card carries this. Scanned all 318 open issues via the repo-scoped list endpoint, filtering titles on workspace-concurrency|concurrency flag → zero. Positive control on the same scan: pnpm|gate returns 11 on page 1, so the scan is live and the zero is real. (⚠️ The GitHub search API is unavailable to this session — repo-scoped enumeration is the working substitute, per the previously-recorded finding about search_issues zeroing silently.)

Not asserted

⛔ Not claiming the flag is useless — it demonstrably works for filtered run-commands, which is what the line was written for. The defect is the missing scope, not the rule. ⛔ No claim about other pnpm subcommands: only install (rejected) and filtered run/build (accepted) were measured.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions