> ## Documentation Index
> Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Week of May 15, 2026

> Auto-scan on org connect, agent-friendly API endpoints, and pagination.

## New features

**Auto-scan when connecting an org.** Connecting a new GitHub or GitLab org now kicks off a full scan automatically. The response includes an `initial_scan_id` you can poll for progress, so the "Connect & scan" flow finally does both in one click. See the [quickstart](/quickstart).

**Look up a repository by URL.** A new `GET /repositories/lookup` endpoint accepts `url=` or `full_path=` and resolves to a Riftmap repo. It handles SSH and HTTPS forms with or without the `.git` suffix, so agents starting from a git remote no longer need to enumerate the workspace. See the [endpoint reference](/api-reference/repositories/resolve-a-git-remote-url-or-full-path-to-a-repository-in-this-workspace).

**Single-call repo context.** A new `GET /repositories/{id}/context` endpoint returns the repo, its direct dependents and dependencies (with totals), and the artifacts it produces — everything an agent needs to reason about a repo in one request. See the [endpoint reference](/api-reference/repositories/single-call-context-bundle-for-ai-coding-agents).

**Subgraph filtering on the org graph.** `GET /connected-orgs/{id}/graph` now accepts `?root=<repo_id>&depth=N` to return only a repo and its upstream and downstream neighbors within N hops. Useful for keeping agent context windows small on large orgs. See the [endpoint reference](/api-reference/graph/get-the-dependency-graph-full-org-or-subgraph-anchored-at-a-repo).

## Updates

**Pagination on dependency endpoints.** [`/repositories/{id}/dependencies`](/api-reference/repositories/list-the-dependency-declarations-this-repository-makes) and [`/repositories/{id}/dependents`](/api-reference/repositories/list-the-repositories-that-directly-depend-on-this-repository) now support `limit` (1–500, default 100) and `offset`, with an `X-Total-Count` response header for total result size.

**Freshness fields on repository responses.** Repository payloads now include `last_commit_sha`, `last_activity_at`, and `archived`, so you can detect "pushed since last scan" without a second call.

**Polished OpenAPI metadata.** Every agent-facing route now has a one-line summary in the OpenAPI schema, improving the experience for LLMs and code generators reading it.

## Bug fixes

**Graceful scan dispatch on org connect.** If the background scan dispatcher fails when connecting an org, the org is still created and returned cleanly instead of erroring out.
