Skip to content

codeSplitter line locks 2: wait in line, and soft intents #927

Closed

Description

@QuinnsCode

Design: apps/codesplitter/docs/line-locks.md (#925). Follows phase 1.

  • claim_lines {wait: true}: FIFO per file, a socket grant with a 15 s grant window, and MCP/CLI long-polls capped at about 20 s (an open request keeps the DO awake, which bills duration)
  • wait is refused to a caller holding claims in another file (no cross-file hold-and-wait, so no deadlock)
  • soft: true intents ("rewriting 40–80"): shown and listed on the page, but edits aren't refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions