> For the complete documentation index, see [llms.txt](https://docs.openg2p.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openg2p.org/products/spar/development/repositories.md).

# Repositories

The SPAR subsystem source code

All SPAR source code lives in a **single consolidated repository**.

| Repository                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [spar](https://github.com/OpenG2P/spar) | <p>The consolidated SPAR repository. Layout:</p><p><mark style="color:blue;">core/</mark> — the Python projects: <code>models</code>, <code>mapper-core</code>, <code>mapper-partner-api</code>, <code>bene-portal-api</code>.<br><mark style="color:blue;">docker/</mark> — Dockerfiles for the API images.<br><mark style="color:blue;">deployment/</mark> — the <code>openg2p-spar</code> Helm chart (<code>charts/openg2p-spar</code>) and the uninstall script (<code>scripts/uninstall-spar.sh</code>).</p> |

{% hint style="info" %}
The previously separate repos — `openg2p-spar-mapper-api`, `openg2p-spar-self-service`, `openg2p-spar-self-service-ui` and `openg2p-spar-deployment` — have been consolidated into `openg2p-spar`. The Self-Service components were removed in v2.0 and replaced by the Beneficiary Portal API.
{% endhint %}

You can find the **SPAR test plans** (functional and load testing) in this [Google Drive Folder.](https://drive.google.com/drive/folders/1SzlkpSnl2E1y9hLOpH_CeZkVvE9F8qt1)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openg2p.org/products/spar/development/repositories.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
