create-pmos 0.121.0 → 0.122.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.121.0",
3
+ "version": "0.122.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@d223b73
2
- assembled: 2026-10-08
1
+ kernel-source: pmos@7af87c4
2
+ assembled: 2026-10-09
3
3
  mode: vendor
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Eval calibration log"
4
4
  description: "Append-only record of every PM override of an evaluator verdict."
5
- generated: {by: process:create-pmos, at: "2026-10-08T09:17:45Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-09T01:31:23Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Health budgets"
4
4
  description: "Closed registry of health-budget anchors (D59), edited only by the PM."
5
- generated: {by: process:create-pmos, at: "2026-10-08T09:17:45Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-09T01:31:23Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-10-08T09:17:45Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-09T01:31:23Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  Newest first, ISO dates.
4
4
 
5
- ## 2026-10-08
5
+ ## 2026-10-09
6
6
 
7
7
  - Adopted OKF v0.2 (D73).
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.121.0",
3
+ "version": "0.122.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.121.0",
9
+ "version": "0.122.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.121.0",
3
+ "version": "0.122.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -3342,6 +3342,9 @@ function spawnSession({ name, agent, cwd, ws, origin, initialInput, profile, ini
3342
3342
  // `pres.id` is null whenever the overlay was not applied — including when a profile was asked for
3343
3343
  // and could not be read — so the pane line can never name a profile that did nothing (R3/R9).
3344
3344
  // `profileRefusal` is server-internal: callers that can refuse read it and say why.
3345
+ // A start that names no profile (`undefined`) gets the agent's default Claude profile, whoever started it: a skill, a
3346
+ // schedule, a note, a doc check. Only the composer used to apply it, so every other start ran under Claude's own config.
3347
+ if (profile === undefined && !isShell) profile = defaultProfileFor(agent);
3345
3348
  const pres = resolveProfileForSpawn(profile);
3346
3349
  const penv = sessionEnvWithProfile(pres.profile);
3347
3350
  // sessionEnvWithProfile returns a fresh object (sessionEnv copies process.env), so these touch this session only.
@@ -3493,6 +3496,8 @@ function spawnWithBranch({ name, agent, cwd, ws, branch, createBranch, isolate,
3493
3496
  // The profile is checked BEFORE any git operation. A composer that picked a profile PMOS cannot
3494
3497
  // read must not leave a branch checked out and a session running under the wrong environment —
3495
3498
  // and a session that claims a profile it never got is the quietest failure this feature has.
3499
+ // `undefined` is "not asked", so it takes the agent's default; the resolved id below is explicit, so spawnSession adds none.
3500
+ if (profile === undefined && agent && agent !== 'shell') profile = defaultProfileFor(agent);
3496
3501
  const pres = resolveProfileForSpawn(profile);
3497
3502
  if (!pres.ok) return { ok: false, error: pres.error };
3498
3503
  // The model choice is checked on the same terms (D75): a refused choice starts nothing, and leaves no branch moved.