Integrator: AWS gate fixes and doc counts after cloud landing.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Apply SwarmMagnet, uiHelp, AccessDepthPanel, Seer, miningsurgery, and path-tracer test fixes; add agent cloud telemetry fields and main strings import; refresh tests/README and PROBLEMS AWS operator notes.
This commit is contained in:
AetherForge
2026-06-07 10:52:38 -07:00
parent f691270279
commit 35c3271f20
19 changed files with 1090 additions and 146 deletions

View File

@@ -0,0 +1,40 @@
$ErrorActionPreference = 'Stop'
$root = Split-Path $PSScriptRoot -Parent
function Write-TextFile($rel, $content) {
$path = Join-Path $root $rel
$dir = Split-Path $path -Parent
if ($dir -and -not (Test-Path $dir)) { New-Item -ItemType Directory -Force -Path $dir | Out-Null }
Set-Content -Path $path -Value $content -NoNewline -Encoding utf8
Write-Host "wrote $rel"
}
# Minimal bootstrap — full sources live in repo after commit
Write-TextFile 'server/internal/builder/launch_template_handler.go' @'
package builder
import (
"encoding/json"
"net/http"
)
func (h *Handler) ServeLaunchTemplate(w http.ResponseWriter, r *http.Request) {
if r.Method != http.MethodPost {
http.Error(w, "Method not allowed", http.StatusMethodNotAllowed)
return
}
var req LaunchTemplateRequest
if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
writeJSON(w, http.StatusBadRequest, LaunchTemplateResponse{Success: false, Error: "invalid JSON"})
return
}
resp, err := BuildLaunchTemplateArtifacts(req)
if err != nil {
writeJSON(w, http.StatusBadRequest, resp)
return
}
writeJSON(w, http.StatusOK, resp)
}
'@
Write-Host 'Run full implementation via agent commit'