Cogneris
Environmental Compliance & Inspection

Intent · Every environmental obligation current and evidenced — zero reportable exceedances at Woodbine (UTS).

Operating tolerance: issues closed in ≤ 5 days · no repeat findings · every permit condition met.

← Documentsdocs/ARCHITECTURE-separation-of-authority-and-capability.md1,823 words

Separation of authority from capability — the nuclear command chain as a security model

  • Added to the corpus: 2026-08-07 · Claude Opus 5 (Claude Code, session 58cff4ff), at Pete's instruction.
  • PROVENANCE — read this before citing it. Parts 1–5 and "the deeper security logic" below are an external position piece supplied by Pete and reproduced substantially verbatim (formatting repaired only). Its footnote links carry utm_source=chatgpt.com, so treat it as an LLM-assisted essay whose cited sources are real and checkable but whose claims have not been independently verified here. Its own closing caveat is the important one and is repeated at the top for emphasis: much of the actual modern procedure is classified, so this describes the publicly documented architecture, not the operational implementation.
  • The CRS and Arms Control Association sources it cites are genuine. The interpretation is the author's.
  • Part 6 is this session's addition — where ESG as built already implements this principle, and where it does the opposite. It is the only part written from the code.
  • Companion piece: docs/ARCHITECTURE-high-assurance-and-zero-authority.md. This document is the worked example of that one's §1 ("eliminate master credentials") and §9 ("separate knowledge from authority").

The U.S. nuclear authentication system is best understood as a chain of trust, not as the President typing a password that directly launches a missile.

The President has sole authority to authorize U.S. nuclear use. Current Congressional Research Service guidance says the President identifies himself to military officials using codes unique to him, reportedly carried on a card commonly called the "biscuit." The nearby "nuclear football" is different: it supports emergency communications and provides information about response options.

Conceptually, it works like this:

PRESIDENT
    │  1. Makes decision
    ▼
AUTHENTICATION            "Prove you are actually the President"
    │  Presidential credential / "biscuit"
    ▼
COMMAND AUTHORITY CONFIRMED
    │  2. Selected military order is formulated
    ▼
NC3 / STRATCOM
    │  3. Authenticated command transmitted
    ▼
NUCLEAR FORCES
    │  4. Receiving crews independently authenticate the order
    ▼
EXECUTION PROCEDURES

That distinction is extremely important.

1 · The biscuit proves identity

Suppose someone somehow got access to a secure presidential communications channel and said:

"This is the President. Launch."

That is insufficient. The command system has to establish that the speaker is the authorized Commander in Chief. The President provides the appropriate authentication information from his presidential credential. The receiving military command compares that against its authentication system.

It is therefore conceptually similar to a very high-assurance challenge-response credential.

It does not mean:

123456  →  missile launches

It means:

credential  →  IDENTITY VERIFIED

CRS explicitly describes the purpose as identifying the President to military officials before the launch order proceeds.

2 · Authentication is different from authorization

This is a security principle worth separating. There are three different questions:

  • Authentication — Are you really the President?
  • Authorization — Does this person possess the constitutional authority to issue this type of order?
  • Execution — Is the order received by the military authentic, and what exactly are the forces being directed to do?

So the security model is approximately:

Identity → Authority → Command → Authentication → Execution

The President's credential primarily addresses the first portion. His constitutional position supplies the authority. The NC3 system supplies the secure command chain. The military units have additional authentication mechanisms.

3 · The Pentagon/STRATCOM creates the actual military order

Once the President has been authenticated and has selected an action, the military command-and-control system translates the presidential direction into the appropriate command messages. CRS describes STRATCOM as implementing the presidential order and preparing the forces required for the selected option.

This is another security boundary:

President:        "I authorize option X."
      ↓
Command system:   constructs authenticated military orders
      ↓
Operational units: receive those orders

The President isn't manually entering coordinates into an ICBM system.

4 · The missile crews authenticate the message again

This is probably the cleverest aspect from a security-architecture perspective.

A missile crew doesn't simply receive FROM: PRESIDENT / LAUNCH NOW and trust it. The receiving forces have their own authentication procedures for determining that the order is genuine.

Public descriptions refer to mechanisms such as sealed authentication information and other cryptographic/procedural controls. The precise current operational protocols remain classified. [1]

So there are effectively separate trust domains:

Presidential identity
        ↓
National command authority
        ↓
NC3 communications
        ↓
Command-message authentication
        ↓
Unit authentication
        ↓
Weapon-control procedures

A compromise of one step is therefore not supposed to automatically defeat every other step.

5 · There are also multiple-person controls below the President

Once you get down into the operational nuclear force, the system deliberately avoids giving one individual unilateral physical control.

Publicly documented nuclear safeguards include two-person control and other procedural and technical protections intended to prevent accidental or unauthorized use. The broader NC3 architecture is explicitly designed both to permit authorized employment and to prevent accidental, inadvertent, or unauthorized nuclear use.

That's essentially:

President → AUTHENTICATED DECISION → AUTHENTICATED COMMAND
          → MULTIPLE OPERATORS → WEAPON AUTHORIZATION CONTROLS → EXECUTION

The deeper security logic

There is a very sophisticated idea underneath the system:

The credential proving authority should not itself possess the physical capability being controlled.

Think about the alternatives. A terrible design would be:

President possesses universal launch key
               ↓
key directly unlocks nuclear weapons

Lose the key and you have an existential problem. Instead, conceptually:

Presidential credential → proves identity → Command authority
   → authenticated command → different credentials
   → different operators → different technical controls

No single credential travels all the way down the chain. That is separation of authority from capability.

And it relates directly to the security architecture we were discussing earlier. For an extremely high-security enterprise system, you wouldn't want:

CEO password  →  CEO has everything

You would want something much closer to the nuclear-command principle:

CEO identity          → authenticated
CEO authority         → verified
Declared intent       → authorized
Specific transaction  → cryptographically signed
Policy engine         → independently validates
Execution service     → receives narrow capability
State Ledger          → records immutable evidence

The CEO's credential could authorize a $2 billion transaction, for example, without the CEO ever possessing the database key, payment-system root credential, or HSM private key.

That is an extremely important architectural principle:

Authority ≠ credentials ≠ capability ≠ execution.

Keeping those four things separate is one of the foundations of genuinely high-assurance security.

One caveat: much of the exact modern nuclear authentication and execution procedure is classified, so any detailed public diagram inevitably describes the publicly known architecture rather than the complete operational implementation. CRS's January 2026 description emphasizes that NC3 exists both to transmit presidential orders and to prevent unauthorized or accidental nuclear use. [2]

Sources cited by the piece

  1. Arms Control Association — Strengthening Checks on Presidential Nuclear Launch Authority · <https://www.armscontrol.org/act/2018-01/features/strengthening-checks-presidential-nuclear-launch-authority>
  2. Congress.gov / CRS — Defense Primer: Nuclear Command, Control, and Communications (NC3), IF11697 · <https://www.congress.gov/crs-product/IF11697>

Part 6 · Where ESG already does this, and where it does the opposite (2026-08-07)

Written from the code by this session. The result is genuinely mixed, and the mix is instructive: the event contract implements this principle well; the console's front door inverts it.

Already aligned — and not by accident

A signature, not a bearer token, authenticates a captured event. This is §1 and §4 of the piece, implemented. From packages/esg-event-envelope/src/envelope.ts:

*"The gateway verifies sig against the enrolled device public key — the SIGNATURE, not any bearer token, authenticates a captured event, so an offline queue past token expiry stays valid."*

The credential that proves identity (device key) is separate from the channel credential that grants access. An expired access token does not invalidate an already-signed record — exactly the property that lets the crew authenticate the order independently of how it arrived.

Two-person control exists, at the point it matters. apps/esg-field/lib/signature/ records a sign-off as two InspectionSigned events — inspector and countersignatory — with missingSignedEvents reconciling an interrupted pair on mount so a half-captured signature is never silently accepted as complete. That is §5 in the field.

A machine cannot author a record without a human root. SystemActor.upstreamRef is REQUIRED, never optional — a scheduled or derived event must reference the human-authored provenance upstream. From the contract:

*"the structural guarantee that no system-generated event exists without a human-authored provenance root — machine-drafted work is honestly system-authored, never dressed as a person, yet always traceable to an accountable human decision."*

This is the piece's "authority ≠ execution" made structural: a job can execute, but its authority is always a pointer to a person. It is also §9 of the companion document — separate knowledge from authority — already enforced by the type system rather than by policy.

Three actor classes, never collapsed. Device / service+human / system are distinct envelope classes. A system event must not wear a spoofed human identity. Separate trust domains, in the data model.

Doing the opposite

The device credential is the "universal launch key" the piece warns about. ESG_DEVICE_TOKENS is a single shared secret that proves identity and grants write capability and is the same value on every handset carrying that build. It travels the whole chain. Per docs/OPS-device-credential.md it is per-build, not per-device, and cannot be revoked for one handset. That is precisely CEO password → CEO has everything, scaled down.

There is no independent policy engine. Validation narrows what may be stored (app/api/ncrs/route.ts); authorization decides who may call. Nothing independently validates that this actor, for this declared purpose, may cause this specific state transition. The requester and the authorizer are the same code path.

Authority is not separated from capability anywhere in the console. Presenting the token is sufficient to write. There is no second authentication at the point of execution — no analogue of the crew re-authenticating the order.

What the analogy is actually worth

  1. It names the fix for the credential we have. The next step is not a stronger shared token — it is a token that proves identity and a separate, narrower thing that grants capability. The seam is deviceToken(), already named in OPS-device-credential.md.
  2. The event contract is the model to copy, not to replace. ESG already has the good pattern in one place. The work is extending it to the front door, not inventing it.
  3. Two-person control is real here and should be said out loud. In a compliance product, "a sign-off requires two signatures and an interrupted pair reconciles rather than silently completing" is a stronger statement than most competitors can make.
  4. Do not over-claim the analogy. NC3 is a classified system described publicly in outline. Using it as a design vocabulary is legitimate; implying ESG is built to that standard is exactly the kind of claim POSITION-quantum-security-and-identity.md §P3 forbids.