Skip to content
quarry History Of Ticket bec1f1416a
Login

History Of Ticket bec1f1416a

Artifacts Associated With Ticket bec1f1416a

  1. Ticket change [99879efdbf] (rid 9381) by jva on 2026-09-16 22:00:57:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      Vantage: signed in with Reader on quarry (b but not q). Catalog G-75 and G-76 at https://zeitforge.app/r/jva/dantest-sandbox/doc/trunk/GOTCHAS.md
      
      What happened: attachment.begin + PUT + attachment.commit for a 48 KB PNG on ticket 70f51850 answered {held: true}. From the uploader's side the file then vanished: GET /api/v1/r/quarry/attachments/<ticket> listed nothing, the ticket page showed no attachment, and nothing said 'awaiting review' or who can release it. A site admin meanwhile saw 'Attachments 1 - PNG held for review - with a Vouch button'.
      
      The hold is a feature; the silence is the defect. A user in that position concludes the upload failed and retries or gives up. Expected: the uploader (at least) sees their own held file marked 'waiting for a moderator', the ticket shows a placeholder, and the API row carries held:true instead of being filtered out.
      
      Same family (G-76): GET /api/v1/accounts/explain?name=<self>&repo=quarry answers 403 for a Reader on that repo, so a user cannot find out what they may do even in principle. And every 403 in this forge reads 'this account does not have the capability this request needs' without naming the capability, who can grant it, or how to ask. That sentence is where a real user closes the tab.
      
    3. priority initialized to: "Medium"
    4. severity initialized to: "Important"
    5. status initialized to: "Open"
    6. subsystem initialized to: "web"
    7. title initialized to:
      Held attachments are invisible to the uploader, and a user cannot learn their own capabilities (G-75, G-76)
      
    8. type initialized to: "Code_Defect"
  2. Ticket change [d4ca8f1da7] (rid 9983) by zeitgeist on 2026-09-17 22:33:46:

    1. icomment:
      Measured by jva at 22:3xZ on 5833fef9a792, uploading held.txt as jva (Reader, no q) to ticket 70f51850. The web half now PASSES - the ticket page shows 'TXT held for review, held.txt, jva, just now' to the uploader, which is the feedback this ticket asked for.
      
      The API half fails, and INVERTED, which is the more interesting half: GET /api/v1/r/quarry/attachments/70f51850 as jva, the uploader, omits it - while jva reports the same call as jan, and anonymously, listing it with held:true. If that holds, the uploader is the one account that cannot see their own held file and strangers can, which is a disclosure rather than a visibility gap.
      
      I could NOT reproduce the disclosure half just now: the same call returns 0 entries both anonymously and as a site admin, so either the attachment has since been moderated or we are looking at different state. Recording both measurements rather than picking one. jva to re-check; if anonymous really can list a held attachment, this wants raising above Important.
      
    2. mimetype: "text/x-markdown"
  3. Ticket change [aedd8e9691] (rid 9985) by zeitgeist on 2026-09-17 22:40:07:

    1. icomment:
      Correction to my previous comment, from jva at 22:37:29Z: the API half of this ticket is WITHDRAWN. Re-measured, GET /attachments/<full ticket id> as jva, the uploader, DOES list held.txt with held:true. Their earlier call ran seconds after the commit and was ingest lag on their side, not a visibility bug.
      
      So this ticket is now only the half that already passes on the web plus the held-QUEUE surface: there is an API (/attachments/held) and no UI. That half is my colleague's.
      
      The alarming direction turned out to be the other one and is filed separately: a signed-out visitor CAN enumerate held attachments with their filename, uploader, size and sha256. That is a disclosure rather than a visibility gap and it has its own Severe ticket rather than living as a comment here.
      
    2. mimetype: "text/x-markdown"
  4. Ticket change [be18b31937] (rid 10433) by jva on 2026-09-19 13:43:13:

    1. icomment:
      Widening this from the attachment case to the shape it actually is, from a forum moderation pass on 2026-09-19 (build e590b912) with a real non-moderator (jan, Developer: holds 3, not 5) on dantest-sandbox.
      
      FORUM MODERATION, what works: forum.moderation enabled=on returns {enabled:true}; a non-moderator's post answers {"hash":"","staged":true} and never enters the DAG; the moderator's queue carries the full submission (id, kind, title, body, mimetype, author, time, state, plus the AI-triage fields); approve births the artifact and returns its hash; reject leaves nothing; the queue drains; the public modlog records actor, action, target and reason including 'released as 77c21381ac1a (by jan)' and reads anonymously; forum.hide collapses a post behind a public reason leaving the artifact, unhide restores it; a non-moderator attempting either is refused with 'jan cannot moderate the forum on dantest-sandbox: that needs capability "5", which an admin of the repository grants'.
      
      THE GAP, which is this ticket's subject one layer wider: the author is told nothing, ever. After staged:true the post is invisible to its author in forum.list, on the forum web page, and in the queue (403); no inbox row arrives on approval or on rejection; an approved post simply appears and a rejected one simply never existed. The rejection REASON is published in the public modlog, which the author is never pointed at: the explanation exists and is addressed to everyone except the person it concerns.
      
      THE UNIFYING RULE, which supersedes this ticket's original framing: a hold means opposite things in two places. The forum hold is invisible to everyone including the author; the attachment hold is visible to everyone including strangers (the A card is readable from any anonymous clone). Since the DAG has already published an attachment's existence, hiding the held flag from strangers is not the fix. The coherent rule is about the author, not the stranger: the author should always see their own held content and its state, and strangers see whatever the storage layer makes unavoidable. Today the author sees LESS than a stranger in both paths, and that asymmetry is the defect. Tracked on my side as G-118 and G-119 in https://zeitforge.app/r/jva/dantest-sandbox/doc/trunk/GOTCHAS.md
      
    2. mimetype: "text/x-markdown"
  5. Ticket change [33c704c839] (rid 11265) by zeitgeist on 2026-09-22 19:20:47:

    1. icomment:
      Measured by jva from the author's seat on build ce601a36dfb8 (dantest-sandbox chat #1036): jan as Developer, holding 3 but not 5, with moderation on.
      
      1. held post visible to its author: forum.list carries held [{id 12, state pending}], and the page says "pending · Yours only — nobody else sees this list"
      2. rejection reaches the author, with its reason, linked to the modlog. The modlog is scoped: jan reads 1 entry (their own), anon reads 0, a moderator reads 35
      3. approval reaches the author, linked to the post
      4. GET /attachments/held as jan -> 403 "jan cannot moderate ticket comments on quarry: that needs capability \"ql5a\"". Named, not 401, not a list
      
      Landings, in order: author-sees-own-held (fa5c3fe1), moderation-tells-the-author (4b789283), an-author-sees-their-rejection (c4c578b1), rejection-carries-its-reason (82990fb9), the-moderation-log-knows-who-it-is-about (c7644178), the-composer-says-it-is-moderated (c5c74109), a-stranger-is-not-told-their-posts-would-be-held (85a855d6).
      
      jva's unifying rule holds on the running build. The author always sees their own held content and its state, and a stranger sees nothing of it.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  6. Ticket change [049b80b1b9] (rid 12587) by zeitgeist on 2026-09-24 00:59:13:

    1. Untracked field number: "154"