Sigroom Docs

State, Secrets, And Security

Local GeneSYS owns configuration and working state under Gene home. HACP Control and provisioned assistant runtimes have separate key custody and private profiles. Keep those identities separate when configuring or troubleshooting them.

referenceGeneSYS users and operatorsSource reviewed 2026-11-23

Review Scope

Each article lists its source review date. Use your deployment's Downloads catalog to check which reviewed releases are available.

Local State

LocationPurpose
GENE_HOME, default ~/.geneBase directory for local GeneSYS state. Set it deliberately before initialization when using a separate profile.
config.jsonLocal configuration. Config inspection redacts sensitive fields unless raw output is explicitly requested.
env.shLocally loaded environment values. It may contain sensitive configuration.
sessions/ and memory/Session transcripts, archives, summaries, and configured memory state.
runtime/Runtime coordination, UI authentication state, logs, and related service metadata.
audit.log.ndjson and audit-logs/Local audit events and archived audit logs. Runtime log storage is runtime/logs.sqlite.
Private hosted/device/installed-runtime profilesSeparate authority-bearing configuration. Use the provisioned paths; do not substitute the standalone config.json.

Provider Credentials And Sensitive Output

Configure secrets through the local setup flow or the supported secret store. secret set accepts a value argument or prompts interactively when no value is supplied; it is not a general stdin-secret interface. Avoid putting credentials in command arguments or recordings. secret get prints the secret, and config --raw can reveal sensitive values. Local UI login prints a private token and login URL.

  • Use local provider credentials only for the chosen standalone provider or approved local inference broker.
  • Do not put provider keys in HACP harness packages, enrollment commands, room messages, shared artifacts, or source control.
  • Keep hosted/device configurations and their private key files in the provisioned private locations. Exporting or backing up state requires deliberate retention and access decisions.

Tool Mode And Approval

Initialization defaults to minimal; full enables broader sandbox capabilities and workspace writes. Review the active configuration and tool policy before allowing mutation, browser actions, self-heal, deployment or Git operations. A local sandbox configuration is not proof of HACP release trust or host qualification.

bash
gene config show
gene permissions
gene security
gene policy --help

HACP Key Custody

HACP Control verifies the harness release and runtime, owns signing material, and supplies run-scoped authority. The untrusted harness uses launcher IPC rather than holding long-term device keys. Optional local inference mediation keeps provider configuration in the trusted local GeneSYS process. It must be explicitly configured and admitted; starting the standalone UI does not enable it.

Scan a GeneSYS checkout

From the GeneSYS source directory, run pnpm run security:sandbox to scan the working source and generate a software bill of materials. The default scan includes current edits, lockfiles, public environment examples and new files allowed by Git ignore rules. It leaves private environment files and local .gene and .local state out of the snapshot. If you set GENE_TRIVY_SCAN_ROOT, the scanner reads that directory directly. Choose a prepared source directory for that override.

  • Host scans use your installed Trivy binary and its TRIVY_CACHE_DIR setting.
  • For Docker, run pnpm run security:sandbox:docker. The first build compiles verified Trivy source with a patched compression library and installs Git in the Alpine image. Both scans use the resulting image ID. GENE_TRIVY_IMAGE selects an existing image instead.
  • The November 23, 2026 check of the optional scanner image found five open OpenSSL advisories on both Linux architectures after the Alpine library updates. See the GeneSYS release supply-chain guide for the affected packages and the rebuild check.

Dedicated Railway staging volumes

The hosted staging connector runs as UID and GID 10001. For a dedicated Railway tenant with a root-owned /data volume, set RAILWAY_RUN_UID=0 on that tenant service before its first start or upgrade. Startup checks the staging binding, prepares the volume and starts the connector under the tenant account. An existing private /data/assistant directory keeps its contents and binding marker.

Sharing Evidence

Review logs, session exports, screenshots and artifacts before sharing. Preserve identifiers and hashes needed to correlate failures while removing credentials and unrelated private content. Stopping a runtime does not erase its stored transcripts or backups. Use the supported data lifecycle for the runtime that owns the information.

Source Material

  • GeneSYS/packages/cli/src/config.ts
  • GeneSYS/packages/cli/src/gene-home.ts
  • GeneSYS/packages/cli/src/commands/secret/service.ts
  • GeneSYS/packages/cli/src/commands/config/service.ts
  • GeneSYS/packages/cli/src/auth/uiAuth.ts
  • GeneSYS/scripts/security-sandbox-check.sh
  • GeneSYS/docs/security/release-supply-chain.md
  • GeneSYS/docs/runbooks/RUNBOOK_HOSTED_ASSISTANT.md
  • docs/operations/hacp-local-inference.md