跳到正文
cccskills
免费在 GitHub 公开

verify-omnigent

Verify Omnigent behavior through real user actions in an isolated environment. Use a feature map to cover relevant web, terminal, and CLI entry points, preserving recordings and other evidence for bug reproductions and fixes.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs. new-session composer, terminal strip vs. agent terminal, all twelve native harnesses). Covers the web UI, native harness terminals, and the CLI.

集成工具Playwright
查看安装方法

适用场景

  • Reproducing a user-facing Omnigent bug
  • Comparing behavior before and after a fix
  • Checking coverage across web, terminal, and CLI entry points
  • Preserving recordings and logs as verification evidence

包含的文件(2)

  • SKILL.md7.2 KB
  • scripts/verify-env4.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Verify Omnigent

Use this skill to see a behavior happen in the real app and to prove a change, not to reason about it from code. It has two parts:

  • An isolated instance. scripts/verify-env wraps python -m dev.repro_env: a server, runner, and mock model server on private ports, with their own config, data, Claude, and Codex directories. It never touches ~/.omnigent, a running host daemon, or another developer server.
  • A feature map. feature map lists each user-facing feature's entry points, the tests that drive them, and the traps. A fix is verified only when every entry point listed for its feature has proof.

Run all commands from the repository root. Put scripts/ on your path or call feature-map/skills/verify-omnigent/scripts/verify-env directly.

Launch

  1. Install dependencies, Chromium, and build the web UI for the checkout:

    uv sync --frozen --extra all --group test
    uv run --no-sync playwright install --with-deps chromium
    pnpm install --frozen-lockfile --filter web && pnpm --filter web run build
    
  2. Start an instance and load its paths:

    verify-env start          # waits until the runner is online, about 10 seconds
    eval "$(verify-env paths)"
    

    start writes VERIFY_ROOT to .omnigent/verify/current, so later shells find the same instance. The instance stops itself after its lease (default 90 minutes; --lease SECONDS, 60 to 21600).

Ready means the server answers, the runner reports online, and the mock model server answers. start fails with the environment's error and log path otherwise.

Ready does not check browser launch. Use the Chromium version installed by this checkout's Playwright package; if the environment provides it through PLAYWRIGHT_BROWSERS_PATH, keep that path available to the test process. --ui-skip-build reuses the existing bundle, so rebuild after frontend edits. Native-terminal journeys also need the relevant CLI and terminal prerequisites (such as tmux); a browser installation alone does not provide them.

In CI, the repro workflow already runs this environment. Use python -m dev.repro_env exec -- ... there instead of starting another.

Doctor

Run verify-env doctor before the first drive, after any failed drive, and whenever something looks off. It checks that the instance is ready, that its supervisor is alive, that the runner and model server answer, and it warns when the checkout has moved since launch. A warning about a moved checkout means the instance runs old code: stop it and start a new one.

Drive

  1. Open the matching file in feature map and list every entry point for the behavior in question. For harness work, use the shared acceptance checklist to select existing bench/scenario coverage and record gaps per affected harness, transport and surface. A bench API pass does not cover the browser.

  2. For each entry point, run the named test through the instance, recording on:

    verify-env run -- python -m pytest <tests/...py::test_name> \
      --ui-skip-build --video=on --screenshot=on \
      --output="$VERIFY_EVIDENCE/<feature>"
    

    Tests under tests/browser_ui/ need no instance: uv run pytest <test> --browser-ui-skip-build --video=on --output=.... Tests the feature file marks "own environment" also run with plain uv run pytest. Server/transport/component tests use plain pytest without browser recording or build flags.

  3. For an entry point with no test, hand-drive it with Playwright against OMNIGENT_REPRO_SERVER_URL inside verify-env run -- python <script>, and script model replies with the mock helpers named in the feature map README.

  4. To reproduce a bug, run the same journey on the unfixed code first and keep that evidence; then run it again on the fix.

A test that fails before reaching the user action has a setup failure, not a reproduction. Check its browser error and server/runner logs. When a test starts its own server or runner from inside an agent, check whether it inherited the parent's OMNIGENT_RUNNER_*, RUNNER_SERVER_URL, OMNIGENT_PROCESS_LOG_FILE, or OMNIGENT_CONFIG_HOME; a spawned host daemon writes its identity into that config home, so an inherited read-only path keeps it from coming online. Use an isolated child environment for that test; do not change the controlling agent's environment. Record setup failures, skipped variants, and unavailable credentials separately from behavior results.

Evidence

Everything under $VERIFY_EVIDENCE is the proof, one directory per feature. Instance logs, the database, and the mock model's recorded requests stay in $VERIFY_ENV. For each claim, record the checkout commit, installed harness versions, feature file, entry point ID, command, and resulting artifact. Keep source review, component tests, real process checks, browser drives, and live provider checks distinct. A map contract pass verifies references and structure; it is not evidence that the journeys ran. The proof standards are in the feature map README. Mock runs prove Omnigent's integration with Claude and Codex, not a live vendor model.

For PR evidence, follow the demo standard: use a short real-app recording for interactive workflows, screenshots for static visuals, and nonvisual results for backend/docs/tests. Caption the revision, harness/version, configuration, mock/live provider and observed outcome. Upload redacted captures as GitHub attachments in Demo, not repository files; state recording/upload limitations and manual steps when unavailable.

Cleanup

verify-env stop stops only this instance's supervisor, which stops its own server, runner, and model processes and saves the model's request log. It never deletes $VERIFY_ROOT, so the evidence survives; remove old roots under .omnigent/verify/ or /tmp/verify-omnigent.* yourself once the evidence is attached. Never kill Omnigent processes by name: a developer's own server and host daemon may be running on the same machine.

Helpers

scripts/verify-env is the only helper. Its subcommands are start [--lease SECONDS], doctor, run -- COMMAND..., paths, and stop; run it with no arguments for usage.

On macOS the helper places the instance under /tmp/verify-omnigent.* when the checkout path is long. macOS limits Unix socket paths to 104 bytes, and the environment's socket relay only works around long paths on Linux.

Keeping the map honest

When a reviewer says a change missed a surface, add that surface to the feature file in the same change. The checks and the weekly upkeep job are described in Keeping the map current.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Test Omnigent’s native Antigravity integration with a live local server and the real agy CLI. Verify messages traveling between the web interface and terminal, mirrored replies, permission requests, interruption, session resumption, and process cleanup.

中文简介正在准备中。当前显示英语简介。

  • Testing message delivery from the web interface to agy
  • Checking terminal output against mirrored session replies
  • Verifying permission requests and interruption
omnigent-ai/omnigent1.1万2026年10月19日 更新

Test Omnigent’s Antigravity SDK integration against a live local server. Build test agents and run real conversations to check Gemini authentication, model selection, tool connections, and failures across the full execution path.

中文简介正在准备中。当前显示英语简介。

  • Test authentication and real Gemini responses
  • Verify tool connections and sub-agent delegation
  • Investigate model selection failures
omnigent-ai/omnigent1.1万2026年10月19日 更新

api-docs

免费

Create reference documentation directly from source code for public functions, classes, command-line commands, and endpoints. Organize parameters, defaults, return values, errors, and runnable examples, then check that the documentation matches the implementation.

中文简介正在准备中。当前显示英语简介。

  • Writing reference docs for a public module
  • Documenting command-line arguments and defaults
  • Adding minimal usage examples for an API
omnigent-ai/omnigent1.1万2026年10月19日 更新

Create an Omnigent agent directory using validated templates for configuration and instructions. Choose how the agent runs, then add web search, shell access, external tool connections, or subagents only when the task requires them.

中文简介正在准备中。当前显示英语简介。

  • Creating a minimal Omnigent agent
  • Configuring an agent with web search
  • Adding shell access or MCP tool connections
omnigent-ai/omnigent1.1万2026年10月19日 更新

changelog

免费

Turn a selected range of commits or merged pull requests into release notes grouped by change type. Describe user-visible effects, link to supporting changes, and highlight breaking changes so readers can assess an upgrade.

中文简介正在准备中。当前显示英语简介。

  • Write release notes covering changes since the last tag
  • Summarize pull requests merged during a selected period
  • Highlight breaking changes before an upgrade
omnigent-ai/omnigent1.1万2026年10月19日 更新

Test Omnigent’s setup, help, and terminal interactions by driving the real CLI in an isolated environment. Capture rendered screens and compare checks before and after a change to establish whether a reported interface problem was fixed.

中文简介正在准备中。当前显示英语简介。

  • Reproducing a first-run setup problem
  • Inspecting menus in a narrow terminal
  • Checking help text and command visibility
omnigent-ai/omnigent1.1万2026年10月19日 更新

查看 omnigent-ai 的全部技能

报告此技能的问题