@@ -67,13 +67,15 @@ Public service facades
6767^^^^^^^^^^^^^^^^^^^^^^
6868
6969``dataretrieval.waterdata ``
70- Modern USGS Water Data API facade. Typed getters delegate to the shared OGC
71- subsystem, with separate modules for statistics, ratings, and nearest-value
72- operations.
70+ Modern USGS Water Data API facade. Typed getters use the four-symbol OGC
71+ facade; Water-Data-specific utilities own service policy and wrappers
72+ without re-exporting private OGC helpers. Statistics, ratings, and
73+ nearest-value operations live in separate modules.
7374
7475``dataretrieval.ngwmn ``
75- NGWMN facade. Reuses the OGC subsystem with an NGWMN-specific base URL,
76- output identifiers, state translation, and :class: `OgcDialect `.
76+ NGWMN facade. Its only OGC dependency is the public OGC facade, which it
77+ configures with an NGWMN-specific base URL, output identifiers, state
78+ translation, and :class: `OgcDialect `.
7779
7880``dataretrieval.wateruse ``
7981 NWDC Water Use facade. Builds CSV requests and follows ``Link `` headers.
@@ -213,22 +215,6 @@ These are documented so guardrails distinguish accepted current dependencies
213215from new erosion. They should be removed through small, test-protected changes,
214216not a rewrite.
215217
216- Resolved debt (Phase 1)
217- ^^^^^^^^^^^^^^^^^^^^^^^^
218-
219- - ``ogc.shaping `` no longer lazy-imports ``ogc.engine `` — resolved by moving
220- schema lookup to ``ogc.requests `` and default dialect to ``ogc.policy ``.
221- - The OGC runtime import graph is now acyclic (enforced by test, facade
222- included — no implementation module imports ``dataretrieval.ogc `` root).
223- - API-key policy is host-scoped at header construction and request execution;
224- cross-host redirects are stripped by both sync and async client hooks.
225- - ``waterdata.utils `` no longer bulk re-exports private OGC symbols. It uses
226- the facade for generic adapter operations and keeps only narrow canonical
227- ``dates ``/``shaping `` dependencies for Water Data policy. Tests import OGC
228- internals from their canonical modules directly.
229- - ``ngwmn `` uses only the OGC facade (``dataretrieval.ogc ``) — no direct
230- imports from ``ogc.policy ``, ``ogc.requests ``, or ``ogc.engine ``.
231-
232218Change process
233219--------------
234220
0 commit comments