huma – سقاطة لا تتخطى أي نقطة نهاية Image: AI generated

إذا طلبت من وكيل الذكاء الاصطناعي كتابة اختبارات API فأعلن “انتهيت” قبل إكمال نصفها، إذا كنت تريد اختبار كل نقطة نهاية بلا استثناء، إذا كنت تريد فرض كتابة اختبارات Hurl بالسقاطة — huma هو تلك الأداة.

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
    │
    ▼
codistill ──► 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


المراجع


مقالات ذات صلة

سجل التغييرات

  • 2026-05-26: الإصدار الأول