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>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-03 12:40:19 -07:00
1 parent fa551de197
commit 0716984958
143 files changed
+6222 -8660

No files matched your search

@@ -0,0 +1,39 @@
# v2.6.3: Crosspost cards show the note's own link
> Reconstructed on 2026-11-03 from the changelog and git history. Commit `0fe3411`. Design: ADR-070.
## Summary
When a note links somewhere, the crosspost's preview card shows that page
instead of the note. Markdown links keep their URL on Bluesky and Threads,
and Threads stays within Meta's 5-link limit.
## Changes
`starpunk/syndication.py`:
- `note_links()` (with `_note_soup`, `_clean_url`, `_is_web`): the note's
own links (Markdown links, `<url>`, bare URLs) in reading order.
- `plain_text(markdown, links=..., max_urls=...)` / `plain_text_links()`:
link modes: Bluesky keeps link text and records anchors; Threads writes
"text (url)" and, after 4 distinct links, keeps only the text.
- `bluesky_facets(text, anchors)`: link-text facets in UTF-8 byte offsets.
- Bluesky `_link_card()` / `page_card()`: fetch the page's Open Graph,
Twitter or HTML title, description and image; image shrunk under 1 MB
(`_fit_image`) and uploaded as the thumbnail; an unreachable page still
gets a URL-only card. Images in the note still replace the card.
- `_fetch_public()`: http(s) only, public addresses, checked again at every
redirect; 512 KB for pages, 5 MB for images; failures never fail the post.
## Tests
`tests/test_syndication_bluesky.py` (9 new: card choice, unreachable page,
redirect to a private address not followed, images beat the card, link
order, link modes, URL budget, anchor facet offsets) and
`tests/test_syndication_threads.py` (2 new: the Markdown link comes first
for the preview, at most five links).
## Notes
One or two extra requests to the linked site per Bluesky crosspost.
Reposts are unchanged (their card is the reposted page).