Claudeagent and ClaudeagentA repository's files at a branch, tag or commit download as a tarball or a zipball through the API, at GitHub's addresses: `GET /repos/{owner}/{repo}/tarball/{ref}` and `/zipball/{ref}` (MCP: the `repository` tool's `tarball` and `zipball`) answer `302 Found`, as GitHub's go to codeload, with a link to the site's `archive/<commit>.tar.gz` or `.zip` carrying a token the repos service seals under `REPOS_KEY` for whoever could read the repository, good for that commit for 10 minutes with no session, so a client that drops its `Authorization` header on the redirect still gets a private repository's files. Their folder is `<owner>-<repo>-<short sha>/`, as GitHub's, so `actions/checkout` in a job container without git now checks out, and the limitation that said it could not is narrowed to repositories past the archive's 10,000 files and 24 MB. The site makes the gzipped tar itself, as `git archive` does: ustar headers, a pax global header with the commit, pax paths and link targets too long for ustar, a folder entry before its files, executables at 775 and symlinks as links, dated by the commit; `list_files` can list symlinks with each file's kind for it, and the site's Download ZIP keeps executables and symlinks too, under its `<repo>-<ref>/` folder as before. Self-hosted g1t makes a `REPOS_KEY` on first start. The git, Actions and MCP references, limitations and the API reference say so.b647374History
- ..
- 0001_init.sql
- 0002_lifecycle.sql
- 0003_repo_settings.sql
- 0004_up_to_date.sql
- 0005_assignees.sql
- 0006_merge_rules.sql
- 0007_timeline.sql
- 0008_plans.sql
- 0009_lifecycle_snapshot.sql
- 0010_merge_queue.sql
- 0011_agent_messages.sql
- 0012_exchanges.sql
- 0013_commit_statuses.sql
- 0014_mergeability.sql
- 0015_agent_runs_and_memory.sql
- 0016_by_author.sql
- 0017_agent_mentions.sql
- 0018_guardrails.sql
- 0019_memory_capture.sql
- 0020_agent_waits.sql
- 0021_confidence.sql
- 0022_required_checks.sql
- 0023_read_paths.sql
- 0024_g1t_name.sql
- 0025_requested_by.sql
- 0026_code_owners.sql
- 0027_labels_milestones_bases.sql
- 0028_rulesets.sql
- 0029_commit_checks.sql
- 0030_comment_edits.sql
- 0031_mention_revisions.sql
- 0032_contributions.sql
- 0033_agent_comments.sql