Files
solon/docs
CatoandClaude b34520aeb1 feat(law): Liechtenstein's communes, read from their own pages — six of eleven, about 185 acts (#358)
Most communes publish their acts as documents linked from their own pages,
with no collection behind them. One adapter reads them all
(publishers/linked-documents.ts); a commune is config: the pages that list its
acts, how a document link looks, folders to open, which titles are acts
rather than forms (Antrag, Formular, Merkblatt left out).

- Vaduz, Schaan, Planken, Gamprin (Concrete CMS), Ruggell (media archive in
  folders) and Eschen-Nendeln (WordPress): authorities li7001, li7005,
  li7006, li7009, li7010, li7007, each `within: "li"`, so a question about
  Vaduz is asked of Liechtenstein's law too (and the place page's chat
  searches it).
- Such pages state no day an act began: a version is dated by the day read
  (VersionRef.dateBasis "retrieved"), and the loader stores a document only if
  its bytes differ from the version in force. A title's own "gültig ab
  01.01.2027" dates the version as the publisher's, and it waits until then.
- A list that comes back empty fails the run (a changed page or a challenge
  is never "no acts"). Triesenberg answers with a bot check and is left out.
- `within` on LawAuthority replaces the Zürich special case for "a commune
  brings its canton's or country's law".

Loaded end to end on a fresh database from the communes' own sites: Vaduz's
Gemeindeordnung 19 articles, Planken's Abwasserreglement 44, Gamprin's
Gemeindeordnung 21; a second run stores nothing it already holds.


Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 06:02:33 +01:00
..