Skip to content

fix(runtime): harden filesystem mutations against external path replacement #2600

Description

@Astro-Han

Maka serializes cooperative file mutations by canonical path, but Bash or external processes can replace that path between lock resolution and mutation. This affects Write/Edit/FormatJson/ApplyPatch; delete may unlink the replacement, and worker disconnects may leave the outcome unknown.

Define a shared filesystem-authority contract for stable target identity, compare-and-delete/update, and post-dispatch unknown outcomes. Keep this separate from individual editing tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions