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 Labor"
classification: "executive-department"
chamber: "executive"
code: "EXEC-LABOR"
head: "us/executive/labor/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 Labor
Executive department, established by 5 U.S.C. § 101. Headed by the [Secretary of Labor](/us/executive/labor/secretary.md).
## Referenced by the U.S. Code
306 sections of the U.S. Code reference this department. A sample:
- [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. § 609](/legal/us/code/title-05/chapter-6/section-609.md)
- [5 U.S.C. § 8140](/legal/us/code/title-05/chapter-81/section-8140.md)
- [5 U.S.C. § 8145](/legal/us/code/title-05/chapter-81/section-8145.md)
- [5 U.S.C. § 8193](/legal/us/code/title-05/chapter-81/section-8193.md)
- [5 U.S.C. § 8337](/legal/us/code/title-05/chapter-83/section-8337.md)
- [5 U.S.C. § 8464a](/legal/us/code/title-05/chapter-84/section-8464a.md)
- [7 U.S.C. § 1308](/legal/us/code/title-07/chapter-35/section-1308.md)
- [7 U.S.C. § 1508](/legal/us/code/title-07/chapter-36/section-1508.md)
- [7 U.S.C. § 2012](/legal/us/code/title-07/chapter-51/section-2012.md)
- [7 U.S.C. § 2014](/legal/us/code/title-07/chapter-51/section-2014.md)
- [7 U.S.C. § 2015](/legal/us/code/title-07/chapter-51/section-2015.md)
- [7 U.S.C. § 2036a](/legal/us/code/title-07/chapter-51/section-2036a.md)
- [7 U.S.C. § 2204b3](/legal/us/code/title-07/chapter-55/section-2204b-3.md)
- [7 U.S.C. § 612c6](/legal/us/code/title-07/chapter-26/section-612c-6.md)
- [7 U.S.C. § 6919](/legal/us/code/title-07/chapter-98/section-6919.md)
- [7 U.S.C. § 7501](/legal/us/code/title-07/chapter-102/section-7501.md)
- [8 U.S.C. § 1182](/legal/us/code/title-08/chapter-12/section-1182.md)
- [8 U.S.C. § 1184](/legal/us/code/title-08/chapter-12/section-1184.md)
- [8 U.S.C. § 1324a](/legal/us/code/title-08/chapter-12/section-1324a.md)
- [8 U.S.C. § 1365b](/legal/us/code/title-08/chapter-12/section-1365b.md)
- …and 281 more (full set in data/section_authority_edges.jsonl)
@@ -0,0 +1,50 @@
---
type: Body
title: "Secretary of Labor"
classification: "executive-office"
chamber: "executive"
code: "EXEC-LABOR-SECRETARY"
parent: "us/executive/labor"
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 Labor
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Department of Labor](/us/executive/labor/index.md).
## Empowered by the U.S. Code
692 sections of the U.S. Code vest authority in this office. A sample:
- [2 U.S.C. § 1312](/legal/us/code/title-02/chapter-24/section-1312.md)
- [2 U.S.C. § 1313](/legal/us/code/title-02/chapter-24/section-1313.md)
- [2 U.S.C. § 1314](/legal/us/code/title-02/chapter-24/section-1314.md)
- [2 U.S.C. § 1315](/legal/us/code/title-02/chapter-24/section-1315.md)
- [2 U.S.C. § 1316](/legal/us/code/title-02/chapter-24/section-1316.md)
- [2 U.S.C. § 1341](/legal/us/code/title-02/chapter-24/section-1341.md)
- [2 U.S.C. § 1384](/legal/us/code/title-02/chapter-24/section-1384.md)
- [2 U.S.C. § 1603](/legal/us/code/title-02/chapter-26/section-1603.md)
- [2 U.S.C. § 5508](/legal/us/code/title-02/chapter-55/section-5508.md)
- [2 U.S.C. § 5512](/legal/us/code/title-02/chapter-55/section-5512.md)
- [3 U.S.C. § 19](/legal/us/code/title-03/chapter-1/section-19.md)
- [3 U.S.C. § 412](/legal/us/code/title-03/chapter-5/section-412.md)
- [3 U.S.C. § 413](/legal/us/code/title-03/chapter-5/section-413.md)
- [3 U.S.C. § 414](/legal/us/code/title-03/chapter-5/section-414.md)
- [3 U.S.C. § 415](/legal/us/code/title-03/chapter-5/section-415.md)
- [3 U.S.C. § 416](/legal/us/code/title-03/chapter-5/section-416.md)
- [3 U.S.C. § 425](/legal/us/code/title-03/chapter-5/section-425.md)
- [5 U.S.C. § 3330a](/legal/us/code/title-05/chapter-33/section-3330a.md)
- [5 U.S.C. § 3373](/legal/us/code/title-05/chapter-33/section-3373.md)
- [5 U.S.C. § 3374](/legal/us/code/title-05/chapter-33/section-3374.md)
- [5 U.S.C. § 3502](/legal/us/code/title-05/chapter-35/section-3502.md)
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
- [5 U.S.C. § 5342](/legal/us/code/title-05/chapter-53/section-5342.md)
- [5 U.S.C. § 5343](/legal/us/code/title-05/chapter-53/section-5343.md)
- [5 U.S.C. § 5545](/legal/us/code/title-05/chapter-55/section-5545.md)
- …and 667 more (full set in data/section_authority_edges.jsonl)