Skip to content

[codex] Add Recreation.gov mirror - #1

Draft
Chubi-alt wants to merge 8 commits into
mainfrom
feat/recreation-gov
Draft

[codex] Add Recreation.gov mirror#1
Chubi-alt wants to merge 8 commits into
mainfrom
feat/recreation-gov

Conversation

@Chubi-alt

@Chubi-alt Chubi-alt commented May 13, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a self-contained recreation_gov WebHarbor mirror for https://www.recreation.gov/.

  • Implements the Recreation.gov-style Flask app with search, category browsing, detail pages, OpenStreetMap-backed maps, auth, account creation, saved locations, cart, checkout, reservations, cancellation, reviews, Help Center, articles, and state/popular-location browsing.
  • Registers recreation_gov as the next site in websyn_start.sh, control_server.py, and Dockerfile on port 40015.
  • Adds 20 WebVoyager-schema tasks covering search/comparison, help/articles, account creation, authenticated state changes, checkout, cancellation, review submission, and booking/cart flows.
  • Adds GUIDANCE.md documenting the WebHarbor clone workflow and acceptance requirements.

Seed / Asset Summary

Validation

  • python3 -m py_compile sites/recreation_gov/app.py sites/recreation_gov/seed_data.py
  • sites/recreation_gov/tasks.jsonl parsed successfully: 20 tasks, unique IDs
  • Local task verification: all 20 tasks passed after per-task reset
  • Local reset: POST /reset/recreation_gov returned {"pid":3218,"ready":true,"site":"recreation_gov"}
  • Local DB md5 matched: e5e9ce886f044fe7e789b0b15ccecbd7 for both runtime and seed DB
  • ./scripts/build.sh webharbor:dev
  • Docker smoke test: all sites alive, recreation_gov pages returned 200
  • Docker reset: POST /reset/recreation_gov returned {"pid":172,"ready":true,"site":"recreation_gov"}
  • Docker DB md5 matched: e5e9ce886f044fe7e789b0b15ccecbd7 for both runtime and seed DB

Reviewer Notes

This PR is draft until the HF asset PR is merged and .assets-revision can be bumped to the merged dataset revision. Screenshot comparison assets can be attached after final review if required.

Builder and others added 8 commits May 13, 2026 04:36
…age-images

Fix Booking homepage image paths
Adds a Flask mirror of merriam-webster.com as the 16th WebHarbor site:
dictionary, thesaurus, word of the day, vocabulary quizzes, and full
account/login flow. 142 real word entries, 30 thesaurus entries, 3
quizzes (10 questions each), all scraped from the live site. 20
WebVoyager-format benchmark tasks in tasks.jsonl.

Registered as site index 15 (port 40015) in websyn_start.sh,
control_server.py, and Dockerfile (EXPOSE 40000-40015).

Pre-PR checks (passed locally):
- docker build webharbor:dev (5.89GB)
- 16/16 sites return HTTP 200
- /reset/merriam_webster byte-identical (md5 a4248bef..)
- /reset-all 16 sites parallel ~1.1s
- 20/20 benchmark tasks walkable in container
- All 15 existing sites still byte-identical (no regression)

Assets: heavy assets (instance_seed/merriam_webster.db, 12 real images
from MW games/quizzes) uploaded to HF dataset YuanDaozeiii/WebHarbor at
revision 8866e560. .assets-revision pins to the fork until the HF PR
adding merriam_webster.tar.gz to ChilleD/WebHarbor is merged.

Also fixes a pre-existing .gitignore bug where the inline comment on
sites/*/scraped_data/ silently disabled the rule (gitignore does not
support inline comments).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…word seed)

HF PR ChilleD/WebHarbor#29 merged; .assets-revision now points at the
canonical dataset's main commit carrying the regenerated 156-word seed.
Verified: fetch from ChilleD main -> build -> byte-identical reset (md5
79ae0eab…) holds; runtime writes wiped on reset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants