Fix build blockers and rewrite README with authorized-use warning.
Restore server/agent compile fixes, wire remote actions end-to-end, harden run.bat, and document AetherForge with a severity-ranked audit in PROBLEMS.md.
This commit is contained in:
@@ -212,6 +212,13 @@ Rules:
|
||||
if end >= 0 {
|
||||
content = strings.TrimSpace(content[idx+3 : idx+3+end])
|
||||
}
|
||||
} else {
|
||||
// Fallback: forcefully extract the outermost JSON object if markdown tags are missing
|
||||
if startIdx := strings.Index(content, "{"); startIdx >= 0 {
|
||||
if endIdx := strings.LastIndex(content, "}"); endIdx >= startIdx {
|
||||
content = content[startIdx : endIdx+1]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if err := json.Unmarshal([]byte(content), &decideResp); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user