Commit cd63b80
committed
test(perps): add HL abstraction-cycle agentic flows for TAT-3016 validation
- PerpsWithdrawView gets a testID on the available-balance text so
agentic recipes can read the displayed value and assert the withdraw
path shows availableBalance, not availableToTradeBalance.
- HyperLiquidProvider.getExchangeClient() is a narrowly-scoped public
escape hatch used by admin/test flows to drive userSetAbstraction and
usdClassTransfer via the SDK. Not part of the PerpsProvider interface.
- scripts/perps/agentic: new hl-balance-validation flow captures
AccountState + perps-market-available-balance-text (PerpsMarketListView)
+ perps-withdraw-available-balance-text (PerpsWithdrawView) with
deterministic wait_for gates. New hl-provision-fixture flow wraps
userSetAbstraction / usdClassTransfer so recipes can cycle abstraction
modes programmatically. New hl-fixture-state eval exposes the balance
snapshot used by the flow assertions.
- evidence/QA.md + evidence/recipe.json removed from tracking; these are
per-PR local artifacts and belong under the agentic task dir, not the
repo.1 parent c677753 commit cd63b80
8 files changed
Lines changed: 337 additions & 428 deletions
File tree
- app
- components/UI/Perps
- Views/PerpsWithdrawView
- controllers/perps/providers
- evidence
- scripts/perps/agentic/teams/perps
- flows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
410 | 414 | | |
411 | 415 | | |
412 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
487 | 503 | | |
488 | 504 | | |
489 | 505 | | |
| |||
This file was deleted.
0 commit comments