Skip to content

feat(hooks): token optimization — dedup, auto-route, prewarm, script-suggest #16

feat(hooks): token optimization — dedup, auto-route, prewarm, script-suggest

feat(hooks): token optimization — dedup, auto-route, prewarm, script-suggest #16

Triggered via pull request May 17, 2026 00:46
Status Failure
Total duration 6h 0m 36s
Artifacts

pr-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 16 warnings
lint: src/daemon/services/desire-path-service.ts#L54
Delete `······`
lint: src/daemon/daemon-config.ts#L174
Insert `⏎·····`
lint: src/daemon/daemon-config.ts#L173
Replace `·'skill',·'workflow',` with `⏎······'skill',⏎······'workflow',⏎·····`
lint: src/daemon/daemon-config.ts#L172
Replace `·'ai',·'llm',·'mcp',·'context',` with `⏎······'ai',⏎······'llm',⏎······'mcp',⏎······'context',⏎·····`
lint: src/cli/hermes-sm.ts#L285
Replace `'Hermes·with·StackMemory·context·persistence,·daemon·auto-start,·and·desire-path·tracking'` with `⏎····'Hermes·with·StackMemory·context·persistence,·daemon·auto-start,·and·desire-path·tracking'⏎··`
lint: src/cli/hermes-sm.ts#L196
Replace `chalk.dim(`··↳·Restored·handoff:·${handoff.summary?.slice(0,·60)·||·'previous·session'}`)` with `⏎············chalk.dim(⏎··············`··↳·Restored·handoff:·${handoff.summary?.slice(0,·60)·||·'previous·session'}`⏎············)⏎··········`
lint: src/cli/hermes-sm.ts#L157
Replace `chalk.cyan(`│·Instance:·${instanceId.slice(0,·8)}························│`)` with `⏎······chalk.cyan(⏎········`│·Instance:·${instanceId.slice(0,·8)}························│`⏎······)⏎····`
lint: src/cli/hermes-sm.ts#L126
Replace `sessionsDir,·`session-${Date.now()}.heartbeat`` with `⏎····sessionsDir,⏎····`session-${Date.now()}.heartbeat`⏎··`
lint: src/cli/hermes-sm.ts#L124
Insert `⏎···`
lint: src/cli/hermes-sm.ts#L62
Replace `·...DEFAULT_CONFIG,·...JSON.parse(fs.readFileSync(HERMES_CONFIG_PATH,·'utf8'))` with `⏎········...DEFAULT_CONFIG,⏎········...JSON.parse(fs.readFileSync(HERMES_CONFIG_PATH,·'utf8')),⏎·····`
test
The job has exceeded the maximum execution time of 6h0m0s
test
The operation was canceled.
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build
The process '/usr/bin/git' failed with exit code 128
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint
The process '/usr/bin/git' failed with exit code 128
lint: scripts/validate-tui-shortcuts.ts#L72
Unexpected any. Specify a different type
lint: scripts/validate-tui-shortcuts.ts#L65
Unexpected any. Specify a different type
lint: scripts/validate-tui-shortcuts.ts#L56
Unexpected any. Specify a different type
lint: scripts/validate-tui-shortcuts.ts#L47
Unexpected any. Specify a different type
lint: scripts/validate-tui-shortcuts.ts#L38
Unexpected any. Specify a different type
lint: scripts/validate-tui-shortcuts.ts#L20
Unexpected any. Specify a different type
lint: scripts/test-swarm-fixes.ts#L120
Unexpected any. Specify a different type
lint: scripts/test-swarm-fixes.ts#L91
Unexpected any. Specify a different type
lint: scripts/test-swarm-fixes.ts#L29
Unexpected any. Specify a different type
lint: scripts/benchmark-hooks.ts#L13
'execSync' is defined but never used. Allowed unused vars must match /^_/u
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test
The process '/usr/bin/git' failed with exit code 128