Skip to content

Start here

Quickstart: install your first signed configuration

Start with a signed release from your organization, or follow the standalone CLI walkthrough below to create your own. Installation is an explicit action on your machine. A download or a signature does not prove installation or agent use.

Linux x64 with glibc 2.34 or newermacOS 11 or newer on Apple silicon or IntelTerminalStandalone path: no account needed

Install a signed release from GAL

When your organization has signed delivery enabled, open Configurations → Deliver to your own project in its dashboard. Choose a release and download its bundle and publisher public key. Members can download; an eligible organization administrator approves versions, signs releases and prepares rollback releases. Availability depends on the connected service; this guide does not announce a production launch.

First private pilot: start with AGENTS.md and CLAUDE.md. Choose where approval lives, review both files, approve the version and sign it separately. Use two disposable sample projects to check the same release, an update to both files and a new rollback release. Skills, hooks and native agent settings are not delivered. Keep existing provider controls and subscriptions unchanged.

  1. Confirm the publisher independently. Compare the complete public-key SHA-256 with GAL through a separate trusted channel. A matching download hash from the same service checks transport integrity, not independent trust. Do not create a new signing key for an organization’s existing release.
  2. Choose a supported destination on your machine. Use a directory you own with mode 0700. Review every delivered file and preserve existing unmanaged or modified files; the CLI refuses unsafe replacement. The web page cannot inspect this directory. Keep the downloaded key and bundle in the terminal’s working directory.
  3. Use the exact commands in the dashboard. They pin @gal-run/[email protected], bind the organization and stable channel, name the selected release and use your exact absolute directory. First compare the key hash, then run gal approved-config install and gal approved-config installed-status on that machine.
  4. Read the actual result. The customer’s machine reports its file state. The dashboard does not infer installation from downloads. Even matching files do not prove that a running agent loaded or followed those instructions.

Updates: install each later signed release in order. A skipped predecessor or older serial is refused. Reinstalling the identical current payload is idempotent; it is not a new rollout. For a first installation at a later release, a project must have no GAL installation record or unmanaged supported instruction files. The dashboard offers explicit enrollment using --enroll-payload-sha256. Independently confirm that exact payload before running the command; do not use enrollment to bypass an existing installation’s history.

Rollback: an administrator reviews the earlier files and confirms creation of a new, later rollback release. This preserves the current approved head and chosen Git or GAL authority; it installs nowhere. Each partner downloads and installs the new release in chain order. Edited files and removal of previously delivered paths remain refused.

If a write reports that durable storage could not be confirmed, its outcome is uncertain. Refresh before deciding what to do; do not blindly repeat it. A server-side disposable pilot is available only in local development and is not a customer deployment. Native permissions, sandbox controls, hooks, MCP and model settings remain under their provider.

Standalone walkthrough: before you start

  • Supported: Linux x64 with glibc 2.34 or newer and macOS 11 or newer on Apple silicon or Intel, with Node.js 20 or newer. Other operating systems and architectures are not supported yet. Checked on Ubuntu 24.04 x86_64 (glibc 2.39, Node.js 24) and macOS 26.5 on Apple silicon (Node.js 25), from the npm registry. See requirements.
  • Node.js 20 or newer and npm, with access to the public npm registry for step 1. The release script in step 3 needs only Node.js.
  • This guide uses no GAL account and no GitHub connection. To connect GitHub and record approvals in the dashboard, see where the dashboard fits at the end.

Install the CLI

npm install --global @gal-run/cli@latest
gal --version
Expected output
gal 0.1.0

gal 0.1.0 is the version of the program inside the package. The npm package version is 0.2.1.

Create your signing key

mkdir gal-quickstart && cd gal-quickstart
gal approved-config keygen --private-key publisher.pkcs8 --public-key publisher.pub
Expected output (your values differ)
{
  "keyid": "746742396ca4fe64...",
  "public_key_base64": "...",
  "status": "created"
}
  • publisher.pkcs8 is your private key, written with file mode 0600. Keep it off machines that only install releases.
  • publisher.pub is the 32-byte public key. A machine accepts a release only if it verifies against this file. Give it to machines through a channel you already trust, never from the release file itself.
  • The keyid is the SHA-256 of the public key file, so two people can confirm they hold the same key by comparing it.
  • Existing files are never overwritten. More in keys and trust.

Write and sign a release

A release lists exactly the files a machine should hold. First write the rules:

cat > AGENTS.md <<'EOF'
Use the approved internal dependency mirror.
Never commit secrets.
EOF

Then create the release file. A command that does this is not built yet, so this short script writes it. It reads AGENTS.md, computes its SHA-256 and writes release-1.json.

Show the script and run it
cat > make-release.mjs <<'JS'
import { readFileSync, writeFileSync } from "node:fs";
import { createHash } from "node:crypto";

// Usage: node make-release.mjs <serial> [verify output of the release being replaced]
const org = "my-org";
const channel = "default";
const serial = Number(process.argv[2]);
const previous = process.argv[3]
  ? JSON.parse(readFileSync(process.argv[3], "utf8")).payload_sha256
  : null;
const content = readFileSync("AGENTS.md", "utf8");
const iso = (d) => d.toISOString().replace(/\.\d{3}Z$/, "Z");
const now = Date.now();

const release = {
  schema: "gal.configuration-release/v1",
  org,
  channel,
  release_id: `release-${serial}`,
  serial,
  issued_at: iso(new Date(now - 60 * 1000)),
  expires_at: iso(new Date(now + 30 * 24 * 60 * 60 * 1000)),
  previous,
  rollback_of: null,
  files: [{
    path: "AGENTS.md",
    content,
    sha256: createHash("sha256").update(content, "utf8").digest("hex"),
  }],
};
writeFileSync(`release-${serial}.json`, JSON.stringify(release, null, 2) + "\n");
console.log(`wrote release-${serial}.json`);
JS
node make-release.mjs 1
Expected output
wrote release-1.json

Sign it:

gal approved-config sign --manifest release-1.json --private-key publisher.pkcs8 --output release-1.dsse.json
Expected output
{
  "bundle_sha256": "27dbd72f2f833438...",
  "status": "signed"
}

What the release file contains

FieldMeaning
orgA name for your organization. Use the exact spelling you pass to --org. Case matters.
channelA label for a stream of releases, for example default.
serialStarts at 1. Every later release must be higher.
previousnull for the first release. For a later release, the payload_sha256 that verify printed for the release being replaced. The script reads it from the verify output you save in step 4.
issued_at, expires_atThe release is valid between these times (UTC). The script uses one minute ago and 30 days ahead. A wrong clock makes the release invalid.
filesUp to three files: AGENTS.md, CLAUDE.md and .cursor/rules/gal.mdc, each at most once and up to 128 KiB.

CLI 0.2.1 supports these three file paths. Skills, settings, commands, hooks and MCP files cannot be carried by this CLI. More in signed releases.

Verify the release

gal approved-config verify release-1.dsse.json --public-key publisher.pub --org my-org --channel default | tee verify-1.json
Expected output (your hashes differ)
{
  "channel": "default",
  "org": "my-org",
  "payload_sha256": "ce38a19b3c71c051...",
  "release_id": "release-1",
  "serial": 1,
  "signer_keyid": "746742396ca4fe64...",
  "status": "verified"
}

The output is saved in verify-1.json. Its payload_sha256 identifies this exact release, and step 8 uses it.

Install into a protected folder

mkdir -m 700 managed-config
gal approved-config install release-1.dsse.json --public-key publisher.pub --org my-org --channel default --dir "$PWD/managed-config"
Expected output ends with
  ...
  "org": "my-org",
  "overall": "matching",
  "payload_sha256": "ce38a19b3c71c051...",
  "release_id": "release-1",
  "serial": 1,
  "status": "matching"
}

This example uses a new folder owned by you with mode 0700. The CLI writes AGENTS.md directly into the directory named by --dir (mode 0600) and keeps its own record in .gal-distribution; see the installation record. The destination can be a disposable existing project that meets the same ownership and permission requirements. Unmanaged supported files and edited managed files are refused; unrelated project files are not part of the release. GAL does not choose an agent’s working directory or change its native settings. Matching files do not prove that an agent loaded or followed them.

Check the result

gal approved-config installed-status --dir "$PWD/managed-config"
echo "exit code: $?"
Expected output
{
  "channel": "default",
  "files": [
    {
      "actual_sha256": "5557a5a83dbf827b...",
      "expected_sha256": "5557a5a83dbf827b...",
      "path": "AGENTS.md",
      "status": "matching"
    }
  ],
  "org": "my-org",
  "overall": "matching",
  "payload_sha256": "ce38a19b3c71c051...",
  "release_id": "release-1",
  "serial": 1,
  "status": "matching"
}
exit code: 0

You are done. This machine holds the release you signed, byte for byte.

See what drift looks likeOptional

printf 'edited\n' >> managed-config/AGENTS.md
gal approved-config installed-status --dir "$PWD/managed-config"
echo "exit code: $?"
Expected output (abbreviated)
... "status": "different" ...
Error: Installed configuration is not matching; inspect the JSON report
exit code: 1

A machine never repairs itself. Installing a release over an edited file is refused with Error: managed configuration differs: AGENTS.md. Restore the exact bytes to continue. Here, delete the line you added:

sed -i '$d' managed-config/AGENTS.md
gal approved-config installed-status --dir "$PWD/managed-config"
Expected output (abbreviated)
... "overall": "matching" ...

Publish an updateOptional

printf 'Prefer the internal mirror for every dependency.\nNever commit secrets.\n' > AGENTS.md
node make-release.mjs 2 verify-1.json
gal approved-config sign --manifest release-2.json --private-key publisher.pkcs8 --output release-2.dsse.json
gal approved-config install release-2.dsse.json --public-key publisher.pub --org my-org --channel default --dir "$PWD/managed-config"
Expected output (abbreviated)
wrote release-2.json
... "release_id": "release-2", "serial": 2, "status": "matching" ...

An update is always an explicit install on each machine.

What you just proved

A valid signature shows that the files are exactly the ones signed by the holder of your key. It does not show that the instructions are safe, or that any coding agent loaded or followed them.

Where the dashboard fits

The standalone CLI flow above remains independent of a GAL account. The dashboard connects reviewed configurations to signed releases. The local development service also offers an isolated server-side pilot; partner delivery uses downloads and the customer’s own CLI as described above. On 23 October 2026, its three paths were exercised through the actual dashboard, API and CLI using isolated development data. This verifies the local workflow; it does not establish public-service availability or remote GitHub access.

  1. Choose the organization’s authority. GAL-managed configuration is versioned and approved in GAL. Git-managed configuration derives from the selected approved branch. GAL proposals cannot approve themselves or write to that branch.
  2. Prepare real content. Write supported instruction files, read an accessible Git revision, or import an authorized provider document. Supported paths are AGENTS.md, CLAUDE.md and .cursor/rules/gal.mdc. No default template is adopted for you.
  3. Review before acceptance. Exact file text, content digests, source revision and any migration gaps must be available. A changed head or authority revision requires a fresh review. Importing an export does not approve it.
  4. Sign separately. The local service creates a release from the approved version with its isolated signing key. A version and a signed release are different records.
  5. Preview one project, then install. In the local-development pilot only, review the exact destination, release digest and current installation before explicitly approving. The CLI refuses an unsafe overwrite. Check installed files again after the operation.
  6. Keep the signed chain intact. If an installed project has missed a release, review and install each required predecessor in order. An empty project can instead start at a later release through a separate, explicit enrollment review bound to that release’s exact payload. Neither action happens automatically.
  7. Restore using a later release. Rollback republishes earlier bytes with a higher serial and explicit history. It does not erase a running agent’s context. Removing a previously managed path is not supported; a retained file can be intentionally emptied after review.

Manual provider migration

Claude Code JSON and authored Codex TOML are separate input formats. Codex requirements and defaults must be identified accurately; one document does not capture all assignments, scope or ordering. GAL inventories each supported input, preserves a sanitized source record and digest, and labels unsupported controls. Credentials must not be imported.

The supported Codex instruction key is additional_developer_instructions in requirements.toml, or developer_instructions in config.toml defaults. An instruction key in the wrong document is not delivered. Claude Code’s supported claudeMd text becomes an ordinary CLAUDE.md file. Importing any of these documents does not authenticate its origin, verify a provider-admin export, or establish that it contains every effective setting.

Only a reviewed instruction-file subset can become a release. Authored Claude instruction text is copied into an ordinary CLAUDE.md file; supported Codex instruction text is copied into AGENTS.md. These files do not retain provider-managed, requirement or default status. Native sandbox rules, permission controls, model restrictions, hooks and MCP configuration do not gain equivalent enforcement by becoming a GAL record. Your provider remains authoritative for those controls. Do not disable it as part of this pilot.

Access and verification limits

On 23 October 2026, the local service and signed-in dashboard successfully read one authorized private GitHub development repository, including its approved commit and exact file bytes. This is evidence for that selected repository, not access to every repository or a production-readiness claim.

Each organization needs an existing configuration repository with a supported instruction file, plus a GAL App installation with Contents: read-only and access to that repository. The organization chooses its approved branch. GAL reads it; proposals still require your normal pull request, review and merge process. A local controlled Git fixture is separate evidence and is never substituted for a remote read.

Real sign-in, organization membership and the existing legal-acceptance gates remain required. If permission, repository selection or the approved branch changes, refresh and resolve the reported access problem before signing a release.

The local pilot’s file check covers one isolated project. Fleet reporting and automatic synchronization are not provided. The observation command below still prints a local report; the device label is supplied by you, not an authenticated identity.

gal approved-config observe --dir "$PWD/managed-config" --device-id my-workstation
Expected output (abbreviated)
{
  "device_id": "my-workstation",
  "observed_at": "2026-10-21T15:44:00.005133047+00:00",
  "schema": "gal.configuration-observation/v1",
  "status": { ... "overall": "matching" ... }
}

Next steps

  • Install on a second machine. Copy release-1.dsse.json and publisher.pub to it through a trusted channel, then run steps 1, 4, 5 and 6 there. If the first release a machine receives is a later one (serial above 1), the install is refused with first enrollment cannot declare a previous release or rollback unless you pass --enroll-payload-sha256 <value>. The value is the payload_sha256 that verify printed for that release. Get it from the publisher through a separate trusted channel, and never copy it from the release file you are about to install.
  • Read keys and trust before sharing publisher.pub with a team.
  • If a command fails, look up its exact message in troubleshooting.

Every shell block on this page, except the npm install line, was extracted from the rendered page and run in order in a fresh folder against CLI 0.2.1 on 2026-10-21. Output values marked with "..." are shortened and differ on every run. Installing the CLI without network access has not been tested.

Checked against CLI 0.2.1 on 2026-10-21 (Ubuntu 24.04 x86_64 (glibc 2.39, Node.js 24) and macOS 26.5 on Apple silicon (Node.js 25), from the npm registry).