Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ The merchant data is the source of truth: one JSON file per merchant at `data/me

Two paths:

1. **Self-registration form** — [agenticterminal.ai/submit](https://agenticterminal.ai/submit). Opens a PR automatically. Easiest for merchants.
1. **Email** — `merchants@agenticterminal.ai`. We write the record and open the PR. Easiest for merchants.
2. **Direct PR** — add/edit the JSON file and open a PR.

The self-registration form at [agenticterminal.ai/submit](https://agenticterminal.ai/submit) is **not
operational** and this file advertised it as a working route until 2026-09-15. See the README for what
is and is not built. Restore it here only once a test submission has opened a PR.

### Rules enforced by `pnpm validate-data` (and CI)

- `id` is slug-form and the filename is `<id>.json`.
Expand Down
16 changes: 16 additions & 0 deletions FOLLOWUPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,22 @@ directory's first x402-native infrastructure merchant, so it is worth
re-checking periodically rather than waiting for it to resurface in a
research pass.

### Skhron — USDC accepted, chain undetermined (logged 2026-09-15)

`skhron.eu` carries a Circle USDC mark in its home-page payment strip, alongside Ethereum, Tron and
MATIC marks, so `accepts_usdc` is `true` on the record. It has **no `usdc` rail**, because the chain
is not stated anywhere I could find and the schema requires one. A logo strip is also weaker evidence
than the prose statement that carries the Lightning and BTC rails ("We accept Bitcoin, Bitcoin
Lightning, Monero, Tron, Bitcoin Cash ... through a self-hosted, non-custodial payment processor"),
which names no stablecoin at all.

The same sentence says **Tron**, which may mean TRX or may mean USDT-TRC20. Neither a `usdt` nor a
`usdc` rail can be written honestly without resolving which, so both are absent rather than guessed.

**Resolve by** reaching a checkout and reading the chains the processor actually offers, or asking
Skhron. Then add the rail with its `chain`. Until then the record under-reports: a `rail: "usdc"` or
`rail: "usdt"` filter will not return Skhron even though it may settle both.

## Trust-tier filter on /merchants ignores derived tier (logged 2026-05-20)

**Symptom.** On `https://agenticterminal.ai/merchants`, the "OP trust min"
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,18 @@ Schema is enforced in CI (`pnpm validate-data`) and on every load. USDT rails re

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md). Merchants can self-register at [agenticterminal.ai/submit](https://agenticterminal.ai/submit) — submissions open a PR for review and land at Tier 1 until verified.
See [CONTRIBUTING.md](./CONTRIBUTING.md). Merchants and researchers submit by email to
`merchants@agenticterminal.ai`; accepted entries land at Tier 1 until verified.

**The self-registration form at `/submit` is not operational.** `apps/web/app/submit/page.tsx` has
had `TALLY_FORM_ID = 'TODO'` since 883c183 (2026-06-22, which replaced the earlier GitHub-issue form)
and no commit since has changed it, so the page renders an email fallback and embeds no form.
`apps/web/netlify/functions/submit-merchant.ts` exists and is complete, but it needs
`TURNSTILE_SECRET_KEY`, `GITHUB_APP_ID`, `GITHUB_APP_PRIVATE_KEY` and `GITHUB_INSTALLATION_ID` in the
Netlify environment and nothing in this repo shows whether they are set. This README and
CONTRIBUTING.md advertised the form as the working route anyway until 2026-09-15, when an inbound
bounty submission pointed it out. Do not re-advertise it until the form ID is set and a test
submission has actually opened a PR.

## Documents

Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/api-docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const TOOLS: Tool[] = [
{
name: 'search_merchants',
summary:
'Search merchants by rail, chain, category, agent-callable tier, trust tier, USDC, and free text. Ranked by trust tier then verification recency. Reads are ungated: anonymous and credentialed callers see all tiers, same limits.',
args: 'query?, rail?, chain?, category?, agent_callable_tier?, trust_tier_min?, accepts_usdc?, limit?',
'Search merchants by rail, chain, category, agent-callable tier, trust tier, USDC, and free text. Ranked by trust tier then verification recency. Reads are ungated: anonymous and credentialed callers see all tiers, same limits. agent_callable is the coarse form of agent_callable_tier: true matches full-api and structured-handoff together, which exact-tier filtering cannot ask for in one call.',
args: 'query?, rail?, chain?, category?, agent_callable_tier?, agent_callable?, trust_tier_min?, accepts_usdc?, limit?',
returns: '{ results: MerchantSummary[], total_matching, truncated, agent_identity }',
},
{
Expand Down
50 changes: 50 additions & 0 deletions apps/web/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,11 @@ code.tok {
color: #8b5cf6;
border-color: rgba(139, 92, 246, 0.3);
}
.badge.challenge-status.status-paused {
background: rgba(148, 163, 184, 0.15);
color: #cbd5e1;
border-color: rgba(148, 163, 184, 0.35);
}
.badge.challenge-status.status-closed,
.badge.challenge-status.status-winner {
background: rgba(34, 197, 94, 0.12);
Expand Down Expand Up @@ -935,6 +940,12 @@ code.tok {
border-color: rgba(139, 92, 246, 0.3);
}

.challenge-badge.status-paused {
background: rgba(148, 163, 184, 0.15);
color: #cbd5e1;
border-color: rgba(148, 163, 184, 0.35);
}

.challenge-badge.status-closed,
.challenge-badge.status-winner {
background: rgba(255, 255, 255, 0.07);
Expand Down Expand Up @@ -1771,3 +1782,42 @@ code.tok {
opacity: 0.85;
text-decoration: none;
}

/* Open-call terms block on a listing's detail page. For most of a call's
life the task board is suppressed (lib/display-policy.ts), so this block
is the published surface for its rate, cap and closing date. */
.open-call-terms {
margin: 2rem 0;
padding: 1.25rem 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1);
border-left: 3px solid var(--accent);
border-radius: 8px;
background: rgba(255, 255, 255, 0.02);
}

.open-call-terms h2 {
margin-top: 0;
}

.open-call-terms .row {
margin-bottom: 0.75rem;
}

.open-call-terms p:last-child {
margin-bottom: 0;
}

/* Archived previous version of a set of published terms. Visually set back
from the current terms without being hidden: a superseded version has to
stay legible to somebody who submitted under it. */
.terms-archive {
margin: 1.5rem 0 0;
padding: 1rem 1.5rem;
border-left: 3px solid rgba(255, 255, 255, 0.15);
background: rgba(255, 255, 255, 0.02);
color: var(--muted);
}

.terms-archive p:last-child {
margin-bottom: 0;
}
83 changes: 83 additions & 0 deletions apps/web/app/merchants/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { notFound } from 'next/navigation';
import type { Merchant } from '@at-directory/core';
import { allListings, merchantBySlug, categoryLabel } from '@/lib/data';
import { isOpenCall } from '@/lib/display-policy';
import { TrustTier } from '@/components/TrustTier';
import { RailIcon } from '@/components/RailIcon';
import { VerifyNowButton } from '@/components/VerifyNowButton';
Expand All @@ -10,6 +12,42 @@ const CALLABLE_LABEL: Record<string, string> = {
'human-checkout': 'Human checkout',
};

const CALL_STATUS_LABEL: Record<string, string> = {
open: 'Open',
judging: 'Judging',
paused: 'Paused',
closed: 'Closed',
winner: 'Winner announced',
};

// The task board is suppressed while there are fewer than three live calls
// (lib/display-policy.ts), so for most of this call's life THIS page is the
// only place its terms are published. It has to carry them: budget, closing
// date, status and the link to the full terms, not just the description.
//
// Formatted from the ISO string rather than toLocaleDateString: this is a
// static export and a date that renders differently per locale is a term of
// a bounty that reads differently per reader.
function callDate(iso: string): string {
const d = new Date(iso);
return `${d.getUTCDate()} ${
[
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
][d.getUTCMonth()]
} ${d.getUTCFullYear()}`;
}

// Every listing gets a detail page, not just the merchant directory:
// marketplace task cards link open calls to /merchants/{id}/, so narrowing
// this to allMerchants() would 404 all four of them.
Expand Down Expand Up @@ -47,6 +85,8 @@ export default async function MerchantPage({ params }: { params: Promise<{ slug:
· <a href={`/categories/${m.category}/`}>{categoryLabel(m.category)}</a>
</p>

{isOpenCall(m) && <OpenCallTerms m={m} />}

<h2>Rails</h2>
<table>
<thead>
Expand Down Expand Up @@ -120,3 +160,46 @@ export default async function MerchantPage({ params }: { params: Promise<{ slug:
</div>
);
}

function OpenCallTerms({ m }: { m: Merchant }) {
const status = m.challenge_status ?? 'open';
const budget = m.challenge_prize ?? m.price_display ?? null;
return (
<section className="open-call-terms">
<h2>This is an open call</h2>
<div className="row">
<span className={`badge challenge-status status-${status}`}>
{CALL_STATUS_LABEL[status] ?? status}
</span>
{budget && <span className="badge">{budget}</span>}
{m.challenge_deadline && (
<span className="badge">Closes {callDate(m.challenge_deadline)}</span>
)}
</div>
{status === 'paused' && (
<p className="notice">
Paused. Not accepting submissions right now, because the call has reached its budget cap
for the current period. It reopens at the start of the next one, and nothing about the
published rates changes in the meantime.
</p>
)}
{m.terms_url && (
<p>
<a href={m.terms_url}>
<strong>Full terms</strong>
</a>
: rates, cap, and what counts as accepted. Read these before starting work.
</p>
)}
{m.contact_url && (
<p>
Submit to{' '}
<a href={m.contact_url} target="_blank" rel="noreferrer">
{m.contact_url.replace(/^mailto:/, '')}
</a>
.
</p>
)}
</section>
);
}
Loading
Loading