yau-plant-assistant/db
Claude 24afc51672 Take delivery of the corrected CI Server configuration
The point list handed over in August named the points PS_STN_WET_WELL_LEVEL
and the like. Those were never CI Server names. They came from
gen_scada_points.py on the PLC side, which describes its own output as "a
starting point for CI Server configuration, not a CI Server import file",
and the CI Server generator ignored them entirely - it names points from
its own address-keyed table. The names appear in no .qli export, and
nowhere else in the WRPS project at all.

This is the corrected delivery. ci-server-points.csv is keyed on the CI
Server ITEM each point feeds, with the Modbus station and the point name
beside it, so all four namespaces are visible in one row:

  LIT-101              instrument tag
  %QW0                 PLC symbol and address
  WRPS_PLC:STN_LEVEL   CI Server point - station, colon, point name
  AID.WRPS.STN.LEVEL   CI Server item - what the historian is keyed on

The 49 rows were joined onto the .qli exports by function code and Modbus
address: 49 matched, 0 unmatched. The item and point names are read from
the exports, not invented here.

The six .qli files come too, unchanged. gen_historian_items.py needs them,
and until now they existed only on one laptop behind a --wrps path - so
the one file the rules say must never be hand-edited could be regenerated
by exactly one person. 84 KB buys the team that back.

These are uncontrolled documents: no revision, no effective date, no
approval. The README says so, says how to ask for a fresh set, and records
the two things that bite - that PS_ survives legitimately as four poll
group names, and that his_group.qli and the live export disagree about the
sample rates, with the live one winning.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 19:00:20 +10:00
..
seed Take delivery of the corrected CI Server configuration 2026-09-01 19:00:20 +10:00
001_schema.sql Rebuild the stand-in historian on CI Server item names 2026-08-31 11:42:02 +10:00
002_fixtures.sql Rebuild the stand-in historian on CI Server item names 2026-08-31 11:42:02 +10:00
003_roles.sql Give ingestion a role that can write 2026-08-21 13:45:20 +10:00
004_doc_uploads.sql Give ingestion a role that can write 2026-08-21 13:45:20 +10:00
005_doc_actions.sql Stop a bulk re-ingest resurrecting withdrawn documents 2026-08-21 13:50:34 +10:00
006_doc_pool.sql Design Phase 9 - operator document management 2026-08-21 13:17:38 +10:00
007_doc_identity.sql Store the document title and authorising role at ingest 2026-08-28 10:54:01 +10:00
README-standin-historian.md Correct H29 and the retention framing: the query window is always one week 2026-08-31 16:49:02 +10:00