Files
StarPunk/docs/design/v2.6.2/2026-10-31-threads-link-preview.md
PhilandClaude Opus 5.5 0716984958 docs: Bring all documentation up to date for v2.10.1
- architecture/: overview, technology stack, auth (OIDC + built-in
  IndieAuth), syndication (POSSE) rewritten; new database.md,
  deployment.md and indieweb-protocols.md; legacy stack marked historical
- decisions/: reconstructed ADR-060 and ADR-063; 31 status corrections
  (superseded auth ADRs, proposed -> accepted); INDEX rebuilt
- design/: reconstructed the v1.6.0 documents the webmention code cites;
  reports for 18 v2 releases without a design folder; INDEX rebuilt
- projectplan/: BACKLOG rewritten (shipped items removed, open issues from
  the reviews added); RELEASE.md for v2.0.0-v2.10.1; INDEX
- standards/: development setup (uv, tests, DEV_MODE), testing (CI test
  stage), git and release flow, versioning, coding standards, cookies
- README, CLAUDE.md, .env.example (every setting the code reads, with
  defaults) brought up to date
- 137 broken links repaired (old absolute paths, moved files); stale ADR
  references in code comments corrected (comments only)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:40:19 -07:00

1.0 KiB

v2.6.2: Let Threads build the link preview

Reconstructed on 2026-11-03 from the changelog and git history. Commit fade75f. Design: ADR-069 (amended in this release).

Summary

Every new note failed its first Threads crosspost with "Invalid Link Attachment" (subcode 4279047) and only went out on the retry a minute later: Meta rejects an explicit link_attachment for a URL it hasn't fetched yet.

Changes

  • starpunk/syndication.py: text posts and reposts no longer send link_attachment. Tested live with fresh URLs: without it the post publishes first time and Threads still sets link_attachment_url from the first link in the text.
  • docs/decisions/ADR-069-threads-syndication.md updated accordingly.

Tests

tests/test_syndication_threads.py: assertions changed to expect no link_attachment in text and repost payloads.

Notes

The preview shows the first link in the text; v2.6.3 (ADR-070) makes that the note's own link when it has one. The CHANGELOG dates this release 2026-11-01; the commit and tag are dated 2026-10-31.