← Latest papers
💻 computer science

Federated Computing as Code (FCaC): Sovereignty-aware Systems by Design

This paper introduces Federated Computing as Code (FCaC), a declarative architecture that enforces sovereignty-critical constraints in distributed systems by compiling authority into cryptographically verifiable artifacts and proof-carrying capabilities, thereby replacing reliance on runtime policy evaluation with local boundary verification.

Original authors: Enzo Fenoglio, Philip Treleaven

Published 2026-03-19
📖 6 min read🧠 Deep dive

Original authors: Enzo Fenoglio, Philip Treleaven

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are part of a group of hospitals, banks, or research labs that all want to solve a big problem together (like finding a cure for a disease or predicting market crashes). The problem is that no one wants to share their secret data. Hospital A can't send patient records to Hospital B because of privacy laws, and Bank X can't show its transaction logs to Bank Y because of security rules.

Usually, to solve this, everyone has to trust a "middleman" (a central server) or sign a bunch of legal contracts that are hard to check later. If the middleman gets hacked or the contracts get confusing, the whole system breaks.

Federated Computing as Code (FCaC) is a new way to solve this. Think of it as giving every participant a magic, unforgeable passport that travels with the computation, not the data.

Here is how it works, broken down into simple analogies:

1. The Problem: The "Trust Me" System

Right now, if Hospital A wants to run a test on Hospital B's data, Hospital B has to say, "Okay, I trust you, and I trust the central computer we are both using."

  • The Flaw: If the central computer is slow, hacked, or if the rules change, Hospital B might accidentally let Hospital A do something they shouldn't. It's like letting a stranger into your house because you trust the doorman, but you never actually check their ID yourself.

2. The Solution: The "Magic Passport" (FCaC)

FCaC changes the game. Instead of asking a central doorman for permission every time, the rules are baked into a digital passport (called an Envelope Capability Token or ECT).

  • The Passport: This isn't just a piece of paper; it's a cryptographically sealed digital envelope. It says: "I am allowed to run a specific math test on this specific data, but ONLY between 9 AM and 5 PM, and ONLY if the result is an average, not the raw names."
  • The Magic: This passport is created using "Code." The rules are written in a language that computers can read perfectly, leaving no room for human error or "oops, I forgot that rule."

3. The Three-Step Security Chain

To make sure this passport is real and being used by the right person, FCaC uses a three-part security chain (like a high-tech bouncer checking a VIP list):

  1. Key Your Organization (KYO) - "Who are you?"
    • Imagine every hospital has a unique, unbreakable digital seal (a cryptographic key) that proves they are who they say they are. Before anyone gets a passport, they must prove they own this seal. This replaces the need for a central government to vouch for them.
  2. The Passport (ECT) - "What can you do?"
    • Once the hospital proves who they are, they get a passport. This passport lists exactly what they are allowed to do. It's like a ticket that says "Entry to the Gym, but only for swimming, not for weightlifting." If you try to go to the weightlifting room, the ticket is invalid.
  3. Proof of Possession (PoP) - "Are you holding it right now?"
    • This is the most clever part. Just having the passport isn't enough; someone could steal it. So, every time the hospital wants to run a test, they must sign a digital "handshake" with their private key. This proves they are the one holding the passport at this exact moment. It's like showing a photo ID that changes every second so a thief can't use a stolen copy.

4. The Two Types of Rules

The paper makes a very important distinction between two types of rules:

  • Constitutional Rules (The Passport Check): These are the hard, unchangeable rules that happen at the border. Can this person enter? Do they have the right ticket? This is checked instantly and automatically using the magic passport. No human needs to be involved.
  • Procedural Rules (The Inside Rules): Once the person is inside, the local rules still apply. Is the gym crowded? Is the water too cold? Do we need to check their medical history again? These are handled by the local system after the passport check. FCaC doesn't try to control these; it just ensures the person is allowed to get through the door in the first place.

5. Why This is a Big Deal

Think of it like Infrastructure as Code (writing instructions for building a house) but for Trust.

  • Old Way: You build a house, then hire a security guard to check everyone's ID every time they enter. If the guard is tired or the ID list is wrong, someone gets in who shouldn't.
  • FCaC Way: You build the door itself so that it only opens if you have a specific, mathematically perfect key that matches the lock. The door doesn't need a guard; the lock does the work.

The Real-World Example in the Paper

The authors tested this with a fake scenario using MNIST (a famous dataset of handwritten numbers).

  • Scenario: Hospital A has data on "Even Numbers" and Hospital B has data on "Odd Numbers."
  • The Test: They created a system where a researcher could only run a training model on "Even Numbers."
  • The Result: When the researcher tried to run a model on "Odd Numbers" (or tried to steal the raw data), the system instantly rejected them because their digital passport didn't have the right "Even Number" stamp on it. The rejection happened automatically, without a human checking logs or calling a manager.

Summary

Federated Computing as Code is about moving trust from "hoping the system works" to "mathematically proving the rules are followed."

It allows different organizations to collaborate on sensitive data without ever sharing the data itself. It replaces shaky human agreements and centralized servers with digital passports that are impossible to forge, impossible to ignore, and automatically checked at every step of the journey. It's like giving every data packet a bodyguard that knows exactly where it's allowed to go and stops it if it tries to go anywhere else.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →