Skip to content

A2: Plugin board adapter — issue-tracker toolkit speaks the Arkho board API #44

Closed

Description

@SSFSKIM

Parent roadmap: SSFSKIM/arkho docs/specs/2026-08-04-arkho-platform-roadmap.md — child A2 (lives in THIS repo: the diff touches the plugin).

Purpose

The substrate swap the E-cycle state machine was written to be neutral over: the issue-tracker toolkit + worker dispatch scripts speak the Arkho board API instead of the gh CLI. Board binding is per-repo configuration; gh mode remains a supported first-class substrate (X5 — consumer repos like ida-solution never require a Postgres service).

Acceptance

A worker runs the full protocol — register → claim → gate verdict → transitions → park/answer relay → epic recomposition → terminal — against a live Arkho A1 instance, transcripts indistinguishable from GH-board runs modulo transport. Wake delivery owned end-to-end for plugin workers (X6): level-triggered poll of unrelayed answers, idempotent resume, ack marker keyed to the answer event id; the crash-at-boundary drill passes (answered-but-unrelayed states re-polled, never lost, never double-resumed). Dispatch automation renews run leases for sessions with no sessionStore feed.

Edges / Contracts / Track

Blocked-by Arkho A1.G2 (cross-repo — no native edge; this ticket is born deferred and revives when A1.G2 lands). Completion additionally exercises A1.G3 (the epic-recomposition drill needs the reconciler). Blocks Arkho A5 and A3.G3 completion. Contracts: X1 consumer, X5 owner, X6 local-worker-mechanics owner. Track: controlled.

Activity

  1. SSFSKIM commented on Aug 3, 2026

    @SSFSKIM
    OwnerAuthor

    [board] deferred: Arkho roadmap child A2 (cross-repo): revive when Arkho A1.G2 (worker-protocol-complete API) lands — deferred so the unattended sweep cannot dispatch it against a board service that does not exist yet

  2. added
    enhancement
    status:deferred
    priority:P2
    status:ready-for-architect
    and removed
    status:deferred
    on Aug 3, 2026
  3. SSFSKIM commented on Aug 9, 2026

    @SSFSKIM
    OwnerAuthor

    Revived: the blocking gate A1.G2 is met (2026-08-09). PR SSFSKIM/arkho#6 merged and the deploy is live — https://arkho-board-service.onrender.com answers /healthz with a completed reconciler pass and serves the authenticated API (contract: board-service/API.md in the arkho repo, drill-pinned to source).

    deferred → ready-for-architect: A2 is controlled-track (roadmap § A2). Design inputs now standing:

    • Roadmap v1.2.1's two dispatcher obligations: resume-first polling (check /runs/needing-resume before fresh claims) and lane discipline (a dispatcher claims only for lanes it can actually run).
    • The live API's answer-relay semantics: answered parks are two-mode (bound resume vs human disposition) — A2's sweep/relay owns wake delivery end-to-end (level-triggered poll, idempotent resume, ack marker), and the crash-at-boundary drill is part of A2's acceptance.
    • Admin credentials for a live drill instance live on the operator machine (~/.arkho-board/secrets.env).
  4. SSFSKIM commented on Aug 15, 2026

    @SSFSKIM
    OwnerAuthor

    A2 program closed out end-to-end (2026-08-13). The four layers, all merged and live: adapter body (#50, v7.44.0) → server-side human routes (arkho#7, production) → client consumption (#61, v7.48.0; R1 run-actor close proven on production) → residual deferrals + the gh-mode meta-truncation bug (#65, v7.51.2). #51 and #60 auto-closed on #65's merge. Outward: arkho#9 pins the read-whole contract for /queue/decisions + /tickets. What remains is outside A2's definition — feature deferrals recorded in the #65 spec's §Deferred (per-child scale review for branchless epics; the PRE_PARK vocabulary for a qagent that bounced through ready-for-architect) and hygiene candidates ledgered in-session (bash 3.2 heredoc-in-$() sweep, a board-meta verb, runner exit-77 handling).

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

    enhancementpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions