mirror of
https://github.com/nearai/ironclaw.git
synced 2026-09-02 23:56:24 +08:00
* feat(setup): prompt for local profile on first run * refactor: encapsulate DB config backup/restore into Settings helpers Extract backup_database_config() and restore_database_config() on Settings to replace inline field-by-field save/restore in the setup wizard. Cleaner interface, consistent with project encapsulation standards. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(setup): address henrypark133 + zmanian review — reorder flow, remove backup/restore (#2389) - Remove `DatabaseConfigBackup` struct and backup/restore methods; reorder quick-mode flow so profile selection runs before `auto_setup_database()`, letting the existing clone→try_load→merge_from pattern preserve wizard-chosen DB settings naturally (henrypark133). - Add comment explaining the cfg-gated `loaded` variable shadowing in `try_load_existing_settings` (zmanian #1). - Change catch-all `_ =>` to explicit `1 => ... _ => unreachable!()` in profile match arm (zmanian #3). - Add caller-level test verifying profile application preserves DB config through the merge_from cycle (henrypark133 testing feedback). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
29 lines
561 B
TOML
29 lines
561 B
TOML
# IronClaw Profile: local
|
|
#
|
|
# Configuration for solo developers working locally.
|
|
# Disables server-oriented gateway and Docker sandbox features while keeping
|
|
# personal-assistant background tasks enabled.
|
|
#
|
|
# Usage: set IRONCLAW_PROFILE=local in your environment or .env file.
|
|
#
|
|
# You can override any setting here via ~/.ironclaw/config.toml or
|
|
# environment variables.
|
|
|
|
database_backend = "libsql"
|
|
|
|
[channels]
|
|
gateway_enabled = false
|
|
cli_mode = "tui"
|
|
|
|
[sandbox]
|
|
enabled = false
|
|
|
|
[heartbeat]
|
|
enabled = true
|
|
|
|
[routines]
|
|
enabled = true
|
|
|
|
[hygiene]
|
|
enabled = true
|