# Design decisions

> The choices behind Sypnia Git, and why each one was made.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/reference/decisions/

For agents: Design decisions of Sypnia Git: the engine is Forgejo behind Sypnia's layer; licenses: @sypnia/git (CLI and client) MIT, Sypnia's layer AGPL-3.0, changes to the git engine under its own GPL; repository storage on EFS, with EBS per shard for large or busy repositories; work happens in Sypnia Git and GitHub is a read-only mirror, one way; issues and pull requests sync with GitHub at import and export, not continuously; push protection for secrets is on by default; plans are prepaid, Git alone or inside the Sypnia subscription.

| Decision                                         | What Sypnia Git does                                                                                                                                          | Why                                                                                                     |
| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| **The engine**                                   | Forgejo (GPLv3+), unmodified where possible, behind Sypnia's layer ([Choosing the engine](https://git.docs.sypnia.com/architecture/engine))                   | a complete, community-governed forge; replaceable, because people only see our layer                    |
| **Licenses**                                     | `@sypnia/git` (CLI and client) under MIT; Sypnia's layer under AGPL-3.0, like the other Sypnia engines; changes to the git engine published under its own GPL | anyone can use the tools; hosted copies share their changes                                             |
| **Repository storage**                           | EFS, with EBS per shard for large or busy repositories                                                                                                        | simple for most repositories, fast for the ones that need it                                            |
| **One-way mirrors**                              | work happens in Sypnia Git; GitHub keeps a read-only copy, updated on every push, and nothing comes back from it                                              | one place where code changes, so there are no conflicts to settle and nothing to lose between two sides |
| **Syncing issues and pull requests with GitHub** | at import and export, not continuously                                                                                                                        | continuous sync of discussions between two hosts is fragile and confusing                               |
| **Push protection for secrets**                  | on by default                                                                                                                                                 | the most common accident in a repository                                                                |
| **Plans**                                        | Git alone or inside the Sypnia subscription, always prepaid ([Sypnia Cloud](https://git.docs.sypnia.com/cloud))                                               | one account and one bill for the whole suite                                                            |
