Artifacts Associated With Ticket 4bc7035fcca7d8c4b5322b8ef222033e8dc03515
Ticket change [409be9596a] (rid 9354) by jva on 2026-09-16 18:19:36:
- Untracked field cmimetype: "text/x-markdown"
- comment initialized to:
Roundup of the smaller findings from Jan's e2e campaign (jva), 2026-09-16. Numbers refer to https://zeitforge.app/r/jva/dantest-sandbox/doc/trunk/GOTCHAS.md which has the repro for each. The big ones already have their own tickets (74f040e0, b112b205, b683c54b, 2b8b96ae, a6110cdc, 698442a3, dc748de1, 9ef3c2e1, 7ddd1768). API and routing - G-1: web URL is /r/{owner}/{repo} but the API key is the bare {repo}; both slash and %2F forms fail. Worth a docs note or an alias. - G-2: `tip` is refused by file.get (hash min=4) but accepted by doc.get, where it resolves to the newest check-in on ANY branch, not trunk. - G-5: OpenAPI declares a bearerToken scheme on every token op but no op mints one; 401 advertises Basic. Either add the minting op or drop the scheme. - G-51: field names differ from the obvious ones and only the docs table says so (chat.post takes text, forum.vote takes dir, forum.subscribe takes state, team.member takes account). Fine, but a 400 that names the expected field would help. - G-59: inbox.mark error text says 'name some ids or ask for all' while the schema is {ids, all, as}; forum.poll on a post without a poll is a 400 and there is no op to create a poll. - G-34: index lag of a few seconds after a push; repo.get and landing.get read stale for one call. A read-your-writes marker would let clients wait correctly. Repos, teams, visibility - G-33: repo.get reports contributors 0 while repo.list and counts report the real number. - G-37/G-52: repo.claim and team.repo.add/remove move the web URL (/r/{repo} -> /r/{owner}/{repo} -> /r/{team}/{repo}); the previous owner URL answers 404 instead of redirecting, so saved links break on every move. - G-38: Private goes to a wizard (fine) but the visibility form's 303 points at the bare-namespace /r/{repo}/settings/private path. - G-42: the Private wizard lists every plain forge account as 'loses access'; on a bigger forge that is every account. - G-53: bucket.get on a repo using the forge bucket returns the forge's own R2 endpoint, bucket name and access key id to any repo admin. Mask when forge:true. - G-55: people.mention returns every account with its full capability string to any signed-in user. Landings - G-43: landing.get replies counter stays 0 after a comment and an accept (posts lists three). - G-44: landing.accept answers {"hash":"accepted"} where the merge check-in hash belongs. - G-45: the landing message doubles as its title (titleIsBody) and the accept reply renders 'zit-landing-state: accepted' as body text. - G-46: the proposed branch stays open after landing; an option to close it on accept would suit GitHub-trained users. Tickets, attachments, CI - G-48: ticket vocabulary is not enforced by the API (status 'Bogus' accepted) while unknown columns are refused. - G-54: attachment.head/link/get want the blob (src) hash; the docs say 'content-artifact hash', which reads as the artifact hash from attachment.commit. - G-57: attachment.get on an uploaded (external) file returns the 129-byte stub, not the bytes; list says size 21. - G-65: check.report takes the reporter token as a body field (RFC 0009 reads as a bearer), and after two accepted reports the external check is not visible in checkin.get, ci.list, the check-in page or the CI page. - G-47: the forge does not serve repository HTML raw (correct for CSP), so a repo cannot host its own demo page; fossil's /uv or a raw route would cover it. - priority initialized to: "Low"
- severity initialized to: "Minor"
- status initialized to: "Open"
- subsystem initialized to: "api"
- title initialized to:
Roundup: smaller issues from the e2e campaign (G-1..G-65, 22 items)
- type initialized to: "Code_Defect"
Ticket change [bca05c5dd3] (rid 9372) by zeitgeist on 2026-09-16 18:40:16:
- icomment:
Triage (zeitgeist): keep as a catalogue; do not work it as a ticket. 22 items of unrelated causes in one ticket cannot be closed and will not be. Suggest promoting anything that is a correctness or security claim into its own ticket as it is picked up, leaving the cosmetic and docs items here. G-5 (OpenAPI declares a bearerToken scheme no op mints) is worth pulling out early — small, and exactly the kind of thing that sends a new API user down a path that does not exist.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [f5159c5ef3] (rid 9986) by zeitgeist on 2026-09-17 22:41:56:
- icomment:
REARRANGED. This ticket could never be closed: it is 65 findings in one record, so every item that got fixed left it exactly as open as before, and the one item with a security shape sat at Minor priority because the BAG is Minor. Split out, each now closeable on its own: 848976525771 G-33 + G-43, counts that disagree between surfaces 7d46f7825eb9 G-48, a status outside the field's own values is accepted 15790e6e912e G-55, the mention list and capability letters (filed as reported, NOT reproduced by me) STILL LIVE HERE, from jva's pass at 22:3xZ on 5833fef9a792, left inline because each is small and none is load-bearing: G-1 owner-path 404, G-5 bearer scheme still declared, G-45 message-as-title and the state header in the reply body, G-46 branch stays open, G-57 attachment.get returns the 129-byte stub, G-59 inbox.mark wording. G-57 IS WORTH RETESTING BEFORE ANYONE WORKS IT. My colleague fixed a bug today where every attachment view and download on this forge was refused by the bucket - R2 answers 400 for a presigned URL missing x-amz-content-sha256, which S3 infers - and proved a download end to end afterwards. The 129-byte stub may have been that, in which case G-57 is already gone. Improved per jva: G-53 (the access key id is out of bucket.get; the endpoint is still on the settings page), G-74 (teams/new exists). By design, leave: G-2 tip semantics, G-47 raw serving, G-52 bare-path redirect (works now). Not retested today: G-44 accept hash, G-65 external check visibility, G-37/38/42 wizard and namespace moves. Keeping this open as the INDEX for the six inline items rather than closing it, so jva's catalogue numbering still has a home.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [cc72417264] (rid 10023) by zeitgeist on 2026-09-17 23:20:03:
- icomment:
Two more split out, on jva's ranking of the remaining six by whether the line undersells them: 9afa2e374059 G-57, attachment.get returns the stub as if it were the file (filed Severe - verified, and worse than the line suggested) a907073c75fd G-5, the spec declares a bearer scheme that does not work and omits the Basic auth that does Staying inline, also on jva's ranking: G-45 (landing message doubling as title, state header in the body - cosmetic, but on the surface people read most), G-59 (inbox.mark's error names a rule rather than the grammar), G-46 (branch stays open after landing - by design in fossil terms, a UX choice), G-1 (owner-path 404, which the docs note handles). G-57 was verified before filing rather than copied across, and it is worse than its line: the response carries the real file's NAME with the stub's SIZE and 143 bytes of manifest text, so a client saves the wrong bytes and has nothing to report.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [707b421f44] (rid 10382) by zeitgeist on 2026-09-18 21:04:04:
- icomment:
jva -- where your stack stands tonight, and two things I need from you. CLOSED TODAY, all four measured on the forge rather than on a landing title: - dc748de1 partial repo.update wipes the other fields. Fixed twice over: the fields are a patch, and the write-back that made a stale read durable is gone. Measured on dantest-sandbox -- a chat-only save now leaves description, visibility, homepage, topics and mirrorable untouched. - 2b8b96ae partial me.prefs.set wipes the matrix. Same shape, opposite fix: the unit of presence is the FAMILY, because an unticked checkbox and an absent family look identical in a form. Posting only mention now leaves the other three alone; naming a family with no channels clears it. - 9b8b8fb6 attachments to the forge's bucket. dantest-alias and dantest-sandbox now REFUSE with "bind a bucket under Settings > Attachments", and quarry still uploads to its own. Your 22:3xZ measurement said the endpoint was still disclosed; it is gone now too. - b112b205 private repository cannot be cloned. Both halves. The server was always right and nothing proved it -- all three challenge tests asserted a refusal, so a gate refusing everybody would have passed every one. The client was the real defect and was upstream: zit sent no Authorization header at all. Fixed in zit 0.3.23 (danmestas/zit#204). Measured: anonymous gets a message naming the flags, `ZIT_PASSWORD=... --user` transfers 20 artifacts. IN FLIGHT FROM YOUR MEASUREMENTS: - ad732c8f your close-the-protected-branch finding. Quarry's own door is shut and deployed: checkin.close and reopen now take an owner's hand, and the check-in page stops offering a button that would refuse. But your repro went through the PUSH path -- `fossil tag add --raw --propagate closed` as jan -- and that is NOT fixed. X-Zit-Protect refuses check-ins joining a protected branch, and a control artifact carrying `closed` joins nothing. Your ticket named the decision it needs and I have put it to dmestas rather than guessing: does protection extend to lifecycle tags, or only to check-ins? Likely zit-side. - bd68d107 worker tokens. A colleague is on it (worker-scope). THE SECOND HALF OF YOUR ASK IS STILL OPEN AND IT IS MINE. You said whoever fixes the hole should also fix the message, because "cannot commit against a closed leaf" names neither the cause nor the actor and the recovery appears in no UI. You were right and I have not done it: index.TagEvent carries a date but no user, so saying WHO closed a branch means resolving the tag's source artifact to its author. It is real plumbing rather than a line, which is why it is not folded into tonight's landing instead of being quietly dropped. The reopen control at least now shows to the people who can use it. TWO THINGS I NEED FROM YOU: 1. If a READ-ONLY collaborator still cannot clone a private repository, that is a separate question from b112b205 and I would rather you filed it fresh than reopened that one. The upstream fix works through HTTP Basic, which needs no card secret -- but a card's shared secret only exists for an account with WRITE capability, so read-only was never covered by the card route at all. You are the only person set up to test that vantage. 2. When you file, put the body in `comment`. ticket.new has no `description` field, and until tonight a body sent under that name was discarded at decode with a 200 answer -- about a dozen filings from this account lost their evidence that way. It now refuses and tells you the field list instead (landing 52b425079023). Your filings were never affected; I mention it only so a script of yours does not meet the new refusal cold. Your measurements have decided three arguments today that we would otherwise have settled wrongly between ourselves -- the mirrorable laundering, the severity of the close hole, and the bucket routing. Thank you.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [394e0e0e5a] (rid 11302) by zeitgeist on 2026-09-22 22:12:55:
- icomment:
G-44 fixed on build 16670a54f4ca, landing b49f6d2f7f57 (an-accept-names-its-merge). Cause: zit prints a sentence for accept ("accepted feat/x -> trunk") and quarry took its first word as the hash. Now the first word is kept only when it is a full artifact hash, and on accept the merge check-in is read once from the index and used by the response, the closing note on every ticket the landing closes, and the tripwire. The closing note was a second, unreported instance: it ended "(accepted)" where the merge belongs. Measured by the reporter on the running build (dantest-pushmatrix, #1051): accept answered hash ce882d874bcfef53538520cf2499a04ff808ead25b1bbc6b853f1fbeb8136b22, identical to landing.get's merge.checkin and the new trunk tip; a ticket named with closes [e6ef913926] closed with the note "Closed by g44-probe landing on trunk (ce882d874bcf)". reject is unchanged and still answers the rejection post's hash. This closes the G-44 item only; the roundup stays open for its other items. - mimetype: "text/x-markdown"
- icomment:
Ticket change [8e2ce04e58] (rid 11337) by zeitgeist on 2026-09-22 22:30:32:
- icomment:
Sweep of all 22, measured on 16670a54f4ca where measurable. Kept open for what remains. CLOSED by other work G-5 OpenAPI bearer scheme landing 875bf925 (open) — Basic declared, bearer gone, caps published G-33 repo.get contributors 0 848976525771 G-43 landing replies counter 848976525771 G-44 accept answers "accepted" b49f6d2f7f57 G-48 ticket vocabulary unenforced 0c4bf1d5 (API); DAG path deliberately not, per dmestas G-51 400 names the expected field strict-json-body: 'no field "message" on chat.post; it takes: ref, repo, text' FIXED on landing 296e4d007433 (open) G-1 owner/repo not an API key refusal now names the bare name to try G-2 tip refused by file.get validator aligned with doc.get STILL OPEN, measured G-53 bucket.get leaks the forge's R2 endpoint/bucket/access key to a repo admin — reproduces now; handed to the other session with their 6ef0a4d6 bucket landing G-59 inbox.mark wording is fine on re-read ('name some ids or ask for all' matches {ids, all}); "no op to create a poll" is by design — a poll is a ```poll block in markdown, which the composer's slash menu inserts NOT MEASURED THIS PASS (need a fixture or a seat I don't hold) G-34 index lag marker · G-37/52 URL moves not redirected · G-38 wizard 303 to bare namespace · G-42 wizard lists every account · G-55 people.mention leaks caps · G-45 title-is-body · G-46 close branch on accept · G-54/57 attachment hash naming and external stub · G-65 external check invisible · G-47 raw route Suggest the remaining measurable ones (G-37/52, G-42, G-55, G-54/57, G-65) get their own tickets when someone measures them, and this roundup closes once G-53 lands; the rest are features or need jva's seat. - mimetype: "text/x-markdown"
- icomment:
Ticket change [06e4c4be51] (rid 11338) by zeitgeist on 2026-09-22 22:30:53:
- icomment:
Correction on G-53 from the sweep above — it is not a leak. The other session measured three repositories from the admin seat on 16670a54f4ca. dantest-sandbox is not on the forge fallback: it has a binding of its own, made deliberately by dmestas on the 21st to unblock jva's attachment testing (sandbox chat #918). bucket.get shows a repository's own binding to its admin in full, by design, and the guard pins that. The forge fallback — dantest-pushmatrix — IS redacted: no endpoint, no bucket name, no key id. So what I read as "the forge's binding shown to a repo admin" was the sandbox's explicit binding shown to the sandbox's admin, which is the intended answer. If dmestas wants that binding back, `bucket.unset` on dantest-sandbox is the whole fix. G-53 closes on this measurement; the other session's `6ef0a4d6` changes the fallback's `bound` to false with a note and leaves explicit bindings alone. I measured one repository and generalised from it. Recording that so the next sweep measures a fallback repository too.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [c99c894ab7] (rid 11394) by zeitgeist on 2026-09-22 22:53:39:
- icomment:
jva measured the remaining items from jan's seat on 13baeb4667fc (#1068/#1069). Updating the table: PASS G-2 (tip -> 200; resolves to the newest check-in on any branch, which is stock Fossil's meaning), G-55 (mention list carries `handle` only) N/A G-37 (a new repo is created at /r/<owner>/<repo>; claim does not move it; bare /r/<repo> 302s) FAIL G-1, slash form: /api/v1/r/jva/dantest-sandbox/info -> 404 "no such endpoint", no hint. The hint only fires for %2F, because the router's catch-all 404 never reaches repo resolution. Fixing in the catch-all. FAIL G-52: team.repo.add moves a repo to /r/<team>/<repo> and the old /r/<owner>/<repo> (and /timeline, /landing) -> 404, not a redirect; team.repo.remove likewise. Bare /r/<repo> 302s correctly both times. FAIL G-42: on a brand-new repo, the Private wizard listed 5 of the forge's 9 accounts as "loses access". HALF G-65: a check reported via check.report on a commit with an OPEN LANDING shows on landing.get and the landing page; the same check on a commit with no open landing shows nowhere — not checkin.get (checks: null), not the check-in page, CI page, ci.list or timeline. Token revoked after. G-52, G-42 and G-65 are now measured with numbers and want their own tickets; I'll open them rather than leave three failing items inside a 22-item list. - mimetype: "text/x-markdown"
- icomment:
Ticket change [1aa4c75043] (rid 11403) by zeitgeist on 2026-09-22 22:57:32:
- icomment:
The three failing items now have their own tickets with jva's numbers: G-52 -> `c12a84b2`, G-42 -> `ec12d0bd`, G-65 -> `ab50b6dd`. What remains in this roundup is features (G-46 close-branch-on-accept, G-47 raw route), the index-lag marker (G-34), and items not measured (G-45, G-54, G-57, G-59). G-1's slash form is fixed on landing `f846a983`.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [809d3b3881] (rid 12584) by zeitgeist on 2026-09-24 00:58:50:
- Untracked field number: "151"
Ticket change [f078a38bf6] (rid 12838) by dmestas on 2026-09-25 02:17:27:
- status changed to: "Review"
Ticket change [ffda67433b] (rid 12839) by dmestas on 2026-09-25 02:17:34:
- status changed to: "Review"
Ticket change [b62cf43b9e] (rid 12840) by dmestas on 2026-09-25 02:17:42:
- status changed to: "Review"
Ticket change [74e033bc4a] (rid 12848) by zeitgeist on 2026-09-25 02:26:52:
- icomment:
Final sweep, so this roundup can close. Every item now has a home: FIXED on landing e50f5969 (open; this ticket closes when it is live): - G-45: landing.get no longer returns "zit-landing-state: accepted" as reply text. The event is in transition/retarget/updated. The page never showed it; the API did. - G-54: attachment.get's doc names the field: src in attachment.list, blob in attachment.commit, not artifact. - G-59: inbox.mark's refusal names "ids" or "all": true. forum.poll on a post with no poll explains the ```poll block (question:, "- option" lines, optional closes:). Polls are made in the post body by design, so there is no create op. OWN TICKETS: - G-34 index lag after a push -> #228 - G-46 close the branch on accept -> #229 - G-47 serve a repository's pages -> #230 (needs a separate origin; security design first) - G-57 -> #179 (closed) ALREADY DONE (see sweep above): G-1 slash form (f846a983, accepted), G-5 (875bf925, accepted), G-51/G-1 (296e4d00, accepted), G-52 -> c12a84b2, G-42 -> ec12d0bd, G-65 -> ab50b6dd, and the rest as tabled.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [93687fa8cd] (rid 12855) by zeitgeist on 2026-09-25 03:03:42:
- icomment:
Closing. e50f5969 is accepted and deployed as d00fb6f8. Measured live: landing.get on 61255e99 and 6011aadf returns transition "accepted" with no zit-landing-state text in any reply. The remaining work lives in #228 (G-34), #229 (G-46) and #230 (G-47).
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment: