mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-02 02:19:43 +00:00
chore(harness): make repository agent-ready
Add concise routed context, task-aware agent roles, focused skills, and structured learning promotion.\n\nUnify local development and workspace tooling, add layered test and E2E verification, harden MCP authentication, and gate deployment behind verification and explicit production promotion.
This commit is contained in:
1 parent
5a69bbc1a5
commit
01bb8225ae
125 files changed
+5078
-24529
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
const mcp = process.env.MCP_URL ?? 'http://127.0.0.1:3002';
|
||||
|
||||
test('MCP health is available while tool access requires auth', async ({ request }) => {
|
||||
const health = await request.get(`${mcp}/health`);
|
||||
expect(health.ok()).toBe(true);
|
||||
expect(await health.json()).toMatchObject({ status: 'ok', service: 'sauci-mcp' });
|
||||
const tools = await request.post(`${mcp}/mcp`);
|
||||
expect(tools.status()).toBe(401);
|
||||
});
|
||||
Reference in new issue
Block a user