@shumkov/orchestra 0.12.4 → 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.
|
@@ -420,3 +420,93 @@ Node22.23.5 x64 ran without target overrides or injected attestors. No Linux
|
|
|
420
420
|
external inference or production launcher changes. This is translated execution,
|
|
421
421
|
not native x64 CPU/seccomp/sandbox or systemd scope cleanup proof. Preserve that
|
|
422
422
|
limitation for release/activation; no blanket descendant guarantee is added.
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
## Skills invalidation notification amendment
|
|
426
|
+
|
|
427
|
+
Production Polygram Codex lanes on 0.167.2 entered containment with
|
|
428
|
+
CODEX_PROTOCOL_ERROR (`app-server-fault`, client fault class `protocol`) both
|
|
429
|
+
mid-turn and while idle. The mid-turn fault followed a model-run Python script
|
|
430
|
+
that wrote a `__pycache__/*.pyc` under the workspace `skills/` tree by ~0.2s; the
|
|
431
|
+
idle faults coincided with a daily job rewriting a state file under `skills/`.
|
|
432
|
+
The pinned binary emits `skills/changed` on any write beneath the watched skills
|
|
433
|
+
directory (reproduced against the pinned 0.167.2 app-server with a fresh
|
|
434
|
+
`CODEX_HOME`). The generated schema declares it as a parameterless invalidation
|
|
435
|
+
signal ("re-run `skills/list` ... when refreshed skill metadata is needed"). It
|
|
436
|
+
carries no thread, turn, checkpoint, authority or payload; Orchestra never calls
|
|
437
|
+
`skills/list`, so there is nothing to refresh.
|
|
438
|
+
|
|
439
|
+
Narrow correction: classify only this exact method as dropped. No wildcard
|
|
440
|
+
acceptance of the `skills/` namespace and no payload exposure. Regression tests
|
|
441
|
+
prove a pending RPC stays healthy with zero delivered notifications, and a
|
|
442
|
+
sibling `skills/changed/unknown` still faults. Alternative rejected: disabling
|
|
443
|
+
the watcher would need an unpinned config/startup surface and would still leave
|
|
444
|
+
the client fault-prone if the signal arrives from another source.
|
|
445
|
+
|
|
446
|
+
The rest of the generated ServerNotification set stays fail-closed. None of
|
|
447
|
+
those notifications has been observed in this configuration, so classifying
|
|
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.
|
|
@@ -180,7 +180,11 @@
|
|
|
180
180
|
"mcpServer/startupStatus/updated",
|
|
181
181
|
"thread/readState/changed",
|
|
182
182
|
"account/updated",
|
|
183
|
-
"turn/moderationMetadata"
|
|
183
|
+
"turn/moderationMetadata",
|
|
184
|
+
"skills/changed",
|
|
185
|
+
"model/rerouted",
|
|
186
|
+
"model/verification",
|
|
187
|
+
"model/safetyBuffering/updated"
|
|
184
188
|
],
|
|
185
189
|
"deniedServerRequests": {
|
|
186
190
|
"item/commandExecution/requestApproval": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shumkov/orchestra",
|
|
3
|
-
"version": "0.12.
|
|
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",
|