8186a23ceb
chore: remove unused schema and migrations
2026-05-02 09:38:22 +00:00
29d47bd9c4
feat: add restart-gateway workflow, remove unused senses
...
- Remove 4 data-only senses (linux-system-health, worker-process-metrics,
hermes-session-message-stats, git-workspace-status) — none triggered workflows
- Refactor hermes-gateway-health sense: add state tracking, trigger
restart-gateway workflow after 3 consecutive failures (with 5min cooldown)
- Add restart-gateway workflow: restarter role (systemctl restart) +
verifier role (check service came back)
- Simplify nerve.yaml to single sense + single workflow
2026-05-02 05:38:44 +00:00
1da41c7f08
chore: remove stale sense index.js from source and tracking
...
小橘 <xiaoju@shazhou.work>
2026-04-30 09:16:13 +00:00
07be0d3dfa
refactor: move all build output to dist/
...
- senses build to dist/senses/<name>/index.js
- workflows build to dist/workflows/<name>/index.js
- scripts/build.mjs: clean dist/ before build, output to dist/
- .gitignore: simplified to just dist/
小橘 <xiaoju@shazhou.work>
2026-04-30 09:16:04 +00:00
0fdd2d26cc
chore: remove build artifacts from git tracking
...
These are esbuild outputs, now covered by .gitignore.
小橘 <xiaoju@shazhou.work>
2026-04-30 09:11:16 +00:00
f7cf1a1cb2
refactor: single-package workspace with root esbuild build
...
Merge workflow and sense devDependencies into root, remove per-package package.json and workflow tsconfigs, add scripts/build.mjs for consistent outputs.
Fixes #22
2026-04-30 09:03:05 +00:00
8774d71d57
feat: update senses to return ComputeResult<T>
...
Wrap compute return values in { signal, workflow: null }
to match new SenseComputeFn contract.
— 小橘 🍊 (NEKO Team)
2026-04-30 00:38:34 +00:00
1d9e574c94
fix: remove unused AbortSignal param from sense compute
...
— 小橘 🍊 (NEKO Team)
2026-04-30 00:23:12 +00:00
252162ea8e
refactor: pure sense compute — return data instead of db.insert
...
All 5 senses updated to new API:
- compute(signal: AbortSignal) => Promise<T | null>
- Export table for runtime-side insert
- Remove drizzle-orm/libsql imports
Refs uncaged/nerve#264
— 小橘 🍊 (NEKO Team)
2026-04-30 00:15:03 +00:00
495d8d1b60
chore(workflow): auto-generated commit
2026-04-28 12:55:08 +00:00
0fab8a68c3
chore: declare pnpm workspace, remove per-package lockfiles and pnpm config
...
- Add pnpm-workspace.yaml (senses/*, workflows/*)
- Add root build script: pnpm -r build
- Remove pnpm.onlyBuiltDependencies from sense package.json
- Remove pnpm.overrides from workflow package.json
- Remove per-package pnpm-lock.yaml and node_modules
2026-04-28 11:11:41 +00:00
4cf10ad7bf
feat: migrate senses to TypeScript source + esbuild bundle
...
- Move index.js → src/index.ts with proper types for all 4 senses
- Move schema.ts → src/schema.ts
- Add package.json with esbuild build script per sense
- Bundle to index.js at sense root (daemon loads this)
- Update sense-generator coder prompt with TypeScript conventions
Fixes #224
2026-04-28 07:26:53 +00:00
1940ccedd6
refactor: bundle sense-generator to dist/ via esbuild
...
- Add esbuild build script to package.json
- Add .gitignore for dist/
- Remove stale tsc-generated .js files (now bundled)
- Include sense files generated by workflow run (hermes-gateway-health update, worker-process-metrics)
- Clean up nerve.yaml (remove deleted workflows, migrate reflexes to interval)
2026-04-28 05:31:04 +00:00
9f2067db7d
fix: add dryRun early-return for all roles in workflow-generator
...
llmExtract returns {} as T in dryRun mode, causing .map() on undefined.
Each role now returns mock data immediately when dryRun is true.
小橘 🍊 (NEKO Team)
2026-04-25 04:24:42 +00:00
9a3c50c257
refactor: consolidate senses — merge tcp-socket-stats into system-health, remove cpu-usage
...
- Remove cpu-usage sense (redundant with system-health loadavg)
- Remove linux-tcp-socket-stats (merged into linux-system-health)
- Remove disk-usage-mounts (unused)
- Add tcp socket fields to system-health schema + migration
- Simplify nerve.yaml: 4 senses → 2
小橘 <xiaoju@shazhou.work>
2026-04-24 06:13:51 +00:00
d1a2ee876a
fix: hermesRun command and tester verdict via llmExtract
...
- Fix hermes invocation: 'hermes -q' → 'hermes chat -q' with proper flags
- Replace fragile string.includes('PASS') with llmExtract judge
(previous false positive: matched '--pass-session-id' in usage text)
小橘 🍊 (NEKO Team)
2026-04-23 12:20:11 +00:00
d7e2913d99
feat: add linux-system-health sense + update config
...
- Add linux-system-health sense (CPU load, memory, disk, uptime)
- Register in nerve.yaml with 30s interval
- Clean up .gitignore (ignore logs, pid, sock, false/)
- Remove stale pnpm metadata cache (false/)
小橘 🍊 (NEKO Team)
2026-04-23 10:39:26 +00:00
386205327a
Initial nerve workspace
2026-04-23 09:58:08 +00:00