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:
@@ -0,0 +1,49 @@
|
||||
---
|
||||
type: Body
|
||||
title: "Department of Defense"
|
||||
classification: "executive-department"
|
||||
chamber: "executive"
|
||||
code: "EXEC-DEFENSE"
|
||||
head: "us/executive/defense/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 Defense
|
||||
|
||||
Executive department, established by 5 U.S.C. § 101. Headed by the [Secretary of Defense](/us/executive/defense/secretary.md).
|
||||
|
||||
## Referenced by the U.S. Code
|
||||
|
||||
1,718 sections of the U.S. Code reference this department. A sample:
|
||||
|
||||
- [1 U.S.C. § 112b](/legal/us/code/title-01/chapter-2/section-112b.md)
|
||||
- [2 U.S.C. § 1970](/legal/us/code/title-02/chapter-29/section-1970.md)
|
||||
- [2 U.S.C. § 4726](/legal/us/code/title-02/chapter-47/section-4726.md)
|
||||
- [2 U.S.C. § 900](/legal/us/code/title-02/chapter-20/section-900.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. § 2109](/legal/us/code/title-05/chapter-21/section-2109.md)
|
||||
- [5 U.S.C. § 303](/legal/us/code/title-05/chapter-3/section-303.md)
|
||||
- [5 U.S.C. § 305](/legal/us/code/title-05/chapter-3/section-305.md)
|
||||
- [5 U.S.C. § 3115](/legal/us/code/title-05/chapter-31/section-3115.md)
|
||||
- [5 U.S.C. § 3116](/legal/us/code/title-05/chapter-31/section-3116.md)
|
||||
- [5 U.S.C. § 3132](/legal/us/code/title-05/chapter-31/section-3132.md)
|
||||
- [5 U.S.C. § 3133](/legal/us/code/title-05/chapter-31/section-3133.md)
|
||||
- [5 U.S.C. § 3301](/legal/us/code/title-05/chapter-33/section-3301.md)
|
||||
- [5 U.S.C. § 3304](/legal/us/code/title-05/chapter-33/section-3304.md)
|
||||
- [5 U.S.C. § 3307](/legal/us/code/title-05/chapter-33/section-3307.md)
|
||||
- [5 U.S.C. § 3326](/legal/us/code/title-05/chapter-33/section-3326.md)
|
||||
- [5 U.S.C. § 3327](/legal/us/code/title-05/chapter-33/section-3327.md)
|
||||
- [5 U.S.C. § 3329](/legal/us/code/title-05/chapter-33/section-3329.md)
|
||||
- [5 U.S.C. § 3330d](/legal/us/code/title-05/chapter-33/section-3330d.md)
|
||||
- [5 U.S.C. § 3330g](/legal/us/code/title-05/chapter-33/section-3330g.md)
|
||||
- [5 U.S.C. § 3341](/legal/us/code/title-05/chapter-33/section-3341.md)
|
||||
- [5 U.S.C. § 3361](/legal/us/code/title-05/chapter-33/section-3361.md)
|
||||
- [5 U.S.C. § 3401](/legal/us/code/title-05/chapter-34/section-3401.md)
|
||||
- [5 U.S.C. § 3502](/legal/us/code/title-05/chapter-35/section-3502.md)
|
||||
- …and 1,693 more (full set in data/section_authority_edges.jsonl)
|
||||
@@ -0,0 +1,50 @@
|
||||
---
|
||||
type: Body
|
||||
title: "Secretary of Defense"
|
||||
classification: "executive-office"
|
||||
chamber: "executive"
|
||||
code: "EXEC-DEFENSE-SECRETARY"
|
||||
parent: "us/executive/defense"
|
||||
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 Defense
|
||||
|
||||
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Department of Defense](/us/executive/defense/index.md).
|
||||
|
||||
## Empowered by the U.S. Code
|
||||
|
||||
2,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. § 13103](/legal/us/code/title-05/chapter-131/section-13103.md)
|
||||
- [5 U.S.C. § 2109](/legal/us/code/title-05/chapter-21/section-2109.md)
|
||||
- [5 U.S.C. § 2902](/legal/us/code/title-05/chapter-29/section-2902.md)
|
||||
- [5 U.S.C. § 3115](/legal/us/code/title-05/chapter-31/section-3115.md)
|
||||
- [5 U.S.C. § 3116](/legal/us/code/title-05/chapter-31/section-3116.md)
|
||||
- [5 U.S.C. § 3132](/legal/us/code/title-05/chapter-31/section-3132.md)
|
||||
- [5 U.S.C. § 3307](/legal/us/code/title-05/chapter-33/section-3307.md)
|
||||
- [5 U.S.C. § 3329](/legal/us/code/title-05/chapter-33/section-3329.md)
|
||||
- [5 U.S.C. § 3502](/legal/us/code/title-05/chapter-35/section-3502.md)
|
||||
- [5 U.S.C. § 408](/legal/us/code/title-05/chapter-4/section-408.md)
|
||||
- [5 U.S.C. § 4109](/legal/us/code/title-05/chapter-41/section-4109.md)
|
||||
- [5 U.S.C. § 415](/legal/us/code/title-05/chapter-4/section-415.md)
|
||||
- [5 U.S.C. § 416](/legal/us/code/title-05/chapter-4/section-416.md)
|
||||
- [5 U.S.C. § 4502](/legal/us/code/title-05/chapter-45/section-4502.md)
|
||||
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
|
||||
- [5 U.S.C. § 5334](/legal/us/code/title-05/chapter-53/section-5334.md)
|
||||
- [5 U.S.C. § 5347](/legal/us/code/title-05/chapter-53/section-5347.md)
|
||||
- [5 U.S.C. § 5373](/legal/us/code/title-05/chapter-53/section-5373.md)
|
||||
- [5 U.S.C. § 5518](/legal/us/code/title-05/chapter-55/section-5518.md)
|
||||
- [5 U.S.C. § 5520a](/legal/us/code/title-05/chapter-55/section-5520a.md)
|
||||
- [5 U.S.C. § 5538](/legal/us/code/title-05/chapter-55/section-5538.md)
|
||||
- [5 U.S.C. § 5543](/legal/us/code/title-05/chapter-55/section-5543.md)
|
||||
- [5 U.S.C. § 5546a](/legal/us/code/title-05/chapter-55/section-5546a.md)
|
||||
- [5 U.S.C. § 5595](/legal/us/code/title-05/chapter-55/section-5595.md)
|
||||
- …and 2,353 more (full set in data/section_authority_edges.jsonl)
|
||||
Reference in New Issue
Block a user