Whether an excavation needs a protective system against cave-ins, from 29 CFR 1926.652(a)(1)
- Inputs
- depth (1 to 30 ft); stable_rock; cave_in_indication
- Outputs
- protection (required, not_required)
- Source
- 29 CFR 1926, as of 2026-01-01
| Name | What it is | Try it, or read its code |
|---|---|---|
| osha_excavation | Whether an excavation needs a protective system against cave-ins, from 29 CFR 1926.652(a)(1) | TryCode |
| osha_extinguisher | How far an employee may have to walk to a portable fire extinguisher. Transcribed from 29 CFR 1910.157(d), read out of the eCFR | TryCode |
| osha_noise | The daily exposure to continuous noise a workplace may permit, from Table G-16 of 29 CFR 1910.95 | TryCode |
Limits from the occupational safety standards of the United States, as rules of rulec, for a module of ritsu to use. Each rule reads one section of Title 29 of the Code of Federal Regulations. The section is kept beside the rule as the eCFR served it, and the rule pins it by its SHA-256.
| File | Rule | What it answers | Section |
|---|---|---|---|
osha_extinguisher.rule | osha_extinguisher | How far an employee may have to walk to a portable fire extinguisher | 29 CFR 1910.157(d) |
osha_noise.rule | osha_noise | How long a workplace may expose an employee to a level of continuous noise | 29 CFR 1910.95, Table G-16 |
osha_excavation.rule | osha_excavation | Whether an excavation needs a protective system against cave-ins | 29 CFR 1926.652(a)(1) |
The rules transcribe the sections as of 2026-01-01, to be read against them. They are not legal advice. Where a section leaves something open, a comment in the rule says how it was decided: osha_noise.rule gives a level between two listed ones the shorter of their two times.
Add the module, add the line that checks its signature to your ritsu.mod, and fetch it:
$ ritsu mod add osha ghcr.io/i2y/ritsu-osha@1.0.1
signature "ghcr.io/i2y/ritsu-osha" by matching "^https://github[.]com/i2y/ritsu/" issuer "https://token.actions.githubusercontent.com"
$ ritsu mod fetch
Then read it from your own code of kaname or dandori:
use rule noise from "@osha/osha_noise.rule"
rulec source outdated <file> asks the eCFR whether a later amendment touched a section. THIRD_PARTY_NOTICES.md lists the copies under sources/law/.
The rules are under the MIT License or the Apache License, version 2.0, at your option, as ritsu is.
A version that follows a change in the law raises the minor version. A version that renames a file or removes one, or changes the inputs or outputs of a rule, raises the major version. A version that changes only the words of this README raises the patch version.
Each page is drawn by its language from the file at this version.
Whether an excavation needs a protective system against cave-ins, from 29 CFR 1926.652(a)(1)
How far an employee may have to walk to a portable fire extinguisher. Transcribed from 29 CFR 1910.157(d), read out of the eCFR
The daily exposure to continuous noise a workplace may permit, from Table G-16 of 29 CFR 1910.95
ritsu compares every input, or says it cannot decide. It does not sample.
ritsu mod diff --format markdown writes it| Change | File |
|---|---|
| changed | README.ja.md |
| changed | README.md |
| changed | ritsu.mod |
osha_excavation.rule (rulec): the same answersosha_extinguisher.rule (rulec): the same answersosha_noise.rule (rulec): the same answersREADME.ja.md (digest): its bytes changedREADME.md (digest): its bytes changedNo difference in behavior or in an interface.
| osha_excavation.rule | 1,763 B |
| osha_extinguisher.rule | 1,555 B |
| osha_noise.rule | 1,707 B |
| sources/law/29-CFR-1910@2026-01-01/1910.157.xml | 14,356 B |
| sources/law/29-CFR-1910@2026-01-01/1910.95.xml | 83,466 B |
| sources/law/29-CFR-1926@2026-01-01/1926.652.xml | 11,548 B |
| README.ja.md | 2,331 B |
| README.md | 2,067 B |
| THIRD_PARTY_NOTICES.md | 822 B |
| ritsu.mod | 401 B |