RAILSHOT.

Railshot

Agent-First Deployment System

Agenttikeskeinen käyttöönottojärjestelmä, joka vie omalla koneella tehdyn sovelluksen AWS:n tai GCP:n pilveen tai on-premises-ympäristöön asti.

Aika, joka rakentaa rautateitä erämaan halki, on aina raju, yritteliäs ja vähän vaarallinen.

2026.09.28 — 2026.10.04 · Päättynyt

Tiimiprojekti · oma osuuteni: CI:n suunnittelu ja toteutus, CSP-klusterit ja Ansible-rajapinta, ylläpito, tiimin koodikatselmointi ja integrointi

  • VerkkoToteutettu · hackathon-versio
  • MCP-palvelinToteutettu · etä · paikallinen

Railshot vocabulary

  1. AWS · GCP
  2. OpenStack

CI Agents: CI Agents prepare deployment files and use failure evidence to edit allowed files. The same checks must pass before release. Dockerfile · package.policy · package.spec · source.quality · image.build · image.runtime · image.scan · GATE_ORDER · verdict.json · release_eligible · GATE VERDICT · SECRET SCAN · --cap-drop=ALL · FIXABLE · give_up · PROMPT INJECTION · FAILURE SIGNATURE · REPAIR_SCOPE · MAX_REPAIR_ATTEMPTS · claude-agent-sdk · openai-codex · fixer · lessons.md · source_change_allowed · snapshot.json · source_sha256 · verify_images · SDK_OUTCOME_UNKNOWNAutomatic Deployment Packaging: Rules prepare the Dockerfile and deployment specification, with AI assistance when needed. Packaging changes are checked against allowed files and policy. Dockerfile · package.policy · package.spec · GATE VERDICT · REPAIR_SCOPE · claude-agent-sdk · openai-codex · snapshot.jsonScoped Failure Repair: Observed failures and relevant logs inform a proposed repair. The host checks its scope and stops on disallowed changes or exhausted attempts. FIXABLE · give_up · PROMPT INJECTION · FAILURE SIGNATURE · REPAIR_SCOPE · MAX_REPAIR_ATTEMPTS · claude-agent-sdk · openai-codex · fixer · lessons.md · source_change_allowed · SDK_OUTCOME_UNKNOWNDeterministic Release Gates: Check change boundaries, deployment specifications, image builds and container execution. Repairs repeat the same required checks; quality and vulnerability scans are optional additions. package.policy · package.spec · source.quality · image.build · image.runtime · image.scan · GATE_ORDER · verdict.json · release_eligible · GATE VERDICT · SECRET SCAN · --cap-drop=ALL · verify_imagesCSP · AWS / GCP: Apps deploy to registered AWS and GCP environments. New environments are prepared with a saved Terraform plan and Ansible runtime checks. SHARED ALB · aws_lb_listener_rule · aws_lb_target_group · aws_route53_record · GCP_ROUTE_APPLY_TIMEOUT · GCP_CERTIFICATE_DNS_FAILED · SAVED PLAN · plan_sha256 · node_descriptor · guest.check · runtime.install · runtime_ready · K3S · CILIUM · AWS · GCP · TERRAFORM · ANSIBLEOn-prem · OpenStack: Connected OpenStack on-premises environments serve as app deployment targets. Customer-side CLI queries and cluster checks determine deployment readiness. WireGuard · node_descriptor · runtime_ready · K3S · CILIUM · OPENSTACK · ANSIBLE · OPENSTACK CLI · server list · server show · runtime_preparation · cluster_verified · deployableMCP: Request deployment of a repository or local project and query its status from your own AI agent. MCP acceptance and deployment completion are separate states. repository_url · archiveFromPath · inspectArchive · sourceArchive · deploy_repository · deploy_local_project · OAUTH MCP · Idempotency-Key · IDEMPOTENCY_CONFLICT · 202 ACCEPTED · EXECUTOR_BUSY · CAPACITY_EXCEEDED · maxConcurrentDeployments · workflow_dispatch · TARGET ALLOWLIST · reconciliation_required · CI_DISPATCH_UNCONFIRMEDGitOps: The tested image is published to GHCR and its deployment declaration is committed to Config Git. Argo CD application and public-response checks establish the deployment result. release_eligible · GHCR · images.json · EXACT TESTED BUNDLE · GITHUB-HOSTED RELEASE · published · publication_unverified · MANIFEST INSPECT · REGISTRY_VISIBILITY · publish-journal · railshot-release · bridge.py · workload.json · CONFIG GIT · pushing · REMOTE READBACK · ARGO CD · Synced · Healthy · targetRevision · sync_requested · NO PRUNE, NO FORCE · NetworkPolicy · routing · NodePort · LISTENER OWNERSHIP · public_probe · site_probe · railshot-health/1 · NO PROXY, NO REDIRECT · expected_json · HTTPS 200 · verified_at · public_http · health_path · readinessProbe · observed_images · containerd-snapshotter · images.tar · handoff.json · NEVER BLINDLY RETRY · probe_successEnvironment Provisioning: A saved Terraform plan prepares resources. Their descriptors feed Ansible guest and runtime work before the environment is registered as a deployment target. SAVED PLAN · plan_sha256 · node_descriptor · guest.check · runtime.install · runtime_ready · TERRAFORM · ANSIBLERuntime Readiness: Resource creation, guest checks and runtime installation have distinct states. K3s, Cilium and cluster readiness are checked before an app can deploy. node_descriptor · guest.check · runtime.install · runtime_ready · K3S · CILIUM · ANSIBLE · runtime_preparation · cluster_verified · deployableSource Snapshot: Distinguish the submitted commit from files tested after agent edits. A snapshot preserves file entries and hashes to identify the tested source. source_commit · source_parent · source_digest · snapshot.json · source_sha256 · GITHUB_SHA · harness_sha256 · SUBMITTED SOURCE CHANGED · verify_imagesArtifact Binding: Submitted source, the post-edit snapshot and the image digest are bound to the same run. CD compares run, target and configuration identities. application_id · Idempotency-Key · workflow_dispatch · GHCR · images.json · published · MANIFEST INSPECT · targetRevision · Railshot-Request · Railshot-Target · source_commit · source_parent · force: false · source_digest · snapshot.json · source_sha256 · GITHUB_SHA · PLATFORM_REF · harness_sha256 · SUBMITTED SOURCE CHANGED · IMMUTABLE GHCR DIGEST · images_sha256 · observed_images · PULL BY DIGEST · imagePullSecrets · containerd-snapshotter · RESUME_PUBLICATION_CHANGED · verify_images · images.tar · handoff.json · producer_attempt · bundle_artifact_id · run_id · state.bindings · CI_BINDING_MISMATCH · DEPLOYMENT BINDING CONFLICT · config_sha256 · TARGET ALLOWLIST · registered_application · source_preparedReconciliation: An operation without a confirmed result remains unknown. Saved run records and remote state locate the existing operation before it resumes. publication_unverified · publish-journal · pushing · REMOTE READBACK · source_parent · RESUME_PUBLICATION_CHANGED · outcome_unknown · CD_RECONCILE_REQUIRED · reconciliation_required · CD_OUTCOME_UNKNOWN · SDK_OUTCOME_UNKNOWN · unknown_timeout · CI_DISPATCH_UNCONFIRMED · NEVER BLINDLY RETRY · after_reconcile · reconcile_remote · --resume · state.sqlite3 · resumePrepared · findDeployment · recoverDispatch · source_prepared · CI_DISPATCH_NOT_IDENTIFIED · resume_count · SAME WORKFLOW RUN · INTERRUPTED · READ-ONLY OBSERVEResume the Existing Run: Locate the saved run and remote operation before resuming deployment. Source, run and image identities are checked instead of blindly starting another build or deployment. RESUME_PUBLICATION_CHANGED · after_reconcile · --resume · state.sqlite3 · resumePrepared · findDeployment · recoverDispatch · source_prepared · CI_DISPATCH_NOT_IDENTIFIED · resume_count · SAME WORKFLOW RUN · INTERRUPTEDUpdate Preview: Compare changed files before starting an update from the reviewed source. If deployed source is unavailable, the preview labels its submitted-source baseline. A changed baseline blocks the start. application_id · base_deployment_id · base_revision · baseline_kind · expires_at · source_comparison_only · changes · preview · startUpdate · UPDATE_BASE_CHANGED · source_digestDeployment Queue: Accepted deployments enter a durable queue; eligible requests start in order. Per-app writers and total concurrency are bounded. An uncertain operation blocks new work for the same app. application_id · queued · queue.sequence · enqueued_at · pump · maxConcurrentDeploymentsObservability: Read app status, logs, request trends and environment metrics. Missing or stale measurements are not filled with healthy values, and observation does not advance deployment. observationRetry · next_retry_at · consecutive_failures · no_data · stale · collection_failed · NOT A SUCCESS GATE · probe_success · PROMETHEUS · BLACKBOX EXPORTER · READ-ONLY OBSERVEApp Lifecycle: Update, stop, start or delete an app while preserving its identity and environment. Plans distinguish affected and retained resources; results record residual resources. application_id · planLifecycle · applyLifecycle · plan_hash · retained · residuals · stop · start · delete

Stack

Verkosta tai MCP:n kautta lähetetty sovellus valmistellaan tarkistuksilla ja GitHub Actionsin CI-agentilla, julkaistaan GHCR:ään ja Argo CD ottaa sen käyttöön asiakkaan K3s-klusterissa.

  1. Stack
  2. Network
Verkosta tai MCP:n kautta lähetetty sovellus valmistellaan tarkistuksilla ja GitHub Actionsin CI-agentilla, julkaistaan GHCR:ään ja Argo CD ottaa sen käyttöön asiakkaan K3s-klusterissa. (suurenna)
NetworkKäyttäjät ja sovellusten vierailijat tavoittavat HTTPS 443:n kautta AWS:n Soulin alueen jaetun ALB:n, Google Cloud Load Balancingin tai Cloudflaren. Operointi-K3s:n tuote-API ja Argo CD ohjaavat jokaista asiakkaan K3s-solmua portissa 6443, OpenStack-solmu liittyy ohjaus-EC2:een käänteisen SSH-tunnelin kautta, ja koodi, konttikuvat ja mallikutsut lähtevät HTTPS 443:n kautta GitHubiin, GHCR:ään ja tekoäly-API:hin.
Network (suurenna)