Skip to content
Open
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
21 changes: 0 additions & 21 deletions .github/workflows/conformance.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Run the full test suite:
npm test
```

This runs Vitest plus the conformance report writer. See `docs/testing.md` for:
This runs the Vitest suite. See `docs/testing.md` for:
- `/__test__/echo` routes
- Scope/RBAC parity checks
- Proxy + echo server validation
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
</a>
<img src="https://img.shields.io/badge/TypeScript-5.x-blue" alt="TypeScript" />
<img src="https://img.shields.io/badge/Cloud%20Run-ready-4285F4" alt="Cloud Run" />
<a href="https://github.com/agentic-control-plane/GatewayStack/tree/main/docs/conformance.json">
<img
src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fagentic-control-plane%2FGatewayStack%2Fmain%2Fdocs%2Fconformance.json&query=$.version&label=MCP%2FAuth%20Conformance"
alt="MCP Auth Conformance"
/>
</a>
</p>

<p align="center"><strong>See, price, and control every tool call your AI agents make.</strong></p>
Expand Down Expand Up @@ -175,7 +169,7 @@ AI apps have three actors — user, LLM, backend — and no shared identity laye
| `demos/` | MCP issuer + ChatGPT Apps SDK connectors that mint demo JWTs |
| `tools/` | Echo server, mock tool backend, Cloud Run deploy helper |
| `tests/` | Vitest smoke tests |
| `docs/` | Auth0 walkthroughs, conformance output, endpoint references, troubleshooting |
| `docs/` | Auth0 walkthroughs, endpoint references, troubleshooting |

## Testing

Expand Down
12 changes: 0 additions & 12 deletions docs/conformance.json

This file was deleted.

4 changes: 2 additions & 2 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ docker run -p 8080:8080 \

### CI/CD

`.github/workflows/conformance.yml` runs `npm test` and updates `docs/conformance.json` on every push to main.
`.github/workflows/build.yml` builds the monorepo and runs `npm test` on every push and pull request to main.

**To add deployment:**
```yaml
# Add to conformance.yml after tests pass
# Add to build.yml after tests pass
- name: Deploy to Cloud Run
if: github.ref == 'refs/heads/main'
run: ./tools/deploy/cloud-run.sh apps/gateway-server
Expand Down
4 changes: 2 additions & 2 deletions docs/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Run the full test suite:
npm test
```

This runs Vitest plus the conformance report writer that updates `docs/conformance.json`.
This runs the Vitest suite across the gateway and core packages.

For detailed testing workflows, see:
- `docs/testing.md` — `/__test__/echo` routes, scope checks, proxy validation
Expand All @@ -126,7 +126,7 @@ For detailed testing workflows, see:
Toggles worth noting:

- `DEMO_MODE=true` swaps in `OAUTH_*_DEMO` overrides so demos can mint JWTs locally.
- `ENABLE_TEST_ROUTES=true` + `TOOL_SCOPE_ALLOWLIST_JSON` expose `/__test__/echo` for conformance runs.
- `ENABLE_TEST_ROUTES=true` + `TOOL_SCOPE_ALLOWLIST_JSON` expose `/__test__/echo` for scope/proxy validation runs.
- `RATE_LIMIT_WINDOW_MS` / `RATE_LIMIT_MAX` tune limitabl without editing TypeScript.
- `.env.example` plus `apps/gateway-server/.env.example` enumerate every knob.

Expand Down
6 changes: 2 additions & 4 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This document covers:
- How to enable internal `/__test__` routes
- Scope/RBAC parity checks
- Vitest + conformance report
- Running the Vitest suite

---

Expand All @@ -21,7 +21,7 @@ These routes are guarded by:
- `TOOL_SCOPE_ALLOWLIST_JSON` (allowed scopes per test route)
- The `X-Required-Scope` header (per-request scope requirement you pass in curl)

They are for validation and conformance testing only, not for production traffic.
They are for validation and scope/proxy testing only, not for production traffic.

---

Expand Down Expand Up @@ -95,12 +95,10 @@ npm test

This runs:
- Vitest against the gateway and core packages (see `vitest.config.mts`)
- The conformance report writer, which emits a summary of MCP/Auth OAuth behavior into `docs/conformance.json`

**Key files:**
- `package.json` → test script
- `vitest.config.mts` → shared test config
- `tests/smoke.test.ts` → placeholder smoke test
- `packages/explicabl-core/src/reporting/saveReport.ts` → writes the conformance report artifact

---
Empty file removed docs/testing/conformance.md
Empty file.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
"build:admin": "npm --workspace apps/admin-ui run build",
"start:server": "npm --workspace apps/gateway-server run start",
"start:admin": "npm --workspace apps/admin-ui run preview",
"test": "vitest run --config ./vitest.config.mts --reporter=verbose && npm run conformance:report",
"test": "vitest run --config ./vitest.config.mts --reporter=verbose",
"test:watch": "vitest --config ./vitest.config.mts",
"conformance:report": "tsx packages/explicabl-core/src/reporting/saveReport.ts",
"demo:mcp": "npm-run-all -p demo:issuer demo:gateway demo:mcp-server",
"demo:issuer": "npm run -w @gatewaystack/demo-mcp-server dev",
"demo:mcp-server": "npm run -w @gatewaystack/demo-mcp-server dev",
Expand Down
16 changes: 0 additions & 16 deletions packages/explicabl-core/src/reporting/saveReport.js

This file was deleted.

16 changes: 0 additions & 16 deletions packages/explicabl-core/src/reporting/saveReport.ts

This file was deleted.

Loading