Skip to content

issue-tracker api mode is not repo-aware: human-default writes land in DEFAULT_REPO, reads span every repo #97

Closed

Description

@SSFSKIM

arkho-board:ticket:33 — 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/33


Purpose

Observed on the arkho live flip (2026-09-03, runbook step 6): from the arkho checkout, board-register.sh in api mode registered ticket 31 into doperpowers and the mirror created SSFSKIM/doperpowers#96 for it. The api-mode toolkit speaks with the unscoped BOARD_HUMAN_TOKEN for every human-defaulted verb and sends no repo; the server's rule for an unscoped ordinary write with no repo is DEFAULT_REPO = 'doperpowers' (arkho board-service/src/repo.js). Reads have the twin symptom: board-list.sh from arkho prints every repo's tickets because ?repo= is never passed and the read default is all repos.

The board contract already carries what the client needs: repo on POST /tickets (required of an unscoped credential to land anywhere but the default) and ?repo= on the list/feed reads. The client never learned its own repo.

Acceptance

  • From a bound checkout, board-register.sh lands the ticket in that checkout's board repo; a register into the wrong repo is impossible without an explicit override.
  • board-list.sh / board-show.sh and the other reads narrow to the checkout's repo by default (an explicit flag widens to all).
  • The repo the client speaks for is a declared fact — "repo" in .doperpowers/board.json (revising A5's "board.json is repo-agnostic" planning fact) or an equivalent — not inferred from a directory name.
  • The arkho cutover runbook's step 4 / step 6 text is updated to match once this lands.

Activity

  1. added
    priority:P1
    status:ready-for-implementer
    status:in-progress
    status:in-review
    and removed
    status:ready-for-implementer
    status:in-progress
    on Sep 3, 2026
  2. removed
    status:in-review
    on Sep 4, 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:P1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions