Commit Graph
205 Commits
Author SHA1 Message Date
swaitsandClaude Sonnet 5.5 a41fcad59e Update two tests that counted on the 109 seasons or on a trail with none
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:50:35 -07:00
swaits 987a25c6cb Shorten the climate period to what the free hourly limit allows, and wait out that limit 2026-11-20 10:50:09 -07:00
swaits 16c5275c94 Add park, range and wilderness pages 2026-11-20 10:48:10 -07:00
swaitsandClaude Sonnet 5.5 39902f5425 Ask the Canadian source for every province's parks, not only Alberta and British Columbia
The first run filtered CPCAD to LOC IN (1,2), so Ontario (LOC 9) and Quebec (LOC 11)
parks never came back: a bug in the query, not a gap in the data. The query now
selects by park designation across all locations, adds National Park Reserve, and
reads each park's province from LOC.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:44:47 -07:00
swaits f08c661c16 Build the state pages through a page kind 2026-11-20 10:42:47 -07:00
swaitsandClaude Sonnet 5.5 bb24edd9df Add sourced seasons for 39 trails
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:41:17 -07:00
swaitsandClaude Sonnet 5.5 e42398589a Keep Gateway Arch National Park out of the places, with a deny-list for such cases
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:40:44 -07:00
swaitsandClaude Sonnet 5.5 c704139e5b Read the state fields that join states with a hyphen
NPS writes MO-IL, ID-MT-WY and TN-NC, and the old split on commas and slashes
dropped those places' states.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:40:37 -07:00
swaits 4afa05cdff Add the place loader and membership 2026-11-20 10:40:35 -07:00
swaitsandClaude Sonnet 5.5 e59c152e7c List a park and not its same-trail wilderness twin
When a wilderness area and a national park hold exactly the same trails and one
name's words contain the other's, only the park is kept, so Sequoia and Kings
Canyon and Yosemite do not get two pages. The rule runs on the tracked sets in
propose and on every record's tracked and stated places in --check.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:39:51 -07:00
swaitsandClaude Sonnet 5.5 2302734742 Make one name within a kind one place, with every source id it carries
The range source lists six ranges twice under different ids (Mount Whitney Group,
Palisades, Southern Adirondacks and others). They are now one place with both ids
and the union of the two outlines, so no slug carries a numeric suffix.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:39:21 -07:00
swaitsandClaude Sonnet 5.5 d44da771c9 Prove a researched season applies through the refresh pipeline
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:56 -07:00
swaitsandClaude Sonnet 5.5 3a3f04ac36 Give a place the states it lies in, not the states its visitors come from
A registry entry's where now comes from the outline's own source (the NPS and
Wilderness Connect state field, the CPCAD province code), else from the state
boxes in web/place-bounds.toml, else a hand value in the allow-list. A reviewed
where already in places.toml is kept on a re-run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:56 -07:00
swaitsandClaude Sonnet 5.5 667b2ea00f Allow a season method with sources, where the pages differ
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:35 -07:00
swaitsandClaude Sonnet 5.5 cb6cdadd41 Update the page test for the season wording
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:31:01 -07:00
swaits f7e2757e2b Sample points along a track, from the ends, or from the place 2026-11-20 10:28:52 -07:00
swaits 2f4bc6862e Add the season rule as a pure function over monthly normals 2026-11-20 10:25:39 -07:00
swaits 91c2bd1c47 Add the climate download, cached outside the repository, and record the source chosen 2026-11-20 10:24:42 -07:00
swaitsandClaude Sonnet 5.5 1c60e0c14c Fix the season wording and checks after review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:22:29 -07:00
swaits c29f9370fe Keep the place tool's venv out of the validator's file-size walk 2026-11-20 10:20:10 -07:00
swaits 15dbf07603 Add season arcs, grades, phrases and the method sentence 2026-11-20 10:16:19 -07:00
swaits d432d6a296 Keep parent ranges off the record when a child range holds the trail 2026-11-20 10:04:08 -07:00
swaitsandClaude Sonnet 5.5 157f268974 Add the season research brief and the batches
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 09:51:51 -07:00
swaitsandClaude Sonnet 5.5 03c2611036 Show where a season came from; check it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 09:51:51 -07:00
swaitsandClaude Sonnet 5.5 fbb43d9ff0 Record where each of the 109 seasons came from
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 09:45:32 -07:00
swaits 0b929aa01e Open the nested wilderness shapefile and read pyogrio's columns as this version returns them 2026-11-20 09:43:45 -07:00
swaits ecd9d455f2 Let place_trails.py write records, stated placements and the monthly check 2026-11-20 09:33:41 -07:00
swaits edf7711f9c Add the outline catalogue and proposal to place_trails.py 2026-11-20 09:30:50 -07:00
swaits 1fcdf866ea Add the place measuring geometry to place_trails.py 2026-11-20 09:25:27 -07:00
swaits 18dff9650d Validate places.toml and the record's place fields 2026-11-20 09:24:18 -07:00
swaits aad93a246c Add the schema for the place registry and the record's place fields 2026-11-20 09:21:16 -07:00
swaits ea6a7d175f Add the season classification table 2026-11-20 09:19:54 -07:00
swaits fe2306d90b Pin the built state, group and state-list pages with a golden test 2026-11-20 09:19:48 -07:00
swaits e08aaa192b Add the season provenance checks (not yet wired) 2026-11-20 09:19:13 -07:00
swaits 9528c717f7 Register season_basis and season_method; schema allows estimated seasons 2026-11-20 09:18:33 -07:00
swaitsandClaude Fable 5.2 b0ddaeac48 Add designs and plans for park, range and wilderness pages and for a season on every trail
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 09:16:16 -07:00
swaitsandClaude Fable 5.2 b9977094ba List the Glacier loop as the North Circle, its common name, with a track from the park's trails
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:18:41 -07:00
swaitsandClaude Fable 5.2 d0de683427 Append the three new records to trail-numbers.txt
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:41:33 -07:00
swaitsandClaude Fable 5.2 868cb02246 Correct the three new records after audit: Crown Valley start position removed, Grand Tour caution and guide entry, provenance wording, High Sierra Camp Loop reasons
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:33:49 -07:00
swaitsandClaude Fable 5.2 fad3e54ba0 Add Middle Fork Kings River, Central Wilderness Grand Tour and High Sierra Camp Loop; leave out High Trinity Alps Traverse, Ruby Crest Trail and Northern Golden Trout Tour
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:33:49 -07:00
swaitsandClaude Fable 5.2 bf7ff0e52c Note the short saved-list link in the changelog
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 07b023f31b Saved page: write a short ?s= link once a list passes ten trails
Up to ten trails the link stays ?t=id,id,... With more it is a version
character and a base64url bit set over the trails' permanent numbers
(trail-numbers.txt), 70 characters for any list instead of 1,013 for 49
trails. Both forms open for good; ?s= wins when both are there; a retired
or unknown number is ignored and a code that cannot be read shows the page's
existing no-trails state. A short link does not keep the order saved, so
that list opens A to Z.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 358f0c4928 Give every trail a permanent number in trail-numbers.txt, and check it is only appended to
The Saved page's short links will be bit sets over these numbers, so a number
must never change or be reused. The registry is one id per line, seeded
alphabetically; build_index appends new records; the validator fails on a
record with no line, a repeated id or a malformed line; check_history fails
when an earlier line is changed, moved or removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 6440e43176 Send the Circle of Solitude to the guidebook in print that carries it
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:58:04 -07:00
swaitsandClaude Fable 5.2 35fbed3be9 Say that search reads places, and note the search and distance changes in the changelog
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:28:10 -07:00
swaitsandClaude Fable 5.2 d89a5f0da7 Add Nearest to me to every list's sort control
Choosing it asks the browser for the visitor's position once and orders the list by straight-line
distance to the nearest point of each trail's track on the overview map (or its start and end,
where it has no track), shown on each row in miles or kilometres. The position stays in the page:
it is not stored, sent or put in the address. Trails with no position go last and are counted;
a refused or failed request puts the list back in its earlier order with a plain line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:09:16 -07:00
swaitsandClaude Fable 5.2 3ff2281129 Search reads more than the name: summary, places, author and land unit, strongest matches first
Each row's search words come in four tiers (name and abbreviation, author, the full names of
the states, provinces and countries plus where it starts and ends and the land unit or body its
record names, and the summary). Typed words match at the start of words in any order, without
regard to case, accents or apostrophes, and the strongest matches come first. A row that matched
only beyond its name says where in one quiet line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:04:13 -07:00
swaitsandClaude Fable 5.2 ffc342b590 Note the browsing changes in the changelog
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:42:57 -07:00
swaitsandClaude Fable 5.2 5f35a5b043 Point a trail page's correction link at the correction form, not the raw file editor
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 dea144fd11 Say how many trails a month filter leaves out for having no season on file, with a way to show them
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00