Flagnetic glossary
This is the vocabulary of Flagnetic, a self-hosted platform for feature flags and experiments. The code, API, documentation and UI use these terms verbatim and avoid the alternatives listed under each term.
Structure
Instance: One running deployment of Flagnetic. It hosts one or more projects. Avoid: server, installation, tenant
Replica: One running process of an instance. Every replica of an instance is the same: it serves every API, holds every environment’s ruleset and runs every worker, and replicas coordinate only through PostgreSQL. Avoid: node, pod, server, leader
Worker: Work every replica runs in rounds, one round every interval, until the replica stops. A round that fails or panics is counted and the next round still runs; what keeps two replicas from doing one piece of work twice is the work’s own locking in PostgreSQL, never the worker. Avoid: job, cron, daemon, background task
Background work: What a request starts and finishes after it has answered: a mail, a password reset request’s lookup and the record of a failed sign-in. It runs on the replica that took the request, never in rounds, at most 256 pieces at once; one started past that is dropped, logged and counted, and a replica stopping waits for it. What a request must not be felt to wait for goes here; what runs on a schedule is a worker. Avoid: job, task
Drain: The window after a replica is told to stop in which it reports itself not ready, so that load balancers stop routing to it, while it still serves every request that reaches it except a new ruleset stream, which it refuses so that the SDK connects to a replica that stays. After the drain the replica stops accepting requests and shuts down. Avoid: grace period (the bound on in-flight requests after the drain), cooldown
Secret key:
The instance-wide key, given as FLAGNETIC_SECRET_KEY. Every stored secret is sealed under it — encrypted so that only an instance holding the key opens it again — and sessions are signed with it. An instance keeps the key it was set up with: one stored canary, sealed under the key and opened on every start, proves the key still opens what the instance stored. Here, and only here, canary means that check.
Avoid: master key, encryption key, salt (reserved for the public bucketing salt)
Project: The isolation boundary for flags, experiments, segments, environments and members. Nothing is shared across projects. Deleting a project removes everything in it at once except its audit entries, which keep its identifier and are read through the instance’s audit log, and frees its key; there is no restore. Avoid: workspace, tenant, app, organization
Project document:
A project’s whole configuration as one JSON or YAML file: its environments, unit types, declared attributes, segments, flags with their configuration in every environment, and experiments, keyed, with the rule ids and salts that keep a unit in its bucket, owners as email addresses, and nothing about members, credentials, webhooks, change requests, audit or events. It has its own schema_version, and every version a server ever exported stays importable. See Exporting and importing a project.
Avoid: export file, backup, dump, template (reserved for a Firebase Remote Config template)
Import:
Applying a project document to a project, or creating a project from one, whole or not at all: create makes a new project, merge creates or updates what the document names, replace also deletes what it does not name unless something still uses it. An import is owner-only, bypasses protection, never changes whether an existing environment is protected, and is recorded entity by entity like a direct write, plus one project.imported entry.
Avoid: restore, load, sync, upload
Dry run:
An import run in full, every check the database makes included, and rolled back, so that it answers exactly what the real import would: the entities created, updated (with a JSON Patch each) and deleted, and every warning. Its ETag sent back as If-Match applies an import only if the project has not moved since.
Avoid: preview, simulation, plan
Environment: A named deployment target inside a project, such as production or staging. Every flag exists in every environment of its project; only its configuration differs per environment. Avoid: stage, tier, env
Protected environment: An environment whose ruleset changes only through a change request, whatever entity a write touches; the kill switch and an import are the exceptions, and an import never changes whether an environment is protected. Production is protected by default. Avoid: locked environment, prod-only; not a GitHub environment with a required reviewer: call that a GitHub environment, never a protected one
Member: A person who uses the management UI or API, working in each project through the grants they hold there. A member is invited until they set a password or sign in for the first time, active once they have, and deactivated when an instance admin offboards them; there is no deletion. Avoid: user (reserved for the unit type), account, admin
Invitation: The one-time link that lets an invited member set their first password; signing in through an auth provider that vouches for their email accepts it too, without a password, even once it has expired. Its secret is mailed to the person invited when the instance has an SMTP server and knows the address its console is served at, else shown once to whoever issued it, and stored only as a hash; it expires, is used once, and is replaced by re-issuing. An invitation to a project also carries a role there, made when it is accepted, in the name of the member who invited; if that member loses the permission to grant it, or is deactivated, first, the role is dropped and the invitation still activates the member. Avoid: invite code, activation link, signup link
Password reset: The one-time link that lets an active member set a new password when they cannot sign in: requested by the member once mail is configured, or generated by an instance admin without it. Its secret is shown once, to whoever it was shown to, and stored only as a hash; it expires and is used once, and completing it revokes every session and ends every other open password reset and invitation of the member. Avoid: reset link, reset code, recovery link
Mail: What the instance sends through the SMTP server an instance admin configures: an invitation, a password reset a member asked for, a notice to those who manage a webhook subscription the platform disabled, or a test mail to the admin themselves. Mail goes out after the change that causes it is stored, and a send that fails never undoes that change. Without SMTP nothing is mailed, and the link is shown to the instance admin instead. Avoid: email (the member’s address), notification, message
API token: The credential a member or a script presents to the management API as a bearer token. A personal access token acts for one member; a project token holds one fixed role in one project, dies with it, and never changes who has access to it. Scopes narrow what either may do and never add to it. Only a member signed in to a session creates one; no token creates another. Its value is shown once and stored only as a hash. Avoid: API key, access key, bearer token, SDK key (reserved for SDKs)
SCIM token:
The credential an identity provider presents to /scim/v2 to provision and deprovision members. Each belongs, for life, to one auth provider, and reaches only that provider’s provisioned members and SCIM groups; several may coexist for rotation. Its value is shown once and stored only as a hash. A disabled provider’s SCIM tokens are refused.
Avoid: SCIM secret, provisioning key
Session: A member’s sign-in to the UI, held server-side and referred to by an httpOnly cookie. Every browser sign-in, whatever the method, ends in one; it ends at sign-out, revocation or timeout. Avoid: JWT, auth cookie, session token
Auth provider: One configured identity provider a member can sign in through, an OIDC or SAML integration, vouching for the email domains it names. Its slug names it in a “sign in with” button and in its own redirect, ACS and metadata addresses; it owns its identities, its group mappings, its SCIM tokens and the members and grants they make. Avoid: SSO connection, identity source
Provider domain:
An email domain an auth provider vouches for, the part of an address after the @, compared without case; a subdomain is not its parent. Only an email in a provider domain accepts an invitation through the provider, is linked to an existing member by email, is provisioned on a first sign-in or has its member adopted by the provider’s SCIM token, and an email domain can be enforced only to a provider that names it. A person whose identity is already linked, or whose subject is a provisioned member’s external ID, signs in whatever their email says.
Avoid: allowed domain, tenant domain, email whitelist
SSO enforcement:
An email domain an instance admin sends to one auth provider: a password is no way in for an email in it, whether to sign in, to accept an invitation or to complete a password reset, and the sign-in page points it to that provider. Local login may also be disabled for everybody; flagnetic admin unlock lifts both.
Avoid: SSO-only domain, domain lock, forced SSO
Group mapping: An auth provider’s rule that a group in the identity provider’s directory makes a grant of a role in one project, or instance admin. Every sign-in through the provider, and every change to a SCIM group, grants what the member’s groups map to and takes away what they no longer do; the member’s groups are those their last sign-in through the provider claimed together with their SCIM groups from that provider. Replacing a provider’s group mappings does the same at once for every member the provider knows. A grant made by hand or by another provider is never touched, and the mapping’s grant sits beside it. Avoid: group sync, role mapping, SSO rule
SCIM group:
A group an identity provider pushes through /scim/v2/Groups, with the members SCIM provisions. It belongs to the auth provider its SCIM token is bound to, and its name is matched against that provider’s group mappings alone, so joining, leaving, renaming or deleting it changes the roles its members hold without waiting for their next sign-in. A SCIM group no mapping names is kept and grants nothing.
Avoid: team, directory group, role group
Provisioned member: A member an identity provider created or adopted through SCIM. Their email, name and whether they are active follow that provider, and nobody changes them by hand; an instance admin is never adopted. Avoid: managed user, SCIM user, synced member
Identity: The link between a member and a subject at an auth provider, created the first time a sign-in through it resolves to that member, or when the member links it while signed in; unlinked by the member or an instance admin while another way in remains. Avoid: external account, federated identity, SSO identity
Sign-in attempt: One browser’s trip through an auth provider, from the start of a sign-in to its completion, kept for ten minutes and used once. The provider’s answer is verified and its claims stored on the attempt, and nothing about any member changes until the browser that started the attempt completes it. Avoid: SSO session, login flow, handshake
Auth method: One way a member can authenticate in a browser: their password or one of their identities. It is usable when local login accepts the password for their email, or the identity’s auth provider is enabled; nothing removes a member’s last usable one. Avoid: login method, sign-in option, credential (the password alone)
Assertion: The signed XML statement a SAML identity provider issues to say who signed in; consumed once, at the ACS, and never reaches the browser. Avoid: SAML token, ticket
IdP metadata: The XML document a SAML identity provider publishes naming its entity ID, SSO endpoint and signing certificates; fetched from a URL or pasted directly, refreshed automatically when fetched from a URL. Avoid: IdP config, connection metadata
SP metadata: The XML document this instance serves per SAML provider, naming its own entity ID, ACS endpoint and certificates, for an identity provider to import. Avoid: SP config
Certificate rotation: Replacing a SAML provider’s SP key pair without breaking sign-in. Starting one generates the next pair beside the current one: the SP metadata lists both and an assertion encrypted for either is accepted, while AuthnRequests stay signed with the current key. Completing it, once the identity provider has re-imported the SP metadata, makes the next pair current and destroys the retired one. Avoid: key rollover, cert renewal
Role: A named set of permissions, which takes effect only through a grant in a project. Four are built in, owner, maintainer, developer and viewer: the release fixes what each holds, so a name means the same on every instance and nobody edits them. Any other role is a custom role, defined by an instance admin for the whole instance and granted per project. An instance admin holds every permission in every project without a grant. Avoid: permission level, access group, policy
Permission:
One action a role allows, named after the entity and the action (environment.manage). An operation requires one of them, or instead only that its caller be anyone (public), a member (member) or the instance admin (instance_admin); every permission falls under one scope of an API token. A member’s permissions in a project are the union of those of every grant they hold there, narrowed by the scopes of the credential in use: holding more grants never takes a permission away, and there is no deny.
Avoid: capability (what a caller may do once protection and the other rules are applied), scope (reserved for an API token), right, privilege, minimum role (a single ladder of roles, where each role holds everything below it)
Grant: One role held by one member in one project, made by hand or by an auth provider’s group mapping, which owns it and replaces its grants as a set. A member may hold several grants in a project, from one source or several, and grants from different sources sit side by side. A caller may make or remove a grant only of a role whose every permission they hold there themselves. Avoid: membership, assignment, role binding
Flags
Flag: A named, typed switch defined once per project. Its key is the same on every platform and in every environment. Avoid: feature, toggle, gate, remote config key, parameter
Flag type: The kind of value a flag serves: boolean, string, number or JSON.
Flag definition: What a flag is in every environment at once: its key, type, variations, automatic exposure, owner and descriptive fields, and whether it is archived. Avoid: flag settings, flag metadata (the descriptive fields alone)
Flag configuration: What one flag serves in one environment: on or off, the off and fallthrough variations, prerequisites, overrides and rules. Every flag has one in every environment of its project, and each changes on its own. Avoid: targeting, flag environment, flag rules (rules are part of it)
Variation: One of the named values a flag can serve. A boolean flag has exactly two; other types have as many as needed. Avoid: variant, value, option, arm
Rule: One ordered condition inside a flag’s configuration for an environment. It decides which variation, rollout or experiment a context receives. Rules are checked top to bottom; the first match wins. Avoid: strategy, gate, condition, targeting
Fallthrough variation: The variation served when no rule matches. Avoid: default (reserved for built-in defaults), fallback
Off variation: The variation served when the flag is switched off in an environment. Avoid: disabled value, kill value
Kill switch: A single action that switches a flag off in an environment, serving its off variation to everyone. It bypasses change approval. Avoid: emergency off, disable, panic button
Revert: Returning one flag’s configuration in one environment to exactly what it was at an earlier point in its history, discarding every change made to it since. It is a new change, not an erasure: the history keeps both what was reverted and the revert. It leaves the flag’s definition and its segments as they are now. In a protected environment it goes through a change request like any other change, and that change request proposes only the earlier version. Avoid: rollback (a database transaction’s), undo, restore (restoring is bringing an archived flag back), roll back
Rollout: Serving a variation to a percentage of units, deterministic per unit. Growing the percentage never moves a unit that was already in. Avoid: gradual release, canary, ramp, percentage rule
Override: A variation fixed for a specific unit ID in an environment, set through the platform, with an optional note saying why and the member who last wrote it. Overrides are marked in every event they influence and excluded from analysis. Avoid: force, pin, whitelist, individual targeting
Local override: A substitution of a flag value inside an SDK, on a developer’s machine or a non-production build. It never reaches the server and is visibly marked as substituted. Avoid: dev override, debug value, mock
Owner: The member accountable for a flag or experiment: the person to ask before deleting it. Also the name of the built-in role holding every project permission, members and protection included; what the word is attached to says which is meant. Ownership never stops a member losing their grants or being deactivated; a flag whose owner has, is stale.
Flag state: What a flag’s configuration in one environment serves at a glance: on or off, and whether it has rules, a rollout or an experiment. A list of flags shows one state per environment and is filtered by one within one environment. Avoid: status, flag summary (summary is the evaluation summary)
Stale flag: A flag past its expected lifetime, one that is no longer evaluated by any SDK, one whose owner is deactivated or holds no role in its project (nobody is left to ask before deleting it), one serving the same variation to everyone in every environment (a finished rollout), or one bound to an overdue experiment. Avoid: dead flag, zombie, tech debt flag
Stale-flag digest:
The report.stale_flags event naming a project’s stale flags and overdue experiments with their reasons. It is sent weekly at a configured weekday and hour to every project with something stale, and to one project whenever a maintainer asks for it.
Avoid: stale report email, cleanup reminder, weekly report
Targeting
Context: The set of attributes describing the subject of an evaluation: one or more unit IDs plus derived, non-personal attributes such as platform or app version. Avoid: user, actor, subject, principal
Attribute: One named, typed value inside a context. Types include string, number, boolean, semantic version, date and list. A project declares its attributes; standard ones such as platform and app version are predeclared. Avoid: property, trait, field, dimension
Discovered attribute: An attribute seen in incoming contexts but not yet declared by the project. It is listed for a member to declare with a type, and cannot be used in rules until then. Avoid: unknown attribute, dynamic attribute
Condition: One comparison inside a rule or segment: an attribute, an operator and a value, membership in a segment, or a prerequisite. All conditions of a rule must hold for it to match. Avoid: clause, predicate, constraint
Prerequisite: A condition that another flag of the same project evaluates to a given variation for the same context. Avoid: dependency, parent flag, gate
Segment: A reusable, named, declarative set of conditions on context attributes. Avoid: cohort, group, audience, list
Private segment: A segment whose conditions and members never leave the server, such as a list of beta testers or a cohort of identifiers. Only server-side evaluation may use it. A client key learns the value a private-segment rule serves to a context it sends, and nothing about which rule served it. Avoid: server-side segment, secret segment
Units and identity
Unit: The thing randomization is keyed on. A project declares its own unit types, for example user, device or anonymous visitor. Avoid: actor, participant, entity, subject
Unit type: One declared kind of unit in a project.
Unit ID: The stable identifier of one unit of a given type. Avoid: hash key, bucketing key, distinct id
Anonymous ID: The unit ID a client SDK mints once per device (per origin in a browser) for an anonymous unit type and keeps across sessions and SDK key rotations, so an anonymous visitor stays in the same buckets. On Android, iOS and macOS it is kept where the platform excludes it from backups: it belongs to one device, never travels to a new phone by a restored backup, and is forgotten when the app is uninstalled. Avoid: device ID (unless the unit type is device), visitor ID, cookie ID
Alias: A recorded link between two unit IDs that belong to the same person, typically an anonymous ID and a user ID after sign-up. Avoid: identify, merge, stitch, linking
Bucket: A deterministic integer computed from a unit ID, a key and a salt by the published hashing formula. It contains no application secret and can be recomputed outside the platform. Avoid: hash slot, partition
Salt: A public, per-flag or per-experiment string mixed into the bucket computation. Visible in the UI so an analyst can recompute buckets. Avoid: seed, secret
Uniformity check:
A chi-square test of how evenly the bucketing formula spreads a list of real unit IDs over the buckets, with an optional test that two salts’ buckets are independent. Run before the first experiment, through the API or offline from the CLI (both named hash-check, after what they check); it records nothing.
Avoid: randomization check, A/A test
Experiments
Experiment: A time-boxed comparison of two or more variations of a flag on a declared unit type, with a hypothesis, an owner, traffic weights and a status. Avoid: A/B test, test, split test, trial
Traffic allocation: The share of units of the experiment’s unit type that take part in it. Can only grow while the experiment runs; growing it never moves a unit already included. Avoid: coverage, inclusion rate, sample
Weights: The split of allocated traffic between an experiment’s variations. Frozen once the experiment starts. Avoid: ratios, percentages, distribution
Assignment: The variation an experiment serves to a unit. Stable for the lifetime of the experiment. Avoid: allocation, enrolment, bucketing
Exposure: The event recorded when a unit actually encounters behaviour that depends on its assignment. Being assigned and being exposed are different things; analysis counts exposures. Every exposure carries an event ID chosen by the SDK so retries are dropped on receipt. Avoid: impression, participation, view, hit
First exposure: The earliest recorded exposure of a unit in an experiment. Sample-ratio checks and analysis are computed from first exposures; a later exposure with a different variation is a conflict and raises an alert. Avoid: enrolment, entry
Sample-ratio check:
A chi-square test, every 10 minutes and at stop, of each running experiment’s first exposures per variation against its weights, in each environment holding its rule. Below 1000 first exposures, or when a variation expects fewer than 5, it is skipped. It raises an alert at p below 0.001 and clears it at p above 0.01. The statistic is documented on The sample-ratio check so an analyst can reproduce it. The check a stop takes is not final: the final one follows once the exposure rollup has read every exposure received by the stop.
Avoid: SRM test, balance check (srm names only the alert kind and its events)
Alert:
A condition the check worker found on a running experiment, raised and later cleared by the worker itself: a sample-ratio mismatch (srm), no exposures for a day (no_exposures) or conflicts at the threshold (exposure_conflicts) in one environment, or running past its expected end (past_expected_end) for the experiment as a whole. Acknowledging it hides its banner until it clears; if the condition returns, a new alert is raised. Every raise emits its governance event once.
Avoid: incident, notification, warning
Overdue:
A running experiment whose expected end date has passed (past_expected_end in the API). It stays listed as overdue until it stops, and raises a past_expected_end alert once each time it crosses the date.
Avoid: expired, late
Awaiting code removal: A stopped experiment whose flag SDKs still evaluate: evaluation summaries counted it in some environment within the last 7 days, and reported an evaluation there after the stop. Its code is still to be deleted. Avoid: cleanup candidate, stale experiment
Automatic exposure: A setting on a flag: with it, an SDK records an exposure after every evaluation whose result carries an experiment, instead of waiting for the explicit call. Every evaluation result carries the flag’s setting, so the result alone says whether to record one. Avoid: auto-tracking, implicit exposure, tracking callback
Experiment status: One of draft (editable, not evaluated), running (weights frozen, traffic allocation may grow), stopped (a winner or the fallthrough replaces the experiment rule) and archived. There is no paused status: pausing an experiment is switching its flag off.
Decision: What a stop records: outcome winner (with the winner variation, which replaces the experiment rule) or removed (which deletes it), and an optional note, editable afterwards while the experiment stays stopped. Kept forever, note aside, once recorded. Avoid: resolution, verdict, outcome (reserved for the field naming winner or removed)
Layer: A group of experiments whose audiences never overlap: a unit is in at most one experiment of a layer. Not built before 1.0. Avoid: namespace, mutex group, exclusion group
Delivery
Ruleset: The complete evaluable configuration of one environment at one moment, carrying a version. It is what server SDKs download. Its version only grows and is never given to two different rulesets of the same environment, even after the database loses recent writes. Avoid: config, snapshot, bundle, payload, manifest
SDK key: The credential that identifies an environment to an SDK. A server key downloads the ruleset, private segments included; a client key never receives a ruleset, only the values remote evaluation serves it, and may be limited to allowed origins. Avoid: API key, API token (both name the management API credential), token, secret
Rotation overlap: The time during which an SDK key being rotated and its replacement both work, so services can move to the new key before the old one expires. Avoid: grace period, transition window
Ruleset stream: The long-lived connection an SDK holds to learn that its environment’s ruleset has a new version. It carries versions only; the SDK then fetches the ruleset or evaluates again. Avoid: SSE, push channel, stream (reserved for a sink’s cursor), change stream (the management one)
SDK inventory: The SDKs seen using an environment: their name, version, platform and application version, which key they used, and when each was first and last seen. Avoid: connected SDKs, clients, installations
Server SDK: An SDK holding a server key: it downloads the ruleset and evaluates locally, in a backend. A package may offer both modes (the JavaScript one does); the mode, not the language, makes an SDK a server or a client SDK. Avoid: backend SDK, server-side client
Client SDK: An SDK holding a client key, inside a browser or an app: it never holds a ruleset and asks the server to evaluate its context (remote evaluation), keeping the values it was last served. Avoid: frontend SDK, mobile SDK (both name a platform, not the mode)
Bootstrap: Values for one context handed to a client SDK before its first remote evaluation, usually computed by a server SDK and rendered into a page. Shaped and masked exactly like the answer a client key receives. Avoid: initial state, hydration data, preload
Evaluation: Computing the value of a flag for a context. Local evaluation happens inside the SDK from a ruleset; remote evaluation happens on the server. Avoid: resolution, lookup, check
Evaluation reason: Why a value was served: matched rule, rollout, experiment, override, prerequisite failed, off, fallthrough, error, local override, or fallback. The last two are produced only by SDKs. A client key sees targeting match in place of matched rule, rollout, fallthrough, prerequisite failed and override (unless the override leads the unit into a running experiment), which tells it only that targeting decided the value. Avoid: source, origin
Unsupported rule: A rule holding an operator, condition kind or serve kind that an SDK’s evaluator does not know, typically sent by a server newer than the SDK. The evaluator finds it when it decodes the ruleset; the SDK reports it once per flag and ruleset version, and wherever evaluating the flag reaches it, the flag serves the fallback with an error until the SDK is upgraded. Avoid: unknown rule, invalid rule, broken rule
Built-in default: The value compiled into the client application, used when no ruleset has ever been received. Avoid: code default, hardcoded value
Fallback chain:
The order in which an SDK picks what to evaluate against: fresh ruleset, then last good ruleset, then built-in defaults. Each step is a stage of the chain (fresh, last_good, built_in), the term the SDKs’ stage_changed log event and their Stage carry; it is unrelated to an environment, which is never called a stage.
Propagation time: The time between saving a change and SDKs evaluating with it. For a mobile app it is declared separately for the foreground and for the next resume. Avoid: TTL, latency, refresh interval
Evaluation summary: Aggregated counts per flag, variation and evaluation reason that an SDK reports periodically, together with its version and platform; the server counts the remote evaluations it answers the same way, by the true reason. It carries no unit IDs. Evaluations per day and when a flag was last evaluated count what SDKs report and the exposures they record; remote evaluations are a separate count, since a client SDK is sent every flag whether it reads it or not. Avoid: telemetry, usage stats, analytics, metrics
Events and export
Sink: A project’s configured destination that receives a durable, at-least-once copy of its exposures, aliases and evaluation summaries: ClickHouse, object storage or a signed webhook. Analysts work on their own copy, never on the platform’s database. See Sinks. Avoid: export target, destination, integration, connector
Export schema:
The flat, snake_case row every sink kind exports for an event kind, with a schema_version: the same columns whether they reach ClickHouse, a bucket or a webhook, in Unix milliseconds for time. It, the ClickHouse DDL, the object key scheme and the webhook envelope change only additively; a breaking change arrives as a new schema_version beside the old. See Exported events.
Avoid: event format, payload schema, wire format
Stream:
One reader of a raw event table moving an (xid, seq) cursor of its own: a rollup stream (such as exposures, keeping first exposures and daily counts, evaluation_summaries, keeping evaluations per day, or aliases, counting the aliases received per day), or one (sink, event kind) pair, a sink with all three event kinds selected moving three streams, each at its own pace. It reads only rows of transactions below the snapshot horizon, which have all ended, so its cursor is a position below which every row is either already applied or delivered, or never will be.
Avoid: subscription (reserved for a webhook subscription), channel, topic, position (as a field name; the word is cursor)
In-flight batch: A stream’s next batch, committed before it is sent and re-read identically, under the same delivery ID, until the target acknowledges it. What makes a resend after a crash indistinguishable from the first attempt to a receiver deduplicating on the ID. Avoid: pending batch, outstanding batch
Sink health: A sink’s composed state: disabled, healthy, lagging, degraded, failing or stopped. Answered from its streams’ live position and failure count, never cached from the last attempt. Avoid: status
Failure class:
Why a call to a sink’s target failed, from a closed list (dns, connect, tls, timeout, refused_target, redirect, status, rejected), with the HTTP status when the target answered and the protocol’s own error code when it speaks one. A target’s own words are never kept or shown, because a sink may reach internal hosts. Only rejected counts toward a dead letter.
Avoid: error type, error message, reason
Rejection: A target refusing a batch outright (a 4xx other than 408 and 429, or a ClickHouse exception saying the schema or the data does not fit): retried a bounded number of times, unlike a transient failure, which is retried without limit. Avoid: permanent failure, hard failure, error
Batch file:
One batch of an object storage sink written as one object: JSON Lines (gzip, zstd or plain) or Parquet, keyed by its event kind, the UTC day of its first row’s received_at, its project, its first and last seq and its delivery ID. The same rows always land at the same key, so a retry overwrites its own file; any other rows, even over the same range, get another file beside it, and consumers deduplicate by event_id.
Avoid: export file, dump, part, chunk
Sink warning: What a test of a sink’s stored configuration, or its enable, found that does not stop delivery: for ClickHouse, an optional column of the export schema a table lacks, which inserts skip. Replaced whole by the next test or enable. Avoid: notice, lint, schema drift
Dead letter: The record of an in-flight batch set aside after its rejections ran out: the stream’s cursor range, the environments filter, attempts and the last failure class, never the rows themselves. The cursor moves past it; a member redelivers it (under a new delivery ID, outside the stream’s cursor) while its rows are still stored, or discards it. Avoid: failed batch, poison message, DLQ
Stopped sink: A sink the platform stopped on its own after several consecutive dead letters on one stream, taken as misconfiguration rather than a bad batch. No stream of it is claimed or starts another attempt, not even one claimed before the stop, and every cursor and in-flight batch holds until a member resumes it. Avoid: paused, suspended, disabled (a member’s choice, not the platform’s)
At risk:
A sink one of whose streams has an undelivered row within the loss warning (FLAGNETIC_EVENTS_LOSS_WARNING_HOURS) of the retention edge: retention will drop it before delivery unless the sink recovers or retention grows. Shown alongside sink health, never instead of it; entering it emits sink.at_risk once.
Avoid: critical, overdue, warning (the word is reserved for a sink warning)
Gap: The explicit record of rows a stream (a sink’s delivery or a rollup) lost because retention dropped their partition while its cursor still pointed before them: the cursor range lost and when it was dropped. The cursor moves to just before the first row still stored and the stream continues; a member dismisses a sink’s gap once seen, and it stays listed. A rollup’s gap is only shown. Avoid: hole, data loss event, missing range
Governance
Change request: A proposed modification that waits for approval before it takes effect: of one flag’s configuration in one environment; of one flag’s or segment’s definition (a flag’s variations and automatic exposure, a segment’s conditions and private switch) in every environment at once; or one experiment’s start, stop or traffic allocation growth in every environment holding its rule at once. Its author, a member or a project token, cannot approve it, and only a member approves at all. It is superseded, and can no longer be applied, when what it was based on moves by any other write before it is applied: that configuration; for a definition, the flag or segment itself, or the configuration in any environment of that flag or of a flag referencing that segment; for an experiment, the experiment itself, or its flag’s configuration in any environment holding its rule. Avoid: PR, review, proposal, pending change
Scheduled change: An approved change request that takes effect at a chosen future time instead of immediately. Avoid: timer, cron, delayed release
Schedule failure: The last failed application of a scheduled change, recorded on its change request: when, the error code and message, and how many consecutive attempts failed. After a set number the scheduler stops retrying it; the change request stays approved until cancelled, and a copy tries again. Stopped here means the scheduler gave up, not an experiment or a sink. Avoid: error state, failed change request
Audit entry: A record of who changed what, when, from which value to which. It outlives what it records, a deleted project included. Avoid: history item, log line, changelog
Actor: Who an audit entry names as having made the change, of one kind: a member, an API token (with the member who owns it), SCIM, an auth provider’s group mapping (sso), the CLI or the system. The word is the audit log’s alone; the subject of an evaluation is a context, and what randomization is keyed on is a unit. Avoid: principal, initiator, who (as a field name)
Webhook subscription: A project’s standing request to be sent chosen events over signed HTTP, or an instance admin’s for the audit entries that name no project. It names a target, the event types it wants and, optionally, the environments. Its secret is shown once, at creation or rotation, and signs every call made under it; for an overlap after a rotation the secret it replaced signs too. The platform disables one on its own after persistent failure, dropping what was pending, and only an enable, which resets its failure counters, clears that. Avoid: hook, callback, integration, notification, sink (a sink carries exported events, not governance ones)
Event: One thing that happened, sent to a webhook subscription as an envelope carrying its id, type, time, project, environment, actor, entity and data. Receivers deduplicate on the id; there is no ordering guarantee. Avoid: notification, message, payload, hook (exposure and alias events are the Events and export section’s, and never travel this way)
Event catalogue:
Every event type a webhook subscription may name, with what emits it and what its data carries. Most are derived from the audit entry of the change that causes them and name it; audit.entry is every entry itself, for export, and * means every type but that one.
Avoid: event list, topics, event registry
Audit download:
The audit entries a filter matches, streamed at once as JSON Lines or CSV up to a cap, for a reader without a receiver. A copy kept outside the platform is an audit.entry subscription instead.
Avoid: audit dump, report (the API calls it …/audit/export)
Outbox: Where an event is written inside the transaction of the change it describes, so that a rolled-back change leaves no event and a committed one is delivered at least once. Avoid: message queue, buffer, spool
Change notice: One message of a project’s management change stream, sent for every audit entry the project records: the entity it names, its environment and version, and the actor, never the entity’s content, so the management client refetches what it shows. Its id is the audit entry’s, which a reconnecting client resumes after; a client that cannot be caught up that way is told to refetch everything. Avoid: event (a webhook subscription’s), notification (PostgreSQL’s NOTIFY that carries it between replicas), message, change event
Delivery:
One event sent to one subscription, carrying a status and every attempt made at it with its time, status code, latency and response snippet. A delivery keeps its id across its attempts; a redelivery is a new delivery of the same event, same event id and body, under a new id. A sink’s own signed HTTP call reuses the same wire header (X-Flagnetic-Delivery) and the same at-least-once shape, for the same batch across retries, but it is a stream’s in-flight batch, not this entry.
Avoid: send, call, dispatch, webhook (that is the subscription)
Console
Context panel: The console’s second column, between the sidebar and the page, that a screen fills with every choice changing what the whole page shows: the screens of a settings area, the environments of a flag or experiment, a list’s views and its facets. A screen without such choices has none, and the page takes its width. Tabs stay inside the page only for two to four views of one object’s content. Avoid: secondary sidebar, sub-navigation, filter panel, drawer (the sidebar’s form on a phone), sheet (the panel’s form on a narrow screen) Russian: контекстная панель
State lamp: The console’s one mark for whether a flag serves in an environment: a filled dot when on, a hollow one when off, always followed by the word. It is shown wherever an environment’s serving state is named and nowhere else; protection is a lock beside the environment’s name, never the lamp. Avoid: status dot, indicator, badge (lifecycle words such as Draft or Running), light
View: One saved slice of a console list, chosen in the context panel: all flags, stale flags or archived ones; the change requests awaiting the member’s decision, the member’s own, or all. A view is fixed by the console; facets narrow whatever view is open. Never an exposure. Avoid: preset, tab, saved search, filter (a facet’s choice), impression Russian: представление (never «вид», which is kind)
Releases and compatibility
External surface:
Anything outside an instance builds on: /api/v1, /sdk/v1, the SCIM API, the ruleset format, the project document, the export schema, webhook and sink payloads, the CLI’s commands, flags and exit codes, configuration variables, metric names and labels, and each SDK’s public API. The console’s screens, log lines and the database’s tables are not external surfaces. See Compatibility and support.
Avoid: public API (one surface among them), contract (unless naming one surface’s), interface
Compatibility promise:
What a release says its external surfaces keep. From 1.0 until 2.0 every external surface changes only additively: a field, operation, variable, metric or value is added, never renamed, retyped or removed, except where a surface documents a list as open. The SDKs’ protocol and the ruleset format have kept it since 0.1.0. Until 1.0, /api/v1 and the console could still break.
Avoid: stability guarantee, backward compatibility (says one direction only), SLA, API versioning
Deprecation:
The announcement, in a minor release, that a part of an external surface will be removed in the next major. A deprecated operation is marked in its OpenAPI document and answers a Deprecation header, with a Sunset header when a removal date is set; it behaves exactly as before until the major removes it.
Avoid: sunset (the date alone), obsolete, legacy, end of life (a version’s, not an operation’s)
Deprecation log:
The warning an SDK writes when an answer carries a Deprecation header: once per operation and process, naming the operation and the Sunset when present. The call itself proceeds.
Avoid: deprecation error, deprecation exception, deprecation notice
Supported version: The latest minor release of the server, which alone receives fixes, security fixes included; they ship in its next patch or the next minor. An SDK’s supported version is likewise its latest minor. Avoid: LTS, maintained branch, release branch
Migration: One forward-only change of an instance’s database schema, applied in order and once, under a lock that lets only one replica or job apply it. From 1.0 every migration expands before it contracts: it adds what the new release needs and removes only what the previous minor no longer uses, so replicas of the previous minor keep running on the migrated schema. Avoid: schema update, DDL, upgrade (that is the release’s), import (that is a project document’s)