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 State"
classification: "executive-department"
chamber: "executive"
code: "EXEC-STATE"
head: "us/executive/state/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 State
Executive department, established by 5 U.S.C. § 101. Headed by the [Secretary of State](/us/executive/state/secretary.md).
## Referenced by the U.S. Code
588 sections of the U.S. Code reference this department. A sample:
- [1 U.S.C. § 112a](/legal/us/code/title-01/chapter-2/section-112a.md)
- [1 U.S.C. § 112b](/legal/us/code/title-01/chapter-2/section-112b.md)
- [2 U.S.C. § 143a](/legal/us/code/title-02/chapter-5/section-143a.md)
- [2 U.S.C. § 194a](/legal/us/code/title-02/chapter-6/section-194a.md)
- [2 U.S.C. § 4726](/legal/us/code/title-02/chapter-47/section-4726.md)
- [5 U.S.C. § 101](/legal/us/code/title-05/chapter-1/section-101.md)
- [5 U.S.C. § 10301](/legal/us/code/title-05/chapter-103/section-10301.md)
- [5 U.S.C. § 10302](/legal/us/code/title-05/chapter-103/section-10302.md)
- [5 U.S.C. § 2902](/legal/us/code/title-05/chapter-29/section-2902.md)
- [5 U.S.C. § 3330d](/legal/us/code/title-05/chapter-33/section-3330d.md)
- [5 U.S.C. § 406](/legal/us/code/title-05/chapter-4/section-406.md)
- [5 U.S.C. § 419](/legal/us/code/title-05/chapter-4/section-419.md)
- [5 U.S.C. § 5102](/legal/us/code/title-05/chapter-51/section-5102.md)
- [5 U.S.C. § 5315](/legal/us/code/title-05/chapter-53/section-5315.md)
- [5 U.S.C. § 7103](/legal/us/code/title-05/chapter-71/section-7103.md)
- [5 U.S.C. § 7531](/legal/us/code/title-05/chapter-75/section-7531.md)
- [5 U.S.C. § 9101](/legal/us/code/title-05/chapter-91/section-9101.md)
- [6 U.S.C. § 1001](/legal/us/code/title-06/chapter-3/section-1001.md)
- [6 U.S.C. § 106](/legal/us/code/title-06/chapter-1/section-106.md)
- [6 U.S.C. § 121](/legal/us/code/title-06/chapter-1/section-121.md)
- [6 U.S.C. § 124k](/legal/us/code/title-06/chapter-1/section-124k.md)
- [6 U.S.C. § 1531](/legal/us/code/title-06/chapter-6/section-1531.md)
- [6 U.S.C. § 195c](/legal/us/code/title-06/chapter-1/section-195c.md)
- [6 U.S.C. § 220](/legal/us/code/title-06/chapter-1/section-220.md)
- [6 U.S.C. § 236](/legal/us/code/title-06/chapter-1/section-236.md)
- …and 563 more (full set in data/section_authority_edges.jsonl)
@@ -0,0 +1,50 @@
---
type: Body
title: "Secretary of State"
classification: "executive-office"
chamber: "executive"
code: "EXEC-STATE-SECRETARY"
parent: "us/executive/state"
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 State
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Department of State](/us/executive/state/index.md).
## Empowered by the U.S. Code
1,437 sections of the U.S. Code vest authority in this office. A sample:
- [1 U.S.C. § 112a](/legal/us/code/title-01/chapter-2/section-112a.md)
- [1 U.S.C. § 112b](/legal/us/code/title-01/chapter-2/section-112b.md)
- [1 U.S.C. § 113](/legal/us/code/title-01/chapter-2/section-113.md)
- [3 U.S.C. § 19](/legal/us/code/title-03/chapter-1/section-19.md)
- [3 U.S.C. § 20](/legal/us/code/title-03/chapter-1/section-20.md)
- [4 U.S.C. § 42](/legal/us/code/title-04/chapter-2/section-42.md)
- [5 U.S.C. § 1304](/legal/us/code/title-05/chapter-13/section-1304.md)
- [5 U.S.C. § 13101](/legal/us/code/title-05/chapter-131/section-13101.md)
- [5 U.S.C. § 2902](/legal/us/code/title-05/chapter-29/section-2902.md)
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
- [5 U.S.C. § 5522](/legal/us/code/title-05/chapter-55/section-5522.md)
- [5 U.S.C. § 5544](/legal/us/code/title-05/chapter-55/section-5544.md)
- [5 U.S.C. § 5545a](/legal/us/code/title-05/chapter-55/section-5545a.md)
- [5 U.S.C. § 5546](/legal/us/code/title-05/chapter-55/section-5546.md)
- [5 U.S.C. § 5928](/legal/us/code/title-05/chapter-59/section-5928.md)
- [5 U.S.C. § 594](/legal/us/code/title-05/chapter-5/section-594.md)
- [5 U.S.C. § 7342](/legal/us/code/title-05/chapter-73/section-7342.md)
- [5 U.S.C. § 8332](/legal/us/code/title-05/chapter-83/section-8332.md)
- [5 U.S.C. § 9904](/legal/us/code/title-05/chapter-99/section-9904.md)
- [6 U.S.C. § 1001](/legal/us/code/title-06/chapter-3/section-1001.md)
- [6 U.S.C. § 1500](/legal/us/code/title-06/chapter-6/section-1500.md)
- [6 U.S.C. § 1531](/legal/us/code/title-06/chapter-6/section-1531.md)
- [6 U.S.C. § 195c](/legal/us/code/title-06/chapter-1/section-195c.md)
- [6 U.S.C. § 220](/legal/us/code/title-06/chapter-1/section-220.md)
- [6 U.S.C. § 236](/legal/us/code/title-06/chapter-1/section-236.md)
- …and 1,412 more (full set in data/section_authority_edges.jsonl)