huma – Un trinquete que no se salta ni un endpoint Image: AI generated

The Agent That Stops at Endpoint 15

CommandRole
huma scanAuto-detects openapi.yaml and scans endpoints
huma scan --from <file>Scans from a specified file
huma nextShows next incomplete endpoint, or verifies and advances
huma verifyRuns current endpoint’s Hurl test; advances on pass
huma statusShows progress (TODO/PASS/IMPROVE/DONE)
huma promptOutputs agent prompt for current TODO (no side effects)
openapi.yaml ──► huma scan ──► session
                                 │
                           huma next ◄──┐
                             │          │
                     ┌───────┴───────┐  │
                     │  TODO         │  │
                     │  (no .hurl)   │  │
                     └───────┬───────┘  │
                       agent writes    │
                       .hurl           │
                             │          │
                     ┌───────┴───────┐  │
                     │  PASS/IMPROVE │──┘
                     └───────────────┘
huma scan
# Scanned 42 endpoints
huma next
# TODO  GET /api/v1/users
huma status
# 15/42 PASS  |  0 IMPROVE  |  27 TODO
StateMeaning
TODONo .hurl file
IMPROVEHurl exists but status codes missing
PASSAll expected status codes covered
DONECoverage stalled after retries
LanguageAdapterAnalyzerbackend.lang
GoGoAdaptergo/astgo
PythonPythonAdapterregexpython
Node.jsNodeAdapterregexnode
PrefixDomain
M-manifest.yaml
E-Endpoint input
H-Hurl file
S-Session state
A-Adapter/server
Legacy codebase
    │
    ▼
juicer ──► openapi.yaml
    │
    ▼
huma ──► hurl/*.hurl
    │
    ▼
yongol ──► refactored code
go install github.com/park-jun-woo/huma@latest
npx skills add park-jun-woo/huma

Code: github.com/park-jun-woo/huma


Referencias


Articulos relacionados