Skip to content

Settings.json concurrent write protection #89

@dean0x

Description

@dean0x

Problem

No hooks write to settings.json (confirmed — all hooks are read-only). The risk is CLI-to-CLI only: two devflow commands running in separate terminals could read-modify-write settings.json concurrently, causing one write to silently clobber the other.

Proposed Fix

File-based mutex lock around read-modify-write operations in CLI commands that modify settings.json (e.g., devflow init, devflow memory --enable, devflow ambient --enable).

Scope

  • Low priority — requires two CLI invocations racing on the same file
  • No hooks involved, no runtime risk

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpost-v1.0.0Deferred to post-v1.0.0 release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions