One planning importer for Scotland, England and Wales.
importers/planning/ holds a reader per council portal product and one per
casework service, behind one importer.
kg import scottish-planning is the same importer under the name it had in
slices 32–37 (importers.ALIASES), so the channels and runs that name it still
work, and their outputs are unchanged.
A portal says which pages to read, and which of its own labels means what.
The four products read are Idox (in all three nations), Atrium registers,
Agile Applications and Ocella.
Each keeps a whitelist of rows and maps a shared key ("received", "decision",
"applicant") to its own labels.
A record quotes the label the page used ("Date Received: 08/05/2026"), never
one kg made up.
Agile's page is drawn in the browser from one JSON record. It is read from the
Agile API, with the council written on the address kg reads (#client=SLOUGH)
and sent as the headers the API needs, so each council's record is its own
reading.
An application on a product with no reader (Arcus, NEC, Tascomi, Acolnet) is
said to have no reader. Nothing is guessed from it.
A register's disclaimer is agreed to, and said. Some Atrium registers show
a disclaimer before an application.
fetch submits the register's own "Agree" form, once per council per run, and
only a form that posts to that register's /Disclaimer/Accept….
The import reports each council whose disclaimer was agreed to. The person
running kg agreed to this (the disclaimers cover the copyright of plans, which
kg never copies).
The kind of application comes from its reference, then its own words.
England's and Wales's suffixes are read: OUT, REM, HYB and others.
When the suffix says nothing, the portal's application type, and then the
proposal's first words, decide: "Hybrid planning application for…".
National casework has a reader per service.
The Planning Inspectorate's appeals: the Appeals Casework Portal for a case
started before 2026, and the "comment on a planning appeal" service after.
An appeal is decided by an inspector. A recovered appeal or a call-in is
decided by the secretary_of_state.
The national infrastructure register: a data centre directed into the regime
by a section 35 direction is a dco, with its nsip_stage.
PEDW (Wales): appeals, call-ins and Developments of National Significance
(dns), which welsh_ministers decide.
An allowed appeal is granted, a dismissed one denied.
The day comments are due is comments_until: an appeal's interested-party
deadline, and a national project's window to register to have your say. So the
open-for-comment view and the site show them unchanged.
An inquiry's or hearing's day is hearing_at.
Inspectors, officers, agents and appellants are never read. An applicant or
appellant is read only as an organisation.
An easting and northing places an application. Atrium, Agile, the register
and PEDW publish one. geo.locate derives the application's point from it, and
the site's point from its earliest application, as for PlanIt's point (D58).
A search finds applications as candidates (search: planit in the spec).
PlanIt's search for "data centre" is read, a page at a time.
Each hit is recorded as a candidate of its nation's scope, through the sweep
machinery (D45c). It is a pointer, never a claim.
Its nation comes from PlanIt's list of authorities (their GSS codes). A hit in
a nation the search was not asked to record is only counted.
A hit is matched when its application is held for a member. It is
excluded when it is plainly not a proposal (a condition discharged, a
non-material amendment, an advert), by a rule the scope must declare. Otherwise
it is open, for a person or an agent to read the council's page and record
the site.
A variation of conditions (s73) and a certificate stay open: each can make a
new permission.
The importer never creates a site (D57).
A candidate may be excluded by a rule its finder can tell.
candidate_add and sweep_record take excluded: {rule, why} for what a
scope's own fields cannot show (an application's kind is not a site's field).
The rule must be one the scope declares, or the whole record is refused before
anything is written.
decision_level gains inspector, secretary_of_state and welsh_ministers.
Two new properties: nsip_stage and hearing_at.
Its places: name England's and Wales's planning authorities, from PlanIt's
list, with a London borough also under the name its pages use. Its
postcodes: name the English and Welsh areas, listing only the districts wholly
in Wales where an area crosses the border.
A council written with "&" matches one written with "and".
The England and Wales channel templates are planit-search,
planning-portals, planning-inspectorate (England), nsip-register, pedw
(Wales), uk-operators and uk-press.
A template for region in [England, Wales] applies to a scope for either
(scopes.channels_from_pack). The nation-neutral companies-house,
council-committees and outside-lists apply in all three.
A site speaks of its own government.
The scope's region= chooses the words: the appeals body, who decides, what an
appeal is called.
A site for England or Wales never says "Scottish".
Its representatives page says that MPs, English councillors and the Senedd are
not read yet.
Most of what campaigners need is the same in every nation: the deadlines, the
decisions and who takes them, and the counts. The Scottish reader already held
the rules that keep people out. A second importer would have copied them, which
is what D63 had just undone.
Idox is most councils, but not all.
Of 171 substantive data-centre applications PlanIt found since 2023, 102 are on
Idox.
The Atrium, Agile and Ocella readers bring that to about four in five (D64b).
A reader for a portal drawn in the browser (Arcus, on Salesforce) would be
fragile and heavy on the council, so it is a lead for a person.
The applications are found by searching, not by knowing a URL (BACKLOG, slice
32). PlanIt reads every council, so one search replaces a search per product. But
it is an aggregator, and its hits include every condition discharged on a campus
(Central Bedfordshire has sixty for one outline). So a hit is a candidate, sorted
by rule, and a person reads the page.
The Planning Inspectorate moved appeals to a new service in 2026, and the old
portal still shows the cases started before it, so both are read. Since January
2026 a data centre can enter the regime for nationally significant projects. The
first is on the register at pre-application.
Scotland unchanged. The Scottish goldens (slices 32–37) are byte-identical.
The real Scottish applications, with a refusing reader. On a copy of the real
graph they were imported again with a reader that refuses every request, and the
old and new code staged the same records, except two changes:
five Scottish applications whose reference says nothing now get their kind from
their own words. Four are EIA screenings, now answered (determined, with their
EIA outcome) rather than granted, as D57 says a screening is. One is planning
permission in principle;
seven Scottish applications whose dates tab shows only "Latest Consultation
Expiry Date" (the label English Idox uses) gain the comment deadline they were
missing.
The goldens.
slice38_england_wales replays every reader on real captures cut down to the
rows read, with invented decoy people planted where the pages name people.
politics_s38_excluded_by_rule shows an exclusion by a declared rule, and the
refusal of an undeclared one.
Six older goldens gain only the lines for the new templates skipped.