Skip to content

Scaffold Go nightshiftd daemon#116

Open
tensor-ninja wants to merge 1 commit intomainfrom
scaffold-nightshiftd
Open

Scaffold Go nightshiftd daemon#116
tensor-ninja wants to merge 1 commit intomainfrom
scaffold-nightshiftd

Conversation

@tensor-ninja
Copy link
Collaborator

@tensor-ninja tensor-ninja commented Mar 3, 2026

Summary

  • Establishes the nightshiftd/ Go module with protobuf contract, config/DB layers, and gRPC skeleton per RFC RFC: Cloud Native Project Restructure #113
  • All 12 AgentRuntime RPCs are defined in proto and return Unimplemented
  • Daemon boots with TOML config, structured logging, SQLite (WAL mode), and listens on a Unix socket with graceful shutdown

Closes #115
Part of #113

Establish the Go module, protobuf contract, config/DB layers, and gRPC
skeleton for nightshiftd per RFC #113. All 12 RPCs return Unimplemented.

- Proto: nightshift.runtime.v1.AgentRuntime with buf codegen
- Config: TOML structs matching RFC defaults, Duration type
- DB: SQLite with WAL, agents/runs/run_events tables
- Server: gRPC stub embedding UnimplementedAgentRuntimeServer
- Main: boot sequence with config, slog, DB, Unix socket, signal handling

Closes #115

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Scaffold Go nightshiftd daemon: module, proto, config, DB, gRPC skeleton

1 participant