Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Mutiny is a **behavioral fuzz-testing engine**: a **small trusted kernel** wrapp
- The **CLI** (`mutiny init` / `mutiny run`) is the primary developer surface for installing Mutiny into a customer agent project.
- The **Hosted platform** (`apps/api`, `apps/web`) makes campaigns operable and visible (lineage, SSE, persistence).
- **Adapters** bridge Core to targets. Adapter #1: **OpenAI Agents SDK** → developer’s local agent. Bundled demo agent = example adapter target / harness.
- **Integrations** (Skills, MCP, CI, future framework adapters) invoke the same kernel or Hosted API. They do not fork logic.
- **Planned integrations** (Skills, MCP, reusable CI Action) will invoke the same kernel or Hosted API. They must not fork logic. See the [placeholder README](../integrations/README.md).

We optimize for:

Expand Down Expand Up @@ -72,7 +72,7 @@ These principles are binding. New features must not violate them without an ADR
│ Targets Customer agent project │
│ Sample / apps/demo_agent (reference) │
├──────────────────────────────────────────────────────────┤
│ Integrations Skills / MCP / CI │
│ Integrations Planned: Skills / MCP / CI │
└──────────────────────────────────────────────────────────┘
```

Expand All @@ -87,7 +87,7 @@ Local CLI → mutiny_core → Adapter Layer → OpenAI Agents SDK Adapter → Cu
Hosted Web/API → SQLite observational data (ingest + trusted in_process_demo only)
✗ customer project_path exec / filesystem

integrations/* → api (preferred) or mutiny_core (offline replay)
Planned integrations/* → api (preferred) or mutiny_core (offline replay)
```

Canonical product hierarchy (never reverse):
Expand Down Expand Up @@ -230,16 +230,17 @@ remains the engine; optional Hosted sync uploads redacted local results.
### Future / secondary integrations

These paths are roadmap placeholders, not shipped adapter locations. Adapter #1
is in `packages/mutiny_openai_agents`; the empty `integrations/` directory is
tracked separately in [issue #38](https://github.com/CodewithJha/mutiny/issues/38).
is in `packages/mutiny_openai_agents`; [integrations/README.md](../integrations/README.md)
documents the reserved directory. MCP, published Skills, and a reusable CI Action
are not shipped there; the repository's own CI workflow is separate.
The additional [PydanticAI adapter](../packages/mutiny_pydantic_ai/README.md)
lives in `packages/mutiny_pydantic_ai` and is implemented but not yet published.

| Path | Role |
|---|---|
| LangGraph / CrewAI / HTTP adapters | Roadmap (Beta/v1) — see [ROADMAP](./ROADMAP.md) |
| `integrations/mcp` | MCP tool wrappers around API/Core (roadmap) |
| `integrations/skills` | Instructional Skill markdown |
| `integrations/skills` | Instructional Skill markdown (roadmap) |

**Must not contain** mutation, policy, or fitness logic.

Expand Down
2 changes: 1 addition & 1 deletion docs/PRODUCTION_READINESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ MVP limitations are labeled as such, not “bugs.”
| P2-4 | `publish.yml` verify step **hardcodes `0.1.0`** — **resolved (M-PR5)**; reads each package `pyproject.toml` | Was fail/misleading on next version |
| P2-5 | Regressions table has **no `project_id`**; filtering joins via campaigns | `db.py` schema |
| P2-6 | SQLite backup/export tooling for Hosted data — **resolved (P2-6)** | `mutiny db backup` / `restore`; `mutiny_api.backup` |
| P2-7 | Empty `integrations/` vs ARCHITECTURE diagram mentioning MCP/skills | placeholder only |
| P2-7 | Empty `integrations/` vs ARCHITECTURE diagram mentioning MCP/skills — **resolved (#38)** | `integrations/README.md` documents planned scope; diagram labels integrations as planned |
| P2-8 | No Dependabot/Renovate; no CODEOWNERS | OSS maintainer load |
| P2-9 | CLI help mentions `--no-attestation` in error text but **flag not defined** | `run_cmd.py` vs `main.py` |
| P2-10 | ARCHITECTURE “allowed targets localhost-only” not enforced as a filesystem/URL sandbox for Hosted | Constraint remains a **target enum** + observe-only boundary; not a general path/URL allowlist |
Expand Down
18 changes: 18 additions & 0 deletions integrations/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Planned integrations

This directory is a placeholder for future clients of Mutiny Core or the Hosted
API. It currently contains documentation only. No MCP server, published Skills,
or reusable regression-replay GitHub Action is shipped here.

- **Beta:** MCP server and coding-agent Skills — see the [Beta roadmap](../docs/ROADMAP.md#3-beta).
- **v1:** CI token and GitHub Action for regression replay — see the [v1 roadmap](../docs/ROADMAP.md#4-v1).

The existing [repository CI workflow](../.github/workflows/ci.yml) tests this
checkout; it is not a reusable GitHub Action for customer projects. Local
regression replay is available through `mutiny test`.

Future integrations must call the existing Core or API rather than duplicate
mutation, policy evaluation, fitness, or regression logic. Framework adapters
live under `packages/`, not in this directory. Read the
[architecture boundaries](../docs/ARCHITECTURE.md#future--secondary-integrations)
and [contributing guide](../CONTRIBUTING.md) before proposing an integration.
Loading