feat: implement Foundation V1 walking skeleton
CI / test (push) Successful in 7m31s

This commit is contained in:
m
2026-08-16 15:22:49 +03:00
commit 9b136621ef
205 changed files with 6345 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
package health
import (
"encoding/json"
"net/http"
)
type Handler struct {
Runtime string
SemanticGeneration int
ArchitectureGeneration int
}
func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
_ = json.NewEncoder(w).Encode(map[string]any{
"status": "ok",
"runtime": h.Runtime,
"semantic_generation": h.SemanticGeneration,
"architecture_generation": h.ArchitectureGeneration,
})
}