Find it by meaning

Ask a question instead of a name. sym/find wants an identifier; sym/where takes “how are glob overrides applied” and answers with the definitions that are about it, ranked by meaning. The first question about a checkout builds its semantic index: the route answers 202 indexing with Retry-After: 20 and charges nothing until it answers 200. This page records what this run saw.

2calls answered
1receipt re-hashed
0records verified
$0list price for a stranger
3,558ms end to end
delivered

Run 2026-10-11 05:26 UTC against api.s2ar.dev 0.1.1 · 2 calls · 3,558 ms · list price $0 for a stranger (these ran on the operator's key and cost nothing) · every number on this page re-derived by tools/walkthrough.py before it was written

1. The quote

curl -s -X GET 'https://api.s2ar.dev/x402/v1/sym/where?repo=BurntSushi/ripgrep&ref=14.1.1&query=how+are+glob+overrides+applied'

→ HTTP 402 · 108 ms

price_usd0.01
rails["x402", "credits"]
example_gethttps://api.s2ar.dev/x402/v1/sym/where?repo=BurntSushi%2Fripgrep&ref=14.1.1&query=how+are+glob+overrides+applied
the answer, as JSON
{
  "price_usd": 0.01,
  "rails": [
    "x402",
    "credits"
  ],
  "example_get": "https://api.s2ar.dev/x402/v1/sym/where?repo=BurntSushi%2Fripgrep&ref=14.1.1&query=how+are+glob+overrides+applied"
}

2. The question, answered by meaning

A 202 here is the index being built, uncharged; the generator retries after retry_after_s and records the attempts.

curl -s -X POST 'https://api.s2ar.dev/v1/sym/where' \
  -H "Authorization: Bearer $S2AR_KEY" \
  -H 'content-type: application/json' \
  -d '{"repo": "BurntSushi/ripgrep", "ref": "14.1.1", "query": "how are glob overrides applied", "k": 5}'

→ HTTP 202 indexing ×1 (Retry-After, nothing charged) → · HTTP 200 · 3450 ms · receipt sha256:a393bb79643110cf…

oktrue
tokens_est126
the answer, as JSON
{
  "ok": true,
  "tokens_est": 126
}

The text field:

0.769  crates/ignore/src/dir.rs:52-54  fn  IgnoreMatch<'a>::overrides  fn overrides(x: overrides::Glob<'a>) -> IgnoreMatch<'a>
0.737  crates/ignore/src/overrides.rs:166-172  fn  tests::ov  fn ov(globs: &[&str]) -> Override
0.713  crates/core/flags/defs.rs:2457-2457  struct  Glob  struct Glob;
0.699  crates/core/flags/defs.rs:2507-2511  fn  Glob as Flag::update  fn update(&self, v: FlagValue, args: &mut LowArgs) -> anyhow::Result<()>
0.681  crates/core/flags/hiargs.rs:1201-1222  fn  globs  fn globs(
re-derived by the generator
✓receipt sha256:a393bb79643110cf… re-derived: sha256 over the canonical answer, header and body agree
✓as the prose says: ok = true

An index is built once per checkout and kept; the next question on the same ref answers at once. The route costs a cent, twice a find, because the embedding is the work.

What this cannot buy

From the signed proceedings (/.well-known/proceedings.json), verbatim:

Failed calls are never charged. Nothing about a caller is kept. The rules: the charter.