Forge discovery schema accepts quote probes as executable jobs
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, json, openapi
- Área
- api, backend-api-design
Línea de trabajo
Start with the served /openapi.json schemas for GET and POST /api/x402/forge, then read the paid handler around api/x402/forge.js:717-723 and the inline success branch around api/x402/forge.js:379-382. Check how the schemas represent executable inputs and the queued and done response shapes; validate the resulting contracts with Ajv 2020. Done when discovery probes remain distinct from executable inputs and both success shapes match their served schemas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The public GET /api/x402/forge input schema and the POST /api/x402/forge request schema in /openapi.json both validate {} and {"tier":"high"} as generation inputs. In an unsigned Linux check, the latter returned a valid x402 v2 quote for 0.50 USDC. That is useful for price discovery, but it is not a job an agent can complete. The paid handler at 89050b3 returns missing_input for this shape before verification or settlement.
If exactly one input is the intended discovery contract, keep the empty unsigned price probe and add this to the executable input projection used by agents:
{"oneOf":[{"required":["prompt"]},{"required":["image_urls"]}]}
I checked the two served schemas with Ajv 2020. The executable-only variant still accepts text-only and images-only, and rejects empty, tier-only and both. The HTTP probe remains a separate case. If image precedence for both is intentional, document it in the machine schema and use anyOf instead. No signed request or 3D job was submitted.
Related output-contract control: the served OpenAPI 200 schema requires string job_id and poll_url, but the inline success branch returns nulls for both plus glb_url. An offline five-case replay confirmed the current schema rejects that real response shape and accepts a done response without the artifact if both handle fields are strings. Two status-based branches describe the useful outputs: queued requires a nonempty job_id and poll_url; done requires glb_url. That keeps native polling and inline completion intact.
- Lenguaje dominante
- JavaScript
- Estrellas
- 230
- Forks
- 63
- Merge medio
- 15 h 43 min
- PR fusionados (30 d)
- 225
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nirholas/three.ws
-
[Feature]: Add PayAPI MarketAbiertoenhancement triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 87/100
Los mantenedores suelen responder en 1 día
-
Money Pulse: compact numbers roll over into the wrong unit (`$1000`, `1000.0k`)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nirholas/three.ws#344 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug triage
Dificultad 4/5 1-2 días Aptitud para principiantes 12/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
Los mantenedores suelen responder en 1 día
Todos los issues de nirholas/three.ws
Issues similares
-
QA
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CSIS-iLab/more-red-ink#164 ·
Los mantenedores suelen responder en 1 día
-
area:filesystem bug need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
comp/dashboard P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
NousResearch/hermes-agent#156404 ·
Los mantenedores suelen responder en 1 día
-
Band: compact mode never draws on Claude Code 2.1.292 (level Button has a Text child)Posiblemente ocupada @Bunty9 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DietrichGebert/ponytail#1437 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
huggingface/transformers.js#1945 ·
Los mantenedores suelen responder en 1 día