You are reading revision 7, not the current one. Read the current revision

Deployment, tenancy and security

How Quasar 2026.11.9 is deployed and how it protects data: - hosted service or self-hosted, from one product, with a first-run setup in the browser and a published installation file; - single-tenant or multi-tenant, what a tenant is, and the operator's console, which records every MCP exchange without its secrets; - what an installation needs, with the memory it was measured to use on macOS, Linux and Windows; - tenant isolation enforced by PostgreSQL row-level security, and tested on every route, every tool and every background path; - sign-in with Quasar's own accounts or an OpenID Connect provider, and AI clients that sign in to the MCP server with consent and a second factor; - two-factor authentication and step-up for sensitive actions, lowering the workflow rules included, by hand or by approving a proposal; - API keys (read-only, or limited to some projects, opening the REST API only), service accounts, telemetry ingest keys and test-run tokens, and rate limits; - client telemetry: what the receiver keeps (model, tokens and time, never prompt text), for how long, and whose it is; - permissions: one rule for who sees a project, «Also on sub-projects» per role, one rule for who reaches a shared document, asset or artifact, proposals approved through the same writer as a change by hand, and the decisions kept for people (acceptance, time, rules, closures of work in progress, governance documents, promotions); - concurrent changes, retries, and a busy database; - audit logs and event histories: what they record, what the database itself prevents, and what they still do not guarantee; - the git host: read-only, gates that fail closed when it cannot be read, and moves it cannot prevent flagged; - file handling, data export, retention and erasure; - backups and recovery on the hosted service, with measured figures: point-in-time recovery with at most about five minutes of changes at risk, a lost host rebuilt in about six minutes, and files copied to a second EU region; - monitoring and service levels on the hosted service; - how the software itself is tested and released, with every suite run on a clean copy of a commit before its promotion, and the security documents available on request. Read this for security reviews, procurement questions and self-hosting decisions.

This chapter describes Quasar 2026.11.9.

Hosted or self-hosted

Quasar is one product, deployed two ways:

  • Hosted: a multi-tenant service, where each organization is a tenant.
  • Self-hosted: on your own infrastructure, by default with a single tenant.

The choice is a configuration of the installation, not a different edition. Everything in this guide applies to both unless it says otherwise.

An empty installation sets itself up from the browser: it generates its own secrets, migrates its database, and answers only its setup page behind a one-time code printed on the host until the first administrator exists.

For self-hosting (since 2026.11.0):

  • an installation file for Docker Compose comes with each version and needs five settings. The image it runs is published once the licence text is final (see Licensing and pricing);
  • two scripts back up and restore the database, the files and the instance's own keys together;
  • every version's test gate starts that file exactly as published and checks that it reaches the setup page and keeps its data and keys across a restart (since 2026.11.1).

What a tenant is

A tenant is one organization's walled-off space: its people, projects, documents and settings. Nothing belongs to two tenants, and a person signed into one tenant sees nothing of any other. Sharing a document, an asset or an artifact works inside one tenant only.

Above the tenants, the operator of an installation manages it from a separate console, which opens on an index of its pages by group (since 2026.11.6):

  • instance settings, mail and sign-in;
  • background jobs and backup status;
  • the platform audit log;
  • the product guide;
  • the profiles used to recognise AI clients, and every exchange the MCP server receives (since 2026.11.6): the handshake, protocol requests, tool calls, refusals and the clients' sign-in exchanges, recorded as field and header names with values only as fingerprints or counters, never arguments, tokens or credentials;
  • on the hosted service, the tenants themselves.

Inside the application, an operator can look into a tenant only through a "view as" session. It is read-only, as a member the operator chooses, for at most an hour, marked with a banner, and recorded in both the tenant's and the platform's audit log.

Where the hosted service runs: in the European Union, on Amazon Web Services in Ireland. Uploaded files also have a copy in Frankfurt. A self-hosted installation keeps its data wherever it runs.

What an installation needs

  • The application, a single container image for amd64 and arm64. It serves the web app, the mobile pages, the REST API, the MCP server and, since 2026.11.9, the receiver of the coding clients' telemetry.
  • The worker, from the same image. It renders each published documentation release once to PDF, Word, HTML and Markdown, and sends deadline reminders. It is required, and must see the same file storage as the application.
  • PostgreSQL. All data lives in it.
  • File storage: a local volume or any S3-compatible storage. Files are always served through the application or through short-lived signed links, never as public bucket addresses.
  • Optional:
    • antivirus scanning with ClamAV, off until configured;
    • email over SMTP or Amazon SES, for deadline reminders, password resets, notices of a revoked key and the operators' service-level alerts.

Memory, measured with the published installation file (2026-10-30/31):

  • macOS and Linux: about 600 MiB for Quasar's containers; ClamAV adds about 1 GiB;
  • Windows, through WSL2: the WSL2 virtual machine is what to size, about 2.1–2.6 GiB with Quasar and 3.7–3.9 GiB with ClamAV.

Tenant isolation

Isolation between tenants is enforced by the database itself, through PostgreSQL row-level security. It is enabled and forced on every table that holds a tenant's data.

  • Requests run under a database role that cannot bypass it, and every request runs in its tenant's context.
  • The platform's own work that has no tenant context (sign-in before a tenant is known, the first-run setup, the operator's console, host jobs) uses a separate connection. Every module that touches it is listed with its reason, and a test fails on one that is not.
  • The platform's own tables give the application role nothing beyond what each needs, and a test reads the database's grants to hold every exception to its stated reason.
  • Filters written in the application's queries are defence in depth, not the boundary.
  • Tested in every release, against a real PostgreSQL:
    • every route and every MCP tool is asked for another tenant's ids and for a hidden project's, and must answer as if they did not exist;
    • the paths that run outside a request (background jobs, exports, signed file links, live updates, the notifications stream) each run with two tenants of the same shape, and each must keep to its own.

Signing in

An installation chooses its sign-in provider:

  • Quasar's own accounts: password and second factor, with password reset by email.
  • An OpenID Connect provider: your organization's single sign-on.

Who may enter is decided by the identity the provider asserts, never by an email address alone. A person reaches an organization by:

  • an invitation;
  • an existing identity;
  • membership the provider vouches for.

Sessions are kept on the server, in a cookie that carries no personal data. The longest a session may last is a setting of the installation (since 2026.11.4); when a session ends, an open page goes back to the sign-in, and returns to the same page after.

AI clients sign in too (since 2026.11.3). An assistant or a coding agent reaches the MCP server through a standard OAuth sign-in in the person's browser:

  • the client registers itself, and Quasar reads what it declares; since 2026.11.5 it says whether the client's domain is proven, the client is recognised by its registration against an operator's profile, or only its own declaration is known;
  • the person chooses on a consent screen whether it may only read and which projects it reaches, and approves with a fresh second factor;
  • the client receives a key that lasts an hour and a refresh token that changes at every use. A refresh token used twice ends the whole connection and is recorded in the audit log, so a stolen copy betrays itself; after thirty days by default, the operator's setting, it must sign in again (since 2026.11.4);
  • a client may ask which account it was connected to, through standard OpenID discovery: it is told the account and, if it asked, its email address, and nothing else;
  • Profile → Connected agents lists each one; disconnecting one ends it at once, renewals included. Since 2026.11.7 it can also be done from a phone;
  • an organization decides whether its members may connect AI clients at all.

Second factor and step-up

  • Methods. An authenticator app (TOTP) or a security key. There are no SMS codes.

  • Policy. An organization can require a second factor of every member, and new organizations start with it required. Administrators see who is enrolled, and can reset a member's factor; the reset is audited.

  • Step-up. Sensitive actions ask for a fresh second factor. Among them:

    • creating API keys, and choosing or changing the projects a key is limited to;
    • approving an AI client's sign-in;
    • lowering data retention;
    • exporting personal data;
    • making somebody a lead, of a project, a division or a team, or by an access grant, and ticking «Also on sub-projects» on a lead role;
    • letting keys accept documents and confirm time;
    • lowering a workflow or a Definition of Done, at any level: removing a check or adding a shortcut (since 2026.11.7), whether by hand or by approving an agent's proposal (since 2026.11.9).

    No API key can provide a fresh second factor, so no agent can perform them. Revoking access never asks for one. How long a fresh second factor counts is a setting of the installation (since 2026.11.3).

API keys and service accounts

  • A key does at most what its owner can do, never more.
  • Keys are shown once, expire after 90 days by default, and can be revoked at once, by their owner or by an administrator.
  • A key from a person's Profile opens the REST API only (since 2026.11.3). The MCP server refuses it and points to signing in, so the agent a person supervises always carries that person's consent.
  • A read-only key or client is enforced by the database: its transactions cannot write.
  • A key or a client can be limited to some projects and their sub-projects. It then reaches nothing else, and none of the organization's settings, people or shared configuration.
  • A service account holds its own keys and roles, from templates per job with the least privilege that job needs. Its keys open the REST API and the MCP server. It can be suspended in one step, and the database refuses to make it an organization administrator.
  • Each credential is rate-limited, so a runaway script slows down instead of degrading the service for others. The limits are kept per application process.

Two narrower credentials (since 2026.11.9):

  • A telemetry ingest key (qst_) lets a person's coding client send its telemetry, and nothing else: the REST API and the MCP server refuse it. It is shown once and kept only as a fingerprint. Its whole power is to add usage figures, labelled as reported by the client, under its owner's name, and they gate nothing; so creating one asks no second factor. A person keeps one per machine or client and revokes each on its own.
  • A test run's token (qtr_) is given, once, to whoever may work on the issue or the project it is for, and lets a script report one test run for one commit, once. It expires after 30 minutes for an issue's run and 90 for a project's, and is kept only as a fingerprint. Reporting with it is rate-limited by address.

Client telemetry

Since 2026.11.9 Quasar receives the OpenTelemetry of coding clients at /api/otlp/v1/logs and /api/otlp/v1/traces, over HTTP, in JSON or protobuf, authenticated by an ingest key.

  • What it keeps: for each call the client made to a model, the time, the conversation, the model and the tokens by class. Never the text of a prompt or of an answer. A record dated more than seven days back, or more than five minutes ahead, is refused.
  • A client Quasar cannot read yet: its records are kept raw for seven days, so that a driver can be written from them, then deleted.
  • The model calls are kept 400 days, whatever the organization's trash retention. They belong to the person whose key sent them and are part of that person's data export.
  • The direction is the client's. The client calls Quasar, as a webhook does; Quasar holds no credential of the client's and reads nothing on the person's machine.

Concurrent changes and retries

  • Stale writes are refused. Issues, documents, sprints and the other editable records carry a version; a change made against an outdated one is refused with the current state. So are the workflow and the Definition of Done. The other whole-configuration replacements (working calendar, section models, status definitions, a repository connection, instance settings) are last-write-wins, each declared with its reason.
  • Retries do not repeat. Every write that would repeat an effect accepts an idempotency key; a retry with the same key within 24 hours gets the first answer, and the same key with a different request is refused. The creates that return a secret take no key. After 24 hours a key is a new request, and its stored answer is deleted.
  • A busy database says so (since 2026.11.0). When no database connection frees up in time, the request is answered 503 «Database busy» with a Retry-After, never a generic error, so a client knows to retry.

Permissions

  • Levels: Viewer, Contributor and Lead on every project, division and team.

  • Organization roles: Admin, Member and Viewer.

    • The Admin is Lead everywhere.
    • An organization Member or Viewer reaches no project through that role alone; access comes from a role on the project, on a project above it, or in a linked division or team.
  • One rule decides who sees a project, in one place in the code, and every list and every check uses it.

    • «Also on sub-projects» (since 2026.11.4) is chosen for each role, override and link. Anything new starts unticked, so a sub-project created later is never opened by surprise.
    • An override on a project is the final word for one person, the nearest one wins, and it never applies to the Admin.
  • One rule decides who reaches a document, an asset or an artifact (since 2026.11.5): its project's level, plus any share to the person, their team, their division or a project of theirs. An explicit refusal of the project, or a key's limit to other projects, always wins over a share. Only a lead of the owning project shares, and a share never makes anyone a lead.

  • A person's access on one page (since 2026.11.3). Changes to what one person holds are shown as a plan and applied at once, or proposed and approved by someone who leads everything they touch. An approval re-reads the person's access as it is then. A lead of only part of the organization sees and changes only that part.

  • Proposals are approved where the change is made (since 2026.11.9). An agent proposes a change to a person's access or to a workflow, and only one its person could make by hand. Approving it runs the very writer a change by hand runs, as the approver: the same permissions, the same «person only» rule, the same second factor when it lowers the rules. A proposal of a whole document that its target changed since goes stale and can only be discarded.

  • Hidden versus refused. A project someone may not see does not appear to exist. A refusal is given only where the thing is visible but the right is missing.

  • Agents get at most the access of the person they act for, or of the service account's own roles. A test suite checks every command against every role, on both the API and MCP.

  • Decisions kept for people (by default):

    • accepting or revoking a document or a release revision;
    • confirming an agent's working time, measured or declared, as a work log;
    • since 2026.11.7: writing a workflow or a Definition of Done; reclassifying an issue at work as producing no code; confirming a closure of work in progress without delivery; deleting an architecture decision, a project's rules for its agents or the constitution; authorizing a promotion and acknowledging a flagged move of a protected line;
    • since 2026.11.9: approving an agent's proposed change to a workflow.

    An organization can let keys do them, which asks for a fresh second factor. Letting a move through a git host outage stays a person's whatever the setting.

Records

  • Tenant audit log: administrative actions, sign-ins, sign-outs and failed sign-ins, changes to a person's access, proposals included, and changes to a workflow or a Definition of Done. Since 2026.11.7 also closure requests and their answers, promotions authorized, flagged moves acknowledged, and each git host outage: when it began, who let a move through it and when it ended. Since 2026.11.9 also workflow proposals and their decisions, and every test report received.
  • Event logs: every change to issues, documents and sprints. Every status move records the workflow rule it went through, and a move let through a host outage says so.
  • Who and with what. Every row records the person and the credential: a session, an API key with its own id, or a signed-in client. It is set by Quasar, never declared by the caller. Both logs can be filtered by credential.
  • MCP calls: every call an agent makes, with its outcome and, for a refusal, its reason. Kept 90 days.
  • Platform audit log: every operator action.

Notifications are not a record: they are computed from the work itself and disappear when it is done.

What the database itself prevents (since 2026.11.1). The application's database role holds no right to update or delete a row of the six logs. The two changes it may make each go through one database function that checks its case:

  • anonymizing a person who was erased;
  • deleting an empty sprint together with its history, leaving a record of the deletion.

What the records still do not guarantee.

  • They are not cryptographically sealed.
  • The database's administrator is not bound by the rule above: whoever administers the database can change a row, and nothing would show it.
  • An item's history is purged with the item when its trash period ends.

The git host

  • Quasar reads, never writes. Its only write to a repository is the webhook subscription that tells it about new commits, and a test holds that list to one.
  • A gate that needs the host fails closed. When the host cannot be read, the move it would have checked is refused, never waved through; only a person can let it through for that outage (since 2026.11.7).
  • What Quasar cannot prevent, it flags. A push to a protected line can be refused only by the host. Quasar records every move of those lines it observes, judges it against the promotions a person authorized, and flags the rest to the project's leads. On Bitbucket Cloud, where its credential may read them, it suggests the host's missing branch restrictions (since 2026.11.7).
  • Its own load on the host is counted, per host, and a service level warns the operators when calls keep failing.

Files and delivered documents

  • Attachments and uploads are size-limited and type-checked, and scanned when antivirus is configured. Since 2026.11.6 they are uploaded from the web app only, by a person; agents read and delete them. Attachments are always offered as downloads, never displayed inline. Images from the asset library are shown inline, in a sandbox.
  • Exported documents are self-contained:
    • they carry a strict content-security policy;
    • they never load anything from the network;
    • they refuse to deliver text marked internal.

Data export, retention and erasure

  • Personal data export. Every person can export their own data as JSON, for the rights of access and portability. Since 2026.11.9 it includes the model calls their coding clients reported.
  • Retention. Deleted items stay in a project's trash for a period the organization sets, from 7 to 365 days, then are purged with their history; a purged project, division or team takes with it the workflow proposals made for it. MCP call records and unconfirmed work sessions are kept 90 days; stored retry answers 24 hours. Model calls reported by a client are kept 400 days, and records Quasar could not read yet 7 days.
  • Erasure. Erasing a person anonymizes them in place, so histories stay consistent without naming them. The labels of their keys and the answers their retries stored go with them.
  • Leaving the hosted service. On request, the operator exports the whole organization; it is then deleted after a 30-day grace period. This is not a self-service action today.

Backups and recovery (hosted service)

Measured, not promised:

  • Backups. A nightly database backup and a daily snapshot of the encrypted disk, each kept for 7 days, in Ireland. A missing snapshot raises an alarm within a day.
  • Point-in-time recovery (since 31 October 2026). The database's changes are archived continuously, with a full backup every day, so the database can be brought back to a chosen moment. At most about five minutes of changes can be lost, instead of up to a day. In the drill, restoring a 700 MB copy of the database to a chosen moment took 52 seconds, and nothing committed before that moment was lost. Archiving that stops, falls behind or misses its daily backup raises an alarm.
  • Rebuilding a lost machine. In the last drill (2026-10-30), a new machine was rebuilt from the backups alone in about six minutes; the database part took about one minute.
  • Files. A deleted file can be recovered for 7 days from its own storage. Every file is also copied to a second European region (Frankfurt), where a deleted file stays recoverable for 30 days. A file was restored from that copy and compared byte for byte.
  • What is not covered. Both copies of the files, and the backups, are in the same cloud account: losing that account loses them all.

Monitoring and service levels (hosted service)

  • Availability is checked from outside every 30 seconds, from three regions; two minutes without an answer raise an alert.
  • Service levels are evaluated every five minutes: the rate of server errors, response times of reads, workflow moves and agent tools, failed agent calls, document renditions, and how fresh the backups are. A breach and its recovery are mailed to the operators.
  • Capacity, measured (2026-10-30): one instance of today's size served about 25 agent calls a second within those levels, which is roughly 80 to 150 agents at work. No organization's data appeared in another's answers, in about 14,000 calls under load.
  • Incidents. A written procedure covers response and notifying customers: a customer whose personal data is affected is told within 24 hours of confirmation. There is one responder, stated plainly in that procedure. The procedure has not yet been exercised.

How the software is built

  • Stack: TypeScript, PostgreSQL and Docker.
  • Tests:
    • 100% automated test coverage is the minimum for every change;
    • on top of it: mutation testing of critical logic, property-based tests, golden tests for money, and tenant-isolation tests on a real database;
    • adversarial suites run on every release: the role matrix, the tenant wall, attempts to get around the workflow, and injected failures such as racing writes, a git host that times out and a worker that was down. The chapter Working with AI agents lists requests you can run yourself.
  • Dependencies are audited for known high-severity vulnerabilities before every release.
  • Releases are numbered by date, YYYY.MM.N, and every running build shows its version and commit. Each release runs first on a staging environment with its own machine. Since 2026.11.6 the image production runs is the very image the test gate tried, promoted without rebuilding. Since 2026.11.7 each promotion of Quasar's own code is authorized by a person in Quasar, after every suite has run on a clean copy of that commit: type check, lint, unit, integration, and the whole end-to-end suite on the production image. Since 2026.11.9 that run reports itself to Quasar, and the person authorizing the promotion reads its report beside the request.

Security documents on request

The following are available under a non-disclosure agreement:

  • a threat model: assets, actors, trust boundaries, and for each threat its mitigation and the test that holds it;
  • a hosted security baseline: encryption, backup and restore, vulnerability management, incident detection, retention, each marked measured or intended;
  • the incident response and breach notification procedure.

Ask through the contact in the chapter Licensing and pricing.