Skip to content

How Sypnia uses it

Sypnia's own code lives in Sypnia Git, with a read-only mirror on GitHub, and Telemetry, the pilot, shows how.

Applies to EngineCloud
View as Markdown
On this page
  1. Where Sypnia’s code lives
  2. How Telemetry uses Sypnia Git
  3. The rest of the suite
  4. What it proves

Telemetry is the pilot of the Sypnia suite: it is built on Sypnia from end to end and uses every Sypnia product. This is how it uses Sypnia Git.

Where Sypnia’s code lives

Every product of the suite has its repositories in Sypnia Git, in the organization sypnia. Each one has a read-only mirror on GitHub, updated on every push: the GitHub copy is where people outside find the open source. All work, contributions from outside included, happens in Sypnia Git, where pull requests are reviewed with the same rules for everyone; nothing comes back from GitHub (Mirroring).

How Telemetry uses Sypnia Git

RepositoryWhat it holds
sypnia/telemetrythe engine, in Rust, and the console
sypnia/sypnia-jsthe SDKs, @sypnia/telemetry and its paths
sypnia/sypnia-docsthese docs, and the docs of every product
  • Every commit names its case. Case: send-alert in the message, so the map in Cases shows the code behind each of Telemetry’s cases, and «send-alert changed twice this week» is one view (The history of a case).
  • main is protected. Two reviews for the engine, no force-push, signed commits, and push protection for secrets.
  • Required checks. sypnia-run/preview (the preview built by Run), sypnia-cases/check (nothing off the map) and the tests must pass before a merge (CI and Run).
  • Agents propose, people merge. Sypnia Agent works on its own branches and opens pull requests; a person reviews and merges. When Telemetry itself finds a problem in Telemetry, its fix arrives as a pull request here, with no app to install.
  • Issues are linked to cases. A bug names the case it is about; a request for something new becomes a proposal on Telemetry’s map before any code (Issues and use cases).
  • A merge deploys. Merging into main deploys with Sypnia Run; production waits for a person’s approval.
  • The server is verifiable. The host keys of ssh.git.sypnia.com are SSHFP records in the sypnia.com zone, signed with DNSSEC by Sypnia Domains (SSH keys).
  • Backed up like anyone’s. Nightly bundles of every repository, with their issues and pull requests, go to storage in a second region, as for every customer.

The rest of the suite

ProductWhat it does with Sypnia Git
Casesreads the Case: trailers and the cases/ folder; runs cases check on every pull request
Agentopens branches and pull requests for every task
Runbuilds a preview on every push and deploys on merge
Designwrites every approved change to a guide as a pull request
Skillspublishes skills from their repositories by trusted publishing
Learnputs each exercise on a branch of the learner’s repository

What it proves

All of Sypnia’s work goes through Sypnia Git every day: people, agents, mirrors and deploys. If a push is slow, a rule lets something through or a mirror drops a commit, Sypnia’s own team is the first to feel it.

  1. Where Sypnia’s code lives
  2. How Telemetry uses Sypnia Git
  3. The rest of the suite
  4. What it proves

    Search pages, sections and terms