Commit Graph
15 Commits
Author SHA1 Message Date
swaits f91c7dbc20 Make the monthly season check offline: it compares each estimate's recorded track and location with the trail's current one and downloads nothing; fix the audit so every command runs as written (packets needs --out, the places tool runs in its venv), with places and seasons steps under their own headings 2026-11-20 14:45:42 -07:00
swaits 535d2bebaa Merge main into seasons-ship-3: places pages from main kept alongside the seasons; places precede history in records, this ship's changelog entry first 2026-11-20 14:14:01 -07:00
swaits 33ca4c218f Check estimated seasons monthly, and write the season steps into the audit 2026-11-20 13:26:51 -07:00
swaits 7e4d1de494 Make the monthly place check download every outline again instead of reusing the first-run files 2026-11-20 12:11:26 -07:00
swaitsandClaude Sonnet 5.5 e6bc42c373 Require places on every record, add the audit checklist and the monthly place check
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:37:04 -07:00
swaits 1fbcfd5021 Merge main into places-ship-2 2026-11-20 11:07:24 -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
swaits 18dff9650d Validate places.toml and the record's place fields 2026-11-20 09:24:18 -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 5b80fccd1e Say what each page is in the words people search with, and mark up the facts
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
A whole-site search audit found clean foundations and three gaps: titles
without the words people search for, no structured data on trail pages,
and trails that did not link to each other.

- Trail titles carry the name hikers use, the abbreviation, the length
  and what the page offers; "GPX" only where the page has one. A new
  optional `common_name` field holds the name hikers use (13 records).
- Descriptions are built from each record, at most 155 characters.
- Place and list pages are titled for what they are; heading levels no
  longer jump.
- Trail pages link to similar and related trails and to the lists they
  belong to. Every trail has at least three links from other trails.
- JSON-LD on every page: a Place for each trail, breadcrumbs, item lists
  on list and place pages, WebSite and Organization on the home page, a
  fuller Dataset on the data page.
- A social card per trail, a changelog feed, `lastmod` in the sitemap from
  record dates, `noindex` on the 404 and on raw per-trail files, a
  favicon and an `llms.txt` listing the data files and licences.
- The "Considered and left out" page has its spacing fixed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 14:57:30 -07:00
swaitsandClaude Fable 5.2 24bfbb2fa8 Show each trail's own emblem, keep a history on every record, and list what was left out
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
- Emblems for 81 trails, up from 41. Each is the trail's own crest, badge
  or roundel alone, cropped out of a larger logo where need be and made
  transparent where that could be done cleanly. Records without one say
  where an emblem was looked for. The validator checks the logo state.
- Every record has a `[[history]]` list: what changed or was asked for,
  on what basis, who asked and whether it was applied or declined.
  `tools/check_history.py` fails a changed fact with no history entry and
  prints earlier entries about a changed field. It runs in CI before the
  site deploys. Each trail page shows the history.
- A new page, "Considered and left out", built from `left-out.toml`:
  35 trails and routes with the reason, the deciding fact and its source.
- The Hoosier Heritage Trail has its ends, its free map set and its
  emblem from its association (issue 2). Any trail may list its holder's
  own guide or map set.
- A stated permission is quoted in the download credit box.
- `tools/gpx_track.py` turns a GPX file from a holder or a hiker into a
  record's track files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:40:03 -07:00
swaitsandClaude Fable 5.2 48e1cc39fb Deploy the site after the checks pass on main
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Netlify is not notified of pushes to this repository, so the workflow
asks it to build: a third job calls a Netlify build hook once the
validator and the site's tests and build have passed on main. A failing
record or page is therefore never published.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:20:44 -07:00
swaitsandClaude Fable 5.2 25f62d0401 Pass changes merged on GitHub on to the forge
Mirror to forge / mirror (push) Waiting to run
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
A workflow pushes every push to main on GitHub to the primary
repository at git.swaits.com, so a pull request merged on GitHub
reaches both without anyone pulling it by hand. It uses a deploy key
that can write to that one repository, checks the forge's host key,
and never forces: if the two have diverged it fails.

CONTRIBUTING.md names the forge repository.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:02:39 -07:00
swaitsandClaude Fable 5.2 30c306ecc6 Invite corrections: links on every page, issue forms, site checks
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Each trail's page now offers "Report a problem" (a GitHub form with the
record filled in), "Edit this record" and "History". The footer, the
home page and About link to the forms for a wrong record and a missing
trail, and Logos links to a form for a steward or creator who wants a
track or logo removed or re-credited. The links are built only when
repo_url in web/site.toml is a github.com repository.

.github/ has the three issue forms and a pull request checklist, and
the workflow also runs the site's tests and a build, on Python 3.12.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaits 4581f9dc26 Add documentation and validation workflow
README with inclusion rule and trail table, CONTRIBUTING,
record schema, source terms, changelog, logo notice, and a
GitHub/Gitea workflow that runs the validator.
2026-11-09 16:08:44 -07:00