RAILSHOT.

Railshot

Agent-First Deployment System

以智能体为中心的部署系统,把在自己电脑上做好的应用送上 AWS、GCP 云端或本地部署环境。

铁路铺过荒野的时代,总是粗犷、进取,也有些危险。

2026.09.28 — 2026.10.04 · 已结束

团队项目 · 我负责:CI 规划与实现、CSP 集群与 Ansible 接口、运维、团队代码审查与集成

  • 网页已实现 · 黑客松
  • MCP 服务器已实现 · 远程 · 本地

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

从网页或经由 MCP 提交的应用,先由 GitHub Actions 上的检查和 CI 智能体完成准备,发布到 GHCR,再由 Argo CD 部署到客户的 K3s 集群。

  1. Stack
  2. Network
从网页或经由 MCP 提交的应用,先由 GitHub Actions 上的检查和 CI 智能体完成准备,发布到 GHCR,再由 Argo CD 部署到客户的 K3s 集群。 放大查看
Network用户和应用访问者通过 HTTPS 443 到达 AWS 首尔区域的共享 ALB、Google Cloud Load Balancing 或 Cloudflare。运维 K3s 上的产品 API 和 Argo CD 通过 6443 控制每个客户的 K3s 节点,OpenStack 节点通过反向 SSH 隧道接入控制用 EC2,代码、镜像和模型调用则通过 HTTPS 443 出站到 GitHub、GHCR 和 AI API。
Network 放大查看