6. The Chinwag Way & Scrimmages

6.3 Sealed Card Handoff Boundary Drills

chinwag card verify --input receipt.cwcard.png

How Chinwag packages cryptographically signed task handoffs inside valid PNG trading cards (.cwcard.png) that traverse Slack, GitHub PRs, and corporate proxies intact.

6.3 Sealed Card Handoff Boundary Drills

chinwag card verify --input receipt.cwcard.png

Stanford's CooperBench research demonstrates that multi-agent engineering breaks down at the handoff boundary · the moment Agent A finishes a backend module and tries to explain its assumptions, edge cases, and verification state to Agent B (or a human reviewer) in unstructured chat prose.

Chinwag replaces lossy chat handoffs with .cwcard.png Sealed Handoff Cards: valid, human-readable PNG visual summary cards that carry a post-quantum X25519MLKEM768 + Ed25519 dual-signed binary handoff envelope (cWPK chunk) directly inside the PNG file structure.

# Seal a verified Shadow jj workspace handoff into a portable .cwcard.png card
chinwag cwcard seal \
  --task TASK-204 \
  --to "@ARCHITECT" \
  --out ./artifacts/TASK-204-handoff.cwcard.png

Why a Valid PNG Carrier (.cwcard.png)?

  1. Human-Readable at a Glance: Drop TASK-204-handoff.cwcard.png into a GitHub PR comment, Linear issue, or Slack thread and every engineer immediately sees a crisp visual card displaying the task ID, --file-scope lease, .codegraph blast radius, 176/176 UI gate badge, and MO-GRPO ◈ Chip stake.
  2. Machine-Verifiable in <20ms: Any authorized agent or teammate can pass the exact same .cwcard.png file (or URL) to chinwag cwcard unseal (50 Cr for a full two-round handoff conversation), which verifies the dual Ed25519 signatures in 0.09ms, decrypts the RFC 9180 HPKE payload via the ACU, and mounts the exact Shadow jj commit tree and Negative Memory Tombstones in < 20ms.
  3. Zero-Drop Proxy Traversal: Because .cwcard.png is a standards-compliant ISO/IEC 15948 PNG image (89 50 4E 47 0D 0A 1A 0A), corporate TLS inspection proxies, Slack file uploads, and GitHub issue attachments pass it through untouched without corrupting the ancillary cWPK cryptographic chunk.

Binary Anatomy of a .cwcard.png File

+-----------------------------------------------------------------------+
| PNG Signature (8 bytes): 89 50 4E 47 0D 0A 1A 0A                      |
+-----------------------------------------------------------------------+
| IHDR + IDAT Chunks: Crisp 1200×630 Visual Summary Card (Midnight UI)  |
|   Displays: Task ID, Owner <SEAT>#<INSTANCE>, Gate Status, ◈ Chips    |
+-----------------------------------------------------------------------+
| cWPK Ancillary Chunk (Private, Safe-to-Copy PNG Chunk):               |
|   • Magic: "CHWGHPKE" (v2)                                            |
|   • OriginSigV1 (K1 Ed25519) + CloudRelayBlobSigV1 (K2 Ed25519)       |
|   • X25519MLKEM768 Encapsulated Key (1,120 bytes)                     |
|   • ChaCha20Poly1305 Ciphertext:                                      |
|       - jj Revision Tree Hash & Patch Bundle                          |
|       - H1..H5 Verification Receipts                                  |
|       - Active File-Scope Lease & Tombstone Warnings                  |
+-----------------------------------------------------------------------+
| IEND Chunk (12 bytes)                                                 |
+-----------------------------------------------------------------------+

Running a Boundary Handoff Drill

Teams practicing The Chinwag Way run weekly 3-minute Sealed Card Handoff Drills to ensure zero context loss across human-to-agent and agent-to-agent boundaries:

# Unseal a teammate's or partner agent's .cwcard.png into an isolated Shadow jj workspace
chinwag cwcard unseal ./artifacts/TASK-204-handoff.cwcard.png --verify-strict
[cwcard] Verifying outer K1+K2 Ed25519 signatures... PASS (0.09ms)
[cwcard] Decrypting X25519MLKEM768 HPKE payload... PASS (0.41ms)
[cwcard] Hydrating Shadow jj workspace at revision kkmpptxz (TASK-204)...
  • Sender: @RUST#7f9a2c11e04b8821a930d4e11022bc04
  • File Scope: crates/webhook-ingest/src/verify.rs (Disjoint lease verified)
  • Attached Receipts: H1 cargo test (PASS), H3 clippy -D warnings (PASS)
  • Boundary Constraint: "Verify signature BEFORE JSON deserialization"
[cwcard] Ready in 14.2ms (50 Cr).

Next Steps