You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Hardening & Cleanup
Security
install.sh: verifies SHA-256 checksums before extraction
Subprocess hardening
New system.Run helper wraps all external commands (git, gh) with a 10-second timeout and typed errors
No raw exec.Command calls remain in the codebase
log.Printf in the GitHub client replaced with structured slog.Logger (injected via WithLogger option)
Refactoring
errgroup: fetch orchestration uses errgroup.WithContext instead of manual WaitGroup + semaphore; API errors now surface to the user instead of being silently skipped
Immutable cost model: cost.Model struct replaces the exported mutable Multiplier map; DefaultModel() returns a defensive copy
Code cleanup
parseCoreCount: simplified digit scanning with strconv.Atoi
parseSince: replaced manual suffix parsing with regex