AI Focus

attribution & metering protocol lab

When answer engines ingest and summarize publisher articles without sending verifiable referrals or attribution signals back, publishers are left paying crawl bandwidth costs with no feedback loop, driving them toward hard paywalls and crawler blocks. This lab prototypes lightweight cryptographic quote receipts (X-Attribution-Receipt + #:~:text= links) and models whether metered referral attribution preserves open discovery better than all-or-nothing blocking.

Hypothesis

Issuing signed X-Attribution-Receipt headers paired with #:~:text= deep links creates verifiable referral and audit signals that support metered discovery without forcing sites into binary crawler bans or hard paywalls.

What confirms it: /api/quote/:docId issues verifiable HMAC receipts that settle cleanly inside the Durable Object AttributionLedger (/api/click-receipt), separating legitimate referred clicks from unsigned replays.

What falsifies or bounds it: Strip-on-copy URL transformations by chat interfaces or aggregator proxies discard #:~:text= parameters and receipt headers unless browsers preserve provenance natively.

Edge quote endpoint issuing signed X-Attribution-Receipt headers and Text Fragment links backed by a Cloudflare Durable Object read/click ledger and 3-model economics simulator. Open attribution & metering protocol lab full screen ↗

What this lab tests

Attribution & Metering Protocol Lab (GitHub) issues cryptographically signed X-Attribution-Receipt headers and #:~:text= Text Fragment links from /api/quote/:docId, verifies referral clicks at /api/click-receipt inside a Durable Object SQLite ledger (AttributionLedger), and models sustainability across three publisher monetization curves.

Deeper Dive: Reactive Prompt Architectures (Beyond effect() Overload)

My earlier experiments—@paulkinlan/reactive-prompt (npm) and reactive-agent, discussed in the projects behind my ai focus posts and what falling ai model latency means for the web—wired prompt chains with Preact signal() and effect(). Synchronous UI signals assume derivations are fast, deterministic, cheap, and acyclic. Wrapping slow, nondeterministic model calls in plain effect() chains creates five failure modes: immediate execution with undefined placeholders, out-of-order async race overwrites without cancellation, diamond glitches across sibling joins, downstream cascades triggered by minor phrasing jitter, and overwritten human edits.

Labs 23–26 push four alternative reactive models from focused single-bug torture tests up to multi-pane applications, including what authoring code looks like in each model.

Open questions

  • What lightweight token/receipt propagation mechanism survives copy-paste or markdown link serialization cleanly?
  • At what referral conversion rate do open publishers break even compared to blocking automated crawlers outright?

Iteration log

  • — Built signed /api/quote/:docId, Durable Object SQLite AttributionLedger, #:~:text= link emitter, and 3-model economics simulator.
  • — Reordered workbench ahead of setup docs, added a Durable Object-logged strip-on-copy falsification test and accurate route snippets, added CSP-safe DOM syntax highlighting across wire/ledger views, hardened 700px layout, and routed static assets with no-cache headers.

Primitives tested: Text Fragments (#:~:text=), HMAC-SHA256 Receipts, Durable Object SQLite, Economics Simulator.

This is an active lab under /labs/ and stays off the main RSS feed until graduated into a full essay.

More in content negotiation, signed citations & attribution

Connected labs

← content negotiation, signed citations & attribution · All labs