# vanshb03/summer2026-internships architecture

> Architecture diagram of the GitHub repository vanshb03/summer2026-internships, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-07-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vanshb03/summer2026-internships
- Repository: https://github.com/vanshb03/summer2026-internships

## Overview

#### Purpose and Entry Points
This is a GitHub-native, collaboratively maintained directory of Summer 2027 US, Canada, and remote tech internships/co-ops. The primary published artifact is the Markdown table in `README.md`; `OFFSEASON_README.md` is its off-season counterpart. Contributions enter through GitHub Issues rather than an application or API.

#### Canonical Listing Content
`README.md` contains the public internship table, including company, role, location, application link/status, and posting date. Explicit `TABLE_START`/`TABLE_END` comments define the automation-managed content boundary; changes outside those markers preserve surrounding documentation and contributor material.

Paths: `README.md`, `OFFSEASON_README.md`

#### Contribution Intake
Structured GitHub Issue forms collect proposed internships and closure/other updates. This makes Issues the human-input boundary and avoids direct editing as the primary submission path. Contribution expectations and review process are documented separately.

Paths: `.github/ISSUE_TEMPLATE/new_internship.yaml`, `.github/ISSUE_TEMPLATE/close_internship.yaml`, `CONTRIBUTING.md`

#### Approval Gate
A GitHub Actions workflow responds to contribution approval and runs Python automation to process accepted submissions. The approval script is the control boundary between untrusted issue content and repository documentation updates.

Paths: `.github/workflows/contribution_approved.yml`, `.github/scripts/contribution_approved.py`, `.github/scripts/util.py`

#### Listing Transformation Pipeline
Python scripts maintain listing data and render/update README table regions. `listings.json` is the likely structured intermediary/source used by the scripts, while `update_readmes.py` synchronizes generated listing content into the active README artifacts. This separates submission processing from presentation formatting.

Paths: `.github/scripts/listings.json`, `.github/scripts/update_readmes.py`, `.github/scripts/util.py`

#### Publishing and Automation Runtime
GitHub Actions is the only evident runtime/infrastructure; Python is the automation language. The README-update workflow executes the documentation-generation path and commits or otherwise applies rendered list updates through GitHub automation. External dependencies are GitHub Issues/Actions, GitHub-hosted repository rendering, and linked third-party employer application sites.

Paths: `.github/workflows/update_readmes.yml`, `.github/scripts/update_readmes.py`

#### Historical Snapshots
Prior seasons are retained as static archives, with separate README/off-season views and structured archived listing data. They are historical boundaries, not inputs to the current-season workflow.

Paths: `archived/2025/README.md`, `archived/2025/archived.json`, `archived/2026/README.md`

Main entry points: [`.github/scripts/update_readmes.py`](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/update_readmes.py) (Listing renderer), [`.github/scripts/contribution_approved.py`](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/contribution_approved.py) (Approval processor), [`.github/scripts/listings.json`](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/listings.json) (Current listings), [`.github/workflows/contribution_approved.yml`](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/workflows/contribution_approved.yml) (Approval workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_contrib["Contribution intake"]
  node_new_form["New internship form<br/>Issue form"]
  node_close_form["Closure update form<br/>Issue form"]
  node_issues["GitHub Issues<br/>human input boundary"]
  node_contributing["Contribution guide<br/>documentation<br/>[CONTRIBUTING.md]"]
end

subgraph group_automation["GitHub automation"]
  node_approval_workflow{{"Approval workflow<br/>GitHub Actions workflow"}}
  node_approval_script["Approval processor<br/>Python script"]
  node_listing_data[("Current listings<br/>structured listing data<br/>[listings.json]")]
  node_util["Automation utilities<br/>Python module<br/>[util.py]"]
  node_update_workflow{{"README update workflow<br/>GitHub Actions workflow<br/>[update_readmes.yml]"}}
  node_renderer["Listing renderer<br/>Python script<br/>[update_readmes.py]"]
end

subgraph group_published["Published listings"]
  node_readme["Summer 2027 listings<br/>published Markdown table<br/>[README.md]"]
  node_offseason_readme["Off-season listings<br/>published Markdown table"]
  node_github_rendering(("GitHub repository rendering<br/>publication surface"))
end

subgraph group_archive["Historical snapshots"]
  node_archive_2025["2025 archive<br/>static season snapshot<br/>[README.md]"]
  node_archive_2025_data[("2025 archived data<br/>archived listing data<br/>[archived.json]")]
  node_archive_2026["2026 archive<br/>static season snapshot<br/>[README.md]"]
end

node_new_form -->|"creates proposal"| node_issues
node_close_form -->|"creates update"| node_issues
node_contributing -.->|"guides contributors"| node_issues
node_issues -->|"approved contribution"| node_approval_workflow
node_approval_workflow -->|"runs"| node_approval_script
node_approval_script -->|"updates accepted listings"| node_listing_data
node_approval_script -.->|"uses"| node_util
node_listing_data -->|"triggers/supplies update"| node_update_workflow
node_update_workflow -->|"runs"| node_renderer
node_renderer -.->|"uses"| node_util
node_listing_data -->|"renders"| node_renderer
node_renderer -->|"updates table region"| node_readme
node_renderer -->|"updates table region"| node_offseason_readme
node_readme -->|"published as"| node_github_rendering
node_offseason_readme -->|"published as"| node_github_rendering
node_archive_2025_data -.->|"historical data"| node_archive_2025

click node_new_form "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/ISSUE_TEMPLATE/new_internship.yaml"
click node_close_form "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/ISSUE_TEMPLATE/close_internship.yaml"
click node_contributing "https://github.com/vanshb03/summer2026-internships/blob/dev/CONTRIBUTING.md"
click node_approval_workflow "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/workflows/contribution_approved.yml"
click node_approval_script "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/contribution_approved.py"
click node_listing_data "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/listings.json"
click node_util "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/util.py"
click node_update_workflow "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/workflows/update_readmes.yml"
click node_renderer "https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/update_readmes.py"
click node_readme "https://github.com/vanshb03/summer2026-internships/blob/dev/README.md"
click node_offseason_readme "https://github.com/vanshb03/summer2026-internships/blob/dev/OFFSEASON_README.md"
click node_archive_2025 "https://github.com/vanshb03/summer2026-internships/blob/dev/archived/2025/README.md"
click node_archive_2025_data "https://github.com/vanshb03/summer2026-internships/blob/dev/archived/2025/archived.json"
click node_archive_2026 "https://github.com/vanshb03/summer2026-internships/blob/dev/archived/2026/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_new_form,node_close_form,node_issues,node_contributing toneBlue
class node_approval_workflow,node_approval_script,node_listing_data,node_util,node_update_workflow,node_renderer toneAmber
class node_readme,node_offseason_readme,node_github_rendering toneMint
class node_archive_2025,node_archive_2025_data,node_archive_2026 toneRose
```

## Components

### Contribution intake

- [New internship form](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/ISSUE_TEMPLATE/new_internship.yaml): Issue form · `.github/ISSUE_TEMPLATE/new_internship.yaml`
- [Closure update form](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/ISSUE_TEMPLATE/close_internship.yaml): Issue form · `.github/ISSUE_TEMPLATE/close_internship.yaml`
- **GitHub Issues**: human input boundary · Structured proposals and closure updates enter here.
- [Contribution guide](https://github.com/vanshb03/summer2026-internships/blob/dev/CONTRIBUTING.md): documentation · `CONTRIBUTING.md`

### GitHub automation

- [Approval workflow](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/workflows/contribution_approved.yml): GitHub Actions workflow · `.github/workflows/contribution_approved.yml`
- [Approval processor](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/contribution_approved.py): Python script · Validates approved issue content before documentation changes. · `.github/scripts/contribution_approved.py`
- [Current listings](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/listings.json): structured listing data · `.github/scripts/listings.json`
- [Automation utilities](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/util.py): Python module · `.github/scripts/util.py`
- [README update workflow](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/workflows/update_readmes.yml): GitHub Actions workflow · `.github/workflows/update_readmes.yml`
- [Listing renderer](https://github.com/vanshb03/summer2026-internships/blob/dev/.github/scripts/update_readmes.py): Python script · Replaces only content between TABLE_START and TABLE_END markers. · `.github/scripts/update_readmes.py`

### Published listings

- [Summer 2027 listings](https://github.com/vanshb03/summer2026-internships/blob/dev/README.md): published Markdown table · Primary public internship directory. · `README.md`
- [Off-season listings](https://github.com/vanshb03/summer2026-internships/blob/dev/OFFSEASON_README.md): published Markdown table · `OFFSEASON_README.md`
- **GitHub repository rendering**: publication surface

### Historical snapshots

- [2025 archive](https://github.com/vanshb03/summer2026-internships/blob/dev/archived/2025/README.md): static season snapshot · `archived/2025/README.md`
- [2025 archived data](https://github.com/vanshb03/summer2026-internships/blob/dev/archived/2025/archived.json): archived listing data · `archived/2025/archived.json`
- [2026 archive](https://github.com/vanshb03/summer2026-internships/blob/dev/archived/2026/README.md): static season snapshot · `archived/2026/README.md`

## Connections

- New internship form → GitHub Issues: creates proposal
- Closure update form → GitHub Issues: creates update
- Contribution guide → GitHub Issues: guides contributors
- GitHub Issues → Approval workflow: approved contribution
- Approval workflow → Approval processor: runs
- Approval processor → Current listings: updates accepted listings
- Approval processor → Automation utilities: uses
- Current listings → README update workflow: triggers/supplies update
- README update workflow → Listing renderer: runs
- Listing renderer → Automation utilities: uses
- Current listings → Listing renderer: renders
- Listing renderer → Summer 2027 listings: updates table region
- Listing renderer → Off-season listings: updates table region
- Summer 2027 listings → GitHub repository rendering: published as
- Off-season listings → GitHub repository rendering: published as
- 2025 archived data → 2025 archive: historical data
