Media Discussions agent guide
Version 0.1.0-alpha.25. Human interoperability docs · Lexicon JSON index
Use the extensionless guide URLs for browser reading and the .md URLs for Markdown. The discovery index at /llms.txt links directly to the machine-readable resources. Agent discovery index
When a person needs to find a Bluesky account, offer typeahead suggestions and an exact identifier field. Verify identity when the person signs in or changes access.
Use the club’s stable discussion keys for Space posts. Public topic pages can show the opening prompt. Check Space access before reading or writing messages and report when a bounded read may have omitted history. TV club and Space guide
The pilot’s host can edit the public club page title, invitation, and cover independently of the ATProto discussion records. Use spoiler-free public share metadata and the uploaded cover’s description when one is present.
-
Load schemas. Fetch
/docs/lexicons. Follow the entries’hrefvalues and verify each returned Lexicon ID matches its entry. The index’sversionis the software version. The integerlexicon: 1is the schema language version. -
Resolve identity. On a full app instance, request
/api/episodes/73-yardsand/api/resolve?url=with the percent-encoded URLhttps://www.imdb.com/title/tt28704625/. Both calls identify the same episode. Use the returnedepisode.canonicalUrlfor sharing and the DID-based episode AT URI for portable writes. The resolver accepts the originalepisode.pathand registered aliases. An unconfigured catalog can returnuri: null. Episode URLs -
Read public records. Verify the complete DID-based record address and the expected
$type. Catalog publishers can link across repositories. A season’s current series reference must match its episode’s series reference./api/cataloggives a proposed{records}manifest. Verify actual publication at the PDS. Resolve only with current trusted claims. Keep the original URL and derive authorship from the claim’s repository DID. Keep the origin in an episode-page URL key. A resolving client should surface409for competing subjects and503for missing current evidence or an unavailable target.Use the same published episode check for link resolution, episode mappings, and Bluesky submission, review, and display. Select the publisher from the episode’s DID-based address. A browsing catalog is a separate choice. A bundled episode page can stay readable while its mappings and reviewed Bluesky links are withheld.
/api/catalog?scope=doctor-whoreturns the additive Doctor Who records. Join it with the original manifest when checking the whole graph. An episode outside a numbered season has noseasonUrior season or episode number in its record. Its episode read view hasseason: null. The view’s optionalreferenceSourcesare provenance links. An official story URL can cover several classic serial parts. Doctor Who coverage and attribution/api/catalog?scope=star-trekreturns the Star Trek television and web-episode manifest. The franchise directory also links to the separately inventoried films and scripted audio./api/catalog?scope=bbcreturns additive episode mappings for verified BBC PIDs. OptionalbbcProgrammesarrays in catalogue views distinguish brand, series, season, story, and exact episode links. An aggregate link can identify a whole serial without identifying its individual parts. The registered same-origin alias/series/widows-bay/seasons/1/episodes/2remains bound to Lodging through corrections. Use the returned DID-based AT URI as the portable reference and follow published browse links, including/catalog/show/{show}/season/key/{rkey}for seasons by record key. The resolver uses permanent bindings for owned URLs and reports competing claims for external URLs. Star Trek coverage and attribution · Evolution policy/api/catalog?scope=blade-runner-2099returns its series, season, and eight episodes. Browse shows at/shows, franchises at/franchises/{key}, and seasons at/shows/{show}/seasons/{number}. A published share path is assigned to the episode’s record key. Preserve that assignment and keep accepting older links. Blade Runner 2099 sources/api/catalog?scope=television-fixturesreturns the Battlestar Galactica, Detective Conan, Power Rangers and Simpsons test slices. Keep production runs, remakes, and the parts of a multipart work independently addressable. A missing season can be valid even when a source supplies a series-wide episode number. Consult the source notes for work, edition, adaptation, and cross-franchise relationships whose meaning the television Lexicons cannot yet carry. Fixture scope and sources -
Attach discussion. Validate the
replytext, timestamp and exact canonical episode before writing it to the author’s PDS. For a Bluesky mention, use a link facet or external embed. When a moderator opens an episode, the pilot uses a backlink index to suggest eligible posts for review. Recheck the live post and author through the anonymous Bluesky API before queueing, listing, and displaying a suggestion. Attach a matching reply as its own contribution, and check the root separately before displaying root context. When an anonymous check fails, omit the discussion link and its listing metadata. Treat/api/episodes/{slug}.discussionsas a current view that can be empty. A mapping correction withdraws the affected reviewed link without assigning it automatically to the new episode. -
Keep watch records private. Obtain OAuth permission for the viewer’s
watchspace/selfand verify ownership and the Personal Space policy before using itswatchcollection. Derive the key as lowercase hexadecimal SHA-256 of the canonical episode AT URI in UTF-8. Preserve the first mark’s timestamp. Return unwatched only for a missing row verified in an authorized Space. Treat ambiguous missing Spaces or failed clears as unavailable. -
Read TV club discussions through Spaces.
/clubs/neuromancerand its/releases.icscalendar describe the public schedule. Read or write club posts only through the configured invitation-only Space and an authorized member session. A schedule topic is an identifier within the club. Consult the candidate contracts and host verification instructions. TV club guide -
Read episode release events. Browse published records on the signed-out AppView at
/eventsor on the relevant episode page. The episode API’seventsarray describes the pilot catalog’s manifest, and the Neuromancer club exposes/clubs/neuromancer/events.jsonand an event link per episode. Resolve the event URI’s DID and readcommunity.lexicon.calendar.eventfrom that publisher’s PDS. For an independent publisher’s event, link the verified episode AT URI inuris. Keep the sourced date and distinguish reported, inferred, and unknown starts. Infer midnight inAmerica/New_Yorkfor an announced streaming premiere day without a reported start. Label the inference in the event description. Episode event and app guide
Use local test fixtures for mutations until an operator supplies a test identity and authorizes a network write. Repository setup · AT Protocol Spaces · Lexicon publication
Treat record keys as opaque. Keep the source URI and provenance through joins and exports. Test both reader generations before enabling new writes. Read the migration policy before updating a pinned schema, projecting a new media type, or changing a published catalog export. Lexicon evolution and catalog export · Television cases that could require new Lexicons
Use the one-pass guide to implement the public interface and check it with the downloadable runner. Clients can load the read-only tool definitions and agent skill directly. Independent implementation guide · OpenAPI tools · Agent skill