Last updated

Privacy

What we collect, who else sees it, how long it stays, and what signing in with Google does and does not give us. Written from the schema, so every list here is the real one.

1Who we are

Nightshift is run by Token Gesture OÜ, wherever you are, and that company holds your data.

It is the data controller under the EU General Data Protection Regulation (2016/679). Section 15 says how to complain, and where.

This policy covers nightshift.engineering and the product at app.nightshift.engineering. It does not cover GitHub, Google, or a model provider you bring your own key to, all of which have their own.

2What we collect

All of it comes from you, from an identity provider you chose to sign in with, or from the product doing what you asked it to. We buy no data and we run no trackers, so there is no fourth source.

Your account
Email address, first and last name, profile picture, GitHub login and mobile number where you have given them, your timezone, and four dates: when your address was verified, when you first signed in, when you were last seen, and when the account was switched off, if it was.
Your organisation
Registered name, trading name, country of domicile, principal address and timezone. Company details rather than personal ones, except for a sole trader, whose registered address is their home. We treat them as personal.
Sessions
A hash of your session token, never the token, along with its expiry, when it was last used, and the browser that holds it.
Sign-in codes
Your email address, a hash of the code, its expiry, and how many times somebody has tried it.
Your work
Cards, plans, the diffs agents produced, review findings, the night runs they ran in, and an audit trail of who allowed what.
What it cost
Per piece of work: the provider, the model, token counts, latency and cost. This is what the spend limits count against.
Billing
An identifier for your customer record at Stripe. Your card details go to Stripe directly and never reach us.

The audit trail records the IP address a privileged action came from. It is the record of who gave software permission to merge unattended, so it is written to and never edited.

3Signing in with Google

You can sign in to Nightshift with your Google account instead of waiting for a code in your inbox. When you do, Google asks your permission and then tells us three things. Nightshift never sees your Google password, and Google never sees ours, because there isn't one.

openid
Confirms to us that Google authenticated you, and nothing else.
https://www.googleapis.com/auth/userinfo.email
Your email address, and whether Google has verified it. This is how we find your Nightshift account, or create one.
https://www.googleapis.com/auth/userinfo.profile
Your name and profile picture, so a card you wrote carries a name rather than an address.

That is the whole list. These are basic scopes. Nightshift requests no sensitive or restricted scope and holds no token that could read your Gmail, your Drive, your Calendar, your Contacts or anything else in your Google account. There is nothing to ask for, because none of it would tell us anything about the code you want written tonight.

What we do with it. Your verified email address is matched against an existing Nightshift account, or used to create one. Your name and picture go on the account so that a card you wrote shows a person rather than an address. That is all. We do not build a profile, we do not use it for advertising, we do not sell it, and we do not use it to train any model.

Nightshift's use and transfer of information received from Google APIs to any other app will adhere to the Google API Services User Data Policy, including the Limited Use requirements.

You can read that policy at the Google API Services User Data Policy.

Taking it back. Revoke Nightshift's access at your Google account permissions at any time, without asking us. Your Nightshift account and everything in it stays where it is: you sign in by emailed code afterwards. To remove the account itself, section 12.

4Signing in by email

The other way in is a six-digit code sent to your address. There are no passwords in Nightshift at all, which means there is no password of yours for us to lose.

The code is stored hashed, expires ten minutes after it is sent, and is destroyed once used. Redeeming one is what proves you control the inbox, and it is the same proof every time you sign in. Your address goes to SendGrid so the mail can be delivered, and to nobody else.

5Your code, and where it goes

This is the part of the policy worth reading twice, because it is the one most privacy policies in this category are vague about.

On a self-hosted runner, your source never reaches us. The runner is a process on your own machine or in your own network. It pulls work, clones the repository there with a token scoped to that repository, runs the agent locally, and pushes a branch to your GitHub. What comes back to Nightshift is a branch name, a list of changed files, the review findings and what it cost. Not the working tree.

The prompts are a different question, and the honest answer is that they contain your code. An agent cannot change a file it has not read, so the parts of the repository relevant to a card go to whichever model provider is configured, along with the card, your ruleset and your style guide. Section 7 says who receives it, and whose contract covers it when the key is yours.

What the GitHub App does. It reads the repositories you install it on and writes branches, commits and pull requests. It carries only the permissions GitHub shows you at install time, you can see everything it has done in your repository's own history, and uninstalling it in GitHub ends its access immediately, whatever our records say.

6What we never do with it

  • We do not sell personal information, and we do not share it for advertising. There is no advertising anywhere in this product.
  • We do not train models on your code, your cards or your diffs. We call providers through their APIs, under terms that do not grant training rights on what is sent. On your own key, those terms are yours.
  • We do not read your repositories for our own purposes. Everything the product touches is something a card asked it to touch, and the audit trail says which card.
  • We do not follow you around the internet. There is one analytics tag on the public website, it loads only if you answer yes to the banner, and every advertising signal in it is off: no remarketing, no ad personalisation, nothing that can be passed to an advertising product. It tells us which pages get read. It is not connected to your Nightshift account, and there is no analytics anywhere inside the product itself. Section 8 says what it stores and how to change your answer.

7Who else receives anything

Eight, and this is the list rather than an example of it. Each one is here because the product actually calls it.

Google
Your email address, name and profile picture, if you sign in with Google. Authentication. Google tells us you are who the address says; we never see your Google password.
Google Analytics
Which pages you read on the public website, how far down them you scroll, when you follow a link off it, and the usual things a browser sends with a request, including your IP address. Knowing which pages are read. It loads only for visitors who answer yes to the banner, and not at all for anybody who does not.
SendGrid (Twilio)
Your email address, and the body of the mail we are sending you. Sign-in codes, invitations, and the notices we are obliged to send, such as a scheduled deletion.
GitHub
Whatever the Nightshift GitHub App does on the repositories you connect it to. Branches, commits and pull requests. Your code is already there; this is us acting on it as you asked.
Stripe
Your billing details, taken by Stripe directly. Payment. We hold a customer identifier and never see a card number.
Cloudflare
Your IP address and the usual request details, if you press play on the video on the public website. Nothing at all if you do not. Hosting and serving that video. They show no advertising on it and build no profile from it.
Railway
Everything the product stores, because this is where it runs. Hosting for the application and its database.
Your model provider
The prompts we send on your behalf, which include parts of your code and your cards. Writing and reviewing the work. On your own API key this is your contract with them, not ours.

The model provider is the one that changes shape. On a Nightshift-managed key, the provider is our sub-processor and this policy covers what goes to them. On your own key, you are contracting with that provider directly: they hold your prompts under your agreement with them, their retention rules apply rather than ours, and we are not in a position to answer for it. That distinction changes who is responsible, so it is stated rather than glossed.

We will tell account admins by email before adding a sub-processor that receives personal data, with enough notice to object by leaving.

8Cookies

One cookie, in the product, called ns_session. It holds your session token, it is set when you sign in, and it is what stops you signing in again on every page. It is HTTP-only, so no script can read it; it is sent only to app.nightshift.engineering; and it expires twelve hours after it is issued.

That session cookie is strictly necessary to provide a service you asked for, which is why this page does not interrupt you to ask for consent to it. There are no advertising cookies and no advertising anything, anywhere.

The public website has Google Analytics, and it asks first. The banner is the whole of the ask: press No and nothing is requested from Google at all, not the tag and not the file that loads it, so no cookie is set and no request carrying your address ever reaches them. Press Yes and Google’s tag is fetched and sets its own cookies. From then it records the pages you read, how far down them you get, when you follow a link off this website, and the ordinary things any web request carries: your address, your browser, and roughly where in the world you are. We have turned off every advertising feature it offers, so nothing it collects can be used to build an audience or follow you to another site.

Your answer is kept on your device, not in an account, and it is not sent anywhere. Changing it takes one click on Cookies in the footer of any page, which brings the question back. Saying no later stops anything further being collected; it cannot reach back and delete what Google already has, so the page for that is in section 12, with the rest of your rights.

Two other things live in your browser rather than in a cookie, and both wait for you to act. The currency you choose on the pricing page is kept in local storage on your device, so the prices read the same next time; nothing sends it anywhere and nothing else reads it. And the video on the home page loads nothing until you press play: until then it is our own picture. Pressing it loads the player from Cloudflare, who host the video for us. The player talks to Cloudflare and to nobody else, it shows no advertising and builds no profile, and Cloudflare may set a short-lived cookie of their own that tells a person from a bot. No advertising company is involved in the video at any point, whether or not you press it.

Neither of those two is used to recognise you or to follow you anywhere, which is why neither asks for consent. Clearing your browser storage removes them, and your answer to the banner with them, which means the banner asks again.

9Where your data is held

The application and its database run on Railway. Our sub-processors are in the United States and the European Union, so data you give us is transferred out of the European Economic Area.

Those transfers are made under the European Commission's standard contractual clauses or an adequacy decision, as each sub-processor's terms provide.

10How long we keep it

Sign-in codes
Ten minutes, then they expire whether or not they were used.
Sessions
Twelve hours from sign-in, extended while you are working. Signing out destroys ours immediately.
Cards, diffs, reviews and the audit trail
For as long as the account exists. The audit trail is the record of who allowed what to merge, so nothing in the product edits it.
The account itself
Thirty days after an admin asks for it to be deleted. Every admin is emailed the date and a link that stops it.

A small number of records outlive the account deliberately: the audit line recording that somebody asked for deletion, and what our accountants and tax law require us to keep about an invoice. Those are kept for as long as the relevant law says and used for nothing else.

11How it is protected

  • Session tokens and sign-in codes are stored as hashes. A copy of our database would not let anybody sign in as you.
  • Model keys are encrypted with AES-256-GCM before they are stored, and the export you can download deliberately omits them rather than blanking them.
  • Every query in the product names the organisation it is for, so a request cannot ask to read another tenant's data. There is nothing to ask with.
  • A runner receives a token scoped to one repository, for one piece of work, and the night run stops at a spend limit you set rather than continuing and billing you.

If we discover a breach that is likely to cause you serious harm, we will tell you and the relevant regulator within the time the law allows, and we will tell you what we actually know rather than waiting until the picture is complete.

12Your rights, and how to use them

You can ask for a copy of your data, ask us to correct it, ask us to delete it, object to what we are doing with it, or ask for it in a form you can take elsewhere. Two of those need no request at all, because they are buttons in Settings, Data:

  • Export writes one JSON file containing the organisation and its people, every project, sprint and card with its comments, reviews and dispatches, the repositories, the night runs, the usage ledger and the audit trail. No credentials are in it.
  • Delete cancels any subscription, schedules the account and everything in it for deletion thirty days out, and emails every admin the date and a link that stops it in one click.

Both are available to an owner or an admin. For anything else, or if you are not an admin and your admin will not act, write to [email protected] and we will respond within thirty days. We will not charge you for it.

Where the Estonian entity is the controller, our lawful bases are performance of our contract with you for everything the product needs to work, our legitimate interest in keeping it secure and in preventing abuse for the audit trail and the session records, and your consent where you gave it, which you can withdraw. Nothing here is automated decision-making that produces a legal effect for you.

13Children

Nightshift is a tool for professional software teams and is not directed at children. We do not knowingly collect data from anybody under 16. If you believe a child has an account, tell us and we will remove it.

14Changes to this policy

The date at the top of this page is the date it last changed. For a change that materially affects what we do with your data, we will email account admins before it takes effect rather than relying on you to check.

The wording lives in the same repository as the product, so a change to this document is a commit with a date and an author, in public.

15Contact, and complaining

Write to [email protected]. It reaches a person, and a privacy question is answered by one rather than by a form.

If we have not resolved something, you can complain to the Estonian Data Protection Inspectorate (Andmekaitse Inspektsioon), which supervises Token Gesture OÜ. If you are in the EU or the UK, you may also complain to the supervisory authority where you live.

Anything here you would like in writing, or anything that reads as though it means something other than what you need it to mean: [email protected]. An answer to a question about a clause is worth more than the clause.

May we count this visit? Google Analytics tells us which pages people read and nothing about who you are. It loads only if you say yes, and you can change your mind from the footer. What it stores.