Fix duplicate article titles after inline banners #60
No reviewers
Labels
No labels
activitypub
actor
admin
ai-safety
article
articles
atproto
bug
cli
configuration
content
dev-environment
docker
enhancement
feature
federation
fediverse
forgejo
garage
health
how-to
logging
markdown
mastodon
media
navigation
opengraph
passkeys
preview
priority:medium
production
release
rendering
s3
settings
setup
status:active
status:done
status:inprogress
technical
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit.com!60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/task-3b361cd8-banner-heading"
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?
Summary
Fixes task-3b361cd8, the banner-before-H1 case observed on the existing
/posts/slug-cli-initarticle after release 0.1.39.No stored Markdown/content, media, APIs, database schema, dependencies, CSP/CSRF, production configuration, release tooling or production data is changed. No release or deployment is included; production remains 0.1.39 until separately approved.
Verification
./scripts/pre-pr.shpassed: formatting, typecheck, build/CSS reproducibility and 605 tests in 60 files./Users/erik/.betterwright/artifacts/85b42e1702877c85/proof-1792986223811-0b7add.png.test:ci.Review and verification
Fresh-context, read-only independent review reports no actionable findings. It confirms conservative top-level image-only traversal, removal of only the matching H1's three tokens, retained image order/render environment/stored Markdown, unchanged notes/links and Markdown safety, and no CSP/API/dependency changes. Reviewer did not independently run tests/browser/CI; those were verified separately below. Its linked/emphasized-image boundary-test suggestion is optional, not a requested defect fix; that markup intentionally remains a conservative stop condition.
./scripts/pre-pr.shpassed: formatting, typecheck, build/CSS reproducibility, 605 tests across 60 files.npm run test:cipassed: 518 tests across 51 files, with integration/browser tests still local-only.Proof frames:
/Users/erik/.betterwright/artifacts/85b42e1702877c85/proof-1792986223811-0b7add.png/Users/erik/.betterwright/artifacts/85b42e1702877c85/proof-1792986315845-3906b5.pngReview artifact:
/tmp/slugkit-com-banner-heading-independent-review.txt.The earlier production duplicate-title checklist remains pending intentionally. This local verification must not be presented as proof that production 0.1.39 has changed; publishing/deployment requires separate approval after merge.
Release 0.1.40 published and deployed
web-v0.1.40points to1b3245d860a1cdf366906dd51d965e7a3b16b94c(PR #60 merged).0.1.40andlatestpublish amd64/arm64 atsha256:44c75869da8bae9ad37b68fda4b65289e3d3b9c6b3f5bb78bb1c3789f8919af4.c822624c890460a086708db5edf14b60f1f56000and production deployed 0.1.40. Subsequent configuration-only homelab PR #169 fixed the missing HTTPS browser security origin; Flux applied mergea46ec1230d6ae5c091beb2ab705622a021fe70f3. Current pod is ready with zero restarts on the same 0.1.40 digest.Validation
/posts/slug-cli-init: exactly one H1, preserved loaded banner (natural width 1672), canonical @slug@slugkit.com, opening body/sections retained. This resolves the previously pending title check; it was NOT passing on 0.1.39.User explicitly approved publication and automatic Flux rollout without backups. No production content rewrites, account edits, signing-key changes, live federation test writes, or manual Kubernetes deployment edits were performed.
Public check results:
/tmp/slugkit-com-release-0.1.40-after.json. Production title/banner proof:/Users/erik/.betterwright/artifacts/85b42e1702877c85/proof-1792988902662-f4b778.png. Login fix: erik/homelab#169.