Repository navigation
spec: six operations from a browser HAR capture - #125
Merged
Merged
Conversation
AboutAccountQuery (AboutAccountUser: a reduced User plus about_profile), SidebarUserRecommendations, BroadcastQuery, AudioSpaceById (participants carry a reduced user), useStoryTopicQuery (new typename AiTrend), grokAccountJwtQuery. Typed from sandbox recordings plus the HAR bodies; placeholder entries use the canonical sample values. The strict harness resolves placeholder keys case-insensitively so lowercase operation names are exercised too. 831 stored responses at match rate exactly 1.0. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #124. Six operations that the X web client issues but the spec did not cover, found in a browser HAR capture the maintainer provided. Each is typed from recordings only (sandbox account, 2026-10-17; the HAR bodies as extra samples) and registered in
placeholder.jsonwith the canonical sample values (elonmusk/44196397).AboutAccountQueryabout_profile, so it has its own type (AboutAccountUser) rather than wideningUser.SidebarUserRecommendationstoken+UserResults)BroadcastQueryAudioSpaceByIdverificationwithoutverified), the announcing post,sharingsuseStoryTopicQueryrest_id: "For You"), new typenameAiTrendgrokAccountJwtQueryAlso:
IdentityProfileLabelsHighlightedLabelis a new shared schema inschemas/user.yaml(same key and backend object on the about panel and on space participants).test/python/test_serialize.pyresolves placeholder keys case-insensitively, so operations whose name starts lowercase (useStoryTopicQuery,grokAccountJwtQuery) are now exercised by the strict test.Skipped on purpose (niche, and each would be a live call in every strict run):
UserSportsProfile,NflScoresSidebarFollow,SportsLeagueFollow,MLBTeams,MLBSchedule.Verification
UserRepliesTimeline, not a spec issue. 6 responses with partialerrorsbeside complete data are logged as warnings.🤖 Generated with Claude Code