@betanyc/nyc-charter-laws-rules 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -18
- package/data/index/json/admin_code.json +1 -1
- package/data/index/json/rules.json +12 -12
- package/data/index/json/versions.json +2 -2
- package/data/index/markdown/admin_code.md +1 -1
- package/data/index/markdown/rules.md +11 -11
- package/dist/corpus.d.ts +11 -0
- package/dist/corpus.d.ts.map +1 -1
- package/dist/corpus.js +106 -0
- package/dist/corpus.js.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/tools.d.ts +14 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +76 -9
- package/dist/tools.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Vibe coded with [Claude](https://claude.ai) by [BetaNYC](https://beta.nyc).
|
|
|
22
22
|
|
|
23
23
|
**No API key is required.** The Charter, Administrative Code, and Rules are served from an offline corpus bundled with the package, so this server works out of the box — no signup, no token, no environment variables to set.
|
|
24
24
|
|
|
25
|
-
**The bundled text is as of the release.** An npm install carries the law text from the day that version was published
|
|
25
|
+
**The bundled text is as of the release.** An npm install carries the law text from the day that version was published. When the daily refresh picks up new law text, it also publishes a new patch release automatically (see [Releases](#releases)), so the law text in `npx -y @betanyc/nyc-charter-laws-rules` is normally at most a day behind `main`'s. Code changes ship with the next release. Automatic releases pause while a hand-bumped version is waiting to be published or a release run has failed. `get_version` reports the dates you are actually serving. To serve `main`'s index directly, see [Getting current law text](#getting-current-law-text-nyc_laws_index_dir).
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ Exposes 5 tools over MCP:
|
|
|
32
32
|
|
|
33
33
|
| Tool | Description |
|
|
34
34
|
|---|---|
|
|
35
|
-
| `search` |
|
|
35
|
+
| `search` | Keyword search across all three documents (short keyword queries work best) |
|
|
36
36
|
| `get_section` | Retrieve a specific section by citation (e.g. `§ 259`, `Chapter 11`) |
|
|
37
37
|
| `list_titles` | List the top-level chapters or titles of a document |
|
|
38
38
|
| `get_title` | Retrieve all sections within a chapter or title |
|
|
@@ -44,7 +44,15 @@ Exposes 5 tools over MCP:
|
|
|
44
44
|
|
|
45
45
|
### `search`
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Keyword search across the NYC Charter, Administrative Code, and Rules. It is keyword matching, not a question-answering engine, so short keyword queries work best: `sidewalk shed` rather than "How long can a sidewalk shed stay up?"
|
|
48
|
+
|
|
49
|
+
1. **Phrase first.** The whole query is matched as typed (case-insensitive). Quotes around the whole query, straight or curly, are removed first, so `"open data"` and `open data` search the same phrase. If any section contains it, those results are returned, relevance-ranked: heading matches rank above citation matches, which rank above body-text matches, and whole-word matches rank above substring matches.
|
|
50
|
+
2. **Terms, if the phrase finds nothing.** Question words and common words (`how`, `what`, `can`, `a`, `the`, `up`, `about`, …) are dropped. The full list is `SEARCH_STOPWORDS` in `src/corpus.ts`. Each remaining term matches at the start of a word, with a trailing plural `s` ignored, so `tanks` finds "tank" and `shed` does not find "established". Sections are ranked by how many terms they contain, then by the same heading > citation > body weights.
|
|
51
|
+
3. **Said out loud.** When step 2 runs, the first line of the response says so and lists the terms:
|
|
52
|
+
- every result contains every term: `No section contains the exact query; showing sections containing all of: building, owners, required, drinking, water, tanks.`
|
|
53
|
+
- partial matches were added: `No section matched every term; showing sections matching some of: …`, or `Only 1 section matched every term (listed first); the rest match some of: long, sidewalk, shed, stay.`
|
|
54
|
+
|
|
55
|
+
There is no term weighting yet, so a long definitions section that contains every word can outrank the section you want. Ranked full-text search is a separate, later change.
|
|
48
56
|
|
|
49
57
|
| Parameter | Type | Required | Default | Description |
|
|
50
58
|
|---|---|---|---|---|
|
|
@@ -56,6 +64,7 @@ Search across the NYC Charter, Administrative Code, and Rules by keyword or phra
|
|
|
56
64
|
search("open data")
|
|
57
65
|
search("landlord inspection", corpus="admin_code", limit=20)
|
|
58
66
|
search("board of health", corpus="rules")
|
|
67
|
+
search("How long can a sidewalk shed stay up?") # term fallback; first line says so
|
|
59
68
|
```
|
|
60
69
|
|
|
61
70
|
---
|
|
@@ -136,7 +145,7 @@ Rules of NYC: Current through rules effective July 1, 2026. (8671 secti
|
|
|
136
145
|
npm test
|
|
137
146
|
```
|
|
138
147
|
|
|
139
|
-
`npm test` builds the TypeScript source first (`pretest` script), then runs the full suite with `node --test`.
|
|
148
|
+
`npm test` builds the TypeScript source first (`pretest` script), then runs the full suite with `node --test`. Every test file in the table below runs together. On a laptop the whole run, build included, takes about 4 seconds (measured October 2026).
|
|
140
149
|
|
|
141
150
|
### Test layers
|
|
142
151
|
|
|
@@ -144,11 +153,16 @@ npm test
|
|
|
144
153
|
|---|---|
|
|
145
154
|
| `test/extract-text.test.js` | Unit tests for the `extractText`, `normalize`, `childrenByTag`, `getAttr`, and `tagOf` helpers in `scripts/lib/extract-text.js`. Covers inline-LINK document order (issue #3 regression), entity decoding, ALP-marker stripping, enumeration-marker repair, empty/self-closing elements, deep nesting, whitespace-only text nodes, and helper edge cases. |
|
|
146
155
|
| `test/content-leak.test.js` | Regression tests for the content-leak fix (PR-A0): undecoded ` ` nbsp entities, `[ALP S-xxx]` editorial markers, and leading-digit run-ons (`1Each`). Includes scope guards confirming that inline labels with no `<TAB/>` after them in the source (`(6)the`) are left untouched. |
|
|
147
|
-
| `test/corpus-invariants.test.js` | Invariant assertions over the committed `data/index/json/*.json` (
|
|
156
|
+
| `test/corpus-invariants.test.js` | Invariant assertions over the committed `data/index/json/*.json` (every section across charter, admin\_code, and rules). Asserts: no run-together text, no subdivision label fused to the next word (`a.There`, issue #27), no leaked XML tags, no undecoded entities, no double spaces, no leading/trailing whitespace, and structural integrity against `versions.json` counts. Collects all violations before asserting, with corpus/id/citation/snippet in the failure message. |
|
|
148
157
|
| `test/mcp-tools.test.js` | In-process tests for the MCP handler functions (`searchCorpus`, `getSection`, `listTitles`, `getTitle`, `getVersions`) imported from `dist/corpus.js`. Grounded in real index data: verifies § 292 text content (the issue-#3 corrected phrase), negative lookups, version presence, and title listing. |
|
|
158
|
+
| `test/search-fallback.test.js` | Plain-language questions (issue #30). Unit tests for stopword and question-word stripping (`queryTerms`) and surrounding-quote removal (`stripSurroundingQuotes`). Exact ranks, counts and first-line notices run against a synthetic 8-section index committed at `test/fixtures/search-index/`, served through `NYC_LAWS_INDEX_DIR` in a child process: ranking by terms matched, word-start matching (`shed` is not found in "established"), plural `s`, the all-terms and widened notices, phrase results unchanged, quoted queries matched as phrases. Against the real index only behavior is checked (fallback used, notice first, terms listed, results non-empty), so a daily refresh cannot turn it red. |
|
|
149
159
|
| `test/index-dir.test.js` | The `NYC_LAWS_INDEX_DIR` override (issue #26), each case in a child process: unset and blank serve the bundled index; a set directory serves its versions and section text; relative paths resolve against the working directory; a directory without `versions.json` fails at startup naming the variable, with no silent fallback. Also starts the server over stdio and checks that `serverInfo.version` matches `package.json` and that `get_version` reports the override. |
|
|
160
|
+
| `test/footer-modes.test.js` | Disclaimer footer modes (issue #25). `NYC_CLR_FOOTER` parsing (unset, blank, both modes, a typo falling back to `full` with a warning); the default sending the full footer once and the one-line footer after; `full` sending it every time; not-found, empty and error responses carrying a disclaimer; and the invariant that every response in every mode, including an unrecognized one, says "legal advice". Also starts the server over stdio to check `instructions`, the first and second responses, and the single stderr warning. |
|
|
150
161
|
| `test/strict-schema.test.js` | Strict tool schemas (issue #19). Asserts every tool in `TOOLS` (from `dist/tools.js`) advertises `additionalProperties: false`, and that `callTool()` rejects an undeclared parameter with an error naming both the offending key and that tool's accepted keys — rather than silently dropping it and returning unfiltered results. Includes regression guards that valid calls, with and without optional params, still succeed. |
|
|
151
162
|
| `test/build-smoke.test.js` | Build pipeline smoke test (Layer 5a). Feeds tiny hand-authored AML-shaped XML fixtures to the pure builder `buildSectionsFromXml` in `scripts/lib/build-corpus.js` — no multi-MB ZIPs. Asserts correct section shape, citation derivation (`Section 292.` → `§ 292`), clean text (no tags/entities/edge whitespace), document-order LINK extraction, and that non-qualifying records (wrong style-name, too-short heading) are filtered out. |
|
|
163
|
+
| `test/build-idempotence.test.js` | A rebuild with no source change must leave every tracked output byte-identical. Unit tests for `mergeVersions()` in `scripts/lib/merge-versions.js` (an unchanged corpus keeps its prior `indexedAt`; a changed `currentThrough` or `sectionCount` adopts the fresh one; re-merging is a fixed point), plus two runs of `scripts/update-changelog.js` against a temporary tree, asserting the second leaves `versions.json`, `changelog.json`, `CHANGELOG.md` and `README.md` unchanged. ZIP-free, so it runs in CI. |
|
|
164
|
+
| `test/auto-release.test.js` | Unit tests for the pure helpers in `scripts/auto-release.js`: finding the bump commit, shortening AML "current through" lines, listing which corpora moved, and the release-entry text. Starting values are pinned in the test, not read from live data. |
|
|
165
|
+
| `test/auto-release-cli.test.js` | End-to-end runs of `scripts/auto-release.js prepare` and `ensure` against a throwaway git repo with stubbed `npm` and `gh`: version bump, tagging, one release dispatch, and recovery from a depth-1 checkout. The fixture pins the version (0.3.0) and the Rules "current through" date (October 4, 2026), so it does not drift when real releases ship or the law text moves. |
|
|
152
166
|
|
|
153
167
|
### Differential test (Layer 4 — occasional cadence)
|
|
154
168
|
|
|
@@ -170,17 +184,29 @@ The fixtures live in `test/fixtures/diff/xml/` — 44 files selected determinist
|
|
|
170
184
|
|
|
171
185
|
`.github/workflows/differential.yml` runs `npm run test:diff` on **manual dispatch** (`workflow_dispatch`) and **nightly at 03:00 UTC**. It is intentionally off the per-PR/per-push path. Python matrix: **3.11 and 3.12** (covers the team's 3.11–3.14 spread; harness uses stdlib-only APIs compatible with 3.8+).
|
|
172
186
|
|
|
173
|
-
`.github/workflows/refresh-data.yml` refreshes the corpus index from AML **daily at 11:00 UTC** (07:00 EDT / 06:00 EST) and on manual `workflow_dispatch`. It runs the full pipeline (`fetch-data` → `build-index` → `update-changelog` → `npm test`) and commits the refreshed index back to `main` with the built-in `GITHUB_TOKEN` **only when the corpus version actually advances** — a no-op rebuild produces no commit. The "Last index update" block below is stamped by that job.
|
|
187
|
+
`.github/workflows/refresh-data.yml` refreshes the corpus index from AML **daily at 11:00 UTC** (07:00 EDT / 06:00 EST) and on manual `workflow_dispatch`. It runs the full pipeline (`fetch-data` → `build-index` → `update-changelog` → `npm test`) and commits the refreshed index back to `main` with the built-in `GITHUB_TOKEN` **only when the corpus version actually advances** — a no-op rebuild produces no commit. A commit with new law text also bumps the patch version and triggers an npm release (see [Releases](#releases)). Because `npm test` runs **after** the fetch and rebuild, the tests see that day's new data. A test must never assume what `data/index/json/` says today: pin the values it depends on inside the test, or the refresh goes red on exactly the days law text changes and the new text never gets committed. The "Last index update" block below is stamped by that job.
|
|
174
188
|
|
|
175
189
|
## Releases
|
|
176
190
|
|
|
177
|
-
|
|
191
|
+
`.github/workflows/release.yml` is the only workflow that publishes to npm. It runs the test suite, checks that the tag matches `package.json`, publishes with provenance, and creates a GitHub Release with generated notes. It starts in one of two ways.
|
|
192
|
+
|
|
193
|
+
**Automatic patch releases (law text changed).** When the daily refresh commits new law text, the same commit bumps the patch version (`package.json` and `package-lock.json`) and adds a dated "Automatic data release" entry to [RELEASES.md](RELEASES.md) naming which corpora moved. The job then pushes the `vX.Y.Z` tag and starts `release.yml` on it with `gh workflow run` (a tag pushed by the built-in token does not trigger workflows by itself; `workflow_dispatch` is GitHub's documented exception). Days with no new text produce no release. An automatic release ships `main` as it stands, so code merged since the last release goes out in the next one; bump the minor version by hand first if that code warrants it.
|
|
194
|
+
|
|
195
|
+
If the current version is not on npm yet (for example you bumped it by hand and have not tagged it), the refresh still commits data but does not bump past your version. If the release cannot be prepared (for example the npm registry is unreachable), the new law text is still committed without a version bump and the refresh run goes red. If an automatic release fails, its Release run goes red and every following refresh run goes red too, naming the run to rerun, until the version is published. To recover, fix the cause and rerun the failed Release run (Actions → Release → Re-run, or `gh run rerun <id> --failed`). Never re-tag or bump to recover.
|
|
196
|
+
|
|
197
|
+
**Manual releases (code changes).**
|
|
178
198
|
|
|
179
199
|
1. Bump `version` in `package.json` on `main` and add an entry to [RELEASES.md](RELEASES.md).
|
|
180
200
|
2. Tag and push: `git tag vX.Y.Z && git push origin vX.Y.Z` (the tag must match `package.json`, or the workflow fails).
|
|
181
|
-
3. The workflow runs the test suite, publishes to npm with provenance (`--provenance --access public`), and creates a GitHub Release with generated notes.
|
|
182
201
|
|
|
183
|
-
|
|
202
|
+
**Authentication.** `release.yml` is set up for [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC, no stored token). Until the trusted publisher is configured on npmjs.com it falls back to the `NPM_TOKEN` secret. One-time setup, by a package owner:
|
|
203
|
+
|
|
204
|
+
1. On npmjs.com, open `@betanyc/nyc-charter-laws-rules` → **Settings** → **Trusted Publisher** → **GitHub Actions**.
|
|
205
|
+
2. Fill in exactly (case-sensitive): Organization or user `BetaNYC`; Repository `nyc-charter-laws-rules`; Workflow filename `release.yml` (filename only, not the path); Environment name left blank. Under **Allowed actions**, also allow direct publishing with `npm publish`: configurations created after September 3, 2026 allow only `npm stage publish` by default, and the workflow publishes directly, so without this box npm rejects the trusted-publishing publish. Save. npm does not validate these fields when you save them.
|
|
206
|
+
3. Set **Settings** → **Publishing access** → "Require two-factor authentication and disallow tokens". npm's docs say trusted publishers keep working under that setting, so the next release can only succeed through trusted publishing: a green Release run after this point is the confirmation, provided its "Publish to npm" step actually ran (release.yml skips that step when the version is already on npm, for example on a rerun). (A success before this step does not prove it, because the workflow falls back to `NPM_TOKEN`, and npm's docs give no way to tell from the run log which one was used.) If that release fails with an authentication error, the trusted publisher is misconfigured. Re-check step 2 and rerun it. If you re-allow tokens instead, repeat step 3 once trusted publishing is fixed.
|
|
207
|
+
4. Once a release has succeeded with tokens disallowed, remove this repo's access to the `NPM_TOKEN` secret.
|
|
208
|
+
|
|
209
|
+
Package release history lives in [RELEASES.md](RELEASES.md); [CHANGELOG.md](CHANGELOG.md) is machine-generated and tracks corpus data updates only.
|
|
184
210
|
|
|
185
211
|
---
|
|
186
212
|
|
|
@@ -188,19 +214,24 @@ Requires the `NPM_TOKEN` repository secret. Package release history lives in [RE
|
|
|
188
214
|
|
|
189
215
|
This server is for **research and informational purposes only. It does not provide legal advice.**
|
|
190
216
|
|
|
191
|
-
Caveats are encoded at
|
|
217
|
+
Caveats are encoded at four levels so no response can be returned without one:
|
|
192
218
|
|
|
193
219
|
1. **Tool descriptions** — every tool description includes a caveat line that the AI reads before responding. This ensures the AI naturally carries the disclaimer into any answer it gives.
|
|
194
|
-
2. **
|
|
195
|
-
3.
|
|
220
|
+
2. **Server instructions** — the full disclaimer below is sent as the server's `instructions` when a client connects, in every footer mode. Some clients pass these to the model and some do not, which is why level 3 never goes away.
|
|
221
|
+
3. **Response footer** — every payload returned by the server ends with a disclaimer, regardless of which tool was called, what was found, or whether the call failed. By default the first response after the server starts carries the full footer below and every later response carries a one-line version (see `NYC_CLR_FOOTER` under Configuration).
|
|
222
|
+
4. **`get_version` instruction** — the `get_version` tool description explicitly instructs the AI to call it before answering legal questions, so every response is grounded in the correct version of the law.
|
|
196
223
|
|
|
197
|
-
###
|
|
224
|
+
### Full footer (server instructions, and the first response)
|
|
198
225
|
|
|
199
|
-
> ⚠️ This information is for research and informational purposes only and does not constitute legal advice
|
|
226
|
+
> ⚠️ **This information is for research and informational purposes only and does not constitute legal advice.** NYC laws and rules are amended frequently — always verify the current text at [codelibrary.amlegal.com](https://codelibrary.amlegal.com/codes/newyorkcity/latest/overview) before acting on any information. For the latest rules information, see [rules.cityofnewyork.us](https://rules.cityofnewyork.us). For legal matters, consult a licensed attorney.
|
|
200
227
|
>
|
|
201
228
|
> **Official disclaimer from American Legal Publishing:** The Codes and other documents that appear on this site may not yet reflect the most current legislation or rules adopted by the City. In addition, certain textual errors and omissions may temporarily exist, resulting from problems in the source database provided to American Legal and from which this website was created. Although these errors and omissions are being corrected, any user discovering any such error is invited to contact the publisher at NYC.editor@amlegal.com or 800-445-5588 and/or the NYC Law Department at NYCCodeRulesCharter@law.nyc.gov.
|
|
202
229
|
>
|
|
203
|
-
>
|
|
230
|
+
> Built by [BetaNYC](https://beta.nyc). Feedback and improvements welcome — [file a GitHub issue](https://github.com/BetaNYC/nyc-charter-laws-rules).
|
|
231
|
+
|
|
232
|
+
### One-line footer (every later response, by default)
|
|
233
|
+
|
|
234
|
+
> ⚠️ Not legal advice. Verify at https://codelibrary.amlegal.com/codes/newyorkcity/latest/overview.
|
|
204
235
|
|
|
205
236
|
---
|
|
206
237
|
|
|
@@ -223,7 +254,7 @@ nyc-charter-laws-rules/
|
|
|
223
254
|
└── dist/ ← compiled MCP server (built locally)
|
|
224
255
|
```
|
|
225
256
|
|
|
226
|
-
The JSON and Markdown indexes are committed to the repo. Anyone who clones it gets
|
|
257
|
+
The JSON and Markdown indexes are committed to the repo. Anyone who clones it gets every section of all three documents immediately — no build step required to browse or run the server.
|
|
227
258
|
|
|
228
259
|
---
|
|
229
260
|
|
|
@@ -402,6 +433,22 @@ git pull
|
|
|
402
433
|
- The server notes the directory it is serving on stderr at startup. Restart it after a `git pull`; the index is read once per process.
|
|
403
434
|
- `get_version` reports the currency dates of whichever index is loaded.
|
|
404
435
|
|
|
436
|
+
### Disclaimer footer (`NYC_CLR_FOOTER`)
|
|
437
|
+
|
|
438
|
+
Every tool response ends with a disclaimer. `NYC_CLR_FOOTER` sets how much of it:
|
|
439
|
+
|
|
440
|
+
| Value | Behavior |
|
|
441
|
+
|---|---|
|
|
442
|
+
| `full-then-compact` (default) | The full footer on the first response after the server starts, then the one-line footer on every response after. |
|
|
443
|
+
| `full` | The full footer on every response, as through 0.3.x. |
|
|
444
|
+
|
|
445
|
+
- "First response" means the first since this server process started. MCP does not tell a server when a new chat begins, so a client that keeps the server running across chats sends the full footer only once. The full text also goes out as the server's `instructions` on every connection, in both modes.
|
|
446
|
+
- Unset or blank means the default. Any other value means `full` (more disclaimer, never less), and the server prints a warning naming the variable to stderr at startup.
|
|
447
|
+
|
|
448
|
+
```json
|
|
449
|
+
"env": { "NYC_CLR_FOOTER": "full" }
|
|
450
|
+
```
|
|
451
|
+
|
|
405
452
|
---
|
|
406
453
|
|
|
407
454
|
## Common workflows
|
|
@@ -445,13 +492,13 @@ The complete, dated record of **every index rebuild** lives in **[CHANGELOG.md](
|
|
|
445
492
|
The block below is stamped automatically with the most recent rebuild every time `npm run update-changelog` runs — see [CHANGELOG.md](CHANGELOG.md) for the full history.
|
|
446
493
|
|
|
447
494
|
<!-- LATEST_INDEX_UPDATE:START -->
|
|
448
|
-
**Last index update:** 2026-10-
|
|
495
|
+
**Last index update:** 2026-10-21 — ⬆️ Updated
|
|
449
496
|
|
|
450
497
|
| Corpus | Current through | Sections |
|
|
451
498
|
|---|---|---|
|
|
452
499
|
| NYC Charter | Current through Local Law 2026/147, enacted September 12, 2026, | 856 |
|
|
453
500
|
| NYC Administrative Code | Current through Local Law 2026/147, enacted September 12, 2026, | 12,616 |
|
|
454
|
-
| Rules of the City of New York | Current through rules effective October
|
|
501
|
+
| Rules of the City of New York | Current through rules effective October 16, 2026. | 8,713 |
|
|
455
502
|
<!-- LATEST_INDEX_UPDATE:END -->
|
|
456
503
|
|
|
457
504
|
### Release history
|
|
@@ -13619,7 +13619,7 @@
|
|
|
13619
13619
|
"id": "0-0-0-134611",
|
|
13620
13620
|
"citation": "§ 20-563.9",
|
|
13621
13621
|
"heading": "§ 20-563.9 Denial, renewal, suspension and revocation of license.",
|
|
13622
|
-
"text": "
|
|
13622
|
+
"text": "In addition to any powers of the commissioner and not in limitation thereof, the commissioner may deny or refuse to renew any license required under this subchapter and may suspend or revoke any such license, after due notice and opportunity to be heard, if the applicant or licensee, or, where applicable, any of its officers, principals, directors, members, managers, employees, or stockholders owning more than ten percent of the outstanding stock of the corporation, is found to have: a. Committed two or more violations of any provision of this subchapter or any rules promulgated thereunder in the preceding two years; b. Made a material false statement or concealed a material fact in connection with the filing of any application pursuant to this subchapter; c. Committed two or more violations of chapter five of title twenty of this code and any rules promulgated thereunder in the preceding two years; d. Committed two or more violations of chapter fifteen of title twenty of this code and any rules promulgated thereunder in the preceding two years; e. Committed three or more violations of paragraph 1 of subdivision c of section 10-157; subdivision d of section 10-157; paragraph 1 of subdivision e of section 10-157; paragraph 3 of subdivision e of section 10-157; subdivision f of section 10-157; or paragraph 1 of subdivision i of section 10-157, within a 2 year period, provided that violation of any rule promulgated pursuant to each such provision constitutes a violation of such provision; or f. Committed six or more violations of any provision of paragraph 1 of subdivision c of section 10-157; subdivision d of section 10-157; paragraph 1 of subdivision e of section 10-157; paragraph 3 of subdivision e of section 10-157; subdivision f of section 10-157; or paragraph 1 of subdivision i of section 10-157, or of any rule promulgated by the department of transportation pursuant to each such provision within a 2 year period. (L.L. 2021/100, 9/26/2021, eff. 1/24/2022; Am. L.L. 2021/113, 10/24/2021, eff. 4/22/2022; Am. L.L. 2021/118, 10/24/2021, eff. 4/22/2022; Am. L.L. 2025/133, 10/10/2025, eff. 10/10/2026) Editor's note: For related unconsolidated provisions, see Appendix A at L.L. 2021/118."
|
|
13623
13623
|
},
|
|
13624
13624
|
{
|
|
13625
13625
|
"corpus": "admin_code",
|