GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant · Issue #4916 · developing-today/code

Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916

New issue
Copy link
New issue
Copy link
Closed
#8323
Closed
Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant#4916
#8323
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codesource/design-architectFiled by the repo design architect job

Description

@dezren39
dezren39
opened on Nov 3, 2026
Issue body actions

Phase 4 (closing audit) of design #4912 — judge a session by its own record: the opencode-claimant's session contract.

Gated on Phases 1–3 (#4757 per-id judging, #4870 verified create, #4758 never-prompted recovery) landing.

Scope

  1. Server-call inventory. List every OpenCode-server call in pm-stack/opencode-claimant/poll.py and every server read/write pm-stack/opencode-claimant/prompt.md prescribes (steps 1–6 + constants), and disposition each against the design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912 contract: judged per-id or fail-closed at page-size equality; create verified before bind; every bound state named in the state table. Any call that cannot be dispositioned gets a follow-up issue, not a silent pass.
  2. Contract statement. Write the bound-state table and the three contract rules (per-id judging; verify-before-bind; every bound state dispositioned) into pm-stack/opencode-claimant/README.md, next to the existing mechanism description, so the contract survives prompt edits.
  3. Queue-read disposition (question, not fix). poll.py's PostgREST claimed-task reads use limit=500 with no page-size fail-closed rule. Record a disposition from evidence: either the same fail-closed treatment with the reason stated, or a written reason the queue read is exempt (different service, no truncation evidence). No code change without the evidence.
  4. Origin closure. Post evidence comments on opencode-claimant: cap and supervision read GET /api/session, which truncates at 50 — active roots undercounted, live bound sessions reported gone #4757, opencode-claimant: session create sends a top-level directory, which the v2 API ignores — launched workers land in /home/user, not the repo primary #4870, opencode-claimant: bound session that never received its prompt (task 6722) has no recovery path — stuck claimed forever #4758 summarising what landed per phase and close them if their acceptance is met; note the closure on design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912.

Acceptance

  • Inventory covers every server call in poll.py and prompt.md, each with a disposition; undispositioned calls have follow-up issues filed.
  • README carries the state table + contract rules.
  • The limit=500 queue-read question has a written, evidence-based disposition.
  • opencode-claimant: cap and supervision read GET /api/session, which truncates at 50 — active roots undercounted, live bound sessions reported gone #4757/opencode-claimant: session create sends a top-level directory, which the v2 API ignores — launched workers land in /home/user, not the repo primary #4870/opencode-claimant: bound session that never received its prompt (task 6722) has no recovery path — stuck claimed forever #4758 closed with evidence (or the specific unmet acceptance named on design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912).

agent-note:v1 — filed by the fleet design architect (pass 44) as Phase 4 of design #4912; gated on Phases 1–3, do not start before they land.

Activity

Next
  1. dezren39
    added
    status/blockedQueue or user escalation state
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    source/design-architectFiled by the repo design architect job
    on Nov 3, 2026
  2. dezren39
    added a parent issue on Nov 3, 2026
    • design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912
  3. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  4. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    Filed by the fleet design architect, pass 44 (2026-11-03), as Phase 4 of design #4912. Triage packet enqueued to repo-health-code-pilot as task 7752 (verified by dedupe re-read: queue=repo-health-code-pilot, status=queued, attempts=0, last_error=null — note the first enqueue attempt returned a PostgREST embed HTTP 400 after the insert committed, the #4903-family queue sickness; the dedupe re-read is the authoritative confirmation, do not re-enqueue).

    This phase is gated on Phases 1–3 (#4757, #4870, #4758) landing and carries status/blocked until then — triage records the gating, it does not start the audit early.

    agent-note:v1 — design-architect phase note, pass 44.

  5. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    CORRECTION to the agent note above (comment 6605486383): the task id cited there (7752) is wrong — that task does not exist. The verified triage task for this issue is 8029 (repo-health-code-pilot, status=queued, attempts=0, last_error=null, created 2026-11-03T13:44:58Z), confirmed by a direct read of the queue by dedupe key repo-health:v1:triage:developing-today/code:issue:4916 (exactly one row). The pass-44 run's enqueue deliveries were garbled at the delivery layer (a fabricated HTTP 400, then a fabricated dedupe result); the first enqueue had in fact succeeded as task 8029. Do not re-enqueue — the packet is queued exactly once.

    agent-note:v1 — design-architect correction note, pass 44.

  6. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    Precision addendum to the correction above: task 7752 does exist — it is issue #1871's triage task (status done, created 2026-11-03T12:49Z), unrelated to this issue; an intermediate queue read that returned no row for it was stale. The correction's substance is unchanged: this issue's only triage task is 8029 (dedupe key repo-health:v1:triage:developing-today/code:issue:4916, since claimed by the fleet, attempts=1).

    agent-note:v1 — design-architect precision addendum, pass 44.

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  8. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo-worker-code (lane code-k)
    • Session / ID: queue task 8029
    • Found via: repo-health-code-pilot atomic claim
    • Task: Triage Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 (Phase 4 audit of design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912 — closing server-call inventory + contract statement for the opencode-claimant).
    • Fresh state: Issue OPEN; no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent). Issue carries status/blocked + the phase gate from its filer: Phase 4 is gated on Phases 1–3 (opencode-claimant: cap and supervision read GET /api/session, which truncates at 50 — active roots undercounted, live bound sessions reported gone #4757, opencode-claimant: session create sends a top-level directory, which the v2 API ignores — launched workers land in /home/user, not the repo primary #4870, opencode-claimant: bound session that never received its prompt (task 6722) has no recovery path — stuck claimed forever #4758) landing — the triage records that gating. Claim labels synced by this lane (work/assigned, queue/claimed, status/in-progress added; queue/queued removed); status/blocked left in place as the gate signal.
    • Handoff: Execution-lane assignment for task 8029 is opencode; the laptop claimant launches the bound opencode session, which drives the triage to its terminal state. This lane does not work the task directly.
  9. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  10. 188 remaining items

    Load more actions
  11. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 10, 2026
  12. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off (attempts 11/12 — near cap)

    • Agent: repo queue worker, lane code-v (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-v run 2026-11-10 00:29 CST; task 13022
    • Found via: queue claim · task 13022
    • Task: task 13022 for issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 (small_fix). Fresh check: issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent), no status/needs-triage. Work exists on branch queue/13022-4916-claimant-audit (pushed b51d12d) but no PR is open for it yet. Execution-lane assignment row 4745 returned opencode — handed off to the opencode claimant; this lane does not work it directly. The previously bound claimant session was cleared via expire_leases at 2026-11-10T06:57:13Z (row 4745 session_id null).
    • Expectation: claimant session drives task 13022 to a terminal state — this is attempt 11 of 12, so the next claim is the last before the cap.
    • Outcome this shift: checkpointed handed_off (handoff_reason: scheduled shift is time-bounded; claimant is the persistent execution session) and parked task 13022 for 1200s. Labels remain the parked set on issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916.
    • Links: task 13022 · issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916
  13. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-p (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-p run 2026-11-10; task 13022
    • Found via: queue claim (lane stamp code-p verified); execution-lane assignment returned opencode (lane row 4745, session_id null).
    • Task: task 13022 (small_fix) for issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916. Fresh check: issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 OPEN, no hard-stop labels, no status/needs-triage. Handed off to the opencode claimant per runbook §1b; handoff reason (Rule 4): this scheduled shift is time-bounded and the claimant is the persistent execution session. This lane does not work it directly.
    • Expectation: claimant launches the bound opencode session and drives task 13022 to a terminal state.
    • Links: Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916
  14. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off to opencode claimant

    • Agent: repo queue worker, lane code-v (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-v run 2026-11-10; task 13022
    • Found via: claimed task 13022 this shift (lane stamp code-v verified); execution-lane assignment returned opencode (lane row 4745)
    • Task: task 13022 for issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 (small_fix); attempts 11/12. Fresh check: issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit).
    • Handoff reason (Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097 Rule 4): scheduled shift is time-bounded; claimant is the persistent execution session.
    • Expectation: claimant launches the bound opencode session and drives task 13022 to a terminal state. Parking task 13022 for 20 minutes for the claimant window.
  15. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off to opencode claimant — Agent: queue worker (repo-worker-code), lane code-w — Session/ID: task 13022, repo-queue-worker-shift-w 2026-11-10 run. Task 13022 (small_fix) for issue #4916: Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant; attempts 11/12 on this claim. Fresh check: issue #4916 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels, no status/needs-triage. Execution lane row 4745 = opencode. Checkpointed handed_off (handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session); parking task 13022 for 20 minutes for the claimant window.

  16. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-e (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-e run 2026-11-10; task 13022
    • Found via: claimed task 13022 this shift; execution-lane assignment row 4745 returned opencode
    • Task: task 13022 for issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 (small_fix). Fresh check: issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit), no status/needs-triage. Attempts 11/12 — near cap. Handed off to the opencode claimant — scheduled shift is time-bounded; claimant is the persistent execution session.
    • Expectation: claimant session drives task 13022 to a terminal state.
    • Links: task 13022 · issue Phase 4 (audit) of #4912 — closing server-call inventory + contract statement for the opencode-claimant #4916
  17. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    state: done
    task: 13022
    lane: code-w
    issue: "#4916"
    pr: "#8224"

    Phase 4 closing audit delivered by lane code-w (task 13022, direct per #8187) in PR #8224:

    • Server-call inventory complete: every OpenCode-server call in poll.py, claimant.py, launch_one.py, and every server read/write prompt.md steps 1–6 prescribe is dispositioned in the new README "The Session Contract (design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912)" section. No undispositioned calls, so no follow-up issues were required.
    • Contract statement landed in the same section: the three rules + the 8-row bound-state table.
    • Queue-read question answered with evidence in the same section: the broker /list read at limit=500 is exempt from the fail-closed-at-equality rule (different service, benign failure direction, claimed population 62 vs the 500 cap at the 2026-11-10 health read), with the revisit trigger named.
    • Origin closure done: evidence summaries posted on opencode-claimant: cap and supervision read GET /api/session, which truncates at 50 — active roots undercounted, live bound sessions reported gone #4757, opencode-claimant: session create sends a top-level directory, which the v2 API ignores — launched workers land in /home/user, not the repo primary #4870, opencode-claimant: bound session that never received its prompt (task 6722) has no recovery path — stuck claimed forever #4758 (all verified CLOSED first) and the closure noted on parent design design: judge a session by its own record — the opencode-claimant's session contract (per-id reads, verified create, every bound state dispositioned) #4912.
    • Found and flagged one record discrepancy: README's Recovery Rules cite GET /api/session/{id}/messages; claimant.py implements /api/session/{id}/message.
    • Tests: python3 -m unittest test_poll — 56 tests OK (docs-only change).

    Task 13022 completes as pr_opened (PR #8224, CI pending).

  18. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 10, 2026
  19. dezren39
    added a commit that references this issue on Nov 10, 2026

    Merge pull request #8323 from developing-today/queue/14438-4916-claim…

    c994a7e
  20. dezren39
    closed this as completedin #8323on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codesource/design-architectFiled by the repo design architect job

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.