Version 1.2.2 · 5c47ff8ea22d

Forge — your version control for container projects

Self-hosted, end-to-end encrypted: your own version control with a signed operation log, code review in the browser, package mirror, offline builds, deploy, monitoring and self-healing in one tool.

Code review with suggestions File history & blame Deployments & scheduled deploys Parallel runner IDE integration

Download source code Compare

Own version control

The unit is a Change with a stable ID and versions. Strands work like branches, version numbers like tags. Nothing is overwritten; every action can be undone.

End-to-end encrypted

Storage and server only ever see ciphertext — per tenant. The device key lives in the macOS keychain; the browser decrypts with your passkey.

Every action signed

The operation log records which device did what and when and is append-only. Reviews, deploy jobs and ops commands are signed entries too.

Build, deploy, operate

Offline builds from your own package mirror, deploy by image digest via runners, then monitoring and self-healing (restart, rollback) without project keys.

How it works

build · mirror & quarantine · digest deploy
Forge workflow: signing, mirror & quarantine, digest deploy

Only your device reaches the network and holds the keys. The runner builds offline from the package mirror (only signed, approved, quarantine-cleared, OSV-checked packages) and prod reuses exactly the tested staging image — pinned by digest, never rebuilt.

Forge at a glance

  • Own version control: changes, strands, version numbers, undo
  • End-to-end encrypted per tenant; server and storage see ciphertext only
  • Signed operation log, merge without rewriting history
  • Code review in CLI and browser: comments, replies, resolve, suggestions
  • Compare any two states with syntax and word highlighting
  • File history and blame — in the browser, computed by the same core as the CLI
  • Project contract forge.toml: tests, deploy rules, monitoring, secrets
  • Package mirror with quarantine and OSV checks; builds without network
  • Deploy by digest via runners; parallel jobs with a lock per environment
  • Scheduled deploys and time windows; pause, resume or cancel from the web
  • Monitoring, alert mails and self-healing (forge-ops)
  • Encrypted secret store; secrets set by the runner at deploy time
  • Passkey + TOTP sign-in; fresh passkey confirmation for account changes
  • IDE integration for RustRover and PyCharm
  • Escape hatch: forge export --git at any time

An escape hatch always remains

With forge export --git you can always export everything as a Git repository — for editors, AI tools and collaboration with the Git world.

Signed in securely, decrypted in the browser

  • Sign-in = passkey + TOTP — no passwords; the passkey is the first factor, a one-time code from your authenticator app the second.
  • Decryption = PRF passkey — code, reviews and docs are decrypted in the browser by the same WebAssembly core as the CLI. The server only delivers ciphertext.
  • Account changes (TOTP, passkeys) need a fresh confirmation with one of your passkeys from the last five minutes — a stolen session is not enough.
  • Tenants are separated twice: by key and by membership — other tenants are not even listed.

Operations (restart, rollback, pausing a scheduled deploy) additionally need a fresh one-time code for every single action.

Code review in the browser

Compare any two states
main line, what runs in staging/prod, any version
Readable diffs
syntax and word highlighting, side by side or inline, expandable context
Comments per line
replies, resolve and reopen
Suggested changes
applied on a device with forge review apply
File history & blame
every version of a file, origin of every line
Approvals
a change lands only with check and approval for exactly that version

Reviews are signed and encrypted in the browser and stored as create-only entries next to the log — the browser never edits code directly.

Operations pages

Monitoring
a tile per service with checks, live metrics (CPU, memory, load, availability) and an alert-mail switch
Operations
restart and rollback per environment, each with a fresh one-time code
Infrastructure
every app at the provider: machine state, region, memory, volume, deployed state
Deployments
timeline of the last 24 h with stages, open and scheduled deploys — pause, resume, cancel

The overview pages are computed in the background every minute, so they open without waiting. The CLI forge (macOS) remains the full tool.

A look inside

Example images from a demo tenant acme with made-up services (shop-api, web-shop, billing-worker) — the real pages, with invented data. Click an image to see it full size.

1 · Code review

Opening a project shows “Locked” first: the server only has ciphertext. One click asks for your passkey; the browser derives the key from it and decrypts with the same WebAssembly core as the CLI. A new browser becomes a device of its own and needs a grant from a device that already has access (forge device add).

After unlocking you see the changes on the left — each with its versions, check state and comment count. On the right: the compared states (main line, a version, what runs in staging/prod), whitespace switch, inline or side by side, and Approve this version.

In the diff, comments sit at their line; a suggestion names the lines it would replace. It is applied on a device with forge review apply — never by the browser.

Locked project page with the button Unlock with passkey
Before unlocking: the server delivers ciphertext only.
Review page with the list of changes, version picker and approve button
Changes, compared states and approval.
Diff of a Python file with a line comment and a suggestion
Diff with a line comment and a suggested change.

2 · Monitoring

One tile per service of a tenant. The upper part comes from the secret-free ops manifest the runner stores at deploy (from forge.toml): kind, description, region, machines, memory, volume, whether it is monitored and how it heals itself.

  • One line per environment (prod, staging) with the app name and the result of the latest check — ok or fail.
  • Live metrics straight from the provider: CPU, memory and load with a six-hour curve, availability over 24 h and 7 days.
  • Alert mails can be switched off for the whole tenant (for a planned maintenance) — the switch itself is a signed entry.

Owner page: superuser and a verified TOTP factor. No project passkey is needed — nothing here is decrypted.

Monitoring page with three service tiles, one of them failing
billing-worker fails its health check; shop-api and web-shop are healthy.

3 · Infrastructure — apps and scheduled deploys

Everything that runs at the provider, in three groups: the Forge components (server, staging server, forge-ops, runner), the tenant services (known from their ops manifests) and other apps of the organisation. Per app: machine state, region, memory used vs. configured, volume, the deployed image, the latest check and open orders.

Scheduled deploys stand at the top: one-off deploys at a chosen time and recurring schedules, each with its time in the tenant's time zone. They can be paused, resumed or cancelled — always with a fresh six-digit code; the runner carries out the order and acknowledges it.

The chips above the tables sum up the page: apps, running machines, open orders, red findings.

Infrastructure page with two scheduled deploys and the Forge components
A recurring staging deploy and a one-off prod deploy of v1.4.
Cancelling a scheduled deploy asks for a six-digit code
Cancel or pause only with a fresh one-time code.
Table of tenant services with state, memory, volume, deployment and last check
Tenant services: the failing check and its waiting restart order are marked red.

4 · Infrastructure — deployments

The second tab of the infrastructure page shows what the runners did in the last 1, 6, 12 or 24 hours: runs, successes, failures, the median duration and the ops commands.

  • Timeline — one lane per project; a run is a box (green, red, blue while running, dashed when planned), an ops command a diamond.
  • Pipeline run — a click on a run shows its stages: lease, prepare, test, build image, deploy, health check, receipt — each with time and duration, plus the step log.
  • Runners with their last sign of life, next up from the plan and an event log filterable by deploys, failures and ops commands.

The runner reports only stage, time, outcome and a failure class — never output or test names, so nothing from the project leaves it.

Deployments tab with key figures and a timeline per project
Key figures and the timeline of the last 12 hours.
A pipeline run with seven green stages and its log
A run of shop-api to staging, stage by stage.

5 · Operations

Per project and environment: which snapshot and image run there, how the service heals itself, and the latest finding of the monitor (here: HTTP 503 on /health/).

Restart and Roll back need a fresh two-factor code and take an optional reason. The server stores a signed command; the runner carries it out at once — without waiting for a deploy window — and writes a receipt.

Under Recent commands every command stays with who issued it, when and why, and the runner's answer — self-healing by forge-ops shows up here just like a click in the web.

Operations page: a failing prod environment with a waiting restart command and the restart and roll back buttons
billing-worker: self-healing has queued a restart; the previous one succeeded after 14 s.

One file controls the pipeline: forge.toml

Every project carries a contract in its root. It says what may come in, when a test, a build and a deploy count as successful, when production changes, and what happens when the running system fails. Forge executes what stands there — nothing more and nothing less. The file is versioned and reviewed like any other code, so a change to the pipeline is a change like any other.

The pipeline in seven stages — check, test, build, staging, prod, monitor, heal and scale — with the forge.toml sections that control each stage and who executes it
Code, Build and Run hand over through signed entries only: the deploy job, the ops manifest and the ops command. Click to enlarge.

Which section controls which stage

Section Decides Executed by
[project] · [docs]name and kind; which documents must exist; documentation generated from the codeforge check, forge doc
[packages]what may come from outside: exact pins, images with tag or digest, mirror only, quarantine, blocked vulnerabilitiesforge check, runner
[test]when a test is successful: commands, timeout, coverage; with where = "runner" again in the runner before every builddevice, runner
[review]approval before forge land: self, two (four eyes) or offforge land, precondition review
[build]how the image is made: Dockerfile, context, args, builderrunner
[deploy.<env>]when a deploy is successful and when it may happen: requires, success, on_failure, window, freeze, batch, imagerunner, ordered with forge deploy or by the batch
[deploy.defaults]shared values for every environment; each environment overrides what it names—
[running]when the application counts as runningforge-ops
[monitor] · [[monitor.check]]what is watched, how often, in which environments, and when an alarm goes outforge-ops; checks inside the machine: runner
[monitor.<env>]self-healing (on_failure), autoscaling (scaling) and performance curvesforge-ops decides, the runner acts
[schedule.<name>]planned tasks: a nightly test or a deploy at a fixed timerunner

A complete contract — from land to self-healing

contract = 1

[project]
name = "ms-notes-service"
kind = "django"

[packages]                        # what may come in
mirror = "only"                   # build only from the signed mirror
python = "requirements.txt"
images = ["python:3.14-slim@sha256:…"]

[test]                            # green before anything is built
run      = ["pytest -q"]
coverage = { min = 60, report = "coverage.xml" }
where    = "runner"

[build]
builder = "runner"                # offline, built exactly once

[deploy.defaults]
target = "fly"
region = "fra"
success = { health = "/health/", within_s = 90, version = "/version/" }

[deploy.staging]                  # every landed change, at once
app  = "ms-notes-service-staging"
requires = ["test"]
auto = "on_land"

[deploy.prod]                     # once a day, what proved itself
app      = "ms-notes-service"
requires = ["test", "review", "deploy.staging",
            "project:ms-postgres/prod"]
image    = "from:staging"         # same digest, no rebuild
batch    = "daily 20:00"
window   = ["daily 19:00-21:00"]
freeze   = ["2026-12-20..2027-01-05"]
on_failure = "rollback"

[monitor]                         # watched in prod (default)
every_s = 60
alert = ["mail"]
watch = ["health", "restarts", "memory_over_pct:90"]

[[monitor.check]]
name   = "notes-api"
http   = { get = "/api/notes/?limit=1" }
expect = { json = "results", max_ms = 800 }
heal   = true

[monitor.prod]
on_failure = { action = "rollback", after = 3, cooldown = 300 }
scaling    = { watch = "memory_over_pct:90", action = "scale",
               machines = 2, memory_mb = 1024, after = 5 }

[review]
rule = "self"

How a change travels

  1. forge check validates the contract, the pins and the documents and runs [test] for exactly this snapshot.
  2. forge land needs the passed check and the approval from [review].
  3. auto = "on_land" orders staging: the runner tests again offline, builds once, rolls out and runs success.
  4. The runner pre-checks the state for prod; at the batch time it promotes the staging digest — inside window, never during freeze, only when the projects in requires run ok.
  5. On deploy the runner leaves a signed ops manifest; from then on forge-ops watches what [monitor] names.
  6. Persistent failure: on_failure restarts or rolls back, scaling adds machines or memory — always as a signed ops command that the runner executes.

Rules of the file

  • Strict: unknown sections and keys are errors — a typo never switches a rule off silently.
  • No secrets: secrets only names what must exist at the provider; secret_store names values the runner sets from Forge's encrypted store.
  • Defaults keep behaviour: a new key never changes an existing contract; a new meaning raises contract.
  • Mergeable: [deploy.defaults] applies to every environment; env and success are merged key by key.
  • Plain text where needed: monitoring parts travel in the ops manifest unencrypted — no secrets in paths, queries or expected values.

Commands

forge check --contract-onlyvalidate the contract only
forge checkcontract, pins, documents, tests — result signed
forge docwrites docs/BETRIEB.md from the contract
forge deploy <env>order the runner now (hotfix), or with --at
forge deployswhat runs where, and the last jobs

Build once, offline, from signed packages

Forge builds a container image exactly once per state, tests it before it is built, and carries it unchanged by digest from staging to prod. With the package mirror the runner builds without network: only packages that are signed, approved and free of known vulnerabilities get in. What is allowed stands in the contract forge.toml; details in the user guide, chapters 4 and 7.

Build overview: device, storage, runner with prepare, test image and image, then staging and prod with the same digest; below the package sources and the signed package mirror
From the saved state to production: tested before it is built, built once, promoted by digest. Click to enlarge.

1 · What may come in

Every dependency is pinned exactly; images need a tag or digest, never latest. forge check refuses anything else.

[packages]
mirror = "only"
python = "requirements.txt"
cargo  = "Cargo.lock"
images = ["python:3.14-slim@sha256:…"]
quarantine_days = 7
block_on = ["critical", "high"]

2 · The package mirror

  • A device fetches packages from PyPI, crates.io, npm and image registries with forge mirror sync and checks them against OSV; the runner never goes online for packages.
  • Every entry is signed; a package is used only when its name is approved (forge mirror approve), the quarantine has passed and OSV reports nothing from block_on.
  • The mirror report per project lists why a package is not ready and the next ready version.
  • Libraries such as Bootstrap come from the mirror with forge mirror use, with a SHA-256 per file.

3 · Tests before the build

forge check runs the tests on your device and records the result for exactly this snapshot. With where = "runner" the runner repeats them in a test image without network before every build — red means nothing is built.

[test]
run      = ["pytest -q"]
coverage = { min = 60, report = "coverage.xml" }
where    = "runner"
target   = "test"
services = ["postgres:17"]

4 · Built once, promoted by digest

The runner builds the image itself (builder = "runner") or lets the provider's builder do it. Prod takes over the image that already ran in staging — no recompiling, no new layer. forge build builds on your device exactly like the runner, offline from the mirror.

[build]
builder = "runner"
dockerfile = "Dockerfile"

[deploy.prod]
requires = ["test", "deploy.staging"]
image = "from:staging"

Deploy on time, in the right order — and watch that it works

Everything below is described in the project's contract forge.toml. The runner executes it; you can close your laptop after forge deploy. Details and all keys: the user guide, chapter 4.

A day with a batch deploy: four changes go to staging during the day, the runner pre-checks each healthy state for prod, at 20:00 the newest ready state is promoted; on the right the order across projects: database, service, frontend
A day with batch = "daily 20:00": errors show up in the afternoon, not at 20:00. Click to enlarge.
Batch state on the Infrastructure page Meaning
readypre-check passed — at the batch time the state goes out
blockedwith a class: precondition (e.g. approval missing), dependency (another project missing or unhealthy), config (provider configuration or secrets), no-image, prepare — re-checked every 10 minutes
livethe newest proven state already runs in prod — nothing to do
none · uncheckednothing proven in staging yet, or not checked yet

1 · Batch deploy at a fixed time

Production changes once a day — by default at 20:00 — with everything that proved itself in staging during the day.

[deploy.prod]
requires = ["test", "review", "deploy.staging"]
image    = "from:staging"
batch    = "daily 20:00"
  1. A state runs successfully in staging.
  2. The runner pre-checks it for prod: preconditions, provider configuration, secrets, staging image — without rolling out.
  3. At 20:00 it takes over the staging image by digest and switches: no tests, no build.
  4. Pre-check failed? The batch is skipped, the Infrastructure page says why; batches can be paused there.

2 · Deploy at a chosen time

The job lies encrypted in storage; the runner executes it when it is due.

forge deploy prod --at "2026-11-07 22:30"earliest time for one job
window = ["Sat 22:00-24:00"]roll out only inside windows
freeze = ["2026-12-20..2027-01-05"]blackout days: everything waits
expires_after_s = 1800a job without window lapses after 30 min
timezone = "Europe/Zurich"time zone of all times

Waiting jobs show their reason on the Infrastructure page and can be paused, resumed or cancelled there. Restart and rollback after a failure ignore windows.

3 · Dependencies between projects

A service names what must run first — the database before the API, the API before the frontend.

[deploy.prod]
requires = ["test", "deploy.staging",
            "project:ms-postgres/prod",
            "project:ms-redis/prod"]
  • ok means: deployed through Forge, newest health finding not red, no rollout of its own still open.
  • Not ok yet? The job waits ("waits for ms-postgres/prod") until its deadline or window ends.
  • In a joint rollout such as the 20:00 batch the order follows by itself: database, services, frontend.
  • Rollbacks never wait.

4 · Monitoring: ports, health, functions

LevelIn the contractChecks
Portsuccess = { tcp = true }Postgres, Redis, mail: machine runs at the provider
Deploysuccess = { health, version, checks }new version answers and reports its change
Health[monitor] watchevery minute: health, restarts, memory
Function[[monitor.check]]http, deep, postgres, redis, command
[[monitor.check]]
name   = "notes-api"
http   = { get = "/api/notes/?limit=1" }
expect = { json = "results", max_ms = 800 }
heal   = true

Three failures in a row raise an alarm; with [monitor.prod] on_failure the runner restarts, rolls back or scales — signed, with cooldown and attempt limit (section 5). Findings never contain the response itself.

5 · Self-healing and scaling — watch, decide, act

forge-ops watches what the runner wrote into the ops manifest at deploy. It holds no project keys and never touches a machine: when a rule fires it writes a signed ops command, and only the runner executes it — at once, also outside window and freeze, because the service is already broken — and signs a receipt. Owners can send the same commands by hand from the Operations page or the Forge app, each with a fresh one-time code (in the app also Face ID).

Monitoring loop: the runner writes the ops manifest, forge-ops observes, writes findings, counts failures, raises an alert or writes an ops command; the runner restarts, rolls back or scales and signs a receipt
Every step is a signed entry: manifest, finding, command, receipt. Click to enlarge.

Self-healing: on_failure

Fires when health — or a [[monitor.check]] with heal = true — fails after times in a row.

[monitor.prod]
on_failure = { action = "restart", after = 3,
               cooldown = 300, max_attempts = 2,
               escalate = ["mail"] }
restartrestart the machines of the environment
rollback · promote_prevthe last good digest again — no rebuild
scalemore machines and memory (see right)
cooldown · max_attemptspause between actions and an upper limit — then escalate (default: the alert channels)

Autoscaling: scaling

Fires on a metric instead of a failure — e.g. memory above 90 % five times in a row.

[monitor]
watch = ["health", "memory_over_pct:90"]

[monitor.prod]
on_failure = { action = "restart" }
scaling = { watch = "memory_over_pct:90",
            action = "scale", machines = 2,
            memory_mb = 1024, after = 5,
            cooldown = 900 }
  • The metric in scaling.watch must also be listed in [monitor] watch — only watched metrics are measured. restarts and memory_over_pct:<n> are useful; health belongs to on_failure.
  • scale sets both targets: machines (default 2) and memory_mb (default 1024). Set memory_mb to today's value if you only want more machines.
  • Scaling goes up only; Forge never scales back down by itself — do that at the provider once the load is gone.
  • on_failure stays required in every [monitor.<env>].

Which environments are watched

By default only prod. Test environments may sleep with autostop — a check every minute would wake them and cost money. Watch staging as well with:

[monitor]
env = ["prod", "staging"]

Unwatched environments get no checks, findings, healing or alarms; the Monitoring page shows «not monitored». Where forge-ops lacks a provider token the finding is «not observable», never «unhealthy».

Performance curves

Name the database and Redis that belong to an environment and the key figures the Monitoring page draws as curves. Measured at the provider; the apps need an exporter.

[monitor.prod.performance]
database = "ms-postgres"
cache    = "ms-redis"
show = ["http_p95_ms", "http_rps", "http_error_pct",
        "db_connections_pct", "redis_memory_pct"]

6 · The service map — how all services fit together

One project of a tenant keeps a map of all services as JSON ([docs] service_map = "docs/service-map.json"). After its deploy, every project's Documentation tab shows it interactively: services in columns, their connections, views, details on click and — for owners — the live status from monitoring. The browser decrypts the map; the server only knows its path. The picture shows Forge's own map.

Forge service map: clients, web, services, data and external systems with their connections
Solid: synchronous call · dashed: asynchronous or fallback. Click to enlarge.

Forge in RustRover and PyCharm

Forge is not Git, so the IDEs show no VCS menu. Instead Forge brings shared run configurations, External Tools and a diff script; the IDE's local history covers the time between two forge save. Everything runs through the forge CLI on your Mac — decrypted content never leaves the device.

1 · Open the projects

  • RustRover opens the repository root (the Cargo workspace is detected).
  • PyCharm opens server/ as its own project, interpreter server/.venv, Django settings config.settings.
  • Both IDEs write to .idea/ — never open the same folder in both.
  • Mark .forge/, .forge-mirror/ and target/ as Excluded, otherwise the IDE indexes ciphertext.

2 · Run configurations (included)

They appear automatically in the Forge folder and start a login shell, so forge, cargo and make are found.

.run/RustRovermake check, make test, make lint, make docs, forge status, forge check
server/.run/PyCharmmake server-check, make dev, make server-run

3 · External Tools (once per IDE version)

Copy the tool definition into the IDE's settings folder, then restart the IDE:

mkdir -p ~/Library/"Application Support"/JetBrains/RustRover2026.2/tools
cp scripts/jetbrains/rustrover/Forge.xml ~/Library/"Application Support"/JetBrains/RustRover2026.2/tools/
mkdir -p ~/Library/"Application Support"/JetBrains/PyCharm2026.2/tools
cp scripts/jetbrains/pycharm/Forge.xml ~/Library/"Application Support"/JetBrains/PyCharm2026.2/tools/
Tool (Tools → External Tools → Forge)Runs
Statusforge status
Saveforge save -m <prompt>
Diff against newest snapshotscripts/ide_diff.sh <file> — opens the IDE's diff window
Diff against versionscripts/ide_diff.sh <file> v1.2
File historyforge log <file>
Blameforge blame <file>
Comment lineforge comment -m … --file … --line …
Checkforge check
Review in browserforge dashboard code

Assign shortcuts under Settings → Keymap → External Tools → Forge. If the IDE does not find forge (started from the Dock), enter the full path from command -v forge in the file.

The diff script

scripts/ide_diff.sh finds the project from any file (absolute paths, spaces allowed), restores the old version with forge and shows it next to the current file in the IDE's diff window. The old version is stored only on this device, read-only in a private temporary folder, and removed on the next call. It is tested by make ide-test, part of make check.

How Forge uses Fly.io and Tigris

Fly.io runs the Forge components and the deployed services (region Frankfurt). Tigris (S3-compatible) holds everything Forge stores — encrypted. Forge talks to Tigris with its own request signing (no AWS SDK) and to Fly only through one provider adapter, so another provider can be added later.

Fly.io — Forge components

Component Machine Task Holds
Server1 shared CPU, 512 MB, volume Sign-in, overview, code view (ciphertext only), operations pages; overview pages computed in the background every minute Users, passkeys, devices (SQLite on the volume, backed up daily to its own bucket); a read key and a separate create-only write key for storage; an ops signing key; read access to the provider for machine state and metrics
Server (staging)sameFed by Forge's own pipelineIts own storage key, intended read-only
forge-opssmall Monitoring and self-healing: checks the environments, writes findings, requests restart or rollback No tenant or project key — reads only signed, secret-free ops manifests; its own storage key
Runner2 shared CPUs, 2 GB, 20 GB volume Executes deploy jobs: tests and builds without network from the package mirror (own Docker daemon), pushes the image, rolls out, checks success, rolls back on failure; up to two projects at once, a lock per environment, one pass per minute Its own device key (decrypts a project only for the duration of a job); a deploy token per target app — the only place they exist

Fly.io — deployed services

  • Every service has a prod app and a test app (staging), both reachable only in the private network.
  • Test machines sleep when idle and are woken through Flycast on the first request; prod never sleeps.
  • An image is built once and promoted by digest from staging to prod — never rebuilt.
  • Secrets come from Forge's encrypted secret store; the runner sets them at the provider during deploy. Staging has its own values, its own cache and never sends mail.
  • Success is checked via health endpoints or, for private services, via the machine state the provider reports.

Tigris — what lies where

Path Content Form
t/<tenant>/p/<project>/o/<id>Chunks, trees, snapshots, operationsencrypted, name = keyed hash, immutable
…/snapshots · oplog · HEADLists and pointer of the historyidentifiers only; the only files that are replaced
…/r/<id>Reviews: comments, replies, suggestions, approvals, deploy jobsencrypted and signed, create-only
…/secrets/…Deploy secretsvalue encrypted with the project key, signed, one revision per change
…/ops/ · …/m/ · …/lease/Ops manifests, commands, receipts, plans, run events, monitor findings, runner locksplaintext without content or secrets, signed
t/<tenant>/devices · runnersDevice grants, runner heartbeatswrapped keys, signed
t/<tenant>/mirror/Package mirrorpublic packages, every entry signed and traced to a trusted device

Tigris — who may do what

  • Your device (CLI) reads and writes its projects.
  • Runner and forge-ops each have their own key.
  • Server: reads with one key; writes only with a second key and only create-only — review entries, ops commands, the alert switch, secret entries, mirror entries, project docs (apart from one documentation pointer).
  • Staging server: its own key, intended for reading only (Tigris role ReadOnly).
  • Writing means creating: contents are named by their hash, entries are created with If-None-Match, sequence numbers are retried on collision — concurrent writers never overwrite each other.

Tigris — safety and cost

  • Recovery does not rest on the bucket alone: every client keeps a full copy of its projects, the server database is backed up daily into a separate bucket, and Tigris bucket snapshots can be switched on in addition (SETUP.md).
  • forge verify and a restore test (save → delete → restore → byte compare) run in every CI.
  • Requests are kept low: pull lists objects only when there is a new state, project names and trust are cached, forge-ops looks only at projects that are due, unchanged findings are not rewritten, the runner passes once per minute.
  • Large files need no special handling — content-defined chunks are stored once per project.

Comparison with other version control systems

Feature Forge Git Forgejo / Gitea SVN Mercurial
Model Change + signed operation log Commits, DAGGit platformcentral, revisionsCommits, DAG
Encryption End-to-end per tenant optional (third-party) optionalnoneoptional
Every action signed/auditable yes partly (GPG) partly no partly
Own package mirror / offline build yes —nonono
Code review integrated yes (CLI + browser) no yes no no
Deploy from the same tool yes (runner) no no no no
Self-hosting yes yes yes yes yes
Parallel working strands yes (strands) yes (branches) yes limited yes (branches)
Export to Git forge export --git native native —converter

Download · source code without password

Forge 1.2.2 — the version running on this server

Source code of server and client. The client is the forge CLI (Rust workspace), the server is the Django server. Both archives are free of secrets (no keys, no .env, no data).

Forge Server

forge-server.tar.gz · 1.2.2
Download

Forge Client (CLI)

forge-client.tar.gz · 1.2.2
Download

Documentation · user guide (no password)

The English documentation covers the architecture, components, security model, workflow, deploying on time (batch, windows), dependencies between projects, monitoring of ports, health and functions, the service map, the full CLI reference and a worked example. PDF and SVG diagrams can be downloaded below without a password.

Forge Guide · PDF

forge-guide.pdf · 1.2.2
Download

CLI handbook · PDF

forge-cli-handbook.pdf · 1.2.2
Download

forge.toml reference · PDF

forge-toml-reference.pdf · 1.2.2
Download

Data flow, encryption & backup · PDF

forge-data-flow.pdf · 1.2.2
Download

System overview

forge-system-overview.svg
Download

Service map

forge-service-map.svg
Download

Build overview

forge-build-overview.svg
Download

Workflow overview

forge-workflow-overview.svg
Download