@shumkov/orchestra 0.12.5 → 0.12.6

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.
@@ -446,3 +446,67 @@ the client fault-prone if the signal arrives from another source.
446
446
  The rest of the generated ServerNotification set stays fail-closed. None of
447
447
  those notifications has been observed in this configuration, so classifying
448
448
  them now would be unproven. Each one needs its own source-backed evidence.
449
+
450
+
451
+ ## Generated-schema notification audit (0.167.2)
452
+
453
+ The 0.167.2 generated ServerNotification set has 52 methods that the pinned
454
+ subset left unclassified, `skills/changed` included. Each was traced to its
455
+ emitters in the rust-v0.167.2 source and checked against this client's fixed
456
+ request set, its single stdio connection, Linux, `approval_policy = "never"`,
457
+ `approvals_reviewer = "user"`, a custom Responses provider and no MCP servers.
458
+
459
+ Reachable without a client opt-in, so each one is dropped as an exact method:
460
+
461
+ - `model/rerouted`: an `openai-model` or `x-openai-model` value, in the HTTP
462
+ response headers or in an SSE or websocket event's embedded headers,
463
+ differs (case-insensitively) from the requested slug. It fires at most once
464
+ per turn. Path: codex-api/src/sse/responses.rs, then
465
+ core/src/session/mod.rs, then app-server bespoke_event_handling.rs.
466
+ It does not change thread settings, so no later `thread/settings/updated`
467
+ reports a different model.
468
+ There is no auth or provider gate, and the only schema reason is
469
+ `highRiskCyberActivity`. It is sent with a `warning`, which is already dropped.
470
+ - `model/verification`: a `response.metadata` stream event carrying
471
+ `openai_verification_recommendation`; the only schema value is
472
+ `trustedAccessForCyber`.
473
+ - `model/safetyBuffering/updated`: a `safety_buffering` stream field or metadata
474
+ event; it is a UI hint.
475
+
476
+ All three are observational. The turn continues, and its outcome still arrives
477
+ through items and `turn/completed`. Whether a given proxy forwards these
478
+ upstream signals cannot be settled from code, so they are classified because
479
+ the source allows them, not because a capture saw them. Regression tests
480
+ prove a pending RPC stays healthy with zero delivered notifications, and a
481
+ sibling `model/rerouted/unknown` still faults.
482
+
483
+ Left fail-closed, all unreachable here:
484
+
485
+ - Emitted only after a client request this client never sends:
486
+ - command/exec, process/spawn, fs/watch and fuzzy-file-search sessions;
487
+ - all `thread/realtime/*` (only `thread/realtime/start` starts a conversation);
488
+ - windows sandbox setup, external-agent import and account login;
489
+ - thread archive, unarchive, delete, revert, name, section, attachment and
490
+ metadata;
491
+ - the project requests;
492
+ - `thread/queue/*` (the queue is not touched by turn start or steer);
493
+ - app/list, the MCP OAuth and event-stream requests, and gateway OAuth.
494
+ - Gated off by config: guardian and auto-review notifications need an
495
+ on-request or granular policy with the auto-review reviewer. Auth recovery
496
+ is implemented only by the Bedrock provider. Environment connect and
497
+ disconnect need a remote exec-server environment.
498
+ - Never constructed by the app-server:
499
+ - `thread/compacted`: auto-compaction surfaces as a `contextCompaction`
500
+ item, which the item projection already accepts;
501
+ - `item/mcpToolCall/progress`;
502
+ - `thread/prediction/updated`;
503
+ - `windows/worldWritableWarning`.
504
+ - `serverRequest/resolved` only follows a server request, which this client
505
+ already denies and faults on, so classifying it would change nothing.
506
+ - `thread/closed` and `thread/environment/disconnected` mean the runtime is
507
+ gone and must not be silently dropped. Idle unload needs the connection to
508
+ stop being a thread subscriber, which happens only through
509
+ `thread/unsubscribe` (never sent) or connection close.
510
+
511
+ Re-run this audit on every Codex pin bump: diff the generated ServerNotification
512
+ set against both lists and classify each new method from source.
@@ -181,7 +181,10 @@
181
181
  "thread/readState/changed",
182
182
  "account/updated",
183
183
  "turn/moderationMetadata",
184
- "skills/changed"
184
+ "skills/changed",
185
+ "model/rerouted",
186
+ "model/verification",
187
+ "model/safetyBuffering/updated"
185
188
  ],
186
189
  "deniedServerRequests": {
187
190
  "item/commandExecution/requestApproval": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shumkov/orchestra",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "description": "Transport-agnostic session engine for Claude Code and the native Codex app-server: spawn, steer, supervise, observe turns, and recover.",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",