# Plan a government's air-gapped installation

For an agency team: rehearse offline delivery, officer unseal and dual control, choose the policy pack, and build an evidence pack auditors verify without trusting the vendor.

For: A government agency's team, working inside its own isolated environment. Works with [Aegis Core](https://docs.qblackbit.com/quickstart/core.md). The human version of this brief is the guide [plan a government's air-gapped installation](https://docs.qblackbit.com/guides/government.md).

Copy everything in the block below into your agent.

```text
Brief for my AI agent: Plan a government's air-gapped installation with Aegis by qblackbit (Aegis Core, on our own machines)
Source: https://docs.qblackbit.com/prompts/government (version 1, 2026-12-04)

GOAL
Help our agency's team plan and rehearse an air-gapped Aegis Core installation and the first post-quantum migration steps under the national policy we follow, and produce evidence our auditors can verify without trusting you or the vendor.

WHAT AEGIS IS
Aegis is qblackbit's post-quantum cryptography platform. Aegis Cloud (Free and Pro, at https://aegis.qblackbit.com) holds an organisation's keys in Aegis Core and exposes key creation, signing, verification, key encapsulation and hashing through an HTTPS API, with ML-DSA (FIPS 204), ML-KEM (FIPS 203) and SLH-DSA (FIPS 205) and hybrids such as X25519 + ML-KEM-768. Aegis Core (Enterprise) runs the same engine and vault on the customer's own machines, air-gapped if needed, with no connection to qblackbit.
Before you start, read https://docs.qblackbit.com/llms.txt and the pages it links to; https://docs.qblackbit.com/llms-full.txt has every page in one file. What is built and what is planned: https://docs.qblackbit.com/overview/status.

WHAT YOU ARE WORKING WITH
- Aegis Core (Enterprise) runs on our own device with no connection to the internet or to qblackbit. Releases arrive as signed bundles (.aegisbundle files) on physical media; the standalone aegis-verify checks a bundle offline against the update root whose SHA-256 we receive by a second route (letter, call or contract annex).
- You run inside our isolated environment, or you work only from the documents and test data I give you. Nothing leaves the environment.
- Built-in policy packs: baseline, us-nist-ir8547, us-cnsa-2.0, de-bsi-tr02102 and fr-anssi-hybrid. National algorithm modules run only under their own country's profile, and only where a citable standard exists.

CHOOSING ALGORITHMS: QBLACKBIT HYBRID PROFILES
For each job (TLS, data at rest, archives, messaging, IoT, VPN, and signatures for code, firmware, documents, certificates, tokens or blockchains), pick the qblackbit hybrid profile at the level the data needs from https://docs.qblackbit.com/profiles/ and use exactly the algorithms and parameters its specification names, checked against its test vectors. Asking Aegis for a profile by name is Planned, so name the profile in your plan and the algorithms in the calls. If the catalogue is not published yet, use the algorithms this brief names, and say which profile you would have picked once it is.

STEPS (stop after each step that changes something and wait for my approval)
1. Write the transfer procedure as a two-person checklist: on the transfer station, compare the root's SHA-256 with the value received by the second route, run aegis-verify <bundle> --trusted-root 1.root.json and compare the bundle's SHA-256; on the Aegis host, import with aegis update import, apply with aegis update apply and a health check (--health-command "{release}/bin/aegisd selftest"), and commit with aegis update commit only after the soak period.
2. Rehearse a rollback in the test installation (aegis update rollback) and record what the status shows (aegis update status).
3. Plan the vault's unseal by officers: Shamir shares handed in one by one with POST /v1/sys/unseal (progress with GET /v1/sys/unseal), who holds each share, and the dual-control rules for destroy, export and access changes (GET /v1/sys/access/policy). Officers handle shares and passphrases themselves; you never see them.
4. With the policy owner, choose the pack; activate it in the test installation with POST /v1/policy/activate and give the network teams the code points from GET /v1/policy/protocols.
5. Rehearse the core operations with test keys: POST /v1/keys; POST /v1/keys/{name}/sign and POST /v1/keys/{name}/verify; POST /v1/tools/encapsulate and POST /v1/keys/{name}/decapsulate; POST /v1/keys/{name}/encrypt and POST /v1/keys/{name}/decrypt; POST /v1/keys/{name}/rotate followed by a re-wrap job (POST /v1/rewrap/jobs).
6. Assemble the evidence pack: the audit export (GET /v1/audit/export) and a signed checkpoint (GET /v1/audit/checkpoint) checked offline with aegis-verify audit; the licence state (GET /v1/sys/licence); the release's SBOM, CBOM and build provenance from the verified bundle.
7. Write the migration roadmap per class of system, with the dates our regulator sets, citing each source.

HOW TO VERIFY SUCCESS
- aegis-verify accepts the bundle against the root whose digest came by the second route, and refuses a copy with one byte changed.
- The rollback rehearsal returns to the previous release, and aegis update status records it.
- The audit chain verifies offline with aegis-verify audit, and every rehearsed operation is in it.
- No share, passphrase, token or production data appears in any output.

SAFETY RULES (follow every one)
- Never ask me to paste a secret into this chat, and never print, log or commit one: API keys, tokens, passwords, private keys, passphrases, unseal shares, shared secrets. Read each from an environment variable or a file that I set up myself.
- Show me every change as a diff and apply nothing until I approve it. Do not push, deploy or publish anything.
- Keep the classical algorithms working beside the post-quantum ones until the new path is verified in tests and then in production. Never delete, disable or rotate away an existing key, certificate or setting in this task.
- Use only the endpoints, commands and options written in the qblackbit docs (llms.txt). If something you need is marked Planned, or you cannot find it there, stop and tell me; never invent an endpoint, package, flag or algorithm name.
- In anything you write, name the standard algorithm that protects each thing (for example ML-DSA-65, FIPS 204). Never call anything quantum-proof, and never claim a certification or an audit.
- Use a token made for this task: an administrator issues it with POST /v1/sys/tokens with the operator role (auditor if the task only reads), a scope limited to the routes, operations and key names of this task, and expires_in of a few hours (for example 14400 seconds). It is shown once and stored in a file you can read. When we finish, the administrator revokes it with POST /v1/sys/tokens/{name}/revoke.
- Work only against the installation and tenant I name, with test data. Never send production or customer data anywhere, including this chat.
- Never approve a request under dual control yourself. When a call answers 202 with an approval, stop: a person who may perform that operation decides.
- Never connect anything to the internet for this work, and never propose a step that needs a connection to qblackbit: Aegis Core has none.
- Never call system routes that change the installation (seal, rekey, backups, switches, tenants, updates) except the exact rehearsal steps I ask for.

NOT AVAILABLE YET (do not try to use these)
- Production release signing with the roots made at the key ceremony is Planned: the ceremony has not been held yet. Until then, verify against the root qblackbit gives you and confirm its digest by a second route.
- The trusted root compiled into aegis-verify, optional online update checks, and HSM- or TPM-held root keys are Planned.
- A customer's own sovereign algorithm module is Planned.

WHEN YOU FINISH
Report what you found (as a table), each change you made with my approval, how you verified it, and what is left, including anything that waits for a planned feature. Remind me to revoke the credential you used.
```

## How to use it

1. Make the credential the brief asks for yourself, and put it in an environment variable or a file the agent can read. Never paste it into the chat.
2. Paste the brief into your agent (Claude Code, Codex, Cursor, Copilot or any other) in the repository or folder it should work in.
3. Review each diff the agent shows you before you approve it. Keep the classical path until the new one is verified.
4. When the work is done, revoke the credential.

## What the brief contains

- **Goal:** Help our agency's team plan and rehearse an air-gapped Aegis Core installation and the first post-quantum migration steps under the national policy we follow, and produce evidence our auditors can verify without trusting you or the vendor.
- **Steps:** 7, each with the exact endpoints or commands to use.
- **Checks:** 4 ways to verify success.
- **Safety rules:** never paste secrets into chat, a credential made for the task, diffs reviewed before they apply, classical fallbacks kept until verified.
- **Not available yet:** 3 items marked Planned, so the agent does not try to use them.
