Sigroom Docs

State, Secrets, And Security

Harness app docs should make local state, sensitive files, and policy boundaries explicit before encouraging users to run autonomous or container-backed workflows.

draftOperators and security reviewersVerified 2026-06-03

State Locations

PathPurpose
GENE_HOMEOverride for the default GeneSYS home directory.
~/.gene/config.jsonPrimary local configuration.
~/.gene/env.shShell-exported environment values.
~/.gene/sessions/Session state, archives, and summaries.
~/.gene/memory/Memory indexes and backend data.
~/.gene/runtime/Runtime state and service coordination files.
~/.gene/runtime/viewer-logs/Terminal viewer logs.
~/.gene/audit.log.ndjsonLocal audit stream.
~/.gene/audit-logs/Rotated or grouped audit logs.
~/.gene/reference/Reference repository checkouts and analysis artifacts.
~/.gene/selfheal/Self-heal snapshots, approvals, and outputs.
~/.gene/trading-help/TradingAgents checkpoints, reports, and JSON outputs.

Environment Variables And Secrets

NameUse
OPENAI_API_KEYOpenAI provider calls.
ANTHROPIC_API_KEYAnthropic provider calls.
GOOGLE_API_KEYGoogle provider calls.
OPENROUTER_API_KEYOpenRouter provider calls.
ALPHA_VANTAGE_API_KEYTrading/help market data workflows.
TAVILY_API_KEYTavily web search provider.
BRAVE_API_KEYBrave web search provider.
GENE_LIVE_E2ELive end-to-end runtime behavior when documented.
CLI secretsDocument how gene secret differs from shell environment variables and how values are redacted in logs, audit files, and JSON output.

Security And Policy Model

  • Explain local-first security posture and backend-required versus local-only commands.
  • Document managed policy defaults, overrides, and effective/platform views.
  • Describe approval gates and approval tokens.
  • Explain tool modes and the gene tools modes matrix.
  • Define sandbox, workspace, and browser isolation boundaries.
  • Show audit log locations and inspection commands.
  • Explain enterprise readiness checks.
  • Define god and servant modes operationally.

Source Material

  • Pasted GeneSYS CLI Documentation Outline
  • docs/reference/user-data.md
  • docs/tools/tool-mode-matrix.md
  • docs/runbooks/RUNBOOK_LOCAL_DEV.md