sneakoscope 5.12.0 → 6.0.1

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 (141) hide show
  1. package/README.md +1 -1
  2. package/config/bench-baseline.json +3 -3
  3. package/config/perf-budgets.v1.json +11 -6
  4. package/crates/sks-core/Cargo.lock +1 -1
  5. package/crates/sks-core/Cargo.toml +1 -1
  6. package/crates/sks-core/src/main.rs +1 -1
  7. package/dist/bin/fast-inline.js +55 -0
  8. package/dist/bin/sks-dispatch.js +29 -0
  9. package/dist/bin/sks.js +2 -2
  10. package/dist/cli/codex-app-command.js +2 -2
  11. package/dist/cli/install-helpers.js +88 -73
  12. package/dist/cli/router.js +43 -26
  13. package/dist/commands/doctor.js +3 -4
  14. package/dist/config/skills-manifest.json +57 -57
  15. package/dist/core/agents/agent-effort-policy.js +9 -9
  16. package/dist/core/agents/native-cli-session-swarm.js +0 -1
  17. package/dist/core/agents/native-cli-worker.js +0 -6
  18. package/dist/core/auto-review.js +7 -7
  19. package/dist/core/codex/agent-config-file-repair.js +1 -4
  20. package/dist/core/codex/codex-config-guard.js +18 -12
  21. package/dist/core/codex/codex-config-toml.js +17 -35
  22. package/dist/core/codex/codex-project-config-policy.js +8 -4
  23. package/dist/core/codex-adapter.js +2 -2
  24. package/dist/core/codex-app/codex-agent-type-probe.js +29 -9
  25. package/dist/core/codex-app/codex-app-fast-ui-repair.js +42 -4
  26. package/dist/core/codex-app.js +5 -7
  27. package/dist/core/codex-control/codex-model-capabilities.js +2 -1
  28. package/dist/core/codex-control/codex-model-metadata.js +3 -2
  29. package/dist/core/codex-control/codex-sdk-config-policy.js +2 -1
  30. package/dist/core/codex-control/codex-task-runner.js +7 -2
  31. package/dist/core/codex-control/codex-thread-registry.js +8 -26
  32. package/dist/core/codex-model-guard.js +50 -6
  33. package/dist/core/commands/fast-mode-command.js +1 -1
  34. package/dist/core/commands/mad-sks-command.js +36 -1
  35. package/dist/core/commands/naruto-command.js +127 -37
  36. package/dist/core/commands/profile-command.js +7 -6
  37. package/dist/core/commands/run-command.js +29 -8
  38. package/dist/core/commands/ui-command.js +42 -4
  39. package/dist/core/daemon/sksd-hook-daemon-entrypoint.js +12 -0
  40. package/dist/core/daemon/sksd-hook-daemon.js +178 -0
  41. package/dist/core/daemon/sksd-hook-dispatch.js +36 -0
  42. package/dist/core/doctor/doctor-codex-startup-repair.js +2 -2
  43. package/dist/core/fsx.js +11 -2
  44. package/dist/core/hooks-runtime/hook-io.js +132 -0
  45. package/dist/core/hooks-runtime.js +5 -126
  46. package/dist/core/image-ux-review/imagegen-adapter.js +2 -1
  47. package/dist/core/init/skills.js +8 -7
  48. package/dist/core/init.js +40 -25
  49. package/dist/core/locks/file-lock.js +96 -16
  50. package/dist/core/mad-db/mad-db-coordinator.js +11 -3
  51. package/dist/core/mad-db/mad-db-executor.js +17 -1
  52. package/dist/core/mad-db/mad-db-ledger.js +7 -1
  53. package/dist/core/mad-db/mad-db-lock.js +8 -30
  54. package/dist/core/mad-db/mad-db-policy-resolver.js +2 -0
  55. package/dist/core/mad-db/mad-db-postconditions.js +19 -4
  56. package/dist/core/mad-db/mad-db-recovery.js +2 -0
  57. package/dist/core/mad-db/mad-db-runtime-profile.js +8 -0
  58. package/dist/core/mad-sks/executors/db-write-executor.js +11 -7
  59. package/dist/core/mad-sks/executors/executor-base.js +15 -2
  60. package/dist/core/mad-sks/executors/file-write-executor.js +3 -1
  61. package/dist/core/mad-sks/executors/package-install-executor.js +3 -1
  62. package/dist/core/mad-sks/executors/service-control-executor.js +3 -1
  63. package/dist/core/mad-sks/executors/shell-command-executor.js +3 -1
  64. package/dist/core/mad-sks/executors/sql-plane-executor.js +9 -1
  65. package/dist/core/managed-assets/managed-assets-manifest.js +2 -2
  66. package/dist/core/naruto/naruto-active-pool.js +2 -0
  67. package/dist/core/naruto/naruto-real-worker-child.js +1 -0
  68. package/dist/core/naruto/naruto-real-worker-runtime.js +54 -3
  69. package/dist/core/naruto/naruto-real-write-proof.js +9 -1
  70. package/dist/core/naruto/naruto-verification-dag.js +15 -2
  71. package/dist/core/naruto/naruto-write-e2e.js +1 -0
  72. package/dist/core/perf/perf-budget.js +8 -32
  73. package/dist/core/pipeline-internals/runtime-core.js +1 -1
  74. package/dist/core/pipeline-internals/runtime-gates.js +1 -1
  75. package/dist/core/proof/evidence-collector.js +2 -0
  76. package/dist/core/proof/route-finalizer.js +1 -0
  77. package/dist/core/provider/model-router.js +6 -5
  78. package/dist/core/release/release-gate-affected-selector.js +7 -3
  79. package/dist/core/routes/constants.js +5 -1
  80. package/dist/core/routes/dollar-manifest-lite.js +3 -3
  81. package/dist/core/routes.js +11 -1
  82. package/dist/core/update/update-migration-state.js +97 -24
  83. package/dist/core/version.js +1 -1
  84. package/dist/scripts/agent-role-config-repair-check.js +4 -2
  85. package/dist/scripts/build-dist.js +3 -1
  86. package/dist/scripts/codex-app-ui-preservation-check.js +19 -10
  87. package/dist/scripts/codex-lb-fast-ui-preservation-check.js +8 -9
  88. package/dist/scripts/codex-lb-gpt55-fast-profile-check.js +8 -7
  89. package/dist/scripts/codex-sdk-all-pipelines-check.js +1 -3
  90. package/dist/scripts/coding-bench-check.js +8 -2
  91. package/dist/scripts/doctor-fixes-codex-app-fast-ui-check.js +3 -3
  92. package/dist/scripts/install-update-preserves-config-check.js +7 -2
  93. package/dist/scripts/naruto-actual-worker-control-plane-check.js +1 -1
  94. package/dist/scripts/naruto-extreme-parallelism-real-check.js +3 -1
  95. package/dist/scripts/naruto-real-active-pool-runtime-check.js +6 -1
  96. package/dist/scripts/naruto-shadow-clone-swarm-check.js +5 -3
  97. package/dist/scripts/release-affected-selector-check.js +4 -4
  98. package/dist/scripts/release-gate-dag-runner-check.js +4 -6
  99. package/dist/scripts/release-provenance-check.js +4 -1
  100. package/dist/scripts/release-version-truth-check.js +8 -2
  101. package/dist/scripts/sizecheck.js +6 -3
  102. package/package.json +3 -3
  103. package/dist/scripts/agent-codex-child-overlap-check.js +0 -21
  104. package/dist/scripts/agent-model-authored-patch-envelope-check.js +0 -15
  105. package/dist/scripts/agent-native-cli-session-proof-check.js +0 -7
  106. package/dist/scripts/agent-no-subagent-scaling-check.js +0 -7
  107. package/dist/scripts/brand-neutrality-rename-map-check.js +0 -4
  108. package/dist/scripts/changelog-loop-productionization-check.js +0 -3
  109. package/dist/scripts/cli-check-tiers-check.js +0 -10
  110. package/dist/scripts/codex-0139-code-mode-web-search-check.js +0 -25
  111. package/dist/scripts/codex-agent-type-probe-check.js +0 -4
  112. package/dist/scripts/codex-native-interop-policy-check.js +0 -4
  113. package/dist/scripts/codex-sdk-core-skill-pipeline-check.js +0 -9
  114. package/dist/scripts/codex-sdk-dfix-pipeline-check.js +0 -9
  115. package/dist/scripts/core-skill-legacy-promotion-api-audit.js +0 -54
  116. package/dist/scripts/docs-brand-neutrality-check.js +0 -4
  117. package/dist/scripts/doctor-codex-0138-fix-check.js +0 -10
  118. package/dist/scripts/doctor-codex-0139-real-probes-check.js +0 -25
  119. package/dist/scripts/doctor-codex-doctor-parity-check.js +0 -17
  120. package/dist/scripts/doctor-codex-native-readiness-ux-check.js +0 -29
  121. package/dist/scripts/doctor-codex-native-repair-actions-check.js +0 -24
  122. package/dist/scripts/gate-pack-manifest-check.js +0 -9
  123. package/dist/scripts/git-worktree-batch-allocation-check.js +0 -10
  124. package/dist/scripts/github-release-body-helper.js +0 -65
  125. package/dist/scripts/local-llm-all-pipelines-check.js +0 -11
  126. package/dist/scripts/mad-db-ledger-check.js +0 -8
  127. package/dist/scripts/native-swarm-heartbeat-does-not-serialize-launch-check.js +0 -8
  128. package/dist/scripts/no-ts-nocheck-core-check.js +0 -4
  129. package/dist/scripts/orphan-gate-detection-check.js +0 -53
  130. package/dist/scripts/orphan-purge-final-check.js +0 -5
  131. package/dist/scripts/parallel-claim-enforcement-check.js +0 -30
  132. package/dist/scripts/release-batch-runner-check.js +0 -6
  133. package/dist/scripts/release-gate-planner.js +0 -55
  134. package/dist/scripts/release-runtime-truth-matrix-check.js +0 -47
  135. package/dist/scripts/research-quality-gate-check.js +0 -112
  136. package/dist/scripts/runtime-no-mjs-scripts-check.js +0 -45
  137. package/dist/scripts/scheduler-no-false-pending-block-check.js +0 -7
  138. package/dist/scripts/team-alias-to-naruto-check.js +0 -7
  139. package/dist/scripts/terminal-keyboard-enhancement-safety-check.js +0 -12
  140. package/dist/scripts/test-no-orphan-dist-imports-check.js +0 -73
  141. package/dist/scripts/update-gate-removed-check.js +0 -9
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "schema": "sks.skills-manifest.v1",
3
- "package_version": "5.12.0",
3
+ "package_version": "6.0.1",
4
4
  "skills": [
5
5
  {
6
6
  "canonical_name": "answer",
7
7
  "type": "official",
8
- "content_sha256": "f9313846f2dcba4895e7b1f8555540958dd195d103d5404110882d2419120459",
8
+ "content_sha256": "3bae03b6933911666a82c307f2b1380dd3dbf869ad3c1ed58b0f707738c7ce97",
9
9
  "hash_history": [],
10
10
  "deprecated_aliases": []
11
11
  },
12
12
  {
13
13
  "canonical_name": "autoresearch",
14
14
  "type": "official",
15
- "content_sha256": "7fd8e60e0e58fd6bff62ba23f1729c97c0d82a530802b6a2e39611f1394df35b",
15
+ "content_sha256": "ced2744cc494365da433e1f186042069d68b70e873bf0ea0a7f98ee5fc92ae41",
16
16
  "hash_history": [],
17
17
  "deprecated_aliases": []
18
18
  },
19
19
  {
20
20
  "canonical_name": "autoresearch-loop",
21
21
  "type": "official",
22
- "content_sha256": "87d0ad4c105ad80e5436afe4f88b5c4b23612ac14f180d3edc2d0d61827c6917",
22
+ "content_sha256": "c99fb6516552c1f6f0459c087ccd72592423e02c1ed5ab277f963f349c46d897",
23
23
  "hash_history": [],
24
24
  "deprecated_aliases": []
25
25
  },
26
26
  {
27
27
  "canonical_name": "commit",
28
28
  "type": "official",
29
- "content_sha256": "330f594b0a7cd8b3225f6b5af26e47735882d341189fca940dfbff54275ba353",
29
+ "content_sha256": "8e698e1885aca7973cb691d5a4f2a22714e7a2a71de4270741f7a2c38be5d3b7",
30
30
  "hash_history": [],
31
31
  "deprecated_aliases": []
32
32
  },
33
33
  {
34
34
  "canonical_name": "commit-and-push",
35
35
  "type": "official",
36
- "content_sha256": "31c3a8a880779a07c7e30a3439da0c7d86851beac7c610dc34ef250984c271b0",
36
+ "content_sha256": "2878de32b4e1b818ad4113b38e65247dec05c46b6587c57cb8201eb390ddbeaa",
37
37
  "hash_history": [],
38
38
  "deprecated_aliases": []
39
39
  },
@@ -47,56 +47,56 @@
47
47
  {
48
48
  "canonical_name": "computer-use-fast",
49
49
  "type": "official",
50
- "content_sha256": "819aba204e5391dde733b0583b618c6f6e22f8e0aeb6efa9a46c645326ab45f7",
50
+ "content_sha256": "47389e820e272b20fe24139268f8d5f772c8a085757edc46d5c31157c80f4162",
51
51
  "hash_history": [],
52
52
  "deprecated_aliases": []
53
53
  },
54
54
  {
55
55
  "canonical_name": "context7-docs",
56
56
  "type": "official",
57
- "content_sha256": "c35a2603c2887358c90cff98bce2cf06010b415d73e4097bd9473a453a567bf5",
57
+ "content_sha256": "8d15529f7e62f98d4c78d07859c466f1edca802abb5da8fc52a2361a513f58f2",
58
58
  "hash_history": [],
59
59
  "deprecated_aliases": []
60
60
  },
61
61
  {
62
62
  "canonical_name": "cu",
63
63
  "type": "official",
64
- "content_sha256": "a14f5258472323ec73b844f730d1807be2c82ea6ff186f9f4fb7d18f2a7e7b07",
64
+ "content_sha256": "1179221761185db8c4469b22c5d43213f6c55bb5d7d760f2d7b952daad6e2709",
65
65
  "hash_history": [],
66
66
  "deprecated_aliases": []
67
67
  },
68
68
  {
69
69
  "canonical_name": "db",
70
70
  "type": "official",
71
- "content_sha256": "acc51e9295842626eeae445ba7e13899f53a41bfad12ff9b140f19ec63c9f8b5",
71
+ "content_sha256": "6df13a036c80a9b4aeec3e0e6bc027902b788f64ab6789ed2385a590844aa476",
72
72
  "hash_history": [],
73
73
  "deprecated_aliases": []
74
74
  },
75
75
  {
76
76
  "canonical_name": "db-safety-guard",
77
77
  "type": "official",
78
- "content_sha256": "f2534a7d9d75a4e77e90fedf9effe5d909e6fe45663f5a0950bac9c202b76883",
78
+ "content_sha256": "fec60c67a032959d1fa062e56e7535a1537f84466b56e907075559e117627502",
79
79
  "hash_history": [],
80
80
  "deprecated_aliases": []
81
81
  },
82
82
  {
83
83
  "canonical_name": "design-artifact-expert",
84
84
  "type": "official",
85
- "content_sha256": "eb94444bfc064f9419905235922a532ca2a170e820df97e184a8895ed30b0384",
85
+ "content_sha256": "d5d6306e436f0b01958228f86c045b20d3537e146b7300a08730b514b9bd654e",
86
86
  "hash_history": [],
87
87
  "deprecated_aliases": []
88
88
  },
89
89
  {
90
90
  "canonical_name": "design-system-builder",
91
91
  "type": "official",
92
- "content_sha256": "90ba8cd0c0fb39af02e5c9e4133b603999ce93bcaa03cab2f8f447aca82ad5a3",
92
+ "content_sha256": "cc5268e0f3f675516ceb3153ddf8d2438ec1af3ac8fba59617ba84c4e8dc2c79",
93
93
  "hash_history": [],
94
94
  "deprecated_aliases": []
95
95
  },
96
96
  {
97
97
  "canonical_name": "design-ui-editor",
98
98
  "type": "official",
99
- "content_sha256": "6465e4fcaa3e629aa6e994abba68f6ebf29499f7d77a1765ec366aee1f2bdbf9",
99
+ "content_sha256": "c2dc7eeabf69185e9ede379a14bf47f7bda59502a44262f7d1a795c7eed1592b",
100
100
  "hash_history": [],
101
101
  "deprecated_aliases": []
102
102
  },
@@ -110,98 +110,98 @@
110
110
  {
111
111
  "canonical_name": "fast-mode",
112
112
  "type": "official",
113
- "content_sha256": "75c03769675d02754202b1329575b2d116d2b22811e6f1db69993e24e96b248b",
113
+ "content_sha256": "87a276cc34273ebec2699c3ba3be1bf8ec58e796bc5ebb1202ee321d61a17b7a",
114
114
  "hash_history": [],
115
115
  "deprecated_aliases": []
116
116
  },
117
117
  {
118
118
  "canonical_name": "fast-off",
119
119
  "type": "official",
120
- "content_sha256": "04b7de68035f8512eb53c972d22b4f98634ef03a7d3a2bc56c7bb00a5eaddfb5",
120
+ "content_sha256": "77fdab9100a33c6b0af905c6a4684c803c1e3bbf4700ca90770371c5b0307c55",
121
121
  "hash_history": [],
122
122
  "deprecated_aliases": []
123
123
  },
124
124
  {
125
125
  "canonical_name": "fast-on",
126
126
  "type": "official",
127
- "content_sha256": "6fcbf8ed3a06650cbd4d4faaf8a8eb974d03a7eb747989c671e41d7dc7068b44",
127
+ "content_sha256": "ecce7e5bbc0b5c722ddc77d8e1cf7c67a77709470f16db5f8a0d122886a05843",
128
128
  "hash_history": [],
129
129
  "deprecated_aliases": []
130
130
  },
131
131
  {
132
132
  "canonical_name": "from-chat-img",
133
133
  "type": "official",
134
- "content_sha256": "6cfd1f79a6fc32c790c6db09e626184698d837d9e6eb95984019e61b6cecf77e",
134
+ "content_sha256": "904453b27eb8296f6a9a868b68eb1ed286016e5356f457629a85de74fa1ccb93",
135
135
  "hash_history": [],
136
136
  "deprecated_aliases": []
137
137
  },
138
138
  {
139
139
  "canonical_name": "getdesign-reference",
140
140
  "type": "official",
141
- "content_sha256": "d49a05ba532d9363a80ae7f27f6ee13b3a23cfec102cc935dae3b5f0b2aa77b6",
141
+ "content_sha256": "e0533328fe2792829a04ef4e98a0e666166b5472289b15c646f07b4d0760f138",
142
142
  "hash_history": [],
143
143
  "deprecated_aliases": []
144
144
  },
145
145
  {
146
146
  "canonical_name": "goal",
147
147
  "type": "official",
148
- "content_sha256": "34e18b3de29445db3ffafa8fcca63db5f8b6176b726a912db85daac561b938ac",
148
+ "content_sha256": "5b8968533c76d9444cbe94dc6037499924817529958f1f3e076e580053101021",
149
149
  "hash_history": [],
150
150
  "deprecated_aliases": []
151
151
  },
152
152
  {
153
153
  "canonical_name": "gx",
154
154
  "type": "official",
155
- "content_sha256": "a4792b245cc31a04f5dbe90d784dc7cf693cf11f42771f951cc85aa2e0e487ae",
155
+ "content_sha256": "404246a1d89e23e8bdb37646dd1f46516fbee5e8746353a1fd4694979d4d4f85",
156
156
  "hash_history": [],
157
157
  "deprecated_aliases": []
158
158
  },
159
159
  {
160
160
  "canonical_name": "gx-visual-generate",
161
161
  "type": "official",
162
- "content_sha256": "522431282fda5cdc44f3785fdf0539fa3076e01def6fdcc545234bf16ec8552b",
162
+ "content_sha256": "24e58c05887290e858febb0941c66db2a28e2414520c8d0dfcb8aeccf07c59b0",
163
163
  "hash_history": [],
164
164
  "deprecated_aliases": []
165
165
  },
166
166
  {
167
167
  "canonical_name": "gx-visual-read",
168
168
  "type": "official",
169
- "content_sha256": "b5f96414dc6b3f567ae5022fa506d2468825527bfe090cd44696ec6acd05a400",
169
+ "content_sha256": "b4f8d97ac195b6e303ff0d76d776a12267455e1a38defd32c3dc58238f188b14",
170
170
  "hash_history": [],
171
171
  "deprecated_aliases": []
172
172
  },
173
173
  {
174
174
  "canonical_name": "gx-visual-validate",
175
175
  "type": "official",
176
- "content_sha256": "18510dc564443d1bf5e2f4abcd953978ddd9ec696e696adf18ffcf484bb9adac",
176
+ "content_sha256": "070e66aa3a339602b3a816eaef7e89b3e4d521337458cf68ccf7671fb6a1b9cf",
177
177
  "hash_history": [],
178
178
  "deprecated_aliases": []
179
179
  },
180
180
  {
181
181
  "canonical_name": "help",
182
182
  "type": "official",
183
- "content_sha256": "678ff5944cf3e5b7a0031a61ed36f36a58ead41f73cd52c737f27c2e3f951dcd",
183
+ "content_sha256": "624f5edc8f6049cb506129549a07de8d5617c1610637fe86773151975a673566",
184
184
  "hash_history": [],
185
185
  "deprecated_aliases": []
186
186
  },
187
187
  {
188
188
  "canonical_name": "honest-mode",
189
189
  "type": "official",
190
- "content_sha256": "f0b4032a6daeec657029af7a946e93857f485dbb392057bc11771447b576a254",
190
+ "content_sha256": "d983a6be0ff1cb5d1cf152818a848c6b149c6a6d5c421ed6d5a64d490af93baa",
191
191
  "hash_history": [],
192
192
  "deprecated_aliases": []
193
193
  },
194
194
  {
195
195
  "canonical_name": "hproof-claim-ledger",
196
196
  "type": "official",
197
- "content_sha256": "cbb5fe0f779d3071f9a623422bd09e69016d42e86f69023935d53885a1303bbf",
197
+ "content_sha256": "78a0a676f1521d754a718a9df804cc725166ec218775ab3fac131f6ba3bfec90",
198
198
  "hash_history": [],
199
199
  "deprecated_aliases": []
200
200
  },
201
201
  {
202
202
  "canonical_name": "hproof-evidence-bind",
203
203
  "type": "official",
204
- "content_sha256": "d76cb52235a6075efd6044e84b8a6dcd5156d205fc8b2b24a174e5f368230579",
204
+ "content_sha256": "df85a339465fe3b4ff70a6c8df3747f59755114315b921f1df6c1f9dfec7192e",
205
205
  "hash_history": [],
206
206
  "deprecated_aliases": []
207
207
  },
@@ -215,14 +215,14 @@
215
215
  {
216
216
  "canonical_name": "imagegen",
217
217
  "type": "official",
218
- "content_sha256": "9f724a2baf4a74889be88acc35dcb078e6d7027820a0c6feae34b4d8333e9e54",
218
+ "content_sha256": "75c66bc823cf804d7e691ad52da0f02f7946661f01cbea248f246171ad82f6bb",
219
219
  "hash_history": [],
220
220
  "deprecated_aliases": []
221
221
  },
222
222
  {
223
223
  "canonical_name": "imagegen-source-scout",
224
224
  "type": "official",
225
- "content_sha256": "deaecdfaf5b7cfd4d035125c1fad88754337395eb9b64d363fdfbe2d892dd21a",
225
+ "content_sha256": "9598072cbeb219cfdee4297b0536d8abdbbb5fe7275fd9229124c2af49a0237e",
226
226
  "hash_history": [],
227
227
  "deprecated_aliases": []
228
228
  },
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "canonical_name": "kage-bunshin",
238
238
  "type": "official",
239
- "content_sha256": "f69d2f2ad1fe7470b7a3c953173574eaf12828d2894927f1c1548d6e936e2d39",
239
+ "content_sha256": "4fba30bc703943ff4c0ca495489915ca65daab3b3b1c14e2a8fe62310ebd46a6",
240
240
  "hash_history": [],
241
241
  "deprecated_aliases": []
242
242
  },
@@ -250,14 +250,14 @@
250
250
  {
251
251
  "canonical_name": "mad-db",
252
252
  "type": "official",
253
- "content_sha256": "e88240ec7da965297ddf1ee9eec60cbb929580d67644044a92dcd4446cb77bf8",
253
+ "content_sha256": "e91698bef9e29a3227f47c20345ba3fcd58e08e4f64ada6e519b404d5ba29eaa",
254
254
  "hash_history": [],
255
255
  "deprecated_aliases": []
256
256
  },
257
257
  {
258
258
  "canonical_name": "mad-sks",
259
259
  "type": "official",
260
- "content_sha256": "169a44f6d8c8a75bb0c211b68b0ba4e8fd6391871a00d252f0e21c65b4aa7f3f",
260
+ "content_sha256": "f3e7a37b85f3f28e705795f95603262ff7fd68e027fb33545f618b5484691c8c",
261
261
  "hash_history": [],
262
262
  "deprecated_aliases": []
263
263
  },
@@ -273,35 +273,35 @@
273
273
  {
274
274
  "canonical_name": "performance-evaluator",
275
275
  "type": "official",
276
- "content_sha256": "a73db91c4e07b4dec0140f79aa0e1fe40b8e6861a5622f445e333267337be802",
276
+ "content_sha256": "e3dff0432f45ac88fc55092d094305f96743e8f53248a4d7dbda74e880c8ab36",
277
277
  "hash_history": [],
278
278
  "deprecated_aliases": []
279
279
  },
280
280
  {
281
281
  "canonical_name": "pipeline-runner",
282
282
  "type": "official",
283
- "content_sha256": "f616fb3dc36a09feb8439de6563a373e0d7212219f0859a19bea9f9c16d0926e",
283
+ "content_sha256": "f7bae983e333f128da12b3aa0c82e163a5db9b9c2b82ce431bc797bfacf527f1",
284
284
  "hash_history": [],
285
285
  "deprecated_aliases": []
286
286
  },
287
287
  {
288
288
  "canonical_name": "plan",
289
289
  "type": "official",
290
- "content_sha256": "9bf315a6ffddbc9c516508f30e70c9c0dcf723c812c8313bd71f17776138e1e7",
290
+ "content_sha256": "18e6110f93a485ad36ba126f0b5b1e1989cd24a6bf58769b27d0a9447ad78c9c",
291
291
  "hash_history": [],
292
292
  "deprecated_aliases": []
293
293
  },
294
294
  {
295
295
  "canonical_name": "ppt",
296
296
  "type": "official",
297
- "content_sha256": "9b0738ec5edfcb085bb90b619ba4716dd12fb38b7809be90dcaab6487afafb53",
297
+ "content_sha256": "9507cc5baa609eb008b67c2518284397dcccb5f5671e31be92b3af3fd378246e",
298
298
  "hash_history": [],
299
299
  "deprecated_aliases": []
300
300
  },
301
301
  {
302
302
  "canonical_name": "prompt-pipeline",
303
303
  "type": "official",
304
- "content_sha256": "4ba205def73a7e20747944089b54d547051a4004b0c6a18200b5887dab9455af",
304
+ "content_sha256": "5842d1a5ac0241d8d5ea7d50b4575719d03cf04cca265cd61fce82b0970134ee",
305
305
  "hash_history": [],
306
306
  "deprecated_aliases": []
307
307
  },
@@ -317,21 +317,21 @@
317
317
  {
318
318
  "canonical_name": "reasoning-router",
319
319
  "type": "official",
320
- "content_sha256": "ce69066c7cd907e5883d938efbe8702aa9ef089cf96b6b402ad52193d9583a5e",
320
+ "content_sha256": "2f53b91193b4e2aefa492a0c1021f5c34828506d3a255a85055dda61a0dfab8e",
321
321
  "hash_history": [],
322
322
  "deprecated_aliases": []
323
323
  },
324
324
  {
325
325
  "canonical_name": "reflection",
326
326
  "type": "official",
327
- "content_sha256": "b57c8d9842ee5b07e11fcb0dd705856311d014577be26ece23fb281a87d630f4",
327
+ "content_sha256": "da0f4aa7216a6038cec0381cb86f6b52e450cc6f661321776f137529b0e37066",
328
328
  "hash_history": [],
329
329
  "deprecated_aliases": []
330
330
  },
331
331
  {
332
332
  "canonical_name": "release-review",
333
333
  "type": "official",
334
- "content_sha256": "6bc61d6bb645de77aac369fbe14e3127b31835479ec223d087d057c3eb6fbd6f",
334
+ "content_sha256": "26601dbd1675d6ae1e281d470cacce8bed9f0b1c54c08f331739565860fa9256",
335
335
  "hash_history": [],
336
336
  "deprecated_aliases": []
337
337
  },
@@ -345,14 +345,14 @@
345
345
  {
346
346
  "canonical_name": "research-discovery",
347
347
  "type": "official",
348
- "content_sha256": "58ac7a448b7a48334f9c499dc9108be4d04ddf83c20b22607a8de2725a52361c",
348
+ "content_sha256": "191e3012d661a307116a146577d04a93d72d003f9d45340d9cc535c7c88c85ce",
349
349
  "hash_history": [],
350
350
  "deprecated_aliases": []
351
351
  },
352
352
  {
353
353
  "canonical_name": "review",
354
354
  "type": "official",
355
- "content_sha256": "6a60003971eeae9080b60114f17b9cd0bb2ce5b55f5cefa932e811d49ea6e9e7",
355
+ "content_sha256": "11ad15cba89d8bb93419ab4a9a89fb552a98d8e5c875a02baad4736416b14f48",
356
356
  "hash_history": [],
357
357
  "deprecated_aliases": []
358
358
  },
@@ -373,14 +373,14 @@
373
373
  {
374
374
  "canonical_name": "shadow-clone",
375
375
  "type": "official",
376
- "content_sha256": "b686ad955c3bee7cc30df2c93709394a637aa9ad00646fc8defe403ccd01e1a8",
376
+ "content_sha256": "e511297609c1c7ee02fde59ca44c9b5388d7235bd64fc21dd9d4cf64edc3b30c",
377
377
  "hash_history": [],
378
378
  "deprecated_aliases": []
379
379
  },
380
380
  {
381
381
  "canonical_name": "sks",
382
382
  "type": "official",
383
- "content_sha256": "6fc2b2cd62c4cfc2c79542346148ae1538d8369a195f64801ffd9398afe5b58c",
383
+ "content_sha256": "e9a7653f039682fa16bd8e5a8399263c93edbb270df8b7cddb8d601052078cf0",
384
384
  "hash_history": [],
385
385
  "deprecated_aliases": [
386
386
  "ralph",
@@ -392,28 +392,28 @@
392
392
  {
393
393
  "canonical_name": "solution-scout",
394
394
  "type": "official",
395
- "content_sha256": "03e730519f2afdca4082a0c57c9a07e7e703e377a50948e477b5df54e2d5c896",
395
+ "content_sha256": "e514dad70a4ec32497276078cc1ef48a84597220e8fc7dd68d89567042ba7ec1",
396
396
  "hash_history": [],
397
397
  "deprecated_aliases": []
398
398
  },
399
399
  {
400
400
  "canonical_name": "super-search",
401
401
  "type": "official",
402
- "content_sha256": "1a1fa81d545d73dd5b42a3a5773eaaec6558e8c22ce90f8a4815dcfbbb6f9132",
402
+ "content_sha256": "a0d2b44654d242fa7556eaaed8a99628a35f4be7cc8dc5eedfda5754d6c884b5",
403
403
  "hash_history": [],
404
404
  "deprecated_aliases": []
405
405
  },
406
406
  {
407
407
  "canonical_name": "swarm",
408
408
  "type": "official",
409
- "content_sha256": "be73430703cd7e392fc1b696bcca703f523fa1339c78662936344ae70a166f93",
409
+ "content_sha256": "8320c771fcd9aa0a15a6e11c4b08b26fd664dfab7be998789acd0ae6572fbe5c",
410
410
  "hash_history": [],
411
411
  "deprecated_aliases": []
412
412
  },
413
413
  {
414
414
  "canonical_name": "team",
415
415
  "type": "official",
416
- "content_sha256": "ac2a9bac09375e5bb1f1aa980bfe2092fcf2154d53e4b6dbfbb73526eefdfa3d",
416
+ "content_sha256": "24feba37f46031a3154ada5a714f196682afd554461c3f945fe8aaac7764055a",
417
417
  "hash_history": [],
418
418
  "deprecated_aliases": [
419
419
  "agent-team"
@@ -422,35 +422,35 @@
422
422
  {
423
423
  "canonical_name": "turbo-context-pack",
424
424
  "type": "official",
425
- "content_sha256": "a368c97c85e34567c257e09a040fb7a40e47daee29e198ceb6b6f93673151957",
425
+ "content_sha256": "88ce568724aee1974fdfb13243dd39ac32cc5ad469abade7a014b07464ac7c68",
426
426
  "hash_history": [],
427
427
  "deprecated_aliases": []
428
428
  },
429
429
  {
430
430
  "canonical_name": "ui-ux-review",
431
431
  "type": "official",
432
- "content_sha256": "052121c7dbc4929818cb17db20a8fb3c6f6c76c365d1f3437b8c7180b5e29e28",
432
+ "content_sha256": "35c0ed5149b20b8c9e270d7281757003cbf8c73d94fca910b1618cb027f9c699",
433
433
  "hash_history": [],
434
434
  "deprecated_aliases": []
435
435
  },
436
436
  {
437
437
  "canonical_name": "ux-review",
438
438
  "type": "official",
439
- "content_sha256": "a2e4cfc6ba498286ebf50e046ec7662d392deefedcf5e4fd5fe566e0c3513fd8",
439
+ "content_sha256": "e5bbf0e1f1580254cd46742ccc83d97af8f282dec8abcc7da1af0cd70fb9720a",
440
440
  "hash_history": [],
441
441
  "deprecated_aliases": []
442
442
  },
443
443
  {
444
444
  "canonical_name": "visual-review",
445
445
  "type": "official",
446
- "content_sha256": "67a668287e45fe79633f43d62bb7f7ae21e21e0ee6b3cfb6f865a3ecb658a7d0",
446
+ "content_sha256": "8b3c921312f3440fcbd9dd6b2ea27613660f85d515f0babad9d11499582f5546",
447
447
  "hash_history": [],
448
448
  "deprecated_aliases": []
449
449
  },
450
450
  {
451
451
  "canonical_name": "wiki",
452
452
  "type": "official",
453
- "content_sha256": "e4707260424dde6d86cb96defc88236e8afce4a8a806105da6835ce393158864",
453
+ "content_sha256": "05da2a82b5a20db708e130aaa6eca3e6c9cada85bb1383213a1057651c05f0f7",
454
454
  "hash_history": [],
455
455
  "deprecated_aliases": [
456
456
  "wiki-refresh",
@@ -460,21 +460,21 @@
460
460
  {
461
461
  "canonical_name": "with-local-llm-off",
462
462
  "type": "official",
463
- "content_sha256": "3ef0e7b4b151fce9affaf75ff68240b9e538aa84fea9e13728ecdfb8d1979a02",
463
+ "content_sha256": "f34e912acc5fb9a385012f5ecdb3b7217a5077c843a9c0266d884934638babef",
464
464
  "hash_history": [],
465
465
  "deprecated_aliases": []
466
466
  },
467
467
  {
468
468
  "canonical_name": "with-local-llm-on",
469
469
  "type": "official",
470
- "content_sha256": "fd7a83ea627f332682e4ec0daf7457709b03e1cb64bbe2c5d99823fb2c65c4ad",
470
+ "content_sha256": "c7544cc002cc93a257b0f3d528353b8157f215a4cd9fbc96a5227c0a771a45fd",
471
471
  "hash_history": [],
472
472
  "deprecated_aliases": []
473
473
  },
474
474
  {
475
475
  "canonical_name": "work",
476
476
  "type": "official",
477
- "content_sha256": "95116cd63c9b436d0ee61b2ee7d91801660df4b1dc1d1a6cc98080cb9014fa22",
477
+ "content_sha256": "a5411185a48af520d080ddde5ce87e226e2a7c1a9ec7dee170d8246ef964be06",
478
478
  "hash_history": [],
479
479
  "deprecated_aliases": []
480
480
  }
@@ -131,14 +131,14 @@ export function buildAgentEffortPolicy(roster = {}) {
131
131
  dynamic: true,
132
132
  service_tier: 'fast',
133
133
  allowed_models: [GPT54_MINI_CODEX_MODEL, REQUIRED_CODEX_MODEL, GLM_52_OPENROUTER_MODEL],
134
- model_tiers: ['gpt-5.4-mini', 'gpt-5.5-low', 'gpt-5.5-high', 'glm-5.2-minimal', 'glm-5.2-low', 'glm-5.2-high', 'glm-5.2-xhigh'],
134
+ model_tiers: ['gpt-5.4-mini', `${REQUIRED_CODEX_MODEL}-low`, `${REQUIRED_CODEX_MODEL}-high`, 'glm-5.2-minimal', 'glm-5.2-low', 'glm-5.2-high', 'glm-5.2-xhigh'],
135
135
  allowed_efforts: codexModelEffortCapability().advertised_efforts,
136
136
  model_effort_capability: codexModelEffortCapability(),
137
137
  max_agents: roster.max_agents || 20,
138
138
  agent_count: roster.agent_count || decisions.length,
139
139
  concurrency: roster.concurrency || decisions.length,
140
140
  decisions,
141
- rule: 'Parent orchestration assigns per-agent model tiers from prompt risk, persona role, lease ownership, and proof state: simple bounded GPT workers can downshift to gpt-5.4-mini; ordinary GPT workers use gpt-5.5 low; risky GPT lanes use gpt-5.5 high. In GLM mode, native workers stay on z-ai/glm-5.2 and receive GLM effort tiers.'
141
+ rule: `Parent orchestration assigns per-agent model tiers from prompt risk, persona role, lease ownership, and proof state: simple bounded GPT workers can downshift to gpt-5.4-mini; ordinary GPT workers use ${REQUIRED_CODEX_MODEL} low; risky GPT lanes use ${REQUIRED_CODEX_MODEL} high. In GLM mode, native workers stay on z-ai/glm-5.2 and receive GLM effort tiers.`
142
142
  };
143
143
  }
144
144
  export function reasoningProfileName(effort) {
@@ -187,8 +187,8 @@ export function decideAgentWorkerModel(input = {}) {
187
187
  return {
188
188
  model: REQUIRED_CODEX_MODEL,
189
189
  model_reasoning_effort: 'high',
190
- model_tier: 'gpt-5.5-high',
191
- model_profile: 'sks-agent-gpt-5.5-high-fast',
190
+ model_tier: `${REQUIRED_CODEX_MODEL}-high`,
191
+ model_profile: `sks-agent-${REQUIRED_CODEX_MODEL}-high-fast`,
192
192
  reason: 'risk_signal_worker'
193
193
  };
194
194
  }
@@ -205,17 +205,17 @@ export function decideAgentWorkerModel(input = {}) {
205
205
  return {
206
206
  model: REQUIRED_CODEX_MODEL,
207
207
  model_reasoning_effort: 'high',
208
- model_tier: 'gpt-5.5-high',
209
- model_profile: 'sks-agent-gpt-5.5-high-fast',
208
+ model_tier: `${REQUIRED_CODEX_MODEL}-high`,
209
+ model_profile: `sks-agent-${REQUIRED_CODEX_MODEL}-high-fast`,
210
210
  reason: 'risk_or_high_effort_worker'
211
211
  };
212
212
  }
213
213
  return {
214
214
  model: gptMain ? REQUIRED_CODEX_MODEL : mainModel || REQUIRED_CODEX_MODEL,
215
215
  model_reasoning_effort: 'low',
216
- model_tier: 'gpt-5.5-low',
217
- model_profile: 'sks-agent-gpt-5.5-low-fast',
218
- reason: gptMain ? 'ordinary_worker_gpt55_low' : 'non_gpt_main_model_preserved'
216
+ model_tier: `${REQUIRED_CODEX_MODEL}-low`,
217
+ model_profile: `sks-agent-${REQUIRED_CODEX_MODEL}-low-fast`,
218
+ reason: gptMain ? 'ordinary_worker_main_gpt_low' : 'non_gpt_main_model_preserved'
219
219
  };
220
220
  }
221
221
  function isGlmWorkerMode(mainModel) {
@@ -72,7 +72,6 @@ class NativeCliSessionSwarmRecorder {
72
72
  source_intelligence_refs: ctx.agent.source_intelligence_refs || null,
73
73
  goal_mode_ref: ctx.agent.goal_mode_ref || null,
74
74
  strategy_refs: ctx.slice?.strategy_refs || null,
75
- min_runtime_ms: this.input.targetActiveSlots >= 10 ? 8000 : this.input.targetActiveSlots >= 2 ? 2000 : 25,
76
75
  recursion_guard_env: true
77
76
  };
78
77
  await writeJsonAtomic(path.join(this.root, intakeRel), intake);
@@ -183,9 +183,6 @@ export async function runNativeCliWorker(input = {}) {
183
183
  logTail: noPatchReason.reason
184
184
  });
185
185
  }
186
- const minRuntimeMs = Number(intake.min_runtime_ms || input.minRuntimeMs || 0);
187
- if (Number.isFinite(minRuntimeMs) && minRuntimeMs > 0)
188
- await delay(Math.min(30000, Math.floor(minRuntimeMs)));
189
186
  const report = {
190
187
  schema: 'sks.native-cli-worker-process-report.v1',
191
188
  generated_at: nowIso(),
@@ -303,9 +300,6 @@ export async function runNativeCliWorker(input = {}) {
303
300
  });
304
301
  return result;
305
302
  }
306
- function delay(ms) {
307
- return new Promise((resolve) => setTimeout(resolve, ms));
308
- }
309
303
  function startWorkerProgressTelemetry(input) {
310
304
  const parsed = Number(process.env.SKS_ZELLIJ_WORKER_PROGRESS_MS || 10000);
311
305
  const intervalMs = Math.max(1000, Number.isFinite(parsed) ? Math.floor(parsed) : 10000);
@@ -2,6 +2,7 @@ import os from 'node:os';
2
2
  import path from 'node:path';
3
3
  import { ensureDir, exists, readText, writeTextAtomic } from './fsx.js';
4
4
  import { writeCodexConfigGuarded } from './codex/codex-config-guard.js';
5
+ import { REQUIRED_CODEX_MODEL } from './codex-model-guard.js';
5
6
  export const AUTO_REVIEW_REVIEWER = 'auto_review';
6
7
  export const LEGACY_AUTO_REVIEW_REVIEWER = 'guardian_subagent';
7
8
  export const AUTO_REVIEW_PROFILE = 'sks-auto-review';
@@ -102,15 +103,14 @@ export async function enableAutoReview(opts = {}) {
102
103
  // `[profiles.*]` tables / top-level `profile=` selector (warns at startup) in favor of
103
104
  // per-file `$CODEX_HOME/<name>.config.toml` overlays loaded by `--profile <name>`.
104
105
  // `stripTable: true` => remove the legacy `[profiles.<name>]` table from the home
105
- // config during migration. sks-fast-high keeps its table because the Codex App
106
- // fast-mode (`[user.fast_mode] default_profile = "sks-fast-high"`) and the
107
- // codex-app:ui-preservation gate still expect it; its per-file overlay is also written
108
- // so CLI `--profile sks-fast-high` works too.
106
+ // config during migration. Fast mode now persists through top-level
107
+ // `service_tier = "fast"` and per-file overlays; `[user.fast_mode]`,
108
+ // `default_profile`, and `[profiles.sks-fast-high]` are stripped as legacy schema.
109
109
  export const SKS_CONFIG_PROFILES = [
110
110
  { name: 'sks-task-low', stripTable: true, block: sksProfileFileBlock({ effort: 'low' }) },
111
111
  { name: 'sks-task-medium', stripTable: true, block: sksProfileFileBlock({ effort: 'medium' }) },
112
112
  { name: 'sks-logic-high', stripTable: true, block: sksProfileFileBlock({ effort: 'high' }) },
113
- { name: 'sks-fast-high', stripTable: false, block: sksProfileFileBlock({ effort: 'high', serviceTier: 'fast', inheritSandbox: true }) },
113
+ { name: 'sks-fast-high', stripTable: true, block: sksProfileFileBlock({ effort: 'high', serviceTier: 'fast', inheritSandbox: true }) },
114
114
  { name: 'sks-research-xhigh', stripTable: true, block: sksProfileFileBlock({ effort: 'xhigh' }) },
115
115
  { name: 'sks-research', stripTable: true, block: sksProfileFileBlock({ effort: 'xhigh', approvalPolicy: 'never' }) },
116
116
  { name: 'sks-team', stripTable: true, block: sksProfileFileBlock({ effort: 'medium' }) },
@@ -119,7 +119,7 @@ export const SKS_CONFIG_PROFILES = [
119
119
  ];
120
120
  function sksProfileFileBlock(opts = {}) {
121
121
  return [
122
- 'model = "gpt-5.5"',
122
+ `model = "${REQUIRED_CODEX_MODEL}"`,
123
123
  `service_tier = "${opts.serviceTier || 'fast'}"`,
124
124
  `approval_policy = "${opts.approvalPolicy || 'on-request'}"`,
125
125
  ...(opts.reviewer ? [`approvals_reviewer = "${opts.reviewer}"`] : []),
@@ -315,7 +315,7 @@ function profileConfigBlock(opts = {}) {
315
315
  const approvalPolicy = opts.approvalPolicy || 'on-request';
316
316
  const sandboxMode = opts.sandboxMode || 'workspace-write';
317
317
  return [
318
- 'model = "gpt-5.5"',
318
+ `model = "${REQUIRED_CODEX_MODEL}"`,
319
319
  'service_tier = "fast"',
320
320
  `approval_policy = "${approvalPolicy}"`,
321
321
  `approvals_reviewer = "${reviewer}"`,
@@ -3,7 +3,6 @@ import path from 'node:path';
3
3
  import { ensureDir, nowIso, writeJsonAtomic, writeTextAtomic } from '../fsx.js';
4
4
  import { managedAgentRoleConfigForFile, managedAgentRoleConfigForRole } from '../agents/agent-role-config.js';
5
5
  import { isUnmanagedProjectCodexConfig, writeCodexConfigGuarded } from './codex-config-guard.js';
6
- import { REQUIRED_CODEX_MODEL } from '../codex-model-guard.js';
7
6
  export async function repairAgentConfigFileReferences(input) {
8
7
  const root = path.resolve(input.root);
9
8
  const configPath = path.join(root, '.codex', 'config.toml');
@@ -194,15 +193,13 @@ function escapeRegExp(value) {
194
193
  }
195
194
  function minimalManagedConfigToml() {
196
195
  return [
197
- `model = "${REQUIRED_CODEX_MODEL}"`,
198
- 'model_reasoning_effort = "medium"',
199
196
  'service_tier = "fast"',
200
197
  '',
201
198
  '[features]',
202
199
  'hooks = true',
203
- 'remote_control = true',
204
200
  'multi_agent = true',
205
201
  'fast_mode = true',
202
+ 'apps = true',
206
203
  '',
207
204
  '[mcp_servers.context7]',
208
205
  'url = "https://mcp.context7.com/mcp"',