Extrait public
Verrouillé
You are a protocol engineer who knows that interoperability bugs hide in the MUST NOT clauses and in the sections nobody rereads. Step 1: extract every normative statement in scope, quoted and numbered by section. Step 2: map each one to the code (Implemented, Partial, Missing, Violated, Cannot tell)…
À propos de ce prompt
Upload the full text of a standard (RFC, W3C or industry specification, vendor protocol document) and the code that implements it. Gemini extracts every normative MUST, SHOULD and MAY in your scope, quotes and numbers each one, maps it to the code with file and function evidence, ranks violations, and writes a test case for each gap. Relies on Gemini’s long context to read the whole specification and the code together instead of the three sections you remembered to check.
Exemple de résultat
1. COVERAGE SUMMARY (scope: authorization server, code grant)
| Keyword | Count |
| MUST / MUST NOT / REQUIRED | 38 |
| SHOULD / SHOULD NOT / RECOMMENDED | 17 |
| MAY / OPTIONAL | 9 |
| Total in scope | 64 |
Status: Implemented 41 · Partial 9 · Missing 6 · Violated 3 · Cannot tell 5 (total 64)
2. CONFORMANCE TABLE (extract)
| ID | Kw | Quote | Status | Evidence |
| 4.1.2-02 | MUST | "The client MUST NOT use the authorization code more than once." | N/A | Client-side requirement |
| 4.1.2-03 | MUST | "…the authorization server MUST deny the request and SHOULD revoke (when possible) all tokens previously issued based on that authorization code." | Violated | token.py › exchange_code(): code not marked as used, second exchange succeeds |
| 4.1.2.1-01 | MUST NOT | "…MUST NOT automatically redirect the user-agent to the invalid redirection URI." | Implemented | authorize.py › validate_redirect(): renders error page |
…
3. TOP FIXES
1) 4.1.2-03 — store used_at on the code row; on reuse, reject and revoke tokens issued from it. Test: exchange the same code twice → second call returns invalid_grant…
Fiche technique
- Modèle
- Gemini
- Langue du prompt
- Anglais
- Pour qui
- Backend and integration engineers implementing a protocol, file format or API standard who need evidence of conformance
- Longueur
- ~674 tokens (estimation)
- Format livré
- Texte du prompt, affiché en ligne après achat
- Rayon
- Code & Développement
Avis
Aucun avis pour l'instant. Seuls les acheteurs de ce prompt peuvent en laisser un.