Add search, verification, and developer harness#1
Merged
kavanaghpatrick merged 5 commits intomainfrom Feb 9, 2026
Merged
Conversation
SerpAPI provides structured JSON access to Google Flights results, eliminating browser automation and reducing risk of being blacklisted. - New rtw/scraper/serpapi_flights.py module with search_serpapi(), error hierarchy (SerpAPIError/AuthError/QuotaError), rate limiting - SearchBackend enum (auto/serpapi/fast-flights/playwright) with cascade fallback: serpapi → fast-flights → playwright - --backend/-b flag on both `search` and `scrape prices` commands - FlightPrice extended with source, flight_number, duration_minutes, airline_name fields; SegmentAvailability updated to match - Rich table gains Flight column and duration display - 55 new tests (695 total passing) covering SerpAPI module, cascade integration, CLI flags, and cache behavior - Fixed: removed `from __future__ import annotations` from cli.py which broke Typer's Annotated metadata processing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Implement end-to-end D-class availability checking via ExpertFlyer: - Programmatic Auth0 login with keyring credential storage - Per-flight seat extraction (not just route-level max) - Rich CLI display showing individual flights with D-class, TIGHT badges - Verify pipeline with caching, alternate dates, progress callbacks - CLI commands: login expertflyer, login status, login clear, verify Previously the scraper reported max D-class across all flights on a route, hiding that most flights might have D0. Now each flight's availability is extracted and displayed, so users can identify specific bookable flights for their RTW itinerary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rewrites the 3-line CLAUDE.md into a comprehensive 139-line project constitution with tech stack, CLI reference, module map, domain vocabulary, conventions, and slash command inventory. Adds tool pre-approvals via settings.json (12 allow + 3 deny patterns), 2 path-scoped rules for tests/ and rtw/rules/, and 4 new developer slash commands: /rtw-verify (tests+lint), /rtw-status (dashboard), /rtw-setup (onboarding), /rtw-help (command discovery). Includes a validation script that checks all harness files for correctness. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Interactive initialization wizard that checks for SerpAPI key (env var) and ExpertFlyer credentials (keyring), guides setup of any missing credentials, installs Playwright if needed, and runs a smoke test. Shows feature availability dashboard based on what's configured. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers the full feature set (validate, cost, NTP, value, search, verify, booking), quick start with install steps, usage examples with real output, itinerary YAML format, ticket types and fares, oneworld carrier table with YQ levels, Claude Code integration guide with all 11 slash commands, project structure, development guide, and key domain concepts (Rule 3015, tariff conferences, D-class availability, YQ surcharges). Co-Authored-By: Claude Opus 4.6 <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.
Summary
Test plan
🤖 Generated with Claude Code