Skip to content

feat: a deep Trustless Work audit with live surfaces and a redesigned integration page - #79

Merged
devodii merged 39 commits into
mainfrom
feat/trustless-work-integration
Nov 20, 2026
Merged

devodii merged 39 commits into
mainfrom
feat/trustless-work-integration

Conversation

@devodii

@devodii devodii commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

A deep Trustless Work integration, on the same page every partner gets at /integration/trustless-work.

What it adds

  • Live surfaces. The V1 and V2 beta APIs, the npm packages and the GitHub repos, each read through one adapter and refreshed on its own when a page view finds the data older than an hour.
  • Signals. How each project uses it: client, API version, escrow type, network and the escrow flow it calls.
  • Demand. The assets, operations and package versions projects ask for.
  • Projects using it. Cards with the evidence behind each one.
  • A redesigned integration page. Tables for surfaces, signals, demand and readings, cards for projects, animated in.
  • A header menu to every integration, a 404 page with the Stellar mark, and API types generated from the models.
  • Project files backfilled with the deeper evidence.

Screenshots

Hero

Live surfaces

Who uses it

How it is used

What projects call

Light theme

Reflector on the same page

Integrations menu

404 page

How it fits the engine

  • Everything specific to Trustless Work lives in adapters/trustless_work.py and its profile in data/integrations.yaml. The engine and the web app contain no partner name.
  • A profile can list surfaces, which are things the adapter watches that repos never reference.
  • Adapters take a plain http client, scan hints moved from the scanner into each profile, and checks can forbid a signal.
  • Observed state is keyed by partner, network and id (migration 000004).
  • A repo that mentions a deep partner only in prose now triggers the deeper scan.
  • Profiles written before the new fields still load, with a test.

Notes

  • Some signals describe how a project integrated rather than what it uses. They are marked private in the catalog and are not returned by the API or written to the project files.
  • The API types are generated with pnpm types, and CI checks they are current.

Adapters take a plain http client instead of a Soroban rpc, scan hints
for deep file selection come from each profile, checks can forbid a
signal, contracts can carry a url, and the asset overlap only shows when
a partner has observed items.
Surfaces are things the adapter watches without the repos referencing
them, such as an api, a package or a code hash. The same hash can live
on two networks, so observed state is keyed by partner, network and id.
…files loading

Stellar Registry keeps the scan hints the scanner used to hardcode, and a
test proves a profile written before the newer fields still loads.
Response models with defaults are required in the schema and closed sets
of strings are literals, so the generated types match what the api sends.
pnpm types writes the schema and the types, lib/types.ts re-exports them,
and CI fails when either generated file is stale.
… and checks

Checks were tuned against the code of the 18 projects so each one is
precise. Webhooks are flagged as expected but not sent, since the docs
list them as coming soon.
Every repo was rescanned with the new rules. Only the deep partners'
entries were refreshed (Trustless Work, Reflector), nothing else moved,
and six more projects turned out to use Trustless Work through packages
in their monorepos.
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hackproof Ready Ready Preview Nov 20, 2026 10:34am UTC

Request Review

Reflector's lossy price check stopped firing when checks learned to forbid
signals. The three projects it flags are restored in their files.
…r old

A page view now schedules a read of any stale surface and the next view
serves the fresh snapshot, so the page never depends on someone running
observe. The cards say when they were read.
…of the api and the data files

Private signals still feed the checks and the internal audit, but they are
not returned by the api, not shown on any page and not written to the
project files.
…more of what it confirmed

Reading the price through a quoted function name, hardcoding 14 decimals
and comparing the quote timestamp with the clock are now seen.
…its ids in docs

Four projects were counted from a contract id in an agent skill or a
research note. Five projects now show they read the price through a
quoted function name.
@devodii
devodii merged commit 59ba3a5 into main Nov 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant