Skip to content

feat: node architecture overhaul with 3-tier driver system#56

Draft
sidd-27 wants to merge 1 commit intokornia:mainfrom
sidd-27:claude/hardcore-sutherland
Draft

feat: node architecture overhaul with 3-tier driver system#56
sidd-27 wants to merge 1 commit intokornia:mainfrom
sidd-27:claude/hardcore-sutherland

Conversation

@sidd-27
Copy link
Copy Markdown
Contributor

@sidd-27 sidd-27 commented Mar 9, 2026

Implements a comprehensive node architecture redesign:

  • Rename capabilities: sensor→source, actuator→sink (with serde aliases)
  • Add DriverTier enum (BuiltIn/Marketplace) and expand DRIVER_CATALOG to 14 entries
  • Built-in driver framework: BuiltinDriver trait, DriverRegistry, DriverConfig
  • 10 built-in drivers: http-poll, webhook, exec, cron-task, system, tcp-listen, udp-listen, file-watch, mqtt (rumqttc), modbus (tokio-modbus)
  • 3-tier dispatch in CLI up command (BuiltIn vs Marketplace paths)
  • PlatformOperations: start/stop/list_builtin_drivers methods
  • DaemonPlatform: shared DriverRegistry with graceful shutdown
  • 3 new MCP tools + 3 new agent dispatch tools (40 total)
  • Node SDK: Source, Sink, Processor traits with serde_json::Value
  • node init --category source|sink|processor flag with template variable
  • Fix pre-existing Windows compilation: cfg(unix) gate on set_executable

Implements a comprehensive node architecture redesign:

- Rename capabilities: sensor→source, actuator→sink (with serde aliases)
- Add DriverTier enum (BuiltIn/Marketplace) and expand DRIVER_CATALOG to 14 entries
- Built-in driver framework: BuiltinDriver trait, DriverRegistry, DriverConfig
- 10 built-in drivers: http-poll, webhook, exec, cron-task, system, tcp-listen,
  udp-listen, file-watch, mqtt (rumqttc), modbus (tokio-modbus)
- 3-tier dispatch in CLI `up` command (BuiltIn vs Marketplace paths)
- PlatformOperations: start/stop/list_builtin_drivers methods
- DaemonPlatform: shared DriverRegistry with graceful shutdown
- 3 new MCP tools + 3 new agent dispatch tools (40 total)
- Node SDK: Source, Sink, Processor traits with serde_json::Value
- `node init --category source|sink|processor` flag with template variable
- Fix pre-existing Windows compilation: cfg(unix) gate on set_executable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sidd-27 sidd-27 force-pushed the claude/hardcore-sutherland branch from 66546a1 to 059d6cf Compare March 9, 2026 23:24
@sidd-27 sidd-27 marked this pull request as draft March 9, 2026 23:39
@sidd-27
Copy link
Copy Markdown
Contributor Author

sidd-27 commented Mar 9, 2026

I'll add an example testing to see if this works later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant