Omit ActivityPub article name and summary #37

Merged
erik merged 1 commit from task-2494df77-omit-ap-article-name-summary into main 2026-06-28 06:47:05 -05:00
Owner

Summary

  • omit ActivityPub Article name and summary so Mastodon does not render title/excerpt above the link card
  • keep URL-only article content and language-tagged contentMap
  • rely on OpenGraph metadata for the card title, excerpt, and image
  • add regression assertions that article ActivityPub objects have no attachment, name, or summary

Verification

  • npm run typecheck
  • npm test -- --run src/federation/tests/routes.test.ts
  • npm test
  • npm run build

Task: task-2494df77

After release/deploy, redeliver slug-cli-init and verify Mastodon shows only URL text plus one card.

## Summary - omit ActivityPub Article `name` and `summary` so Mastodon does not render title/excerpt above the link card - keep URL-only article content and language-tagged contentMap - rely on OpenGraph metadata for the card title, excerpt, and image - add regression assertions that article ActivityPub objects have no attachment, name, or summary ## Verification - npm run typecheck - npm test -- --run src/federation/__tests__/routes.test.ts - npm test - npm run build Task: task-2494df77 After release/deploy, redeliver `slug-cli-init` and verify Mastodon shows only URL text plus one card.
Author
Owner

Review summary

Approved. This removes ActivityPub Article name and summary, preventing Mastodon from rendering title/excerpt in the status body while the OpenGraph card still carries title, excerpt, and image.

Acceptance criteria coverage

  • Keeps article ActivityPub content URL-only.
  • Keeps language-tagged contentMap.
  • Keeps article preview metadata responsibility with OpenGraph.
  • Prevents Mastodon from duplicating title/excerpt above the card via AP name/summary.
  • Keeps article objects free of image attachments.
  • Adds regression assertions for no attachment, name, or summary on article AP objects.

Verification

  • npm run typecheck
  • npm test -- --run src/federation/__tests__/routes.test.ts
  • npm test
  • npm run build

Follow-up gate

After merge/release/deploy, redeliver slug-cli-init and verify Mastodon shows URL text plus one clickable article card, without duplicated title/excerpt above the card.

Blocking issues

None.

Verdict

Approved.

## Review summary Approved. This removes ActivityPub Article `name` and `summary`, preventing Mastodon from rendering title/excerpt in the status body while the OpenGraph card still carries title, excerpt, and image. ## Acceptance criteria coverage - [x] Keeps article ActivityPub content URL-only. - [x] Keeps language-tagged `contentMap`. - [x] Keeps article preview metadata responsibility with OpenGraph. - [x] Prevents Mastodon from duplicating title/excerpt above the card via AP `name`/`summary`. - [x] Keeps article objects free of image attachments. - [x] Adds regression assertions for no `attachment`, `name`, or `summary` on article AP objects. ## Verification - `npm run typecheck` - `npm test -- --run src/federation/__tests__/routes.test.ts` - `npm test` - `npm run build` ## Follow-up gate After merge/release/deploy, redeliver `slug-cli-init` and verify Mastodon shows URL text plus one clickable article card, without duplicated title/excerpt above the card. ## Blocking issues None. ## Verdict Approved.
erik merged commit 8a5975a363 into main 2026-06-28 06:47:05 -05:00
erik deleted branch task-2494df77-omit-ap-article-name-summary 2026-06-28 06:47:05 -05:00
Sign in to join this conversation.
No description provided.