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: "Office of the United States Trade Representative"
classification: "executive-agency"
chamber: "executive"
code: "EXEC-US-TRADE-REPRESENTATIVE"
head: "us/executive/us-trade-representative/united-states-trade-representative"
parent: "us/bodies/executive-office-of-the-president-of-the-united-states"
sources:
- field: definition
source: "5 U.S.C. § 5312 (Executive Schedule, Level I)"
confidence: official
tags: [body, executive, executive-agency]
timestamp: "2026-07-03"
---
# Office of the United States Trade Representative
Executive agency. Its head, the [United States Trade Representative](/us/executive/us-trade-representative/united-states-trade-representative.md), is a Level I position in the Executive Schedule (5 U.S.C. § 5312). It sits within the [Executive Office of the President](/us/bodies/executive-office-of-the-president-of-the-united-states.md).
## Referenced by the U.S. Code
35 sections of the U.S. Code reference this agency. A sample:
- [5 U.S.C. § 3330f](/legal/us/code/title-05/chapter-33/section-3330f.md)
- [5 U.S.C. § 5314](/legal/us/code/title-05/chapter-53/section-5314.md)
- [7 U.S.C. § 16](/legal/us/code/title-07/chapter-1/section-16.md)
- [15 U.S.C. § 3718](/legal/us/code/title-15/chapter-63/section-3718.md)
- [15 U.S.C. § 4727](/legal/us/code/title-15/chapter-73/section-4727.md)
- [15 U.S.C. § 634c](/legal/us/code/title-15/chapter-14a/section-634c.md)
- [15 U.S.C. § 649](/legal/us/code/title-15/chapter-14a/section-649.md)
- [15 U.S.C. § 8111](/legal/us/code/title-15/chapter-107/section-8111.md)
- [16 U.S.C. § 8031](/legal/us/code/title-16/chapter-99/section-8031.md)
- [19 U.S.C. § 2171](/legal/us/code/title-19/chapter-12/section-2171.md)
- [19 U.S.C. § 2213](/legal/us/code/title-19/chapter-12/section-2213.md)
- [19 U.S.C. § 2252](/legal/us/code/title-19/chapter-12/section-2252.md)
- [19 U.S.C. § 2466a](/legal/us/code/title-19/chapter-12/section-2466a.md)
- [19 U.S.C. § 3010](/legal/us/code/title-19/chapter-18/section-3010.md)
- [19 U.S.C. § 3011](/legal/us/code/title-19/chapter-18/section-3011.md)
- [19 U.S.C. § 3512](/legal/us/code/title-19/chapter-22/section-3512.md)
- [19 U.S.C. § 3724](/legal/us/code/title-19/chapter-23/section-3724.md)
- [19 U.S.C. § 3808](/legal/us/code/title-19/chapter-24/section-3808.md)
- [19 U.S.C. § 4204](/legal/us/code/title-19/chapter-27/section-4204.md)
- [19 U.S.C. § 4205](/legal/us/code/title-19/chapter-27/section-4205.md)
- [19 U.S.C. § 4208](/legal/us/code/title-19/chapter-27/section-4208.md)
- [19 U.S.C. § 4314](/legal/us/code/title-19/chapter-28/section-4314.md)
- [19 U.S.C. § 4344](/legal/us/code/title-19/chapter-28/section-4344.md)
- [19 U.S.C. § 4681](/legal/us/code/title-19/chapter-29/section-4681.md)
- [19 U.S.C. § 4732](/legal/us/code/title-19/chapter-29/section-4732.md)
- …and 10 more (full set in data/section_authority_edges.jsonl)
@@ -0,0 +1,50 @@
---
type: Body
title: "United States Trade Representative"
classification: "executive-office"
chamber: "executive"
code: "EXEC-US-TRADE-REPRESENTATIVE-UNITED-STATES-TRADE-REPRESENTATIVE"
parent: "us/executive/us-trade-representative"
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"
---
# United States Trade Representative
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Office of the United States Trade Representative](/us/executive/us-trade-representative/index.md).
## Empowered by the U.S. Code
144 sections of the U.S. Code vest authority in this office. A sample:
- [5 U.S.C. § 3330f](/legal/us/code/title-05/chapter-33/section-3330f.md)
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
- [5 U.S.C. § 5314](/legal/us/code/title-05/chapter-53/section-5314.md)
- [6 U.S.C. § 945](/legal/us/code/title-06/chapter-3/section-945.md)
- [7 U.S.C. § 16](/legal/us/code/title-07/chapter-1/section-16.md)
- [7 U.S.C. § 1748](/legal/us/code/title-07/chapter-42/section-1748.md)
- [7 U.S.C. § 2278](/legal/us/code/title-07/chapter-55/section-2278.md)
- [7 U.S.C. § 4003](/legal/us/code/title-07/chapter-71/section-4003.md)
- [7 U.S.C. § 4503](/legal/us/code/title-07/chapter-76/section-4503.md)
- [7 U.S.C. § 5606](/legal/us/code/title-07/chapter-87/section-5606.md)
- [7 U.S.C. § 5622](/legal/us/code/title-07/chapter-87/section-5622.md)
- [7 U.S.C. § 5623](/legal/us/code/title-07/chapter-87/section-5623.md)
- [7 U.S.C. § 5674](/legal/us/code/title-07/chapter-87/section-5674.md)
- [7 U.S.C. § 5675](/legal/us/code/title-07/chapter-87/section-5675.md)
- [7 U.S.C. § 608e1](/legal/us/code/title-07/chapter-26/section-608e-1.md)
- [7 U.S.C. § 626](/legal/us/code/title-07/chapter-26/section-626.md)
- [10 U.S.C. § 2281](/legal/us/code/title-10/chapter-136/section-2281.md)
- [12 U.S.C. § 635](/legal/us/code/title-12/chapter-6a/section-635.md)
- [12 U.S.C. § 635a](/legal/us/code/title-12/chapter-6a/section-635a.md)
- [12 U.S.C. § 635i3](/legal/us/code/title-12/chapter-6a/section-635i-3.md)
- [15 U.S.C. § 18b](/legal/us/code/title-15/chapter-1/section-18b.md)
- [15 U.S.C. § 2952](/legal/us/code/title-15/chapter-56a/section-2952.md)
- [15 U.S.C. § 3710](/legal/us/code/title-15/chapter-63/section-3710.md)
- [15 U.S.C. § 3718](/legal/us/code/title-15/chapter-63/section-3718.md)
- [15 U.S.C. § 4656](/legal/us/code/title-15/chapter-72a/section-4656.md)
- …and 119 more (full set in data/section_authority_edges.jsonl)