Files
yuan-lab-llm--clawmanager/e2e
heranran 71c7672545 feat: Skill Hub hardening with session usage tracking and egress governance (#163)
* feat(skill-hub): add Skill Hub catalog, publish flow, and lite materialize pipeline

Introduce Skill Hub for browsing, importing, publishing, and installing skills, with lite instance package materialization and runtime sync support.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): remove token-governance hooks from Skill Hub PR

Strip validateManagedRuntimeEnvironmentOverrides, network lock policy sync,
and egress proxy audit wiring that belong to the upcoming token-usage work,
so the Skill Hub branch compiles independently.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): update migration number in materialize docs

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): make RuntimeAgentClient test stub and hub tests compile-safe

Add ResyncInstanceSkills to the runtime pool handler fake client, and harden
skill hub payload helpers/tests against nil storage/instance repos so go test passes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat: add Skill Hub hardening with session usage tracking and egress governance

Unify Skill Hub runtime sync improvements with session-token observability,
egress network policy, and admin/instance usage reporting for reopenable PR.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): repair CI tests and nested skill install

* fix(ci): restore release deployment configuration

---------

Co-authored-by: heshengran <heshengran@ieisystem.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 12:37:01 +08:00
..

ClawManager E2E

This directory contains Playwright-based TypeScript e2e tests.

First-Time Setup

npm ci
npx playwright install chromium

Run Locally

npm run test:p0
npm run test:report

The default local gate is P0. P1, P2, and all tests are explicit:

npm run test:p1
npm run test:p2
npm run test:all

Run Against A Target Environment

Pass only the ClawManager address. The runner defaults to the P0 suite, derives the backend API as /api/v1, runs serially, skips local-only data setup, and writes a dedicated target log.

npm run target -- 172.16.1.12:39443

The address may include a protocol. When omitted, https:// is used.

Reports

  • Live progress appears in the terminal.
  • Local run log: reports/run.log
  • Target run log: reports/target-run.log
  • JSON: reports/results.json
  • JUnit: reports/junit.xml
  • HTML: playwright-report/
  • Raw artifacts: test-results/