Rename post authors to credited contacts #142
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#142
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?
Goal
Rename the existing contact-backed post "author" relationship to credited-contact terminology so the model clearly separates local post authorship/publishing from external content credit.
The local post author/publisher is the template site's primary ActivityPub actor. The existing
authorIds/authorsfields andpost_authorstable currently point to contacts, so they should be renamed to credit terminology before implementing ActivityPub actor local-author display.Requirements
authorIds->creditContactIdsauthors->creditedContactspost_authors->post_creditsor another clearly credit-named tablearticle,link, andnote), defaulting to an empty list.Credit/Creditsor equivalent, not as a localbyauthor line.authorIds; if kept, document them as legacy/deprecated and add tests. If not kept, document the breaking API rename clearly.docs/identity-model.mdto reflect the resolved naming and remove or revise the current mismatch/follow-up language.Acceptance criteria
creditContactIdsandcreditedContactsterminology for contact-backed credits.byauthor line.article,link, andnoteposts and default to an empty list when omitted.docs/identity-model.mdis updated to reflect the new names and remaining follow-up decisions.Dependencies
Synced from todu comment by @todu on 2026-06-17T01:38:46.188Z
PR review
PR #143 reviewed and approved.
Acceptance criteria
Verification
./scripts/pre-pr.shpassed locally.build-lint-test).Result
No blocking issues or warnings. Ready for human merge approval.
Synced from todu comment by @todu on 2026-06-17T01:44:56.739Z
Close gate summary
Readiness: READY
Evidence:
mainatbfef694(Rename post authors to credited contacts).creditContactIds,creditedContacts, andpost_creditsfor contact-backed credits.020_rename_post_authors_to_credits.sqlrenamespost_authorstopost_credits; migration tests verify data preservation and final schema.authorIds.Credit/Creditsinstead ofbyfor contact-backed credits../scripts/pre-pr.shpassed locally and Forgejo Actions run #198 passed (build-lint-test).