Skip to content

Slice 1c: Migration, settings, legal pages and lanyards.app swap #103

Open
1 of 1 issue completed
Open

Description

@renderghost

Part of #95 (Slice 1). Depends on Slice 1b. Spec §11, §14 and §17.

Scope

  • Migration: wizard (preview → write to Sifa → verify) and a separate clean-up step for legacy app.lanyards.* records.
  • Settings (/settings): connect defaults, device-data export/import, itemised "Delete my Lanyards data".
  • Legal pages: /privacy and /terms, plus policy_uri/tos_uri in the OAuth client metadata.
  • Partner deliverable: the Sifa meeting-token proposal (a document).
  • Swap:

Exit criteria

  • An existing user migrates end to end on a test account
  • lanyards.app serves the new app, and the legacy app is removed
  • Quality Checklist passes

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    enhancement
    on Nov 10, 2026
  2. renderghost commented on Nov 10, 2026

    @renderghost
    OwnerAuthor

    Found during Slice 1b planning (#102). These are inputs for Slice 1c planning:

    • Missing migration row: spec §11 has no row for app.lanyards.actor.biography.location. Network stats show about 7 accounts have one. Sifa stores location in id.sifa.profile.location, or in profile.self.location as a community.lexicon.location.address. include:id.sifa.authProfile covers self but not location, presentation or presentationDelivery, so the migration needs repo: scopes for those (spec §20 Enhancement: Create reusable CountrySelector component for event forms #8, now updated).
    • Collection names: the legacy NSIDs are app.lanyards.link.social, link.work, link.event and link.web, not the *.social.social / *.web.web forms the spec used. The spec is now corrected.
    • Sifa platform values: real Sifa records store externalAccount.platform as bare strings (orcid, github, website), not id.sifa.defs#platform… tokens. When mapping link.social platforms, write the same form Sifa's own app writes.

    Generated by Claude Code

  3. renderghost commented on Nov 20, 2026

    @renderghost
    OwnerAuthor

    Lexicon audit: the frozen app's lexicons duplicate Bluesky and Sifa

    I audited the lexicons for #127. Most of the frozen app's 19 lexicons in the repository root duplicate Bluesky (app.bsky.*), Sifa (id.sifa.*) or other lexicons:

    Frozen app lexicon Already covered by
    actor.biography.affiliation id.sifa.profile.position
    actor.biography.qualification id.sifa.profile.education
    actor.biography.skill id.sifa.profile.skill
    actor.biography.location id.sifa.profile.location and id.sifa.profile.self.location
    actor.biography.identity and actor.biography.honorific id.sifa.profile.self (name, pronouns, honorifics)
    link.work.publication and link.work.work id.sifa.profile.publication
    link.social and link.web app.bsky.actor.link and id.sifa.profile.externalAccount
    link.event.event community.lexicon.calendar.event
    link.media.code org.tangled.*
    collection.collection network.cosmik.collection (Semble)

    #132 retires the new app's copies of the honorific and web-link lexicons. It also moves podcasts and videos to app.lanyards.media.item, which reads the legacy app.lanyards.link.media.audio and .video records and moves them when their owner next opens the customiser.

    Two decisions this issue has to make about migration:

    1. Existing users' data: where does it go when the frozen app is deleted? Options include offering to copy it into the matching Sifa records (the user's PDS accepts those writes with the right scopes), or pointing people to Sifa with their data shown side by side.
    2. The permission set: app.lanyards.authFull can drop the two legacy media collections once nothing writes them.

    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions