Default mode is local-only and does not send repository data anywhere.
Workspace discovery is also local-only. It scans filesystem Git boundaries without following symlinked directory trees and does not contact repository remotes.
- Connector must be opt-in.
- Token must come from environment variables such as
GINSIGHTS_GITHUB_TOKENorGITHUB_TOKEN, never flags that are likely to be shell-history leaked. - Never write tokens to reports, logs, cache files, or panic output.
- Clearly separate local Git-derived metrics from GitHub server-side analytics.
- Connector failures must degrade gracefully without breaking local-only report generation.
Report rendering uses Go html/template escaping. Do not switch to raw string concatenation for user/repo data.