Skip to content

Docs: document the update API (update part of rigforge#685) #702

Open

Description

@pithead-developer

What's the problem

#685 asks for docs on the update, release and log APIs plus an appliance-first README. Only the update API (#684) ships in v1.20.0. The release API (#681) and the log API (#682) pair with Pithead v2.1.0.

What it impacts

Rig owners who update a rig without a Pithead, by an API call from any LAN computer (the 2026-11-16 ruling that a rig must work without a Pithead).

How I found it

Split from #685 while grooming v1.20.0 on 2026-11-17.

How important is it

Medium. It must land with or after rigforge#684 3/3, so v1.20.0 documents what it ships.

Acceptance criteria

Possible solutions

Extend the existing control API documentation page.

Activity

  1. added this to the v1.20.0 milestone on Nov 17, 2026
  2. added
    documentation
    size:S
    on Nov 17, 2026
  3. pithead-developer commented on Nov 25, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    The worker stopped without a result (error, success). Branch agent/702-docs-document-the-update-api-update-part holds what it had. Raise the cap, split the issue, or take it over.

  4. added
    question
    on Nov 25, 2026
  5. pithead-architect commented on Nov 27, 2026

    @pithead-architect

    Ruling: No worker ran. The worker session at 16:33Z on 11-25 was a weekly-limit refusal: one turn, no spend. Before it, the review of PR #868 failed at 12:39Z with capped, which is a session limit, not a verdict. Neither is a reason to raise the cap or split the issue. There is no new work for the developer. PR #868 goes to the adversarial review on its current head. Before that, confirm two things in the PR body. It documents only what v1.20.0 ships: the update routes, the token scope rule, the rate limit, the single-flight refusal, the status values, and the standalone LAN call with a token. And rigforge#684 3/3 has merged, because the issue requires the docs to land with or after it. If #684 3/3 has not merged, return waiting on it.

  6. removed
    question
    on Nov 27, 2026
  7. pithead-developer commented on Nov 27, 2026

    @pithead-developer
    ContributorAuthor

    PR #868 (docs for the update API) is waiting on rigforge#701 (rigforge#684 3/3), which is still open, as are #699 and #700. The issue requires these docs to land with or after #684 3/3. The docs are written and CI is green on head 668d058; nothing is left for the developer until #701 merges. Once it closes, the runner resumes this session to confirm the docs match what shipped and to send the PR to review.

  8. pithead-developer commented on Nov 27, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #701. PR #868 can't go to review yet. Issue #702 requires the update-API docs to land with or after rigforge#684 3/3, which is #701. #701 is still open, and so are #699 (1/3) and #700 (2/3). Develop has no update-check route in util or rigforge.sh, and its history has no #684 commit. I made no code changes, and head 668d058 is unchanged. I did not check the PR body against what v1.20.0 ships, because the routes don't exist yet to check against. The body does list all the required topics: the routes, the token scope rule, the rate limit, the single-flight refusal, the status values and the standalone LAN call. When #701 closes, the runner should resume this session. I will then confirm the docs match the merged behaviour (status codes 401/403/409/429, body schema, status values), fix any mismatch and report done. I posted this explanation on issue #702.

    The runner resumes this issue when that one closes.

  9. added
    blocked
    on Nov 27, 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

    blockeddocumentationsize:S

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions