cratis/chronicle/cratis-chronicle-hosting

Claude Code and agent skill by cratis/chronicle

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when deploying the Chronicle kernel, running a production readiness or go-live checklist, preparing topology, backup and restore, upgrades, or diagnosing startup, certificates and clustering. Not for application client wiring, Orleans grain implementation or live-store mutation.

Install

npx vskill@latest install cratis/chronicle/cratis-chronicle-hosting

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as cratis/chronicle/cratis-chronicle-hosting.

Host the Chronicle kernel

A working development Compose file is not a production deployment. The kernel's build, storage, certificates and network topology determine whether it starts and whether several nodes actually form one cluster. Inspect configuration without exposing secrets; a hosting request does not authorize deleting data, rotating keys, clearing quarantine or deploying to an unnamed environment.

Verified product sources

Source: Cratis/Chronicle:

SourceContract
Documentation/hosting/production.mdimages, DEVELOPMENT, prerequisites, replica sets, ports, backup order, clustering
Documentation/hosting/configuration/tls.mdTLS/h2c, authentication limits, immediate proxy trust
Documentation/hosting/configuration/health-endpoint.mddedicated probe port and exclusive routing
Documentation/hosting/configuration/observers.mdretries, quarantine, definition evolution
Source/Kernel/Core/Configuration/{Events,Alerts}.cscausation retention and incident metrics
Source/Kernel/Core/Setup/Authentication/AuthenticationService.cspersisted development application

Reverify these sources before recommending another kernel version. This is the operator/kernel surface, not an application-profile layout rule.

Choose the build and storage

  • cratis/chronicle:latest is production; pin a tested release for deployment.

latest-development bundles MongoDB; latest-development-slim does not.

  • `DEVELOPMENT` is a compile-time symbol defined for Debug builds, not

ASPNETCORE_ENVIRONMENT or DOTNET_ENVIRONMENT. Environment variables cannot turn the Release image into a development kernel.

  • Production storage defaults to MongoDB but its connection string is empty.

Set Cratis__Chronicle__Storage__ConnectionDetails, and __Storage__Type for a different backend. Configuration mounts at /app/chronicle.json; environment keys use the Cratis__Chronicle__ prefix. storage.databaseNamePrefix changes database naming; it is not a migration of existing data.

  • MongoDB must be a replica set, including single-node development: appends

use transactions. The current Compose/Aspire default is MongoDB 8.2. Publish development database ports on loopback only; a host application needing MongoDB must be able to reach port 27017. Do not expose unauthenticated MongoDB.

Read storage resolution when choosing per-namespace destinations, schema/runtime identities, Azure authentication, SQL schemas, or disabling automatic creation.

Read models and graphs can live apart from the events. The sinks section names sink configurations (type MongoDB, SQL or Neo4j, each with its own connection); sinks.readModels and sinks.graphs replace the defaults (the storage connection and the neo4j server), and clients choose a named sink with [Sink("name")]. Changing a sink replays the affected read models. Read named sinks before adding or changing the section.

Supply certificates before starting production

Default TLS needs a PFX certificate with a private key: Tls__CertificatePath / Tls__CertificatePassword. Missing/invalid certificates fail startup; there is no silent HTTP downgrade. Development generates an in-memory self-signed TLS certificate.

EncryptionCertificate__CertificatePath / __CertificatePassword protect the internal OAuth authority's keys. Production requires this unless oAuthAuthority is disabled or an external authority replaces it. Value encryption is separate and still requires a certificate on first use. Development falls back to ephemeral OAuth keys. Supply passwords from the approved secret mechanism, never commit them. Every cluster node needs the same certificate ring.

The .NET client uses known development credentials when ClientCredentials has both username and password absent (ChronicleClient.cs, Connections/ServiceCollectionExtensions.cs). The development kernel creates the application directly in persistent storage (AuthenticationService.cs). Changing to a production image does not revoke it. Remove the application and any configuration declaration that recreates it before reusing that storage. See cratis-chronicle-client-dotnet.

Pick a network topology

Default main port 35000 serves gRPC HTTP/2 plus Workbench, REST, OAuth and health HTTP/1.1 over TLS using ALPN. Orleans silo 11111 and gateway 30000 are internal cluster ports, not public browser endpoints.

Explicit Tls.Enabled=false is only for a private HTTP/2-only h2c backend behind an HTTPS-terminating proxy. The kernel warns at startup. Forward all traffic over h2c; HTTP/1.1 upstream fails. Restrict direct access. With auth enabled, use an external HTTPS authentication.authority: the internal authority and /connect/token are unavailable; .NET SDK ClientCredentials cannot use the external authority. Independently obtained bearer tokens and Workbench cookie login are supported. These claims come from Documentation/hosting/configuration/tls.md, "Configuration file"/"TLS behavior".

The same file's "Trusted reverse proxies" section specifies:

  • X-Forwarded-For/Proto is trusted from loopback only by default. Add the

immediate proxy IP to forwardedHeaders.knownProxies or a restricted infrastructure CIDR to knownNetworks; env arrays use Cratis__Chronicle__ForwardedHeaders__KnownProxies__0 / __KnownNetworks__0.

  • ASPNETCORE_FORWARDEDHEADERS_ENABLED=true does not widen trust. Never

configure a wildcard CIDR or client networks as trusted proxy networks.

  • The proxy must replace, not relay, client-supplied forwarded headers.

Forward public HTTPS for HTTPS-sensitive middleware. Do not trust a public HTTP scheme while fronting a TLS listener: cookie mutations fail antiforgery.

Requires Chronicle 19.55.0 for configurable kernel gRPC receive/send limits. Receive defaults to 100 MiB; send is unlimited unless configured. Set Cratis__Chronicle__MaxReceiveMessageSize / __MaxSendMessageSize in bytes. Check the deployed kernel version; older kernels' 4 MiB receive limit can cause ResourceExhausted even when the client permits 100 MiB. Bound batches rather than increasing limits without accounting for memory.

Probe without opening another API entrance

Set health.port for a dedicated HTTP/1.1 probe listener. health.tls=false removes TLS only there; health.exclusive=true restricts it to the configured health path (/health by default) and its /live and /ready subpaths. Exclusive is false by default, so an ordinary plaintext probe port also exposes other HTTP/1.1 endpoints. Keep it internal. health.tls=true needs the top-level TLS certificate even when main TLS is disabled. The production chiseled container has no shell/curl: use an orchestrator/external probe, not an in-container shell healthcheck.

Requires Chronicle 19.109.0 for separate readiness/liveness routes.

/health and /health/ready remain readiness (including startup and storage); use /health/live for liveness/startup so a replay backlog does not restart a healthy-but-unready silo. A custom base path moves all three routes. Verified in the tagged sources linked from clustering and schema ownership, Documentation/hosting/configuration/health-endpoint.md and Source/Kernel/Server/KernelReadinessHealthCheck.cs.

Form one cluster, not several over shared data

Every node must select shared membership and share cluster/service ids and the cluster database: clustering.type=MongoDB for MongoDB, or Sql for PostgreSQL and SQL Server. SQLite remains single-node. Default Localhost does not join nodes; persistent stores guard it with a single-writer lease. Read clustering and schema ownership for lease failure behavior, SQL migration/Verify modes and the disabled-by-default projection-generation groundwork. Clustering:ResponseTimeout bounds Orleans transport waiting; increasing observer subscriber timeout cannot exceed that transport deadline.

Read recovery and upgrades when changing observer retry/quarantine settings, definition evolution, retention, alerts, or restoring and upgrading a cluster. See cratis-chronicle-web-workbench for browser exposure and cratis-chronicle-cli-operations for authorized live operations. Several services share one kernel with one event store each: see cratis-multi-service-architecture, and cratis-multi-service-local-orchestration for an AppHost or compose file.

Read webhook delivery policy for target validation, independent retries, managed identity and real-delivery quarantine probes. Ordinary observer quarantine guidance does not imply webhooks stay silent.

Verify

Read production checklist when preparing, reviewing or auditing a Chronicle go-live, backup and restore drill or upgrade.

  • The build/image and intended environment agree; no default development

application remains in reused production storage.

  • Storage is reachable and MongoDB is a replica set; multiple nodes share valid

MongoDB/Sql membership, cluster id, service id and certificate ring.

  • Certificates load; clients validate production TLS (skipTlsValidation=false).
  • A probe observes health without publishing a plaintext Workbench/API port.
  • Proxy upstream protocol and trust are tested from the actual immediate peer.
  • Registration, observer progress and known protected data are checked separately

from process startup. Report skipped runtime checks; a config review is not a deployment.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
61
Repository forks
8
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cratis/chronicle/cratis-chronicle-hosting/badge)](https://verified-skill.com/skills/cratis/chronicle/cratis-chronicle-hosting)

Something wrong with this skill or its page? Tell us.