Authority axis v1: mint the executive branch + link 27,804 § → office edges

The Code empowers the executive branch, but the mirror only had legislative
Bodies — every authority reference pointed at nothing. Fixed by minting the
executive branch from the Code's OWN enumerations: 15 Cabinet departments
(5 U.S.C. § 101) + 21 Executive-Schedule Level I offices (§ 5312), 42 Body
nodes under us/executive/.

Then the axis: scripts/extract_authority.py matches named office/department
references across all 59,740 sections (guarding against Deputy/Assistant/Under
subordinates) and emits data/section_authority_edges.jsonl — 27,804 edges from
17,031 sections (28.7% of the Code) to the offices they empower. build.py
renders reciprocal 'empowered by' links on each office node; the section files
are never touched. Now: click the Attorney General, see all 2,386 sections that
vest authority in it.

Named references only in v1 (cabinet-level). Deterministic; body.schema
classification enum extended (executive-department/-agency/-office); make check
green at 105,746 records.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Fabio
2026-07-06 11:37:12 -04:00
parent 76b8ec33a7
commit a8594d786c
48 changed files with 30086 additions and 2 deletions
@@ -0,0 +1,49 @@
---
type: Body
title: "Department of the Interior"
classification: "executive-department"
chamber: "executive"
code: "EXEC-INTERIOR"
head: "us/executive/interior/secretary"
sources:
- field: definition
source: "5 U.S.C. § 101 (Executive departments)"
confidence: official
tags: [body, executive, executive-department]
timestamp: "2026-07-03"
---
# Department of the Interior
Executive department, established by 5 U.S.C. § 101. Headed by the [Secretary of the Interior](/us/executive/interior/secretary.md).
## Referenced by the U.S. Code
590 sections of the U.S. Code reference this department. A sample:
- [2 U.S.C. § 901](/legal/us/code/title-02/chapter-20/section-901.md)
- [2 U.S.C. § 905](/legal/us/code/title-02/chapter-20/section-905.md)
- [5 U.S.C. § 101](/legal/us/code/title-05/chapter-1/section-101.md)
- [5 U.S.C. § 406](/legal/us/code/title-05/chapter-4/section-406.md)
- [5 U.S.C. § 422](/legal/us/code/title-05/chapter-4/section-422.md)
- [5 U.S.C. § 5315](/legal/us/code/title-05/chapter-53/section-5315.md)
- [5 U.S.C. § 5316](/legal/us/code/title-05/chapter-53/section-5316.md)
- [5 U.S.C. § 5332a](/legal/us/code/title-05/chapter-53/section-5332a.md)
- [5 U.S.C. § 5541](/legal/us/code/title-05/chapter-55/section-5541.md)
- [5 U.S.C. § 5542](/legal/us/code/title-05/chapter-55/section-5542.md)
- [5 U.S.C. § 5544](/legal/us/code/title-05/chapter-55/section-5544.md)
- [5 U.S.C. § 5545c](/legal/us/code/title-05/chapter-55/section-5545c.md)
- [5 U.S.C. § 8336](/legal/us/code/title-05/chapter-83/section-8336.md)
- [5 U.S.C. § 8401](/legal/us/code/title-05/chapter-84/section-8401.md)
- [5 U.S.C. § 9601](/legal/us/code/title-05/chapter-96/section-9601.md)
- [6 U.S.C. § 771](/legal/us/code/title-06/chapter-2/section-771.md)
- [7 U.S.C. § 1035](/legal/us/code/title-07/chapter-33/section-1035.md)
- [7 U.S.C. § 1334](/legal/us/code/title-07/chapter-35/section-1334.md)
- [7 U.S.C. § 136a](/legal/us/code/title-07/chapter-6/section-136a.md)
- [7 U.S.C. § 178b](/legal/us/code/title-07/chapter-8a/section-178b.md)
- [7 U.S.C. § 178i](/legal/us/code/title-07/chapter-8a/section-178i.md)
- [7 U.S.C. § 1926d](/legal/us/code/title-07/chapter-50/section-1926d.md)
- [7 U.S.C. § 2204b3](/legal/us/code/title-07/chapter-55/section-2204b-3.md)
- [7 U.S.C. § 6921](/legal/us/code/title-07/chapter-98/section-6921.md)
- [7 U.S.C. § 8108](/legal/us/code/title-07/chapter-107/section-8108.md)
- …and 565 more (full set in data/section_authority_edges.jsonl)
@@ -0,0 +1,50 @@
---
type: Body
title: "Secretary of the Interior"
classification: "executive-office"
chamber: "executive"
code: "EXEC-INTERIOR-SECRETARY"
parent: "us/executive/interior"
schedule_level: "I"
sources:
- field: definition
source: "5 U.S.C. § 5312 (Executive Schedule, Level I)"
confidence: official
tags: [body, executive, executive-office]
timestamp: "2026-07-03"
---
# Secretary of the Interior
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Department of the Interior](/us/executive/interior/index.md).
## Empowered by the U.S. Code
2,646 sections of the U.S. Code vest authority in this office. A sample:
- [2 U.S.C. § 1942](/legal/us/code/title-02/chapter-29/section-1942.md)
- [3 U.S.C. § 19](/legal/us/code/title-03/chapter-1/section-19.md)
- [5 U.S.C. § 2902](/legal/us/code/title-05/chapter-29/section-2902.md)
- [5 U.S.C. § 3307](/legal/us/code/title-05/chapter-33/section-3307.md)
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
- [5 U.S.C. § 5316](/legal/us/code/title-05/chapter-53/section-5316.md)
- [5 U.S.C. § 5343](/legal/us/code/title-05/chapter-53/section-5343.md)
- [5 U.S.C. § 5545c](/legal/us/code/title-05/chapter-55/section-5545c.md)
- [5 U.S.C. § 6324](/legal/us/code/title-05/chapter-63/section-6324.md)
- [5 U.S.C. § 8401](/legal/us/code/title-05/chapter-84/section-8401.md)
- [6 U.S.C. § 665g](/legal/us/code/title-06/chapter-1/section-665g.md)
- [6 U.S.C. § 822](/legal/us/code/title-06/chapter-2/section-822.md)
- [7 U.S.C. § 1006b](/legal/us/code/title-07/chapter-33/section-1006b.md)
- [7 U.S.C. § 1035](/legal/us/code/title-07/chapter-33/section-1035.md)
- [7 U.S.C. § 1359dd](/legal/us/code/title-07/chapter-35/section-1359dd.md)
- [7 U.S.C. § 1860](/legal/us/code/title-07/chapter-46/section-1860.md)
- [7 U.S.C. § 1985](/legal/us/code/title-07/chapter-50/section-1985.md)
- [7 U.S.C. § 2814](/legal/us/code/title-07/chapter-61/section-2814.md)
- [7 U.S.C. § 302](/legal/us/code/title-07/chapter-13/section-302.md)
- [7 U.S.C. § 305](/legal/us/code/title-07/chapter-13/section-305.md)
- [7 U.S.C. § 389](/legal/us/code/title-07/chapter-14/section-389.md)
- [7 U.S.C. § 389a](/legal/us/code/title-07/chapter-14/section-389a.md)
- [7 U.S.C. § 5402](/legal/us/code/title-07/chapter-85/section-5402.md)
- [7 U.S.C. § 5608](/legal/us/code/title-07/chapter-87/section-5608.md)
- [7 U.S.C. § 5925](/legal/us/code/title-07/chapter-88/section-5925.md)
- …and 2,621 more (full set in data/section_authority_edges.jsonl)