Monke e2e

From VectorSpaceLab/AREX-Skill · View interactive version

Monke e2e is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Operate Airweave's Monke connector E2E framework safely: discover connectors, understand runner flow, configs, auth, bongos, generated test data, and credentialed-test boundaries.

How to use this skill

Skill file

Monke Connector E2E

Use this sub-skill when an Airweave task touches the Monke connector E2E framework: connector test discovery, CI connector matrices, runner orchestration, bongo lifecycle behavior, YAML test configs, Composio/direct-auth resolution, generated test data, sync-and-search verification, Monke logs, or cleanup of Monke-created external test data.

Do not use this sub-skill for production backend API implementation, dashboard UI implementation, Connect widget internals, or MCP transport behavior. Monke talks to those systems as external dependencies. Cross-link to sibling source-connectors for connector implementation semantics and sibling local-development for local stack startup, ports, health checks, and .env prerequisites.

Safe operating rules

  1. Treat Monke runs as live external-system E2E tests. A real run creates, updates, deletes, syncs, and verifies data in external services plus an Airweave collection/source connection. Do not run credentialed tests without explicit user approval, a healthy Airweave target, and connector-owned test credentials.
  2. Use the bundled discovery helper for safe connector listing before considering any real run:

```bash

bash skills/disco/airweave/sub-skills/monke-e2e/scripts/monke-list-connectors.sh \

--repo-root "$AIRWEAVE_REPO" --list

```

  1. The bundled helper is discovery-only. It reads connector files and git metadata; it does not create virtualenvs, install packages, load credential files, call Composio, call external APIs, start Airweave, or run Monke tests.
  2. Prefer changed-connector discovery when reviewing a feature branch. It deduplicates changed bongos/configs/generation/source/entity files back to testable connector names:

```bash

bash skills/disco/airweave/sub-skills/monke-e2e/scripts/monke-list-connectors.sh \

--repo-root "$AIRWEAVE_REPO" --print-connectors --changed --base-ref origin/main

```

  1. If a task requires actual E2E execution, first read references/overview.md for runner and flow boundaries, then references/config-and-auth.md for credential expectations. Use references/troubleshooting.md before retrying a failed sync or cleanup.

Route to the right reference

Common safe discovery commands

# Pretty-print connector configs available in a checkout.
bash skills/disco/airweave/sub-skills/monke-e2e/scripts/monke-list-connectors.sh \
  --repo-root "$AIRWEAVE_REPO" --list

# Machine-readable connector list for matrices.
bash skills/disco/airweave/sub-skills/monke-e2e/scripts/monke-list-connectors.sh \
  --repo-root "$AIRWEAVE_REPO" --print-connectors

# Changed testable connectors only, compared with a chosen base ref.
bash skills/disco/airweave/sub-skills/monke-e2e/scripts/monke-list-connectors.sh \
  --repo-root "$AIRWEAVE_REPO" --print-connectors --changed --base-ref origin/main

# Core-plus-changed candidate set for CI-style smoke selection without running tests.
bash skills/disco/airweave/sub-skills/monke-e2e/scripts/monke-list-connectors.sh \
  --repo-root "$AIRWEAVE_REPO" --print-connectors --changed --include-core --min 4

Credentialed run boundary

Only after approval and prerequisites are satisfied, a future agent may use the repo's Monke runner commands from the checkout. Safe native anchors for later verification are discovery/help only: ./monke.sh --list, ./monke.sh --print-connectors, ./monke.sh --print-connectors --changed, python monke/runner.py --help, and this bundled helper's --help. Full commands such as connector names, --all, or core-plus-changed execution require credentials and may mutate external systems.

For real runs, confirm at minimum: Airweave backend URL and health, local stack if needed, Python dependencies, OPENAI_API_KEY for generated content, either Composio or direct connector credentials, connector config fields, allowed external test workspace, cleanup expectations, and acceptable runtime/concurrency.

Verification expectations for this sub-skill

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.