guide to agentprivacy
Browse collections
โœจVisualise
Connect with Star
Your VTA, your chosen perspective

The planned connection uses your VTA and the Trust Spanning Protocol to carry a scoped exchange for you or your agent. You choose what is presented; the receiving service checks the request before a view is shared.

This guide has no VTA connection adapter yet. Opening Star does not connect an identity or send a key.

Open Star โ†— ยท Inspect your City Key โ†—
guide / Skill / Dual Territory

Dual Territory

Category role ยท Version 5.3.2

Equation term Territory(S) โŠฅ Territory(M) connected by Ceremony(C)

Dual-territory ceremony architecture specification. Activates when discussing Swordsman/Mage separation at infrastructure level, three territories (Spellweb, Agentprivacy, Bgin), ceremony channels, or territory sovereignty.

Source: Privacy Value Model V5.2 + Dual Territory Ceremony Specification v1.0
Target context: Infrastructure architects, protocol designers, separation specialists
Architecture: spellweb.ai + agentprivacy.ai ยท Contact: mage@agentprivacy.ai

What this is

The dual-territory architecture enforces Swordsman/Mage separation at the infrastructure level. This is not metaphor or best practice โ€” it is hard separation through distinct processes, storage, permissions, and repositories.

Two kingdoms share a river. Neither owns the water, but both drink. The ceremony is the riverbed.

The Core Rule

The Swordsman and Mage NEVER merge.

This applies at every level:

  • Protocol
  • Extension
  • Website
  • Visual rendering
  • Database
  • Repository
  • Deployment

Violation of this rule collapses the sovereignty gap.

The Three Territories

1. Spellweb Territory (Swordsman)

Domain: spellweb.ai
Owner: Soulbis (privacyswordsman.eth)
Purpose: Enforcement, boundaries, topology

Contains:

  • Blade forge
  • Hexagram computations
  • Constellation topology
  • Cut segments
  • Signing key operations

Does NOT contain:

  • Story content
  • Persona definitions
  • Training materials
  • User preferences

2. Agentprivacy Territory (Mage)

Domain: agentprivacy.ai
Owner: Soulbae (privacymage.eth)
Purpose: Delegation, projection, storytelling

Contains:

  • Spellbook content
  • Persona configurations
  • Training ground
  • Path page
  • Pretext orbs
  • User journey state

Does NOT contain:

  • Signing keys
  • Topology enforcement
  • Boundary verification
  • Cut operations

3. Bgin Territory (Third Node)

Domain: bgin.ai
Owner: Neutral third party
Purpose: Trust graph, verification anchor

Contains:

  • Trust graph plane
  • Cross-territory verification
  • Neutral attestations
  • Dispute resolution anchors

Does NOT contain:

  • Either party's private state
  • Content or enforcement logic
  • User data

Separation Layers

Layer 1: Process Separation

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Swordsman Proc  โ”‚     โ”‚   Mage Process  โ”‚
โ”‚                 โ”‚     โ”‚                 โ”‚
โ”‚ PID: separate   โ”‚     โ”‚ PID: separate   โ”‚
โ”‚ Memory: isolate โ”‚     โ”‚ Memory: isolate โ”‚
โ”‚ Threads: own    โ”‚     โ”‚ Threads: own    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚       IPC only        โ”‚
         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Layer 2: Storage Separation

Swordsman Storage        Mage Storage
โ”œโ”€โ”€ blades/              โ”œโ”€โ”€ spells/
โ”œโ”€โ”€ topology/            โ”œโ”€โ”€ personas/
โ”œโ”€โ”€ cuts/                โ”œโ”€โ”€ journeys/
โ””โ”€โ”€ keys/ (encrypted)    โ””โ”€โ”€ preferences/

NO SHARED STORAGE

Layer 3: Permission Separation

Permission Swordsman Mage
Sign transactions Yes No
Read content No Yes
Enforce boundaries Yes No
Project personas No Yes
Access trust graph Verify only Query only
Modify topology Yes No
Modify content No Yes

Layer 4: Repository Separation

github.com/org/spellweb     (Swordsman)
github.com/org/agentprivacy (Mage)
github.com/org/ceremony     (Shared protocol only)

No cross-repository dependencies except ceremony protocol.

Ceremony Channel

Purpose

The ceremony channel is the ONLY communication path between territories.

Protocol

interface CeremonyMessage {
  type: 'SLASH' | 'WARD' | 'INSCRIBE' | 'SCAN';
  payload: SignedPayload;
  ceremony_id: string;
  timestamp: number;
  territory_origin: 'swordsman' | 'mage';
}

Message Types

Swordsman โ†’ Mage:

  • SLASH: Boundary enforced, access revoked
  • WARD: Protective perimeter established

Mage โ†’ Swordsman:

  • INSCRIBE: Request to record understanding
  • SCAN: Request to verify without modification

Security Properties

  1. Typed messages: No arbitrary data exchange
  2. Signed payloads: Origin verified
  3. Ceremony scoped: Messages tied to specific ceremonies
  4. Auditable: All messages logged (but content not exposed)
  5. Atomic: Ceremonies succeed or fail completely

Browser Extension Architecture

Two Extensions, Never One

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Swordsman Extension     โ”‚    โ”‚ Mage Extension          โ”‚
โ”‚ ID: abc123...           โ”‚    โ”‚ ID: xyz789...           โ”‚
โ”‚                         โ”‚    โ”‚                         โ”‚
โ”‚ Permissions:            โ”‚    โ”‚ Permissions:            โ”‚
โ”‚ - webRequest            โ”‚    โ”‚ - storage               โ”‚
โ”‚ - cookies               โ”‚    โ”‚ - tabs                  โ”‚
โ”‚ - declarativeNetRequest โ”‚    โ”‚ - activeTab             โ”‚
โ”‚                         โ”‚    โ”‚                         โ”‚
โ”‚ CANNOT: read page text  โ”‚    โ”‚ CANNOT: block requests  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
             โ”‚    chrome.runtime.sendMessage โ”‚
             โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Why Two Extensions?

  1. Permission isolation: Each extension has minimal required permissions
  2. Audit clarity: Clear which extension does what
  3. Failure isolation: One extension failing doesn't compromise the other
  4. Update independence: Can update separately

Visual Separation

Even UI must maintain separation:

Element Swordsman Mage
Primary colour Steel blue Warm gold
Icon shape Angular, blade-like Curved, orb-like
Animation Sharp, decisive Flowing, smooth
Feedback Binary (blocked/allowed) Gradient (progress)

Users should ALWAYS know which territory they're interacting with.

Mapping to PVM-V5.2

Territory Concept PVM Term
Dual territory ฮฆ_agent separation
Ceremony channel Bounded leakage
Bgin third node h(ฯ„) integrity anchor
Process isolation R_max < 1 enforcement
Permission separation Three-axis ฮฆ
Repository separation Codebase sovereignty

Proverb

"Two mirrors make a door. The Swordsman reflects. The Mage reflects. And where the reflections meet, the First Person walks through โ€” not into another reflection, but into the next step of who they are becoming."

Secondary:

"Two kingdoms share a river. Neither owns the water, but both drink. The ceremony is the riverbed."

Emoji Spell

โš”๏ธ(neg) โŠ• ๐Ÿง™(bnot) โ†’ ๐Ÿ˜Š(succ) ยท โฌขDโ‚‚โ‚™ ยท ๐Ÿ“(datum,stratum,spectrum) ยท 96=Atlas=โˆ‚M ยท ๐Ÿ”„(queryโ†’resolveโ†’close) ยท ๐Ÿ•ธ๏ธโˆฉ๐Ÿ”ขโˆฉโš–๏ธ = 1

The Swordsman subtracts. The Mage flips. Their composition is the path.

PRISM Triadic Coordinates

The dihedral mirror reveals the triadic coordinate system for addressing any sovereignty configuration:

Coordinate Constraint Meaning
Datum Identity The value itself. Binary encoding of the blade (hex).
Stratum Magnitude Hamming weight. How many dimensions active (0-6).
Spectrum Structure Which dimensions are active. The sovereignty posture.

GPS for sovereignty: Three coordinates fix any blade in the 64-vertex lattice. Collapse one and the blade shatters.

Open Problems

  1. Synchronisation: How to keep territories consistent without shared state?
  2. Failure Modes: What happens when one territory is down?
  3. Migration: How to migrate users between territory versions?
  4. Mobile: How to maintain separation on mobile platforms?
  5. Decentralisation: Can territories be run by different operators?

Provenance

Forkable skill page migrated from the agentprivacy skills repo (persona/agentprivacy-dual-territory, v5.3.2).
Source of truth: agentprivacy-skills. Fork this page to materialize a local SKILL.md via fedwiki-to-skill.

origin: 0xagentprivacy ยท author: Mitchell Travers

Assets

๐Ÿ“Ž dual-territorySKILL.md

Navigation

โ† Welcome Visitors ยท Role Skills