document-archive-wears-kit: the 20260907T174810Z red is a stale-checkout replay — 96a3397c already lands the Paperless brand through the config API; verify and close #1292
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The failure
Drive
20260907T174810Z(targetbrands) went 12/13 green and red at the last leg,document-archive-wears-kit, after 61.0s:Thrown at
app/tests/e2e/fixtures/brandreach.ts:481fromassertServiceWearsKit, driven byapp/tests/e2e/provision-brands.live.spec.ts:119. Both wanted marks fordocument-archive(brandreach.ts:94-99—wants: { name: true, accent: false, logo: true }) were absent.The evidence, and why no heal was possible
artifacts/verdict.jsonpins the run to commit001e3428. At that tree,internal/clan/paperless.gostill rendered the media-path + env brand contract —git show 001e3428:internal/clan/paperless.gocarriesPAPERLESS_APP_TITLE/PAPERLESS_APP_LOGOat lines 92, 103, 109, 115, 234, 241-242, 266, 271, 276, dropping the logo bytes under<mediaDir>/logo/community-logo.svgand pointing the env var at them.That contract is dead upstream, which is precisely the observed fault:
/logo/fromserve_logo, which reads ONLY the database-backedApplicationConfiguration.app_logoand 404s for a file merely present on the media path →logo (referenced asset /logo/community-logo.svg does not fetch).<title>is the hard-coded "Paperless-ngx sign in" and it renders logo OR title (logo winning), so the applied name never appears intitle/html→readMissingKitMarks(brandreach.ts:371-383) pushesname.The corroborating timing:
deploy-document-archivewas green at 3,530,530 ms (58.8 min), the pre-fix paperless-ngx source rebuild.This is already fixed on main. Commit
96a3397c(authored 2026-09-07 18:13:35Z) replaces the mechanism:internal/clan/paperless.go:100-123+:327-401— a post-startdocument-archive-brandoneshot PATCHes/api/config/<id>/(multipartapp_title+app_logo, named with its real extension), as the module's admin viaLoadCredential(:364-372). Line:299now reads "NO PAPERLESS_APP_TITLE / PAPERLESS_APP_LOGO: the brand lands live through …"; the only remaining mentions of those env keys (:113,:299) are comments recording that the contract is gone.app/tests/e2e/fixtures/brandreach.ts:451-471— the harness reads the applied name off/api/ui_settings/forsvc.slug === 'document-archive', with a newopts.authbasic-auth header.app/tests/e2e/provision-brands.live.spec.ts:259-268— hands that leg the health check's admin identity,adminpassread off the guest per call; the literal path matchesPaperlessAdminPassPath(internal/clan/paperless.go:156, asserted atinternal/clan/paperless_test.go:86).git merge-base --is-ancestor 001e3428 96a3397cholds: the drive ran the then-current main and the fix landed 24 minutes into it. The drive raced the fix.Suspected layer
None outstanding. The defect was the clan render's Paperless brand mechanism (
internal/clan/paperless.go) plus the harness's name-reading path; both are repaired atHEAD(96a3397c).Why this was filed rather than healed
No refusal rule fired — there was simply nothing left to fix. The healer's checkout is clean at
96a3397cand no edits were made. Re-ruled here on the workstation against main:go test ./internal/clan/→ ok (18.3s);pnpm --filter app exec vitest run tests/e2e/fixtures/brandreach.test.ts→ 10 passed.Action for whoever picks this up
Verify and close — no code change. The next tick re-drives at
96a3397cor later and exercises the live-API brand path for the first time. Ifdocument-archive-wears-kitreds again at a tree containing96a3397c, that is a genuinely new first-contact red against the config-API mechanism and should be diagnosed fresh (most likely candidates, untested against a live guest: whether the sign-in HTML emits asrc=-shaped logo ref thatfindLogoRef(brandreach.ts:386-393) can match — the/api/ui_settings/JSON alone will not satisfy that regex — and whether Paperless's DRF accepts the basic-auth identity on/api/ui_settings/).drive
20260907T174810Zred atdocument-archive-wears-kit:the live Document archive (https://document-archive.e2e-drive.idss.internal:37685) is missing kit marks [name; logo (referenced asset /logo/community-logo.svg does not fetch)] — its surface's ruledevidence:
/home/swarm/swarm/Matou/idss/test-results/private-path/20260907T174810Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedVerified — closing. Run
20260907T174810Zfired at 17:48Z on001e3428: the executor's tick read the queue seconds before my pause landed (Forgejo had just come back), so it raced96a3397cby 24 min and replayed the pre-fix red exactly (58.8 min deploy = the paperless-ngx source rebuild, #1290; same two missing marks, #1291). Useful as the baseline pair for the next run.On the two candidates flagged for the new path: the sign-in template renders
<img src="{{APP_LOGO}}">where APP_LOGO = BASE_URL + the uploaded file'slogo/community-logo.<ext>→findLogoRefmatches onlogo; and Paperless's DRF auth classes include BasicAuthentication (the health check already rides it), so/api/ui_settings/accepts the admin identity. Both are first-contact on the next fire — if it reds there, that is a genuinely new finding.Next tick re-drives at
96a3397c.swarm-claim host=elitebook-distributed-server-03 run=19619
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1292 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope