- replace sync fs calls in compatible CLI JSON helper with fs.promises
- make droid diagnostics/raw-settings service + routes async
- update unit tests for async save/read paths
- add shared backend JSON file probe/write utilities for compatible CLI settings
- add shared frontend raw JSON editor panel and wire Droid page to it
- support PUT save flow with validation and mtime conflict handling
- replace ~/.config/factory/config.json diagnostics with legacy ~/.factory/config.json
- keep ~/.factory/settings.json as the primary BYOK source in UI + API payload
- update droid dashboard tests and frontend typings for legacyConfig
- add /droid route under a new Compatible CLIs sidebar section
- expose /api/droid/diagnostics and /api/droid/settings/raw for install and BYOK visibility
- include read-only settings.json viewer plus model/provider breakdown
- add unit coverage for droid dashboard service parsing and path logic
- persist selector in ~/.factory/settings.json as settings.model
- stop injecting '-m custom:...' for interactive droid launches
- improve provider inference for localhost /v1 and qwen/deepseek/kimi
- add regression tests for adapter, provider, and config manager
- add Droid provider resolver aligned with Factory BYOK schema
- persist and normalize CCS_DROID_PROVIDER across CLI and dashboard flows
- use Droid managed selector aliases with safe legacy fallback
- add unit coverage for provider inference and selector usage
Closes#632
- support POSIX -- terminator so dash-prefixed variant names remain positional
- export variant parser for direct unit tests
- add --target parsing coverage for API and cliproxy arg parsers
- resolve settings file from profile.settingsPath instead of reconstructing by name
- skip non-claude targets for local claude-api-key sync semantics
- add mapper regression tests for both behaviors
- add multi-target help examples for ccsd codex and ccsd agy
- document per-profile target defaults for API and CLIProxy profiles
- include dashboard parity notes for target configuration
- add --target parsing and validation in create/edit/remove flows
- show target in list/remove/edit UX and usage examples
- document target option in cliproxy help output
- validate target request payloads for create and update APIs
- pass target into single/composite service operations
- include target in variant API responses
- add target to variant create/update flows for single and composite modes
- persist target in unified config and legacy cliproxy entries
- include target in variant list/remove return payloads
- parse and validate --target claude|droid on api create flow
- show target in API and CLIProxy list tables and usage output
- add parser unit tests for target success and failure cases
- validate target payloads for profile create/update
- return target in profile list and create responses
- allow updating target independently from settings values
- add target fields to API profile and CLIProxy variant service types
- persist target in unified config and legacy profile_targets map
- expose target update API via updateApiProfileTarget
- add lock-held mutateUnifiedConfig read-modify-write path for config.yaml
- use atomic mutation in /api/settings/auth/antigravity-risk to prevent stale overwrites
- replace browser confirm with in-app 2-step banner + typed phrase validation
- verify saved AGY power-user value with post-save read before showing success
Refs #509
- change required acknowledgement phrase to "I ACCEPT RISK"
- apply typed phrase requirement to Gemini and Antigravity add-account flows
- keep CLI/server and UI phrase validation aligned
- update antigravity responsibility unit test
- add safer error responses for settings/auth routes to avoid leaking internals
- guard sensitive AGY settings endpoints to localhost when dashboard auth is off
- validate start-route bodies and reject OAuth start in remote mode for consistency
- preserve cliproxy.kiro_no_incognito and token_refresh during config merges
- enforce AGY acknowledgement in remote auth-token run/auth command paths
- replace issue #622/#619 references with issue #509 across CLI and dashboard
- shorten acknowledgement phrase to "I ACCEPT AGY RISK" for faster typing
- rename acknowledgement payload field to reviewedIssue509 and update tests