fj issue lock/unlock and fj pr lock/unlock: moderate a conversation #166

Closed
opened 2026-06-15 15:00:44 +00:00 by stephen · 0 comments
Owner

Problem

No way to lock or unlock an issue/PR conversation from fj; maintainers drop to the web UI to freeze a heated or resolved thread.

Acceptance criteria

  • fj issue lock <n> [--reason off-topic|too-heated|resolved|spam] and fj issue unlock <n>.
  • fj pr lock <n> / fj pr unlock <n> (PRs share the issue index).
  • Maps to Forgejo PUT /repos/{owner}/{repo}/issues/{n}/lock (reason body) and DELETE .../lock.
  • Locking an already-locked thread (or unlocking an open one) exits 0 with a clear note, not a raw error.

Value

Moderation without leaving the terminal; scriptable thread freezing.

Priority

p3 (low frequency).

Dependencies / sequencing

None.

Overlap

None.

## Problem No way to lock or unlock an issue/PR conversation from fj; maintainers drop to the web UI to freeze a heated or resolved thread. ## Acceptance criteria - [ ] `fj issue lock <n> [--reason off-topic|too-heated|resolved|spam]` and `fj issue unlock <n>`. - [ ] `fj pr lock <n>` / `fj pr unlock <n>` (PRs share the issue index). - [ ] Maps to Forgejo `PUT /repos/{owner}/{repo}/issues/{n}/lock` (reason body) and `DELETE .../lock`. - [ ] Locking an already-locked thread (or unlocking an open one) exits 0 with a clear note, not a raw error. ## Value Moderation without leaving the terminal; scriptable thread freezing. ## Priority p3 (low frequency). ## Dependencies / sequencing None. ## Overlap None.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/fj#166
No description provided.