master 47665927ab feat(authority): seed default + installation tenants via migration (SPRINT_20260422_005)
Closes the bootstrap gap two parallel QA agents surfaced on 2026-04-22:
fresh Authority DBs lacked the `default` tenant row so setup-wizard admin
creation failed with users_tenant_id_fkey and /connect/token returned
invalid_grant. Fix is on the migration path per AGENTS.md §2.7; the init
script stays seeds-only as established in SPRINT_20260422_003.

- New embedded migration 003_seed_default_tenants.sql performs
  `INSERT ... ON CONFLICT (tenant_id) DO NOTHING` for `default` and
  `installation`. Numeric prefix (not S-prefix) so the migration runner's
  Startup category auto-applies it; S-prefix files route to Seed category
  which is intentionally manual-only per
  StartupMigrationHost.cs:158.
- `default` is strictly required (Authority's
  StandardPluginBootstrapper.DefaultTenantId; /internal/users bootstrap
  inserts under this FK). `installation` is not Authority-FK-referenced
  today but matches the empirical workaround both QA agents converged on
  and serves as defense for cross-service inserts that join
  authority.tenants.tenant_id.

Fresh-volume verification (docs/qa/authority-default-tenant-20260422/):
1. docker compose down -v (20 volumes removed incl. compose_postgres-data)
2. docker compose up -d — 62 containers, Authority healthy in ~15s.
3. Startup log: applying 001 (144ms) → 002 (13ms) → 003 (7ms).
   authority.tenants contains default + installation.
4. POST /api/v1/setup/sessions → 201; database/valkey/migrations prereqs
   ran; admin/execute with admin/Admin@Stella2026! → 200 "Bootstrap
   administrator 'admin' ensured successfully."
5. POST /connect/token (password, stellaops-cli, ui.admin openid) → 200
   + JWT carrying role=admin, stellaops:tenant=default.
6. docker compose restart authority → "Database is up to date for
   Authority." Clean no-op.

Docs: docs/modules/authority/architecture.md §1.1 "Seeded bootstrap
tenants (migration-owned)". Cross-link added to the archived prior
sprint's Decisions & Risks so the lineage is traceable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 17:41:23 +03:00
2026-02-16 07:33:20 +02:00
2026-01-22 19:08:46 +02:00
2026-02-01 21:37:40 +02:00
2026-02-01 21:37:40 +02:00
2026-02-01 21:37:40 +02:00
2026-01-06 09:42:20 +02:00
2026-01-06 09:42:20 +02:00
2026-02-16 07:33:20 +02:00
2026-02-23 21:37:04 +02:00
2026-04-03 14:50:59 +03:00
2026-04-03 14:50:59 +03:00

Stella Ops Suite Documentation

Stella Ops Suite is a centralized, auditable release control plane for non-Kubernetes container estates. It orchestrates environment promotions, gates releases using reachability-aware security and policy, and produces verifiable evidence for every decision.

Stella is designed for teams who deploy containers via Docker/Compose, hosts/VMs, and scripted automation and need certifiable security + auditable releases without building a bespoke governance pipeline.

Product framing reference: docs/product/release-with-confidence-product-card.md


What Stella delivers

Evidence-grade release governance (outside Kubernetes)

  • Environment promotions (Dev -> Stage -> Prod) with explicit policy, approvals, and change control.
  • Digest-first release identity: deployments are tracked by immutable OCI digests so "what is deployed where" is unambiguous.
  • Deterministic decision records: every gate decision is explainable ("why blocked?") and replayable.

Reachability-aware security decisioning

  • Deep scanning produces SBOM + findings + reachability and hybrid reachability evidence.
  • VEX-first decisioning with consensus and conflict handling across issuers (SBOM/VEX are part of the evidence chain, not a side export).
  • Policy-as-code with deterministic evaluation and traceable outcomes.

Verifiability, attestability, and audit export

  • Evidence packets / decision capsules: hashable, immutable bundles that capture inputs, verdicts, and approvals.
  • Attestations (DSSE/in-toto, predicates for SBOM/VEX/verdict/reachability; optional Sigstore flows where configured).
  • Audit exports for compliance review, incident response, and forensic reconstruction.

Offline-first, sovereign operation

  • Built for air-gapped and restricted environments: local databases, offline kits/snapshots, and deterministic replay.
  • Regional crypto profiles (eIDAS/FIPS/GOST/SM and related plugin architecture) to avoid compliance lock-in.

Toolchain-agnostic integrations

  • Integrates with common SCM/CI/registries/secrets managers through connectors and plugins.
  • Works alongside existing pipelines: scan-on-build, gate-on-promotion, re-evaluate on advisory updates.

Core differentiators (the "why Stella" set)

These concepts appear throughout the docs and are the suite's anchor points:

  • Signed, replayable risk verdicts: decisions can be re-run deterministically from the same evidence.
  • Decision capsules: evidence is packaged for audit, not scattered across logs and screenshots.
  • Reachability with portable proofs: exploitability is evidenced, not asserted.
  • Smart-diff / semantic risk delta: focus on what materially changed between releases.
  • Unknowns as first-class state: uncertainty is tracked and budgeted, not hidden.
  • Non-Kubernetes-first: orchestration and evidence for Compose/hosts/agentless targets as a primary use case.
  • Digest-first release identity: immutable artifacts, immutable accountability.

For exhaustive capability detail (including planned items), use the Feature Matrix referenced below.


Two levels of documentation

  • High-level (canonical): curated guides in docs/*.md.
  • Detailed (reference): deep dives under docs/** (module dossiers, architecture notes, API contracts/samples, runbooks, schemas).
    Entry point: docs/technical/README.md.

This documentation set is intentionally consolidated and does not maintain compatibility stubs for old paths.


Start here

Product understanding

Goal Open this
Understand the suite quickly overview.md
Product operating card product/release-with-confidence-product-card.md
Capability cards key-features.md
Full capability matrix FEATURE_MATRIX.md
Product vision product/VISION.md

Getting started

Goal Open this
First run and basic workflows quickstart.md
Installation guide INSTALL_GUIDE.md
Runtime data assets (ML models, JDK, certs) ../devops/runtime-assets/README.md
Ingest advisories (Concelier + CLI) CONCELIER_CLI_QUICKSTART.md
Console (Web UI) operator guide UI_GUIDE.md
Offline / air-gap operations OFFLINE_KIT.md

Architecture

Goal Open this
Architecture: high-level overview ARCHITECTURE_OVERVIEW.md
Architecture: canonical system overview 07_HIGH_LEVEL_ARCHITECTURE.md
Architecture: platform overview dossier modules/platform/architecture-overview.md
Architecture: full reference map ARCHITECTURE_REFERENCE.md
Architecture: user flows (UML) technical/architecture/user-flows.md
Architecture: module matrix technical/architecture/module-matrix.md
Architecture: data flows technical/architecture/data-flows.md
Architecture: schema mapping technical/architecture/schema-mapping.md
Release Orchestration dossier modules/release-jobengine/architecture.md
Telemetry federation architecture modules/telemetry/federation-architecture.md
Telemetry federation runbook runbooks/federated-telemetry-operations.md
Telemetry federation contracts contracts/federated-consent-v1.md, contracts/federated-telemetry-v1.md

Development and operations

Goal Open this
Develop plugins/connectors PLUGIN_SDK_GUIDE.md
Console UI traversal map qa/console-ui-traversal-map.md
Console UI QA strategy qa/console-ui-qa-strategy.md
Security deployment hardening SECURITY_HARDENING_GUIDE.md
VEX consensus and issuer trust VEX_CONSENSUS_GUIDE.md
Vulnerability Explorer guide modules/vuln-explorer/VULNERABILITY_EXPLORER_GUIDE.md
SBOM determinism guide sboms/DETERMINISM.md
Engineering standards (for implementers) code-of-conduct/CODE_OF_CONDUCT.md
Testing standards (for QA/automation) code-of-conduct/TESTING_PRACTICES.md

Detailed indexes

  • Technical index (everything): docs/technical/README.md
  • End-to-end workflow flows: docs/flows/
  • Module dossiers: docs/modules/
  • API contracts and samples: docs/api/
  • Architecture notes / ADRs: docs/technical/architecture/, docs/technical/adr/
  • Operations and deployment: docs/operations/
  • Air-gap workflows: docs/modules/airgap/guides/
  • Security deep dives: docs/security/
  • Benchmarks and fixtures: docs/benchmarks/, docs/assets/
  • Product advisories: docs/product/advisories/
  • Hybrid diff patching blueprint: docs/hybrid-diff-patching.md

License and notices

  • Project license (BUSL-1.1 + Additional Use Grant): ../LICENSE
  • Third-party notices: ../NOTICE.md
  • Legal and licensing index: docs/legal/README.md
  • Full dependency inventory: docs/legal/THIRD-PARTY-DEPENDENCIES.md
  • Compatibility guidance: docs/legal/LICENSE-COMPATIBILITY.md
  • Cryptography compliance: docs/legal/crypto-compliance-review.md

Design principles (non-negotiable)

  • Offline-first: core operations must work in restricted/air-gapped environments.
  • Deterministic replay: same inputs yield the same outputs (stable ordering, canonical hashing).
  • Evidence-linked decisions: every decision links to concrete evidence artifacts.
  • Digest-first identity: releases are immutable OCI digests, not mutable tags.
  • Pluggable integrations: connectors and steps are extensible; the core evidence chain stays stable.
Description
No description provided
Readme AGPL-3.0 2.8 GiB
Languages
C# 91.7%
TypeScript 4.3%
Python 1%
Shell 0.8%
HTML 0.7%
Other 1.3%