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,50 @@
---
type: Body
title: "Secretary of Housing and Urban Development"
classification: "executive-office"
chamber: "executive"
code: "EXEC-HOUSING-AND-URBAN-DEVELOPMENT-SECRETARY"
parent: "us/executive/housing-and-urban-development"
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 Housing and Urban Development
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Department of Housing and Urban Development](/us/executive/housing-and-urban-development/index.md).
## Empowered by the U.S. Code
378 sections of the U.S. Code vest authority in this office. A sample:
- [3 U.S.C. § 19](/legal/us/code/title-03/chapter-1/section-19.md)
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
- [6 U.S.C. § 771](/legal/us/code/title-06/chapter-2/section-771.md)
- [7 U.S.C. § 1933](/legal/us/code/title-07/chapter-50/section-1933.md)
- [7 U.S.C. § 1981](/legal/us/code/title-07/chapter-50/section-1981.md)
- [8 U.S.C. § 1611](/legal/us/code/title-08/chapter-14/section-1611.md)
- [11 U.S.C. § 362](/legal/us/code/title-11/chapter-3/section-362.md)
- [12 U.S.C. § 1430](/legal/us/code/title-12/chapter-11/section-1430.md)
- [12 U.S.C. § 1441b](/legal/us/code/title-12/chapter-11/section-1441b.md)
- [12 U.S.C. § 1454](/legal/us/code/title-12/chapter-11a/section-1454.md)
- [12 U.S.C. § 1701c](/legal/us/code/title-12/chapter-13/section-1701c.md)
- [12 U.S.C. § 1701d–4](/legal/us/code/title-12/chapter-13/section-1701d-4.md)
- [12 U.S.C. § 1701g–5](/legal/us/code/title-12/chapter-13/section-1701g-5.md)
- [12 U.S.C. § 1701g–5b](/legal/us/code/title-12/chapter-13/section-1701g-5b.md)
- [12 U.S.C. § 1701h](/legal/us/code/title-12/chapter-13/section-1701h.md)
- [12 U.S.C. § 1701h–1](/legal/us/code/title-12/chapter-13/section-1701h-1.md)
- [12 U.S.C. § 1701j–1](/legal/us/code/title-12/chapter-13/section-1701j-1.md)
- [12 U.S.C. § 1701j–2](/legal/us/code/title-12/chapter-13/section-1701j-2.md)
- [12 U.S.C. § 1701l](/legal/us/code/title-12/chapter-13/section-1701l.md)
- [12 U.S.C. § 1701l–1](/legal/us/code/title-12/chapter-13/section-1701l-1.md)
- [12 U.S.C. § 1701o](/legal/us/code/title-12/chapter-13/section-1701o.md)
- [12 U.S.C. § 1701p](/legal/us/code/title-12/chapter-13/section-1701p.md)
- [12 U.S.C. § 1701p–1](/legal/us/code/title-12/chapter-13/section-1701p-1.md)
- [12 U.S.C. § 1701p–2](/legal/us/code/title-12/chapter-13/section-1701p-2.md)
- [12 U.S.C. § 1701q](/legal/us/code/title-12/chapter-13/section-1701q.md)
- …and 353 more (full set in data/section_authority_edges.jsonl)