GLANCE — GIVE THIS TO YOUR AGENT Canonical service: https://glance.1puni.com Machine contract (OpenAPI 3.1): https://glance.1puni.com/.well-known/glance.json Executable Python 3 client: https://glance.1puni.com/agent-client.txt You can use this HTTPS JSON API directly. No Telegram account, inbound callback, or human copy-paste relay is required. Inquiry invoices are issued automatically. Both rails reach project submission without an operator: Solana USDC payment is matched to your unique invoice memo; Bitcoin payment to your invoice's unique exact sats amount. Project acceptance and full review quotes remain personal. Poll status at most once a minute while waiting. TERMS US$5 minimum inquiry tip pays for Cookie to consider one project. It is non-refundable even if Cookie declines; it does not buy acceptance or a full review. If accepted, the payment counts toward the review price. Wait for your individual quote before paying. Agree its terms first. Network fees are separate. Never send funds merely to test this interface. Never pay again to fix an expired invoice or reference. An accepted review has its own scope, price, inquiry credit, balance and terms. No signing keys, seed phrases, passwords or private personal material are accepted. QUICK START (Python 3, curl; inspect downloaded code before running) curl --fail --silent --show-error https://glance.1puni.com/agent-client.txt -o glance-client.py python3 glance-client.py methods python3 glance-client.py new --rail solana # Circle USDC on Solana mainnet-beta: attributed by the exact invoice memo. # Or: new --rail bitcoin: attributed by the invoice's exact unique sats amount. # Unavailable Solana returns 503; explicitly choose Bitcoin or wait. # Save response.ref as REF. Keep .glance-capability private and backed up. python3 glance-client.py status --ref REF The first new request registers a locally generated random 32-byte bearer capability (base64url, unpadded, 43 chars). Only its hash is stored by the service. This capability owns ONE inquiry and its linked review. Use a separate private credential file for another inquiry (--credential-file another-private-file). Never put credentials in URLs, project fields, shared transcripts or source control. Lost credentials have no public recovery endpoint. No operator/review/configuration commands are exposed. Calls operate only on the credential's own references. DIRECT REQUEST EXAMPLE POST https://glance.1puni.com/api/v1/inquiries Authorization: Bearer Content-Type: application/json Idempotency-Key: create-inquiry-001 {"rail":"solana"} GET /api/v1/methods is public. All other API requests require Authorization. Every POST requires a client-scoped Idempotency-Key (8..80 letters/digits/_/-). Save the key and exact request before sending. Retry unchanged after uncertain responses. During a release the service may briefly answer a non-JSON 502/503/504 or refuse connections for seconds: that is not unavailability; retry the same request and key with backoff (the supplied client does this). A conflicting key returns 409; replays return current resource state. The supplied client derives stable keys from path/body. For a new verification attempt after 60 seconds, supply a new --key such as check-payment-002. QUOTE AND PAYMENT Poll GET /api/v1/intakes/REF until quote is non-null. No address is supplied before an individual quote. The service obtains fresh rates and validates the receiver; if either is unavailable it retries without guessing a price or asking you to pay. Automatic inquiry quotes last one hour. If one expires before you submit a transaction reference, the service replaces it (up to 24 times) with a fresh invoice (new rates, new memo or unique amount) and you agree again: at once if you had not agreed, two hours after expiry if you had, so an on-time payment can still be submitted. Never pay the expired invoice; poll status for the fresh one. If you did pay a replaced invoice, do not pay again: agree the current invoice, then submit that transaction reference; it goes to protected attribution review. Rail changes before issuance: POST .../REF/rail {"rail":"solana"} (or client: rail --ref REF --rail solana). Rail is fixed after quote issuance. quote includes the receiving address/wallet, atomic_amount, decimals, network, terms, expiry (Unix UTC seconds), agreement state, and exact instructions. Bitcoin: mainnet on-chain, atomic_amount sats, decimals 8, no memo. Submit txid. The address is shared, so atomic_amount (minimum_sats + unique_sats_offset) is unique to your invoice. Send exactly atomic_amount as one output to recipient, in one transaction; fees come on top, never out of that output. Do not round. Solana: Circle USDC on mainnet-beta, decimals 6; use the quoted mint/token account, token_program and associated_token_program. Independently derive the canonical ATA from wallet + token_program + mint using an official Solana SDK. For account_creation=payer-idempotent, require it equals token_account and canonical_token_account. Build ONE transaction in transaction_order: createAssociatedTokenAccountIdempotent (payer=sender, owner=recipient, quoted mint and programs), transferChecked (destination=token_account, amount=atomic_amount, decimals=6), then EXACT quoted SPL Memo. Always include the idempotent creation; it safely handles an existing account or another payer creating it first. For account_creation=existing-only, use the quoted existing noncanonical account and omit ATA creation; never substitute another account. Sender pays ordinary SOL transaction fees and any ATA account creation rent separately from USDC. Estimate and approve those fees before signing. The receiver needs no balance, prefunding or test transaction. Wait for finalized commitment; retry checking, never pay twice. Submit its case-sensitive signature. The mint is an asset identifier, NOT a receiving wallet. If your wallet cannot include the required memo/transfer, stop; do not send funds. python3 glance-client.py agree --ref REF # POST .../REF/agreement {}. Re-read the response; only pay an agreed, # unexpired invoice, once, using its exact instructions and separate fees. # If quote.transfer_required is false, send no funds. python3 glance-client.py transaction --ref REF --txid YOUR_TRANSACTION_REFERENCE python3 glance-client.py verify --ref REF python3 glance-client.py status --ref REF POST .../REF/transaction {"txid":"..."} records a reference, not payment proof. POST .../REF/verification {} queues the existing read-only chain verifier. Poll verification_pending, chain_result, checked_at and payment_reviewed. A service-issued USDC inquiry (quote.automatic_inquiry=true) automatically opens project submission after the canonical verifier confirms finalized payment to the right receiver with the exact unique memo, within the agreed invoice window, and claims that transaction once. A service-issued Bitcoin inquiry (quote.automatic_attribution=exact-unique-amount) does the same once the receiving address got exactly atomic_amount, with 1 confirmation (2 at or above 200,000 sats), confirmed after agreement and by expiry, and the txid is unclaimed. payment_attribution=pending means confirmations or finalization are still missing: the service re-checks automatically (after 2, 5, 10, 20 and 30 minutes, then hourly, for 48 hours; verification_pending stays true), so keep polling status. You may also request verification again after 60 seconds. manual-review (wrong amount, recipient, timing or a claimed txid) goes to protected payer attribution; its note says why. Poll project_submission_allowed. Legacy manually issued invoices and full review balances still require protected payer attribution. Failed/missing/late/ wrong-network transactions need review, never a blind second payment. For an unavailable check, wait and retry with a new check key; verification remains asynchronous. Inquiry payment does not accept a project. Client capabilities cannot approve payments, acceptance or results. PROJECT, REVIEW, RESULT Only when project_submission_allowed is true, create a private project.json: {"rail":"solana","name":"Your name","stage":"ideation", "purpose":"A walking map","questions":"What should I build first?", "access":"Written idea: a simple walking map.","revision":"Idea v1, dated YYYY-MM-DD"} python3 glance-client.py project --ref REF --project-file project.json POST .../REF/project accepts all six fields plus the preferred review rail. The response.ref is the NEW review reference; save it as REVIEW_REF. The paid inquiry is consumed exactly once. Retries with the original key return the same review. No project material is accepted before verified payment. Fields are bounded as in the contract. No attachments or commands in fields. At most three questions. For private GitHub repos invite webel; documents read-only to gg@1puni.com. Send only authorized pointers/material, never credentials. URLs are not auto-fetched. python3 glance-client.py status --ref REVIEW_REF Await personal acceptance and the separate review quote. Agree it, and pay only the remaining balance if transfer_required is true. Submit/verify that distinct transaction using the same commands. A fully credited review requires agreement but no further payment. Result is null until the inspected review is delivered; then result contains Refactor, Reprioritise, Commentary, Suggested work price and disposition. Retrieve it through status and acknowledge: python3 glance-client.py ack --ref REVIEW_REF Deletion/retention review request (does not refund): python3 glance-client.py delete --ref REF ERRORS AND RETRIES JSON bodies <=10000 bytes; unique fields and exact field names. No URL queries, Origin headers or transfer encoding. HTTPS only. Public errors are bounded JSON: {"error":{"code":"...","message":"..."}}. 400/415: fix format; 401: check private capability; 404: route; 409: check state/ownership/fields/key, do not pay again; 413: shorten body; 429/503: respect Retry-After and retry unchanged. Verification attempts are at least 60 seconds apart. Limits: 60 requests/client/minute, 600 total/minute, 30 new capabilities/hour, 1000 saved mutation keys/lifecycle. No callbacks. Do not hammer polling or create fresh credentials to evade limits.