Skip to content

DAEMON_HOME stores still machine-global with board-local meaning: board-claims, board-suppress, surface-locks #101

Closed

Description

@SSFSKIM

arkho-board:ticket:36 — mirrored from the Arkho board.
Read-only. Edits here are reverted; closing this issue does not close the ticket. The board is the source of truth.
Board ticket: https://arkho-board-service.onrender.com/ui/t/36


Purpose

Ticket 33 made the api-mode toolkit repo-aware on the wire and keyed the sweep lock and the daemon-registry scans by binding (board + board_repo on each meta, _board_api.meta_is_mine). Three other machine-global stores under DAEMON_HOME still carry board-local meaning with no binding key, so two api-bound repos on one machine (this Mac mini: doperpowers and arkho) would share them:

  • board-claims/ — claim journals keyed by dispatch nonce; a repo-A sweep's replay/GC scan (_claim_journal.sh:167, _sweep_api.sh:1075) reads repo B's journals.
  • board-suppress/ — sweep suppression records, keyed by ticket number; ticket #9 in A suppresses #9 in B.
  • surface-locks/ — contested-surface locks, keyed by surface name; unrelated repos' surfaces collide only by name.

Non-blocking today: no api-mode worker can act as its run until ticket 35 lands, so no second repo runs daemons on this machine yet.

Acceptance

  • Each store is keyed (subdirectory or filename prefix) by the same binding digest the sweep lock uses, or each record carries board/board_repo and every scan filters on it — one rule for all three.
  • A drill per store: a neighbour binding's record is invisible to this binding's scan.

Activity

  1. added
    priority:P2
    status:ready-for-implementer
    on Sep 3, 2026
  2. added
    status:in-progress
    status:in-review
    and removed
    status:ready-for-implementer
    status:in-progress
    on Sep 5, 2026
  3. removed
    status:in-review
    on Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions