Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

587 B
Raw Blame

paths: - "/*.go" - "/go.mod" - "**/go.sum"

Go Güvenlik

Bu dosya common/security.md dosyasını Go'ya özgü içerikle genişletir.

Secret Yönetimi

apiKey := os.Getenv("OPENAI_API_KEY")
if apiKey == "" {
    log.Fatal("OPENAI_API_KEY not configured")
}

Güvenlik Taraması

  • Statik güvenlik analizi için gosec kullan:
    gosec ./...
    

Context & Timeout'lar

Timeout kontrolü için daima context.Context kullan:

ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()