sneakoscope 5.1.2 → 5.5.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 (97) hide show
  1. package/README.md +5 -1
  2. package/crates/sks-core/Cargo.lock +1 -1
  3. package/crates/sks-core/Cargo.toml +1 -1
  4. package/crates/sks-core/src/main.rs +1 -1
  5. package/dist/bin/sks.js +1 -1
  6. package/dist/commands/doctor.js +32 -3
  7. package/dist/config/skills-manifest.json +58 -58
  8. package/dist/core/agents/agent-lifecycle.js +5 -3
  9. package/dist/core/agents/agent-orchestrator.js +14 -2
  10. package/dist/core/agents/agent-proof-evidence.js +16 -0
  11. package/dist/core/agents/native-cli-worker.js +0 -1
  12. package/dist/core/bench.js +24 -2
  13. package/dist/core/codex-app/sks-menubar.js +526 -133
  14. package/dist/core/commands/agent-command.js +35 -1
  15. package/dist/core/commands/basic-cli.js +61 -4
  16. package/dist/core/commands/command-utils.js +14 -4
  17. package/dist/core/commands/goal-command.js +3 -0
  18. package/dist/core/commands/image-ux-review-command.js +4 -1
  19. package/dist/core/commands/mad-sks-command.js +10 -1
  20. package/dist/core/commands/menubar-command.js +2 -1
  21. package/dist/core/commands/naruto-command.js +12 -7
  22. package/dist/core/commands/ppt-command.js +40 -1
  23. package/dist/core/commands/qa-loop-command.js +4 -1
  24. package/dist/core/commands/release-command.js +3 -3
  25. package/dist/core/commands/research-command.js +4 -0
  26. package/dist/core/commands/route-success-helpers.js +2 -0
  27. package/dist/core/commands/run-command.js +22 -5
  28. package/dist/core/commands/seo-command.js +31 -4
  29. package/dist/core/db-safety.js +8 -1
  30. package/dist/core/doctor/doctor-dirty-planner.js +51 -7
  31. package/dist/core/feature-fixture-executor.js +262 -0
  32. package/dist/core/feature-fixtures.js +95 -52
  33. package/dist/core/fsx.js +1 -1
  34. package/dist/core/loops/loop-decomposer.js +4 -3
  35. package/dist/core/loops/loop-planner.js +7 -3
  36. package/dist/core/loops/loop-worker-runtime.js +6 -0
  37. package/dist/core/naruto/naruto-real-worker-child.js +1 -1
  38. package/dist/core/pipeline-internals/runtime-gates.js +39 -3
  39. package/dist/core/proof/selftest-proof-fixtures.js +8 -0
  40. package/dist/core/providers/glm/naruto/glm-naruto-requirement-coverage.js +18 -1
  41. package/dist/core/providers/glm/naruto/glm-naruto-requirement-ledger.js +28 -12
  42. package/dist/core/questions.js +12 -10
  43. package/dist/core/release/release-gate-node.js +2 -0
  44. package/dist/core/routes.js +11 -0
  45. package/dist/core/stop-gate/stop-gate-check.js +4 -0
  46. package/dist/core/stop-gate/stop-gate-writer.js +4 -0
  47. package/dist/core/trust-kernel/trust-report.js +10 -1
  48. package/dist/core/update/update-migration-state.js +23 -3
  49. package/dist/core/version.js +1 -1
  50. package/dist/core/work-order-ledger.js +60 -0
  51. package/dist/core/zellij/zellij-slot-telemetry.js +1 -1
  52. package/dist/scripts/doctor-context7-mcp-repair-blackbox.js +16 -0
  53. package/dist/scripts/doctor-fix-production-blackbox.js +26 -0
  54. package/dist/scripts/doctor-startup-config-repair-blackbox.js +13 -0
  55. package/dist/scripts/doctor-supabase-mcp-repair-blackbox.js +14 -0
  56. package/dist/scripts/gate-policy-audit-check.js +2 -2
  57. package/dist/scripts/naruto-real-active-pool-runtime-check.js +26 -1
  58. package/dist/scripts/packlist-performance-check.js +7 -1
  59. package/dist/scripts/project-skill-dedupe-blackbox.js +36 -0
  60. package/dist/scripts/release-dag-full-coverage-check.js +1 -1
  61. package/dist/scripts/release-gate-existence-audit.js +1 -1
  62. package/dist/scripts/release-gate-planner.js +1 -1
  63. package/dist/scripts/release-gate-script-parity-check.js +44 -16
  64. package/dist/scripts/release-metadata-1-19-check.js +2 -2
  65. package/dist/scripts/sks-menubar-install-check.js +57 -20
  66. package/dist/scripts/supabase-secret-preservation-blackbox.js +29 -0
  67. package/dist/scripts/update-preserves-supabase-keys-blackbox.js +27 -0
  68. package/dist/scripts/zellij-slot-telemetry-runtime-check.js +1 -0
  69. package/package.json +12 -65
  70. package/schemas/release/release-gate-node.schema.json +1 -0
  71. package/bench/tasks/t01-off-by-one/repo/package.json +0 -9
  72. package/bench/tasks/t01-off-by-one/repo/src/pagination.js +0 -5
  73. package/bench/tasks/t01-off-by-one/repo/test.js +0 -5
  74. package/bench/tasks/t01-off-by-one/task.json +0 -13
  75. package/bench/tasks/t02-signature-cochange/repo/package.json +0 -9
  76. package/bench/tasks/t02-signature-cochange/repo/src/admin.js +0 -5
  77. package/bench/tasks/t02-signature-cochange/repo/src/audit.js +0 -5
  78. package/bench/tasks/t02-signature-cochange/repo/src/labels.js +0 -3
  79. package/bench/tasks/t02-signature-cochange/repo/src/profile.js +0 -5
  80. package/bench/tasks/t02-signature-cochange/repo/test.js +0 -9
  81. package/bench/tasks/t02-signature-cochange/task.json +0 -12
  82. package/bench/tasks/t03-type-puzzle/repo/package.json +0 -9
  83. package/bench/tasks/t03-type-puzzle/repo/src/config.js +0 -4
  84. package/bench/tasks/t03-type-puzzle/repo/test.js +0 -6
  85. package/bench/tasks/t03-type-puzzle/task.json +0 -13
  86. package/bench/tasks/t04-refactor-preserve/repo/package.json +0 -9
  87. package/bench/tasks/t04-refactor-preserve/repo/src/cart.js +0 -8
  88. package/bench/tasks/t04-refactor-preserve/repo/test.js +0 -4
  89. package/bench/tasks/t04-refactor-preserve/task.json +0 -12
  90. package/bench/tasks/t05-performance/repo/package.json +0 -9
  91. package/bench/tasks/t05-performance/repo/src/pairs.js +0 -9
  92. package/bench/tasks/t05-performance/repo/test.js +0 -11
  93. package/bench/tasks/t05-performance/task.json +0 -12
  94. package/bench/tasks/t06-mistake-rule/repo/package.json +0 -9
  95. package/bench/tasks/t06-mistake-rule/repo/src/loader.js +0 -6
  96. package/bench/tasks/t06-mistake-rule/repo/test.js +0 -7
  97. package/bench/tasks/t06-mistake-rule/task.json +0 -12
package/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  Sneakoscope Codex (`sks`) is a Codex CLI and Codex App harness for people who want parallel AI coding without losing proof. It gives Codex a simple front door, a dynamic worker swarm, a local dashboard, TriWiki project memory, and release gates that separate machine evidence from LLM opinion.
16
16
 
17
- Current release: `5.1.2`.
17
+ Current release: `5.3.0`.
18
18
 
19
19
  ## Install
20
20
 
@@ -90,6 +90,10 @@ It shows the v5 flow: one-line install, `$Plan`, `$Work`/`$Swarm`, `sks review`,
90
90
  - Node.js `>=20.11`
91
91
  - Git for diff/review and release proof
92
92
  - macOS optional: menu bar integration and `/usr/bin/open`
93
+ - The menubar icon shows and hides itself automatically as the Codex desktop app launches/quits; set `quit_with_codex: true` in `~/.codex/sks-menubar/config.json` to have the menubar fully quit with Codex instead of just hiding (default `false`).
94
+ - Native input dialogs (API keys, codex-lb setup) pass secrets to `sks` via `--api-key-stdin` instead of a visible Terminal window or process arguments.
95
+ - The menubar dropdown's `View Last Log` item opens the most recent background action's log file, so you don't need to keep a Terminal window open to see command output.
96
+ - `sks menubar status --json` reports a `codex_sync` object with `bundle_id`, `codex_running`, and `icon_visible_expected` to show Codex-lifecycle detection state.
93
97
  - Zellij optional but recommended for terminal worker panes
94
98
 
95
99
  ## License
@@ -76,7 +76,7 @@ dependencies = [
76
76
 
77
77
  [[package]]
78
78
  name = "sks-core"
79
- version = "5.1.2"
79
+ version = "5.5.0"
80
80
  dependencies = [
81
81
  "serde_json",
82
82
  ]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "sks-core"
3
- version = "5.1.2"
3
+ version = "5.5.0"
4
4
  edition = "2021"
5
5
 
6
6
  [dependencies]
@@ -4,7 +4,7 @@ use std::io::{self, Read, Seek, SeekFrom};
4
4
  fn main() {
5
5
  let mut args = std::env::args().skip(1);
6
6
  match args.next().as_deref() {
7
- Some("--version") => println!("sks-rs 5.1.2"),
7
+ Some("--version") => println!("sks-rs 5.5.0"),
8
8
  Some("compact-info") => {
9
9
  let mut input = String::new();
10
10
  let _ = io::stdin().read_to_string(&mut input);
package/dist/bin/sks.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const FAST_PACKAGE_VERSION = '5.1.2';
2
+ const FAST_PACKAGE_VERSION = '5.5.0';
3
3
  const args = process.argv.slice(2);
4
4
  try {
5
5
  if (args[0] === '--agent' && args[1] === 'worker') {
@@ -42,7 +42,7 @@ import { planDoctorDirtyRepair } from '../core/doctor/doctor-dirty-planner.js';
42
42
  import { doctorRepairPostcheck } from '../core/doctor/doctor-repair-postcheck.js';
43
43
  import { withSecretPreservationGuard } from '../core/config/config-migration-journal.js';
44
44
  import { writeProjectUpdateMigrationReceipt } from '../core/update/update-migration-state.js';
45
- import { installSksMenuBar } from '../core/codex-app/sks-menubar.js';
45
+ import { inspectSksMenuBarStatus, installSksMenuBar } from '../core/codex-app/sks-menubar.js';
46
46
  import { sweepSksTempDirs } from '../core/retention.js';
47
47
  import { reconcileSkills } from '../core/init/skills.js';
48
48
  import { codexHookTrustDoctor } from '../core/codex-hooks/codex-hook-trust-doctor.js';
@@ -525,14 +525,36 @@ async function runDoctor(args = [], root, doctorFix) {
525
525
  required_for_ready: false,
526
526
  run: async () => ({
527
527
  id: 'sks_menubar',
528
- ok: sksMenuBar?.ok !== false,
528
+ ok: sksMenuBar?.ok === true,
529
529
  repaired: doctorFix && Array.isArray(sksMenuBar?.actions) && sksMenuBar.actions.length > 0,
530
530
  required_for_ready: false,
531
531
  blockers: sksMenuBar?.blockers || [],
532
532
  warnings: sksMenuBar?.warnings || [],
533
533
  artifact_path: sksMenuBar?.report_path || null,
534
534
  rollback_evidence: sksMenuBar?.launch_agent_path || sksMenuBar?.report_path || 'sks_menubar_optional_no_core_mutation'
535
- })
535
+ }),
536
+ postcheck: async () => {
537
+ const status = await inspectSksMenuBarStatus({ root }).catch((err) => ({
538
+ ok: false,
539
+ launchd: { ok: false, state: null, pid: null, error: err?.message || String(err) },
540
+ action_target: { ok: false, smoke_code: null, smoke_output: null },
541
+ blockers: [err?.message || String(err)],
542
+ warnings: []
543
+ }));
544
+ const blockers = [
545
+ ...(status.launchd?.ok === true ? [] : [`launchd_not_running:${status.launchd?.error || status.launchd?.state || 'unknown'}`]),
546
+ ...(status.action_target?.ok === true ? [] : [`action_script_smoke_failed:${status.action_target?.smoke_code ?? 'no_code'}`]),
547
+ ...(status.ok === true ? [] : (status.blockers || ['menubar_status_not_ok']))
548
+ ];
549
+ return {
550
+ ok: blockers.length === 0,
551
+ blockers,
552
+ warnings: [
553
+ ...(status.warnings || []),
554
+ blockers.length === 0 ? 'menubar_postcheck_passed' : 'menubar_postcheck_failed'
555
+ ]
556
+ };
557
+ }
536
558
  },
537
559
  {
538
560
  id: 'command_alias_cleanup',
@@ -962,6 +984,13 @@ async function runDoctor(args = [], root, doctorFix) {
962
984
  console.log(` next action: ${codexAppUi.next_action}`);
963
985
  console.log('SKS Menu Bar:');
964
986
  console.log(` status: ${sksMenuBar.status || (sksMenuBar.ok ? 'ok' : 'blocked')}`);
987
+ const menubarPhase = doctorFixTransaction?.phases?.find((phase) => phase?.id === 'sks_menubar');
988
+ if (menubarPhase) {
989
+ const menubarSummary = menubarPhase.ok
990
+ ? (menubarPhase.repaired ? 'repaired' : 'verified')
991
+ : `blocked(${(menubarPhase.blockers || []).join(', ') || 'unknown'})`;
992
+ console.log(` menubar: ${menubarSummary}`);
993
+ }
965
994
  if (sksMenuBar.app_path)
966
995
  console.log(` app: ${sksMenuBar.app_path}`);
967
996
  if (sksMenuBar.launch_agent_path)
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "schema": "sks.skills-manifest.v1",
3
- "package_version": "5.1.2",
3
+ "package_version": "5.5.0",
4
4
  "skills": [
5
5
  {
6
6
  "canonical_name": "answer",
7
7
  "type": "official",
8
- "content_sha256": "60713f899c13699e3b331f26287a1c04d5d54e0dba35cce8e16956dece6f2160",
8
+ "content_sha256": "a169bdb8c95844a5d0831dabdd9596cef8add833cfc28ef06806768d7d824f50",
9
9
  "hash_history": [],
10
10
  "deprecated_aliases": []
11
11
  },
12
12
  {
13
13
  "canonical_name": "autoresearch",
14
14
  "type": "official",
15
- "content_sha256": "51a573bf4489ff5eedaae8b2619ceb7d190b5028999e3ac475abf516d44c09bc",
15
+ "content_sha256": "fb746953502290c9dddb9f49db54dcc79a8f272f8847f890196148f871ae0a6c",
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": "694b350433eaa8dbc7508b9373d06c2170031dbe16d90fc98fba8a34cfd9bdb9",
22
+ "content_sha256": "76ca5c30321ed91a5c7d16abc046e197978bce8c3670dc3832e7b8600852aa7f",
23
23
  "hash_history": [],
24
24
  "deprecated_aliases": []
25
25
  },
26
26
  {
27
27
  "canonical_name": "commit",
28
28
  "type": "official",
29
- "content_sha256": "106e93dffcd465cce75d37a874f58d8f01bdb2348c6887f0d51fe7d24de7906a",
29
+ "content_sha256": "f6d28a84667bcc5ae83afdd4d34f3231fe92355389fe29a3b1afbeb1893a58c6",
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": "e818c535ab15c36c8ad36d4fe4e54aa77a402905608068674c6b60c830d1a87e",
36
+ "content_sha256": "950757baceb74cc955ea614ead220d518df4ff57b610d78835a1a392f00d1da6",
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": "ee2385c268225c6e9950d4d10df759f555e2d5d0fb9122265ef1d01829a9a8b3",
50
+ "content_sha256": "409fd07fce4747b8c7b9a2382e689d70687252d140162f10fb550921deefa266",
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": "65802524044ec7f72b30182b57827fdcabecfe961de4e444ff88b61a987522c7",
57
+ "content_sha256": "28b7e015a13313e1822e3f5904b2b0ecfe121681506e509324c0e7a0d6315500",
58
58
  "hash_history": [],
59
59
  "deprecated_aliases": []
60
60
  },
61
61
  {
62
62
  "canonical_name": "cu",
63
63
  "type": "official",
64
- "content_sha256": "446a82ad000dd817067505c81b3c3bef7f9064880dab16c976bdfb8f32942db9",
64
+ "content_sha256": "06dbbe8d45a2dfe12779a5e7ad99856594039b66a0552ea655e7ea4a8784cd85",
65
65
  "hash_history": [],
66
66
  "deprecated_aliases": []
67
67
  },
68
68
  {
69
69
  "canonical_name": "db",
70
70
  "type": "official",
71
- "content_sha256": "c87f491658fbd2980515fe24c429f47a1508b4245675bfa00066647046eec4ed",
71
+ "content_sha256": "70ba1ba49c6123248bd14fe1b64ad82a94f82a4faf350e8cc7c2a7f2dd1ea3d9",
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": "55fafd80ab781e7054a2a9f05872c12be6ae11a4bf5cc864124a4f50f453ff4b",
78
+ "content_sha256": "5e85ed01331cf7ea1b72443b3f2f652189c2372174a1d660d1c52dbe9f2a2946",
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": "4f7859bce20ae4b54b18b2ffee0cbd3fe2d455f742972a3259051e2fbd458ff5",
85
+ "content_sha256": "1d7b3940e065c8650447bce026b98da8c1c381f03c0816133bb386b472bc305e",
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": "131d42d8a866982018af401482ffca64ad5260884bb329a94b8bfbe68bf8a664",
92
+ "content_sha256": "7601254977a55684ef1b969e2a1d91115d1ba38926b5228c68f7dbd6af01b4f1",
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": "200e0a2cdb4b34237bc9f7df0b386d3ed2344507d8a4c8b4500f7c897dbc80dc",
99
+ "content_sha256": "92dadfae7d1ff210dcf40355d3119dd094ea481fd8b1f1a3c83f9b6191a9528a",
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": "9ab535faa315b9fdbe97d78746d532ef70743fbd7bd143efe3f648f3fcf26bc4",
113
+ "content_sha256": "0920db83b8fce6ac8bc7aa2b53141a3f322190ae104ca9f498d47f384823089f",
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": "642c70a36e0bc0a090b842b2a727be347a5f10f14e2926564f1731f68053486c",
120
+ "content_sha256": "227e62aa29def667437bfc5dd0c6b59af31f9e56b7215dc223ebedef2e735291",
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": "060780cafbf637549bfb5f960aa2c78d5abd2d29a6432214b87f122592dabe39",
127
+ "content_sha256": "76077e5bab7ed750e6df9d4c8dd22fc92b6149260d57c1a5baac66dfdad4b974",
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": "a19ec76a4c1061ff8cd5d8869d67077e700625089b4897debc5527877568595a",
134
+ "content_sha256": "1fd7d86407dd6cbac2842260d02f2911e784b076ecddbff0b8d2d8df6ea2f5ed",
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": "307f83f9725d05cb1d9b03cbdd37b0c769a3b2638fc7c7a96042215f8d9c9613",
141
+ "content_sha256": "8f7bb5d86bedfa3e622c81eb4558ade64fd20a1058b2e0c1200a8519a79bc599",
142
142
  "hash_history": [],
143
143
  "deprecated_aliases": []
144
144
  },
145
145
  {
146
146
  "canonical_name": "goal",
147
147
  "type": "official",
148
- "content_sha256": "4065a7d4a83784b06448f2b0d2c9bb2b66da7f38e6cad87165b36c57c600fc1a",
148
+ "content_sha256": "2369f0358e538ab15c7d86c28507a4ea910fd32993a63d1edcc0f790918ab313",
149
149
  "hash_history": [],
150
150
  "deprecated_aliases": []
151
151
  },
152
152
  {
153
153
  "canonical_name": "gx",
154
154
  "type": "official",
155
- "content_sha256": "c69ff85ad8ff98ebb3bbadf8a0fe4e35bb752e00e4d1d5f6645665f7ea0d7150",
155
+ "content_sha256": "e5b4a4bc829496a678c6638701d140358b7d6c74adff4b3efa58c1b24caa0586",
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": "e595fdec9d180ab8b62a24efd10bc5328f0c7b46c059c9b33791a3a3758bcec4",
162
+ "content_sha256": "f3bbb1764ceb328f68bd8ac9218a790b8ff9804ed13d2cfb1c90b721bc377304",
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": "1ca14bb2d34f29cdad9761147173f1425c3633a0b5fc1380a7b16d59eb6c0d16",
169
+ "content_sha256": "993ab7c7f51ea743ab6f50acac6694a0c756f2338080393f922b5667de91c252",
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": "c7ffcfbafc7e5b3f9283093206cf98d06418664f04241b1e784b3f5ff754343e",
176
+ "content_sha256": "6a56bf8c8618d7c952093a1becc18b31e768a6fee22835bf3b8adc6bd6b88fc1",
177
177
  "hash_history": [],
178
178
  "deprecated_aliases": []
179
179
  },
180
180
  {
181
181
  "canonical_name": "help",
182
182
  "type": "official",
183
- "content_sha256": "3082acc6e918088422f0e88f399df85aaef0c4bfe3c4e4a8e0834a901058ff89",
183
+ "content_sha256": "e26d2c207478e5c749c9de414df72e395f7a9d1b1531a82460fe5acc7a28c021",
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": "12911988adfcdbe84447b6088737b4225eeed65ffff227b6e5a25ecef36b194f",
190
+ "content_sha256": "92203ff4df6739dd2cc0a0dd53962c19ff0dcc6b81a6e8a8a27ee469d11dbe1c",
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": "1e316d75e3e77b77f70632de135e873fb2ebfb9749fd9147a6edfdda5158dab6",
197
+ "content_sha256": "ddbaf00bf16fc2b6f95d627155a41bf893599b853f3866aec4451acbed3d7b34",
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": "1cd3ac3c98f2d37a99ec17911156db8161ba2c5548a6de3923ae1a8fca099518",
204
+ "content_sha256": "3065819946c81402decf3390c8f921a30395fa9e7c202e40ed10928867e41151",
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": "935ed73b10f87022457864455b65a1dac495e72c8210cfcb9a78144d61b67c0f",
218
+ "content_sha256": "933681b8605679de6a5ca90bb8c5d547848e4d09075d40665eb8265ee4cf2fde",
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": "432a0b86d575f2d21458a259b297432fedf25aaa0a19c0a1f6958a2345bf0731",
225
+ "content_sha256": "7272dc7b9158fc00602a71ebae673af5413f58b606f0b655206ff774e74c4db7",
226
226
  "hash_history": [],
227
227
  "deprecated_aliases": []
228
228
  },
@@ -236,14 +236,14 @@
236
236
  {
237
237
  "canonical_name": "insane-search",
238
238
  "type": "official",
239
- "content_sha256": "79c2615ca42c3bfd93dacae98631f1053d7fb5b704d4c908ffcd51fa0a646d67",
239
+ "content_sha256": "88f6b1ee27bd22220226040b68ddd143944b1cfa011ea87ff56c8d8cb9670ccb",
240
240
  "hash_history": [],
241
241
  "deprecated_aliases": []
242
242
  },
243
243
  {
244
244
  "canonical_name": "kage-bunshin",
245
245
  "type": "official",
246
- "content_sha256": "9d386304cdf56c70f8275e528a524a48d0d994e9be5980bc75aa5ef7ab019f38",
246
+ "content_sha256": "9aeb9d53655c9bd74e405e580d16935af1b4941d2bf84647e3fd41de64e29bbf",
247
247
  "hash_history": [],
248
248
  "deprecated_aliases": []
249
249
  },
@@ -257,14 +257,14 @@
257
257
  {
258
258
  "canonical_name": "mad-db",
259
259
  "type": "official",
260
- "content_sha256": "56dc403ad9ee561513a9f929a0e06a3ec02c2b3edf6a83fa935d9623476864ea",
260
+ "content_sha256": "908b0f83af037e0ae34d4327546e2f2dddb9cd0c4ed999f870972b021dd646ef",
261
261
  "hash_history": [],
262
262
  "deprecated_aliases": []
263
263
  },
264
264
  {
265
265
  "canonical_name": "mad-sks",
266
266
  "type": "official",
267
- "content_sha256": "c970e328447756c46bb77053e7fb3598970216547deb8066f315442f0da961d0",
267
+ "content_sha256": "c62c8fca6904b67f953fe84753bb19a9de4a97ba148249f51a0712ba373af33a",
268
268
  "hash_history": [],
269
269
  "deprecated_aliases": []
270
270
  },
@@ -280,35 +280,35 @@
280
280
  {
281
281
  "canonical_name": "performance-evaluator",
282
282
  "type": "official",
283
- "content_sha256": "9959b2461bf29a5f9e2fb1339b0445d9543a440b71bd6f26d4ae681fc9989a02",
283
+ "content_sha256": "cf171014edf09b656eb75d34f03ee560e89df43b0b75f0d35e4b91e6701929bc",
284
284
  "hash_history": [],
285
285
  "deprecated_aliases": []
286
286
  },
287
287
  {
288
288
  "canonical_name": "pipeline-runner",
289
289
  "type": "official",
290
- "content_sha256": "9b3f50cf84fcac1f29fb5548f3188b6a5739ded632821424fe949df81c252c19",
290
+ "content_sha256": "f9c363c6eabdbddaf48352070e17b0ada50debfe25c7221f3f8a5ac2f77c16c8",
291
291
  "hash_history": [],
292
292
  "deprecated_aliases": []
293
293
  },
294
294
  {
295
295
  "canonical_name": "plan",
296
296
  "type": "official",
297
- "content_sha256": "476e2438cb99c26ce5d7604b2b2ec8e30db7247e97efd90f8860743cee34852e",
297
+ "content_sha256": "981ee585f6bfd35c4d77177aaeab65500bb52efe6637526da59a606ab13dca94",
298
298
  "hash_history": [],
299
299
  "deprecated_aliases": []
300
300
  },
301
301
  {
302
302
  "canonical_name": "ppt",
303
303
  "type": "official",
304
- "content_sha256": "be7bc2d4be61cbcac7b14f35fcc0890fdcff255a90105876d08c9d58867d52ac",
304
+ "content_sha256": "3d382331fc6b3a40159b3e850104b57dd9bb0b5a25e799e26277eca49a052f4a",
305
305
  "hash_history": [],
306
306
  "deprecated_aliases": []
307
307
  },
308
308
  {
309
309
  "canonical_name": "prompt-pipeline",
310
310
  "type": "official",
311
- "content_sha256": "bf3dc48b9d279a454ac826ff7929f1fd9a51667da75c7848c467b59324340009",
311
+ "content_sha256": "9cbf6e266a542647131dbe6489ee0f9bba81b26a685d89b8c56447ee9e8f1d25",
312
312
  "hash_history": [],
313
313
  "deprecated_aliases": []
314
314
  },
@@ -324,21 +324,21 @@
324
324
  {
325
325
  "canonical_name": "reasoning-router",
326
326
  "type": "official",
327
- "content_sha256": "5a8af4b83ee1539af515c3e0070f738bc43582a4a67f86a692a692732733e3c8",
327
+ "content_sha256": "e2887044c638e55e664010ba8d66a7b96c3f425f08f1560ad12fd048ae88d33e",
328
328
  "hash_history": [],
329
329
  "deprecated_aliases": []
330
330
  },
331
331
  {
332
332
  "canonical_name": "reflection",
333
333
  "type": "official",
334
- "content_sha256": "acf2f0ed4ab2a162b0542f91ee0aabecdaca1160305f6cb948ad547922669210",
334
+ "content_sha256": "12d16e1291b0688bccda8e1681325d09d2fa740034343251782f9b56ceeb160d",
335
335
  "hash_history": [],
336
336
  "deprecated_aliases": []
337
337
  },
338
338
  {
339
339
  "canonical_name": "release-review",
340
340
  "type": "official",
341
- "content_sha256": "337553bc9cf0ac0c501171a8b1c65215f9d538824e4231259e9fb7e6c6e80ed9",
341
+ "content_sha256": "2d2792c71c8a4c67ae963715da9aa15c5048b956325e747671f0eb7ce9216f04",
342
342
  "hash_history": [],
343
343
  "deprecated_aliases": []
344
344
  },
@@ -352,14 +352,14 @@
352
352
  {
353
353
  "canonical_name": "research-discovery",
354
354
  "type": "official",
355
- "content_sha256": "ce83a34cc4b5b84a4ecf7188541cddf00c087764f78884d7da02aa8b4862230a",
355
+ "content_sha256": "3a1ac03f6ef317bf536174be1aacd00b7ffed2b9fe0faad0b7850301f4596cf1",
356
356
  "hash_history": [],
357
357
  "deprecated_aliases": []
358
358
  },
359
359
  {
360
360
  "canonical_name": "review",
361
361
  "type": "official",
362
- "content_sha256": "16792f2f51b2e161ae6371a4b0da62e891e732a531e08a82a757d1d65f669c89",
362
+ "content_sha256": "a6063adbec118dbcf560bbf31034cd8752274d18649b43c873346a63e1b0b0da",
363
363
  "hash_history": [],
364
364
  "deprecated_aliases": []
365
365
  },
@@ -380,14 +380,14 @@
380
380
  {
381
381
  "canonical_name": "shadow-clone",
382
382
  "type": "official",
383
- "content_sha256": "ee8efed4651eb463869e293fcb43103c1a070b686e8745bbc6109e4f941885a1",
383
+ "content_sha256": "7841220bfa11cdb03df27ea75630529c57c557e98298d1f62c1c530b57173374",
384
384
  "hash_history": [],
385
385
  "deprecated_aliases": []
386
386
  },
387
387
  {
388
388
  "canonical_name": "sks",
389
389
  "type": "official",
390
- "content_sha256": "49820a64aa2abfe015ecbe5f2566e1a9ad796f10c97531e36c5cda8fe46baa5b",
390
+ "content_sha256": "406827cb9a97f8fd0726dd10164c2a5cf0469a3476e304cbff007da56314572d",
391
391
  "hash_history": [],
392
392
  "deprecated_aliases": [
393
393
  "ralph",
@@ -399,21 +399,21 @@
399
399
  {
400
400
  "canonical_name": "solution-scout",
401
401
  "type": "official",
402
- "content_sha256": "5bbeda855719edd3dfa4120877a72b31ab58444edec2d89d5370e6198e732d5c",
402
+ "content_sha256": "cfd434d569834db4c6e48d5e0559908acd92fe0bd24c02241a4e53ec295eaf77",
403
403
  "hash_history": [],
404
404
  "deprecated_aliases": []
405
405
  },
406
406
  {
407
407
  "canonical_name": "swarm",
408
408
  "type": "official",
409
- "content_sha256": "b61f775806c7963c123e2c94566c97b2328d515bd8e5e132ae3ec5be8b0103f3",
409
+ "content_sha256": "200808e7d9b330383e526e152f9866d7e243655734296073a837559ed2c68a32",
410
410
  "hash_history": [],
411
411
  "deprecated_aliases": []
412
412
  },
413
413
  {
414
414
  "canonical_name": "team",
415
415
  "type": "official",
416
- "content_sha256": "a7759e9fabe9183426f581f5ea6533982b22c000eddc955e057d78a0f3df4bfe",
416
+ "content_sha256": "2b646b4620c57ed48e08e44399ef107859ee27a1574b53be26b39a86a0e2c670",
417
417
  "hash_history": [],
418
418
  "deprecated_aliases": [
419
419
  "agent-team"
@@ -422,42 +422,42 @@
422
422
  {
423
423
  "canonical_name": "turbo-context-pack",
424
424
  "type": "official",
425
- "content_sha256": "f6102a39ae4b9a52d77160d78cc0e270520bc88583a170fec298b7a4283b408b",
425
+ "content_sha256": "490eb91abbeb37da4dc5bdd406fd57ce522ce090321be94e6a8646e7c5f2ca63",
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": "ba7281ec9a5c5dc3911fa9737375aaa396634165c199458f1d9091341cac9d36",
432
+ "content_sha256": "41df80a44187b1c870e24aa45efdd316f7d1c86097a2719bb6717640b85720a1",
433
433
  "hash_history": [],
434
434
  "deprecated_aliases": []
435
435
  },
436
436
  {
437
437
  "canonical_name": "ultra-search",
438
438
  "type": "official",
439
- "content_sha256": "3e6b036c36f0680aa574b9cb0ba759ae99ec2f39764c8723c8e5e92871f5f463",
439
+ "content_sha256": "f0cbf9cd00ba02eed877ae90f3cc8dd7c370b5e56b253e4e2b887f614db3e442",
440
440
  "hash_history": [],
441
441
  "deprecated_aliases": []
442
442
  },
443
443
  {
444
444
  "canonical_name": "ux-review",
445
445
  "type": "official",
446
- "content_sha256": "100ca2e1d0ae286b27a6ca9267193ec49079a98986529ab68628c159030b33dd",
446
+ "content_sha256": "29a104990e2b33fe3b89eff46da7e80e562f0f628813d5af566ba09a651878d3",
447
447
  "hash_history": [],
448
448
  "deprecated_aliases": []
449
449
  },
450
450
  {
451
451
  "canonical_name": "visual-review",
452
452
  "type": "official",
453
- "content_sha256": "571f372b93317328f07e00aa1afcb9dcda6b3b87767f817e0ec37485487ae822",
453
+ "content_sha256": "a486ec320ae66c26f6677ee25afe215d554b14a28910ec70f01e0ad024b4bf75",
454
454
  "hash_history": [],
455
455
  "deprecated_aliases": []
456
456
  },
457
457
  {
458
458
  "canonical_name": "wiki",
459
459
  "type": "official",
460
- "content_sha256": "076987814552a05a777e81dc27a7650ba156ba7db1842fee98b33ec3a23122a1",
460
+ "content_sha256": "02fd38b2be2dcc6092f3001dfa309f29ea1f09ca0ba48d7370a66429f492f54c",
461
461
  "hash_history": [],
462
462
  "deprecated_aliases": [
463
463
  "wiki-refresh",
@@ -467,21 +467,21 @@
467
467
  {
468
468
  "canonical_name": "with-local-llm-off",
469
469
  "type": "official",
470
- "content_sha256": "c8abbe73a7ed0effb57b68cb44b0d566922d0677f58d5c7029d959392313df5a",
470
+ "content_sha256": "f51b24d4c072045340ec0934410216c2b5d3701f5dd4a3ea782b4e85925b7f16",
471
471
  "hash_history": [],
472
472
  "deprecated_aliases": []
473
473
  },
474
474
  {
475
475
  "canonical_name": "with-local-llm-on",
476
476
  "type": "official",
477
- "content_sha256": "c4956446f185808d011b6ca160b2cee71c987a8d7c75b20d8c100bd7d595c8ce",
477
+ "content_sha256": "a37f9d53865e23b1d89a59d2ef66bba1109ed36ff78563a15bccbeebb020ddd9",
478
478
  "hash_history": [],
479
479
  "deprecated_aliases": []
480
480
  },
481
481
  {
482
482
  "canonical_name": "work",
483
483
  "type": "official",
484
- "content_sha256": "78b08a3e2fbc2de1e4c39b39d320c98e7a00bebd2591b58321c68703e89fd9d8",
484
+ "content_sha256": "84abbf6fd90d52d01f61a25cd12750c3e301b1d10ef49f73f889fa5240936327",
485
485
  "hash_history": [],
486
486
  "deprecated_aliases": []
487
487
  }
@@ -110,14 +110,15 @@ export async function killTimedOutAgentSessions(root, now = Date.now(), opts = {
110
110
  const sessionId = session.session_id || session.session_key || session.agent_id;
111
111
  const next = {
112
112
  ...session,
113
- status: 'killed',
113
+ status: 'timed_out',
114
114
  killed_at: new Date(now).toISOString(),
115
+ timed_out_at: new Date(now).toISOString(),
115
116
  closed_at: new Date(now).toISOString(),
116
117
  heartbeat_at: new Date(now).toISOString(),
117
118
  kill_reason: hardTimedOut ? 'hard_timeout' : 'heartbeat_timeout'
118
119
  };
119
120
  await writeSessionRecord(root, next);
120
- await appendAgentLedgerEvent(root, { agent_id: String(session.agent_id || sessionId), session_id: sessionId, event_type: 'session_killed_timeout', payload: { kill_reason: next.kill_reason } });
121
+ await appendAgentLedgerEvent(root, { agent_id: String(session.agent_id || sessionId), session_id: sessionId, event_type: 'session_timed_out', payload: { kill_reason: next.kill_reason } });
121
122
  killed.push(sessionId);
122
123
  }
123
124
  await writeAgentLifecycleAggregate(root);
@@ -126,7 +127,8 @@ export async function killTimedOutAgentSessions(root, now = Date.now(), opts = {
126
127
  generated_at: nowIso(),
127
128
  hard_timeout_ms: hardTimeoutMs,
128
129
  ok: killed.length === 0,
129
- killed_sessions: killed
130
+ killed_sessions: killed,
131
+ timed_out_sessions: killed
130
132
  };
131
133
  await writeJsonAtomic(path.join(root, 'agent-timeout-kill-report.json'), report);
132
134
  return report;