sneakoscope 8.2.1 → 8.3.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.
Files changed (99) hide show
  1. package/README.md +46 -110
  2. package/crates/sks-core/Cargo.lock +1 -1
  3. package/crates/sks-core/Cargo.toml +1 -1
  4. package/dist/cli/command-manifest-lite.js +0 -2
  5. package/dist/cli/command-registry.js +0 -2
  6. package/dist/commands/codex.js +3 -3
  7. package/dist/commands/doctor.js +5 -157
  8. package/dist/config/skills-manifest.json +1 -1
  9. package/dist/core/codex/codex-cli-syntax-builder.js +0 -8
  10. package/dist/core/codex-app/codex-models-cache.js +2 -1
  11. package/dist/core/codex-app/menubar/constants.js +0 -8
  12. package/dist/core/codex-compat/codex-capability-matrix.js +7 -7
  13. package/dist/core/codex-compat/codex-compat-report.js +8 -12
  14. package/dist/core/codex-compat/codex-runtime-contract.js +62 -0
  15. package/dist/core/codex-compat/codex-version-policy.js +7 -7
  16. package/dist/core/codex-control/codex-current-app-capability.js +3 -3
  17. package/dist/core/codex-control/codex-current-capability.js +67 -94
  18. package/dist/core/codex-control/codex-current-core-capability.js +3 -3
  19. package/dist/core/codex-control/codex-current-core-probe-runner.js +4 -4
  20. package/dist/core/codex-control/codex-current-core-real-probes.js +2 -2
  21. package/dist/core/codex-control/codex-current-feature-capability.js +4 -4
  22. package/dist/core/codex-control/codex-current-image-path-real-probe.js +1 -1
  23. package/dist/core/codex-control/codex-current-web-search-probe.js +1 -1
  24. package/dist/core/codex-control/codex-sdk-capability.js +2 -2
  25. package/dist/core/commands/remote-command.js +2 -2
  26. package/dist/core/context7-client.js +5 -2
  27. package/dist/core/doctor/codex-current-core-probe-doctor.js +2 -2
  28. package/dist/core/doctor/doctor-dirty-planner.js +1 -1
  29. package/dist/core/doctor/doctor-readiness-matrix.js +0 -7
  30. package/dist/core/feature-fixtures.js +0 -4
  31. package/dist/core/feature-registry.js +0 -1
  32. package/dist/core/image-ux-review.js +3 -3
  33. package/dist/core/install/installed-package-smoke.js +2 -3
  34. package/dist/core/mad-sks/sql-plane/mcp-executor.js +4 -3
  35. package/dist/core/mcp/modern-protocol.js +36 -0
  36. package/dist/core/mcp-config/health-check.js +45 -30
  37. package/dist/core/perf/release-latency-slo.js +1 -2
  38. package/dist/core/proof/runtime-truth-matrix.js +1 -1
  39. package/dist/core/release/canonical-test-proof.js +1 -1
  40. package/dist/core/release/gate-manifest.js +1 -2
  41. package/dist/core/release/physical-release-gates.js +0 -26
  42. package/dist/core/release/release-gate-affected-selector.js +0 -1
  43. package/dist/core/release/release-gate-contract.js +1 -1
  44. package/dist/core/release/release-pack-receipt.js +0 -1
  45. package/dist/core/release/stage-publish.js +1 -1
  46. package/dist/core/version.js +1 -1
  47. package/dist/native/sks-menubar/Sources/AppDelegate.swift +1 -12
  48. package/dist/native/sks-menubar/Sources/ControlCenterWindowController.swift +2 -6
  49. package/dist/native/sks-menubar/Sources/RemoteCodingViewController.swift +28 -470
  50. package/dist/native/sks-menubar/Sources/SecureProcessEnvelope.swift +1 -43
  51. package/dist/scripts/codex-current-app-server-v2-check.js +9 -8
  52. package/dist/scripts/codex-current-binary-identity-check.js +2 -2
  53. package/dist/scripts/codex-current-capability-check.js +9 -7
  54. package/dist/scripts/codex-current-dependency-check.js +21 -0
  55. package/dist/scripts/docs-truthfulness-check.js +4 -19
  56. package/dist/scripts/fast-codex-service-tier-proof-check.js +0 -1
  57. package/dist/scripts/latest-version-guidance-check.js +1 -1
  58. package/dist/scripts/packlist-performance-check.js +0 -1
  59. package/dist/scripts/release-metadata-check.js +1 -1
  60. package/dist/vendor/openai-codex/latest/hooks/permission-request.command.input.schema.json +6 -0
  61. package/dist/vendor/openai-codex/latest/hooks/permission-request.command.output.schema.json +2 -16
  62. package/dist/vendor/openai-codex/latest/hooks/post-compact.command.input.schema.json +6 -0
  63. package/dist/vendor/openai-codex/latest/hooks/post-tool-use.command.input.schema.json +6 -0
  64. package/dist/vendor/openai-codex/latest/hooks/post-tool-use.command.output.schema.json +2 -16
  65. package/dist/vendor/openai-codex/latest/hooks/pre-compact.command.input.schema.json +6 -0
  66. package/dist/vendor/openai-codex/latest/hooks/pre-tool-use.command.input.schema.json +6 -0
  67. package/dist/vendor/openai-codex/latest/hooks/pre-tool-use.command.output.schema.json +2 -16
  68. package/dist/vendor/openai-codex/latest/hooks/session-start.command.output.schema.json +2 -16
  69. package/dist/vendor/openai-codex/latest/hooks/snapshot-metadata.json +7 -5
  70. package/dist/vendor/openai-codex/latest/hooks/subagent-start.command.output.schema.json +4 -18
  71. package/dist/vendor/openai-codex/latest/hooks/user-prompt-submit.command.input.schema.json +6 -0
  72. package/dist/vendor/openai-codex/latest/hooks/user-prompt-submit.command.output.schema.json +2 -16
  73. package/package.json +3 -7
  74. package/release-gates.v2.json +10 -17
  75. package/config/codex-releases/rust-v0.146.0.json +0 -45
  76. package/dist/core/agents/agent-runner-codex-exec.js +0 -177
  77. package/dist/core/codex-compat/codex-release-manifest.js +0 -72
  78. package/dist/core/commands/telegram-command.js +0 -447
  79. package/dist/core/telegram/access.js +0 -58
  80. package/dist/core/telegram/client.js +0 -157
  81. package/dist/core/telegram/confirmation.js +0 -37
  82. package/dist/core/telegram/doctor.js +0 -159
  83. package/dist/core/telegram/index.js +0 -9
  84. package/dist/core/telegram/keychain.js +0 -317
  85. package/dist/core/telegram/liveness.js +0 -124
  86. package/dist/core/telegram/poller.js +0 -90
  87. package/dist/core/telegram/redaction.js +0 -15
  88. package/dist/core/telegram/state-lock.js +0 -416
  89. package/dist/core/telegram/types.js +0 -1
  90. package/dist/native/sks-menubar/Sources/RemoteCodingSettingsControls.swift +0 -160
  91. package/dist/native/sks-menubar/Sources/TelegramPrivateFileStore.swift +0 -498
  92. package/dist/native/sks-menubar/Sources/TelegramPrivateFileSupport.swift +0 -236
  93. package/dist/native/sks-menubar/Sources/TelegramProcessGateway.swift +0 -454
  94. package/dist/native/sks-menubar/Sources/TelegramRuntimeSupport.swift +0 -56
  95. package/dist/native/sks-menubar/Sources/TelegramStateLock.swift +0 -448
  96. package/dist/native/sks-menubar/Sources/TelegramSupport.swift +0 -244
  97. package/dist/native/sks-menubar/Sources/TelegramTransport.swift +0 -499
  98. package/dist/scripts/codex-current-manifest-check.js +0 -29
  99. package/schemas/codex/app-server-0.146/codex_app_server_protocol.v2.schemas.json +0 -19858
@@ -4,14 +4,16 @@ import { CODEX_CURRENT_FEATURE_KEYS, detectCodexCurrentCapability, writeCodexCur
4
4
  const requireReal = process.argv.includes('--require-real') || process.env.SKS_REQUIRE_CODEX_CURRENT === '1';
5
5
  if (!requireReal)
6
6
  process.env.SKS_CODEX_CURRENT_FAKE = '1';
7
- const cap = await detectCodexCurrentCapability({ requireReal });
8
- assertGate(cap.ok === true, 'Current Codex 0.146.0 capability probe must pass', cap);
9
- assertGate(Object.keys(cap.feature_states).length === CODEX_CURRENT_FEATURE_KEYS.length, 'Current Codex 0.146.0 feature count mismatch', cap);
10
- assertGate(Object.values(cap.feature_states).every((state) => String(state.certainty) !== 'assumed_by_version'), 'Current Codex 0.146.0 capability must not use assumed_by_version evidence', cap);
7
+ const artifact = requireReal
8
+ ? await writeCodexCurrentCapabilityArtifacts(process.cwd(), { requireReal: true })
9
+ : null;
10
+ const cap = artifact?.report || await detectCodexCurrentCapability({ requireReal });
11
+ assertGate(cap.ok === true, 'Current package-derived Codex capability probe must pass', cap);
12
+ assertGate(Object.keys(cap.feature_states).length === CODEX_CURRENT_FEATURE_KEYS.length, 'Current Codex feature count mismatch', cap);
13
+ assertGate(Object.values(cap.feature_states).every((state) => String(state.certainty) !== 'assumed_by_version'), 'Current Codex capability must not use assumed_by_version evidence', cap);
11
14
  if (requireReal) {
12
- assertGate(cap.probe_mode === 'real-schema', 'Current Codex 0.146.0 require-real must use generated schema evidence', cap);
13
- assertGate(cap.release_authorizing === true, 'Current Codex 0.146.0 require-real must be release-authorizing', cap);
14
- await writeCodexCurrentCapabilityArtifacts(process.cwd(), { requireReal: true });
15
+ assertGate(cap.probe_mode === 'real-schema', 'Current Codex require-real must use generated schema evidence', cap);
16
+ assertGate(cap.release_authorizing === true, 'Current Codex require-real must be release-authorizing', cap);
15
17
  }
16
18
  emitGate('codex:current:capability', {
17
19
  features: CODEX_CURRENT_FEATURE_KEYS.length,
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ import { assertGate, emitGate, readJson } from './gate-lib.js';
3
+ import { CURRENT_CODEX_RUNTIME_CONTRACT, codexSdkDependencyVersion } from '../core/codex-compat/codex-runtime-contract.js';
4
+ const pkg = readJson('package.json');
5
+ const lock = readJson('package-lock.json');
6
+ const expected = codexSdkDependencyVersion();
7
+ const lockSdk = lock.packages?.['node_modules/@openai/codex-sdk']?.version;
8
+ const lockCli = lock.packages?.['node_modules/@openai/codex']?.version;
9
+ const lockRootVersion = lock.packages?.['']?.version || lock.version;
10
+ const packageFiles = Array.isArray(pkg.files) ? pkg.files.map(String) : [];
11
+ assertGate(pkg.dependencies?.['@openai/codex-sdk'] === expected, 'package.json must pin @openai/codex-sdk to one exact semver', { expected });
12
+ assertGate(lockSdk === expected, 'package-lock must resolve @openai/codex-sdk to the package.json pin', { expected, lockSdk });
13
+ assertGate(lockCli === expected, 'package-lock must resolve @openai/codex to the SDK dependency version', { expected, lockCli });
14
+ assertGate(pkg.version === lockRootVersion, 'package version must match package-lock root version', { version: pkg.version, lockRootVersion });
15
+ assertGate(!packageFiles.some((entry) => entry.startsWith('config/codex-releases/')), 'package must not ship a second version-specific Codex release manifest', { packageFiles });
16
+ assertGate(!packageFiles.some((entry) => entry.startsWith('schemas/codex/app-server-')), 'package must generate the current App Server schema from the resolved runtime instead of shipping a versioned snapshot', { packageFiles });
17
+ emitGate('codex:current:dependency-graph', {
18
+ dependency_source: CURRENT_CODEX_RUNTIME_CONTRACT.dependencySource,
19
+ sdk_version: expected,
20
+ target_tag: CURRENT_CODEX_RUNTIME_CONTRACT.targetTag
21
+ });
@@ -19,13 +19,13 @@ const files = [
19
19
  'docs/release-readiness.md'
20
20
  ];
21
21
  const required = {
22
- 'README.md': ['CHANGELOG.md', 'docs/release-readiness.md', 'gpt-image-2', 'Telegram Bot API', '`sks telegram pair`'],
22
+ 'README.md': ['CHANGELOG.md', 'docs/release-readiness.md', 'gpt-image-2', 'https://paseo.sh/', 'paseo run --provider codex'],
23
23
  'CHANGELOG.md': ['1.14.0', 'DFix Extreme Speed Kernel', 'hook trust doctor', 'warning-zero'],
24
24
  'docs/computer-use-evidence.md': ['sks.computer-use-live-evidence.v1', 'probe_only', 'live_capture_blocked', 'local-only', 'Codex Chrome Extension'],
25
25
  'docs/codex-lb.md': ['durable_env_file', 'durable_keychain', 'shell_profile', 'process_only_ephemeral', 'base URL only'],
26
- 'docs/codex-cli-compat.md': ['rust-v0.146.0', 'minimumSupportedVersion', '0.146.0', 'SubagentStart', 'sks_zero_warning_disallowed', 'strict subset'],
27
- 'docs/codex-app.md': ['rust-v0.146.0', 'App Server v2', 'Codex Chrome Extension', 'gpt-image-2'],
28
- 'docs/official-docs-compat.md': ['official-docs-compat-report.js', 'rust-v0.146.0', 'gpt-image-2', 'input_fidelity', 'additionalProperties:false'],
26
+ 'docs/codex-cli-compat.md': ['package.json', 'runtime-generated', 'SubagentStart', 'sks_zero_warning_disallowed', 'strict subset'],
27
+ 'docs/codex-app.md': ['package.json', 'App Server v2', 'Codex Chrome Extension', 'gpt-image-2'],
28
+ 'docs/official-docs-compat.md': ['official-docs-compat-report.js', 'runtime-generated', 'gpt-image-2', 'input_fidelity', 'additionalProperties:false'],
29
29
  'docs/hooks-pat.md': ['SubagentStop', 'strict subset', 'zero-warning'],
30
30
  'docs/goal-to-loop-migration.md': ['only persisted goal owner', 'creates no SKS mission', '--legacy-goal-runtime', 'fail with an instruction'],
31
31
  'docs/known-gaps.md': ['No P0', 'P1'],
@@ -91,21 +91,6 @@ for (const file of files) {
91
91
  forbidden: forbiddenMatches
92
92
  });
93
93
  }
94
- const readmeText = fs.readFileSync(path.join(root, 'README.md'), 'utf8');
95
- const telegramOnboardingSteps = [
96
- 'sks telegram setup --token-stdin',
97
- 'sks menubar restart',
98
- 'sks telegram pair --json',
99
- '/sks status {}'
100
- ];
101
- const telegramOnboardingIndexes = telegramOnboardingSteps.map((step) => readmeText.indexOf(step));
102
- const telegramOnboardingOrdered = telegramOnboardingIndexes.every((index, position) => index >= 0 && (position === 0 || index > telegramOnboardingIndexes[position - 1]));
103
- results.push({
104
- file: 'README.md#telegram-onboarding-order',
105
- ok: telegramOnboardingOrdered,
106
- missing: telegramOnboardingOrdered ? [] : telegramOnboardingSteps,
107
- forbidden: []
108
- });
109
94
  for (const file of currentDollarSurfaceFiles) {
110
95
  const full = path.join(root, file);
111
96
  const text = fs.existsSync(full) ? fs.readFileSync(full, 'utf8') : '';
@@ -28,7 +28,6 @@ fs.writeFileSync(path.join(reportDir, 'worker-process-report.json'), `${JSON.str
28
28
  const proof = await fastMode.writeFastModePropagationProof(temp, { policy: fastMode.resolveFastModePolicy({ fastMode: true }) });
29
29
  const ok = args.includes('-c')
30
30
  && args.includes('service_tier=fast')
31
- && !args.includes('--full-auto')
32
31
  && !args.includes('--dangerously-bypass-approvals-and-sandbox')
33
32
  && proof.ok === true;
34
33
  console.log(JSON.stringify({ schema: 'sks.fast-codex-service-tier-proof-check.v1', ok, args, proof }, null, 2));
@@ -5,7 +5,7 @@ import { assertGate, emitGate, importDist, root } from './gate-lib.js';
5
5
  const { scanLatestVersionGuidance, latestVersionGuidanceReport } = await importDist('core/policy/latest-version-guidance.js');
6
6
  const DOC_EXEMPT_RE = /(?:^|\/)(?:CHANGELOG|RECALLPULSE_[^/]*|known-gaps|release-proof-truth)\.md$|compat|codex-0|migration|legacy-upgrade|sks-4-migration|-tasks\.md$/i;
7
7
  const SOURCE_EXEMPT = new Set([
8
- 'src/core/codex-compat/codex-release-manifest.ts',
8
+ 'src/core/codex-compat/codex-runtime-contract.ts',
9
9
  'src/core/release/npm-stage-tarball-verifier-support.ts'
10
10
  ]);
11
11
  const SOURCE_EXEMPT_DIR_RE = /^src\/(?:scripts|vendor|generated)\//;
@@ -62,7 +62,6 @@ const packProof = writeNpmPackProof(root, info, packMs);
62
62
  const runtimeManifest = JSON.parse(fs.readFileSync(path.join(root, 'runtime-required-scripts.json'), 'utf8'));
63
63
  const runtimeScriptClosure = analyzeRuntimeScriptPackClosure(root);
64
64
  const customerPayloadForbidden = [
65
- 'dist/core/telegram/controller.js',
66
65
  'dist/core/agents/agent-cleanup-executor.js',
67
66
  'dist/core/release/npm-stage-tarball-verifier.js',
68
67
  'dist/core/release/npm-stage-tarball-verifier-support.js'
@@ -62,7 +62,7 @@ const requiredPackageScripts = [
62
62
  ];
63
63
  const requiredReleaseGates = [
64
64
  'architecture:guard',
65
- 'codex:current:manifest',
65
+ 'codex:current:dependency-graph',
66
66
  'codex:current:binary-identity',
67
67
  'codex:current:policy',
68
68
  'codex:current:app-server-v2',
@@ -10,6 +10,12 @@
10
10
  }
11
11
  },
12
12
  "properties": {
13
+ "agent_id": {
14
+ "type": "string"
15
+ },
16
+ "agent_type": {
17
+ "type": "string"
18
+ },
13
19
  "cwd": {
14
20
  "type": "string"
15
21
  },
@@ -2,21 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "additionalProperties": false,
4
4
  "definitions": {
5
- "HookEventNameWire": {
6
- "enum": [
7
- "PreToolUse",
8
- "PermissionRequest",
9
- "PostToolUse",
10
- "PreCompact",
11
- "PostCompact",
12
- "SessionStart",
13
- "UserPromptSubmit",
14
- "SubagentStart",
15
- "SubagentStop",
16
- "Stop"
17
- ],
18
- "type": "string"
19
- },
20
5
  "PermissionRequestBehaviorWire": {
21
6
  "enum": [
22
7
  "allow",
@@ -65,7 +50,8 @@
65
50
  "default": null
66
51
  },
67
52
  "hookEventName": {
68
- "$ref": "#/definitions/HookEventNameWire"
53
+ "const": "PermissionRequest",
54
+ "type": "string"
69
55
  }
70
56
  },
71
57
  "required": [
@@ -10,6 +10,12 @@
10
10
  }
11
11
  },
12
12
  "properties": {
13
+ "agent_id": {
14
+ "type": "string"
15
+ },
16
+ "agent_type": {
17
+ "type": "string"
18
+ },
13
19
  "cwd": {
14
20
  "type": "string"
15
21
  },
@@ -10,6 +10,12 @@
10
10
  }
11
11
  },
12
12
  "properties": {
13
+ "agent_id": {
14
+ "type": "string"
15
+ },
16
+ "agent_type": {
17
+ "type": "string"
18
+ },
13
19
  "cwd": {
14
20
  "type": "string"
15
21
  },
@@ -8,21 +8,6 @@
8
8
  ],
9
9
  "type": "string"
10
10
  },
11
- "HookEventNameWire": {
12
- "enum": [
13
- "PreToolUse",
14
- "PermissionRequest",
15
- "PostToolUse",
16
- "PreCompact",
17
- "PostCompact",
18
- "SessionStart",
19
- "UserPromptSubmit",
20
- "SubagentStart",
21
- "SubagentStop",
22
- "Stop"
23
- ],
24
- "type": "string"
25
- },
26
11
  "PostToolUseHookSpecificOutputWire": {
27
12
  "additionalProperties": false,
28
13
  "properties": {
@@ -31,7 +16,8 @@
31
16
  "type": "string"
32
17
  },
33
18
  "hookEventName": {
34
- "$ref": "#/definitions/HookEventNameWire"
19
+ "const": "PostToolUse",
20
+ "type": "string"
35
21
  },
36
22
  "updatedMCPToolOutput": {
37
23
  "default": null
@@ -10,6 +10,12 @@
10
10
  }
11
11
  },
12
12
  "properties": {
13
+ "agent_id": {
14
+ "type": "string"
15
+ },
16
+ "agent_type": {
17
+ "type": "string"
18
+ },
13
19
  "cwd": {
14
20
  "type": "string"
15
21
  },
@@ -10,6 +10,12 @@
10
10
  }
11
11
  },
12
12
  "properties": {
13
+ "agent_id": {
14
+ "type": "string"
15
+ },
16
+ "agent_type": {
17
+ "type": "string"
18
+ },
13
19
  "cwd": {
14
20
  "type": "string"
15
21
  },
@@ -2,21 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "additionalProperties": false,
4
4
  "definitions": {
5
- "HookEventNameWire": {
6
- "enum": [
7
- "PreToolUse",
8
- "PermissionRequest",
9
- "PostToolUse",
10
- "PreCompact",
11
- "PostCompact",
12
- "SessionStart",
13
- "UserPromptSubmit",
14
- "SubagentStart",
15
- "SubagentStop",
16
- "Stop"
17
- ],
18
- "type": "string"
19
- },
20
5
  "PreToolUseDecisionWire": {
21
6
  "enum": [
22
7
  "approve",
@@ -32,7 +17,8 @@
32
17
  "type": "string"
33
18
  },
34
19
  "hookEventName": {
35
- "$ref": "#/definitions/HookEventNameWire"
20
+ "const": "PreToolUse",
21
+ "type": "string"
36
22
  },
37
23
  "permissionDecision": {
38
24
  "allOf": [
@@ -2,21 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "additionalProperties": false,
4
4
  "definitions": {
5
- "HookEventNameWire": {
6
- "enum": [
7
- "PreToolUse",
8
- "PermissionRequest",
9
- "PostToolUse",
10
- "PreCompact",
11
- "PostCompact",
12
- "SessionStart",
13
- "UserPromptSubmit",
14
- "SubagentStart",
15
- "SubagentStop",
16
- "Stop"
17
- ],
18
- "type": "string"
19
- },
20
5
  "SessionStartHookSpecificOutputWire": {
21
6
  "additionalProperties": false,
22
7
  "properties": {
@@ -25,7 +10,8 @@
25
10
  "type": "string"
26
11
  },
27
12
  "hookEventName": {
28
- "$ref": "#/definitions/HookEventNameWire"
13
+ "const": "SessionStart",
14
+ "type": "string"
29
15
  }
30
16
  },
31
17
  "required": [
@@ -3,9 +3,10 @@
3
3
  "upstream": "openai/codex",
4
4
  "upstream_url": "https://github.com/openai/codex",
5
5
  "tag": "latest",
6
- "commit": "791b69dd53703e928cbbda4ca41cfc795b7397b0",
7
- "codex_version": "main-2026-05-21",
8
- "captured_at": "2026-05-21T11:46:38Z",
6
+ "source_tag": "rust-v0.147.0",
7
+ "commit": "be6e8eac029b183056b7e4402879f15d2c85f61b",
8
+ "codex_version": "0.147.0",
9
+ "captured_at": "2026-08-07T05:18:28Z",
9
10
  "schema_files_count": 20,
10
11
  "events": [
11
12
  "PreToolUse",
@@ -21,7 +22,8 @@
21
22
  ],
22
23
  "source_path": "codex-rs/hooks/schema/generated",
23
24
  "notes": [
24
- "Captured from upstream OpenAI Codex HEAD using vendored generated hook schema fixtures.",
25
- "SubagentStart and SubagentStop are release-blocking events for SKS 1.14.1 hook compatibility."
25
+ "Captured from the current package-tracked upstream OpenAI Codex release using generated hook schema fixtures.",
26
+ "The latest directory is version-neutral; source_tag and commit preserve capture provenance.",
27
+ "SubagentStart and SubagentStop are release-blocking events for SKS hook compatibility."
26
28
  ]
27
29
  }
@@ -2,22 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "additionalProperties": false,
4
4
  "definitions": {
5
- "HookEventNameWire": {
6
- "enum": [
7
- "PreToolUse",
8
- "PermissionRequest",
9
- "PostToolUse",
10
- "PreCompact",
11
- "PostCompact",
12
- "SessionStart",
13
- "UserPromptSubmit",
14
- "SubagentStart",
15
- "SubagentStop",
16
- "Stop"
17
- ],
18
- "type": "string"
19
- },
20
- "SessionStartHookSpecificOutputWire": {
5
+ "SubagentStartHookSpecificOutputWire": {
21
6
  "additionalProperties": false,
22
7
  "properties": {
23
8
  "additionalContext": {
@@ -25,7 +10,8 @@
25
10
  "type": "string"
26
11
  },
27
12
  "hookEventName": {
28
- "$ref": "#/definitions/HookEventNameWire"
13
+ "const": "SubagentStart",
14
+ "type": "string"
29
15
  }
30
16
  },
31
17
  "required": [
@@ -42,7 +28,7 @@
42
28
  "hookSpecificOutput": {
43
29
  "allOf": [
44
30
  {
45
- "$ref": "#/definitions/SessionStartHookSpecificOutputWire"
31
+ "$ref": "#/definitions/SubagentStartHookSpecificOutputWire"
46
32
  }
47
33
  ],
48
34
  "default": null
@@ -10,6 +10,12 @@
10
10
  }
11
11
  },
12
12
  "properties": {
13
+ "agent_id": {
14
+ "type": "string"
15
+ },
16
+ "agent_type": {
17
+ "type": "string"
18
+ },
13
19
  "cwd": {
14
20
  "type": "string"
15
21
  },
@@ -8,21 +8,6 @@
8
8
  ],
9
9
  "type": "string"
10
10
  },
11
- "HookEventNameWire": {
12
- "enum": [
13
- "PreToolUse",
14
- "PermissionRequest",
15
- "PostToolUse",
16
- "PreCompact",
17
- "PostCompact",
18
- "SessionStart",
19
- "UserPromptSubmit",
20
- "SubagentStart",
21
- "SubagentStop",
22
- "Stop"
23
- ],
24
- "type": "string"
25
- },
26
11
  "UserPromptSubmitHookSpecificOutputWire": {
27
12
  "additionalProperties": false,
28
13
  "properties": {
@@ -31,7 +16,8 @@
31
16
  "type": "string"
32
17
  },
33
18
  "hookEventName": {
34
- "$ref": "#/definitions/HookEventNameWire"
19
+ "const": "UserPromptSubmit",
20
+ "type": "string"
35
21
  }
36
22
  },
37
23
  "required": [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sneakoscope",
3
3
  "displayName": "ㅅㅋㅅ",
4
- "version": "8.2.1",
4
+ "version": "8.3.0",
5
5
  "description": "Sneakoscope Codex (`sks`) is an open-source trust layer for Codex CLI and ChatGPT Desktop. It coordinates bounded AI coding agents, records machine-verifiable evidence, preserves project memory, and blocks release claims that are not supported by current tests or artifacts. Search visibility outcomes are measured separately; SKS does not promise rankings or traffic.",
6
6
  "type": "module",
7
7
  "homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
@@ -41,7 +41,7 @@
41
41
  "dist/scripts/canonical-test-runner.js",
42
42
  "dist/scripts/desktop-bridge-transport-client.js",
43
43
  "dist/scripts/release-version-truth-check.js",
44
- "dist/scripts/{agent-guidance-dedup-check.js,agent-message-bus-reader-check.js,all-feature-deep-completion-check.js,appshots-thread-attachment-discovery-check.js,architecture-guard-check.js,certificate-sla-check.js,check-runtime-schemas.js,cli-output-consistency-check.js,codex-current-app-server-v2-check.js,codex-current-binary-identity-check.js,codex-current-capability-check.js,codex-current-core-real-probes-check.js,codex-current-manifest-check.js,codex-current-policy-check.js,codex-current-thread-store-check.js,codex-agent-role-rich-content-check.js,codex-agent-role-sync-check.js,codex-agent-type-routing-check.js,codex-app-execution-profile-check.js,codex-app-fast-ui-preservation-check.js,codex-app-handoff-check.js,codex-app-handoff-launch-check.js,codex-config-load-probe.js,context-graph-check.js,codex-control-all-pipelines-check.js,codex-control-event-stream-ledger-check.js,codex-control-tool-output-continuity-audit-check.js,desktop-bridge-transport-check.js,desktop-bridge-latency-check.js,desktop-bridge-capabilities-check.js,desktop-bridge-real-evidence-check.js,codex-native-agent-role-content-check.js,codex-native-feature-broker-blackbox.js,codex-native-feature-broker-check.js,codex-native-harness-compat-check.js,codex-native-hook-lifecycle-proof-check.js,codex-native-runtime-e2e-fixture.js,codex-plugin-app-template-policy-check.js,codex-sdk-all-pipelines-check.js,codex-sdk-backend-router-check.js,codex-sdk-capability-check.js,codex-sdk-event-stream-ledger-check.js,codex-sdk-real-smoke-check.js,concurrent-session-collision-check.js,context7-evidence-dedupe-check.js,core-skill-card-schema-check.js,core-skill-deployment-snapshot-check.js,core-skill-heldout-validation-check.js,core-skill-no-inference-optimizer-check.js,core-skill-patch-check.js,core-skill-route-runtime-integration-check.js,current-command-surface-check.js,current-surface-update-e2e-check.js,current-upgrade-matrix-check.js,desktop-bridge-unification-check.js,dfix-fixture-check.js,dfix-patch-handoff-check.js,dfix-verification-check.js,dfix-verification-recommendation-check.js,docs-truthfulness-check.js,doctor-codex-app-harness-check.js,doctor-fix-proves-codex-read-check.js,doctor-fixes-codex-app-fast-ui-check.js,evidence-flagship-coverage-check.js,fast-codex-service-tier-proof-check.js,fixtures/fake-codex-config-loader.js,gate-policy-audit-check.js,geo-claim-evidence-check.js,geo-cli-blackbox-check.js,geo-crawler-policy-check.js,git-worktree-checkpoint-check.js,git-worktree-cross-rebase-check.js,git-worktree-diff-envelope-check.js,git-worktree-dirty-lock-check.js,git-worktree-dirty-main-detection-check.js,git-worktree-integration-primary-check.js,git-worktree-manifest-append-check.js,git-worktree-untracked-diff-check.js,goal-artifact-compat-check.js,harness-benchmark-check.js,helper-dedup-check.js,hook-latency-budget-check.js,image-artifact-path-contract-check.js,imagegen-real-smoke-check.js,init-deep-backup-retention-check.js,installed-package-smoke-check.js,lib/codex-sdk-gate-lib.js,lib/ensure-dist-fresh.js,lib/git-worktree-fixture.js,lib/valid-png-fixture.js,local-collab-all-pipelines-final-gpt-check.js,loop-directive-check-lib.js,loop-integration-finalizer-check.js,loop-worker-fixture-child.js,mad-preflight-blocks-unreadable-config-check.js,mad-sks-app-ui-no-mutation-check.js}",
44
+ "dist/scripts/{agent-guidance-dedup-check.js,agent-message-bus-reader-check.js,all-feature-deep-completion-check.js,appshots-thread-attachment-discovery-check.js,architecture-guard-check.js,certificate-sla-check.js,check-runtime-schemas.js,cli-output-consistency-check.js,codex-current-app-server-v2-check.js,codex-current-binary-identity-check.js,codex-current-capability-check.js,codex-current-core-real-probes-check.js,codex-current-dependency-check.js,codex-current-policy-check.js,codex-current-thread-store-check.js,codex-agent-role-rich-content-check.js,codex-agent-role-sync-check.js,codex-agent-type-routing-check.js,codex-app-execution-profile-check.js,codex-app-fast-ui-preservation-check.js,codex-app-handoff-check.js,codex-app-handoff-launch-check.js,codex-config-load-probe.js,context-graph-check.js,codex-control-all-pipelines-check.js,codex-control-event-stream-ledger-check.js,codex-control-tool-output-continuity-audit-check.js,desktop-bridge-transport-check.js,desktop-bridge-latency-check.js,desktop-bridge-capabilities-check.js,desktop-bridge-real-evidence-check.js,codex-native-agent-role-content-check.js,codex-native-feature-broker-blackbox.js,codex-native-feature-broker-check.js,codex-native-harness-compat-check.js,codex-native-hook-lifecycle-proof-check.js,codex-native-runtime-e2e-fixture.js,codex-plugin-app-template-policy-check.js,codex-sdk-all-pipelines-check.js,codex-sdk-backend-router-check.js,codex-sdk-capability-check.js,codex-sdk-event-stream-ledger-check.js,codex-sdk-real-smoke-check.js,concurrent-session-collision-check.js,context7-evidence-dedupe-check.js,core-skill-card-schema-check.js,core-skill-deployment-snapshot-check.js,core-skill-heldout-validation-check.js,core-skill-no-inference-optimizer-check.js,core-skill-patch-check.js,core-skill-route-runtime-integration-check.js,current-command-surface-check.js,current-surface-update-e2e-check.js,current-upgrade-matrix-check.js,desktop-bridge-unification-check.js,dfix-fixture-check.js,dfix-patch-handoff-check.js,dfix-verification-check.js,dfix-verification-recommendation-check.js,docs-truthfulness-check.js,doctor-codex-app-harness-check.js,doctor-fix-proves-codex-read-check.js,doctor-fixes-codex-app-fast-ui-check.js,evidence-flagship-coverage-check.js,fast-codex-service-tier-proof-check.js,fixtures/fake-codex-config-loader.js,gate-policy-audit-check.js,geo-claim-evidence-check.js,geo-cli-blackbox-check.js,geo-crawler-policy-check.js,git-worktree-checkpoint-check.js,git-worktree-cross-rebase-check.js,git-worktree-diff-envelope-check.js,git-worktree-dirty-lock-check.js,git-worktree-dirty-main-detection-check.js,git-worktree-integration-primary-check.js,git-worktree-manifest-append-check.js,git-worktree-untracked-diff-check.js,goal-artifact-compat-check.js,harness-benchmark-check.js,helper-dedup-check.js,hook-latency-budget-check.js,image-artifact-path-contract-check.js,imagegen-real-smoke-check.js,init-deep-backup-retention-check.js,installed-package-smoke-check.js,lib/codex-sdk-gate-lib.js,lib/ensure-dist-fresh.js,lib/git-worktree-fixture.js,lib/valid-png-fixture.js,local-collab-all-pipelines-final-gpt-check.js,loop-directive-check-lib.js,loop-integration-finalizer-check.js,loop-worker-fixture-child.js,mad-preflight-blocks-unreadable-config-check.js,mad-sks-app-ui-no-mutation-check.js}",
45
45
  "dist/scripts/{latest-version-guidance-check.js,mad-sks-launch-sql-plane-boundary-check.js,mad-sks-sql-plane-capability-check.js,mad-sks-sql-plane-lifecycle-hook-decision-check.js,mad-sks-sql-plane-result-lifecycle-check.js,managed-config-merge-check.js,mcp-plugin-inventory-check.js,model-call-concurrency-check.js,mutation-callsite-analysis.js,mutation-callsite-coverage-check.js,naruto-ssot-gate-aliases-check.js,naruto-ssot-pipeline-default-check.js,naruto-ssot-route-normalization-check.js,naruto-ssot-routing-check.js,naruto-worktree-coding-blackbox.js,native-capability-repair-matrix-check.js,native-image-generation-repair-check.js,official-subagent-workflow-check.js,package-published-contract-check.js,packlist-performance-check.js,pipeline-codex-native-doctor-mad-routing-check.js,pipeline-codex-native-doctor-mad-routing-real-blackbox.js,pipeline-codex-native-image-routing-check.js,pipeline-codex-native-image-routing-real-blackbox.js,pipeline-codex-native-loop-routing-check.js,pipeline-codex-native-loop-routing-real-blackbox.js,pipeline-codex-native-qa-routing-check.js,pipeline-codex-native-qa-routing-real-blackbox.js,pipeline-codex-native-research-routing-check.js,pipeline-codex-native-research-routing-real-blackbox.js,ppt-full-e2e-blackbox-check.js,ppt-real-export-adapter-check.js,ppt-real-imagegen-smoke-check.js,ppt-real-imagegen-wiring-check.js,ppt-reexport-rereview-check.js,prepublish-fast-check.js,publish-preflight.js,prepublish-release-check-or-fast.js,probe-memoization-check.js,product-design-plugin-routing-check.js,prompt-placeholder-guard-check.js,proof-root-cause-policy-check.js,provider-badge-context-check.js,python-codex-sdk-all-pipelines-check.js,qa-loop-app-handoff-capability-check.js,qa-loop-app-handoff-check.js,qa-loop-app-handoff-cli-check.js,qa-loop-app-handoff-confirmation-check.js,qa-loop-app-handoff-gate-lifecycle-check.js,qa-loop-app-handoff-launch-check.js,qa-loop-app-handoff-status-lifecycle-check.js,qa-loop-budget-policy-check.js,qa-loop-effort-escalation-check.js,qa-loop-execution-profile-routing-check.js,qa-loop-image-path-exposure-check.js,qa-loop-image-path-prompt-injection-check.js,release-affected-selector-check.js,release-aggressive-resource-governor-check.js,release-cache-glob-hashing-check.js,release-cache-input-classifier-check.js,release-cache-neutralization-report-check.js,release-cache-version-neutral-fixture-check.js,release-check-stamp.js,release-dynamic-presets-check.js,release-full-parallelism-blackbox.js,release-gate-batch-runner-check.js,release-gate-budget-check.js,release-gate-dag-runner-check.js,release-gate-dag-runner.js,release-latency-slo-check.js,release-metadata-check.js,release-pack-receipt.js,release-parallel-speed-budget-check.js,release-physical-gates-check.js,release-proof-truth-check.js,release-provenance-check.js,release-real-check.js,release-runtime-truth-matrix-check.js,release-speed-summary.js,research-blueprint-densifier-check.js,research-claim-builder-check.js,research-complete-package-fixture-check.js,research-execution-profile-routing-check.js,research-final-reviewer-blackbox.js,responses-retry-policy-centralized-check.js,runtime-proof-summary-check.js,runtime-script-pack-closure-check.js,scheduler-batch-dispatch-check.js,scheduler-parallel-proof-consistency-check.js,scheduler-utilization-integral-check.js,search-visibility-gate-lib.js,secret-preservation-check.js,seo-audit-fixture-check.js,seo-cli-blackbox-check.js,seo-geo-geo-disambiguation-check.js,seo-geo-route-identity-check.js,seo-geo-skill-rich-content-check.js,seo-no-mutation-by-default-check.js,shared-memory-fixture-check.js,side-effect-runtime-report-check.js,skill-name-canonicalizer-check.js,skill-surface-modernization-check.js,skills-manifest-continuity-check.js,sks-cli-gate-lib.js}",
46
46
  "dist/scripts/{real-execution-check-lib.js,gate-lib.js,runtime-domain-gate-lib.js,typed-routing-gate-lib.js,codex-native-gate-lib.js,skill-fixture-check-lib.js,sks-uninstall-regression-check.js,sksd-daemon-check.js,super-search-provider-interface-check.js,triwiki-cache-key-check.js,triwiki-proof-bank-blackbox.js,triwiki-proof-bank-check.js,triwiki-proof-card-check.js,trust-fixture-check.js,type-surface-codex-app-check.js,ultra-router-auto-router-check.js,uninstall-inventory-check.js,install-surface-ssot-check.js,ux-review-extract-wires-real-extractor-check.js,ux-review-imagegen-blackbox-check.js,ux-review-patch-diff-recheck-check.js,ux-review-real-imagegen-smoke-check.js,ux-review-run-wires-imagegen-check.js,wrongness-fixture-check.js}",
47
47
  "dist/scripts/check-publish-tag.js",
@@ -55,8 +55,6 @@
55
55
  "!dist/core/proof/route-finalizer-fixtures.js",
56
56
  "!dist/core/release/npm-stage-tarball-verifier.js",
57
57
  "!dist/core/release/npm-stage-tarball-verifier-support.js",
58
- "!dist/vendor/openai-codex/rust-v0.131.0",
59
- "config/codex-releases/rust-v0.146.0.json",
60
58
  "config/installed-public-surface-closure.v1.json",
61
59
  "config/competitor-scorecard-baseline.json",
62
60
  "config/architecture-budgets.v1.json",
@@ -66,8 +64,6 @@
66
64
  "infra-harness-gates.json",
67
65
  "runtime-required-scripts.json",
68
66
  "schemas",
69
- "!schemas/codex/app-server-*/**",
70
- "schemas/codex/app-server-0.146/codex_app_server_protocol.v2.schemas.json",
71
67
  "crates/sks-core/Cargo.lock",
72
68
  "crates/sks-core/Cargo.toml",
73
69
  "crates/sks-core/src",
@@ -203,7 +199,7 @@
203
199
  "dependencies": {
204
200
  "@modelcontextprotocol/client": "2.0.0",
205
201
  "@modelcontextprotocol/server": "2.0.0",
206
- "@openai/codex-sdk": "0.146.0",
202
+ "@openai/codex-sdk": "0.147.0",
207
203
  "smol-toml": "^1.7.0",
208
204
  "typescript": "^5.9.3"
209
205
  },
@@ -1837,9 +1837,7 @@
1837
1837
  "src/core/codex-compat/**",
1838
1838
  "src/core/codex-runtime/**",
1839
1839
  "src/core/codex-app-server/**",
1840
- "config/codex-releases/**",
1841
- "schemas/codex-*.json",
1842
- "schemas/codex/**"
1840
+ "schemas/codex-*.json"
1843
1841
  ]
1844
1842
  },
1845
1843
  "isolation": {
@@ -3805,8 +3803,8 @@
3805
3803
  "output_contract": "sks.gate-result.v2"
3806
3804
  },
3807
3805
  {
3808
- "id": "codex:current:manifest",
3809
- "command": "node ./dist/scripts/codex-current-manifest-check.js",
3806
+ "id": "codex:current:dependency-graph",
3807
+ "command": "node ./dist/scripts/codex-current-dependency-check.js",
3810
3808
  "deps": [],
3811
3809
  "resource": [
3812
3810
  "cpu-light",
@@ -3822,9 +3820,7 @@
3822
3820
  "release-gates.v2.json",
3823
3821
  "src/core/codex-control/**",
3824
3822
  "src/core/codex-compat/**",
3825
- "src/core/codex-runtime/**",
3826
- "config/codex-releases/**",
3827
- "schemas/codex/**"
3823
+ "src/core/codex-runtime/**"
3828
3824
  ]
3829
3825
  },
3830
3826
  "isolation": {
@@ -3841,7 +3837,7 @@
3841
3837
  "id": "codex:current:binary-identity",
3842
3838
  "command": "node ./dist/scripts/codex-current-binary-identity-check.js",
3843
3839
  "deps": [
3844
- "codex:current:manifest"
3840
+ "codex:current:dependency-graph"
3845
3841
  ],
3846
3842
  "resource": [
3847
3843
  "cpu-light",
@@ -3874,7 +3870,7 @@
3874
3870
  "id": "codex:current:policy",
3875
3871
  "command": "node ./dist/scripts/codex-current-policy-check.js",
3876
3872
  "deps": [
3877
- "codex:current:manifest"
3873
+ "codex:current:dependency-graph"
3878
3874
  ],
3879
3875
  "resource": [
3880
3876
  "cpu-light",
@@ -3905,7 +3901,7 @@
3905
3901
  "id": "codex:current:app-server-v2",
3906
3902
  "command": "node ./dist/scripts/codex-current-app-server-v2-check.js",
3907
3903
  "deps": [
3908
- "codex:current:manifest"
3904
+ "codex:current:dependency-graph"
3909
3905
  ],
3910
3906
  "resource": [
3911
3907
  "cpu-light",
@@ -3920,7 +3916,6 @@
3920
3916
  "release-gates.v2.json",
3921
3917
  "src/core/codex-control/**",
3922
3918
  "src/core/codex-compat/**",
3923
- "schemas/codex/app-server-0.146/**",
3924
3919
  "src/scripts/codex-current-app-server-v2-check.ts"
3925
3920
  ]
3926
3921
  },
@@ -3938,7 +3933,7 @@
3938
3933
  "id": "codex:current:thread-store",
3939
3934
  "command": "node ./dist/scripts/codex-current-thread-store-check.js",
3940
3935
  "deps": [
3941
- "codex:current:manifest"
3936
+ "codex:current:dependency-graph"
3942
3937
  ],
3943
3938
  "resource": [
3944
3939
  "cpu-light",
@@ -3969,7 +3964,7 @@
3969
3964
  "id": "codex:current:capability",
3970
3965
  "command": "node ./dist/scripts/codex-current-capability-check.js",
3971
3966
  "deps": [
3972
- "codex:current:manifest",
3967
+ "codex:current:dependency-graph",
3973
3968
  "codex:current:binary-identity",
3974
3969
  "codex:current:app-server-v2"
3975
3970
  ],
@@ -3987,9 +3982,7 @@
3987
3982
  "release-gates.v2.json",
3988
3983
  "src/core/codex-control/**",
3989
3984
  "src/core/codex-compat/**",
3990
- "src/core/codex-runtime/**",
3991
- "config/codex-releases/**",
3992
- "schemas/codex/app-server-0.146/**"
3985
+ "src/core/codex-runtime/**"
3993
3986
  ]
3994
3987
  },
3995
3988
  "isolation": {