Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
AngelP17Public

About

Reliability control plane for policy-as-code release gates, error budgets, chaos workflows, and audited incident response.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

CellGuard

CellGuard evaluates job failures and error budgets, then tells a deployment caller whether a release can proceed.

Maturity: Local Rails prototype with a PostgreSQL-backed xyOps simulator. The gate returns a policy decision; the caller enforces it.

60-second quickstart

With the Ruby bundle installed and local PostgreSQL and Redis services running, use a dedicated test database:

export DATABASE_URL=postgres://postgres:postgres@localhost:5432/cellguard_test
export REDIS_URL=redis://localhost:6379/1
make proof

For first-time installation and the interactive dashboard, follow CONTRIBUTING.md. No xyOps installation, cloud account or paid API is required for the proof.

Proof

make proof exercises the Rails request stack in a test transaction. It checks an open gate, injects synthetic job failures, verifies the HTTP 423 response and its failed-job evidence, runs a simulated remediation, supplies fresh healthy job observations and verifies HTTP 200. It also checks the persisted audit actor, action and remediation run ID. Remediation alone does not erase prior job failures.

Gate proof recorded in a local terminal

Download the terminal recording · Dashboard captured with simulated data · Claims and evidence

CellGuard dashboard with local simulator data

Inspect artifacts/latest/proof.json for the outcome of each executed step. The Gate Proof workflow publishes this file on pull requests.

Architecture

flowchart LR
    CI[Deployment caller] --> Gate[Rails gate endpoint]
    Gate --> Budget[PostgreSQL error budget]
    Eval[Evaluation endpoint] --> Budget
    Eval --> Classifier[Local classifier stub or Go service]
    Worker[Sidekiq scheduler] --> Jobs[Enabled agent jobs]
    Jobs --> Adapter[xyOps adapter]
    Adapter --> Sim[Local simulator]
    Adapter --> Remote[Configured xyOps server]
Loading

The gate request reads the current budget, refreshing stale evaluations. Evaluation and remediation write database records. The default classifier and simulator paths used by the proof run locally. The remote xyOps path needs a separately configured server and credentials. Architecture · xyOps adapter

Limitations

  • The proof uses synthetic observations. It measures gate behavior, not recovery time on physical equipment.
  • Audit rows are ordinary PostgreSQL records. Database writers can update or remove them. Some write failures are logged and the request continues.
  • Scheduled agent dispatch requires a Sidekiq worker and Redis. Chaos is disabled by default. The proof invokes the simulator directly and does not partition a host or run a destructive drill.
  • Hosting and operating a deployment can incur costs. CI exercises the local configuration; deployment to a particular cloud provider is a separate integration.

Contributing

Start with the contributor guide, the claim ledger and good first issues. Security reports belong in the private reporting process.

About

Reliability control plane for policy-as-code release gates, error budgets, chaos workflows, and audited incident response.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages