Skip to content

Commit ef306c9

Browse files
committed
[ADD] Extend demo verification with negative probes and model sanity checks
1 parent 0bc3e70 commit ef306c9

6 files changed

Lines changed: 653 additions & 6 deletions

File tree

PRD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- `php artisan emcp:test` (`initialize`, `tools/list`) -> PASS.
1818
- Runtime HTTP integration (`tests/Integration/RuntimeIntegrationHttpTest.php`) -> PASS.
1919
- Підтверджено API шлях читання даних з БД через MCP (`evo.content.search`, `evo.content.root_tree`, `evo.content.get`).
20-
- Автоматично генерується `demo/logs.md` з деталями токена, MCP запитів/відповідей і manual-check командами.
20+
- Автоматично генерується `demo/logs.md` з деталями токена, MCP запитів/відповідей, manual-check командами і негативними probe-кейсами (`401/403/413/415/409/429`, `evo.model.get(User)` sanity).
2121

2222
Залишок до RC-1 (core platform hardening):
2323
- live runtime integration job у GitHub Actions зі staging env/secrets;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ make demo-all
238238

239239
This target installs demo Evo, starts `php -S`, issues sApi JWT, runs `php artisan emcp:test`, then runs `composer run test` with HTTP runtime integration enabled.
240240
After run, detailed evidence is written to:
241-
- `demo/logs.md` (token/masked auth info, MCP request payloads, HTTP statuses, responses, manual verification commands)
241+
- `demo/logs.md` (token/masked auth info, MCP request payloads, HTTP statuses, responses, manual verification commands, plus negative probes: 401/403/413/415/409/429 and `evo.model.get(User)` sanity)
242242
- `/tmp/emcp-demo-php-server.log` (php built-in server log)
243243

244244
If GitHub API auth is needed during install, pass token via ENV (same pattern as `evolution`):

README.uk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ make demo-all
237237

238238
Ця ціль встановлює demo Evo, запускає `php -S`, видає sApi JWT, виконує `php artisan emcp:test`, а потім `composer run test` з увімкненою HTTP runtime integration перевіркою.
239239
Після виконання детальні докази записуються у:
240-
- `demo/logs.md` (masked token, MCP payload-и, HTTP статуси, відповіді, manual verification команди)
240+
- `demo/logs.md` (masked token, MCP payload-и, HTTP статуси, відповіді, manual verification команди, а також negative probes: 401/403/413/415/409/429 і sanity check для `evo.model.get(User)`)
241241
- `/tmp/emcp-demo-php-server.log` (лог PHP built-in server)
242242

243243
Якщо під час інсталяції потрібна GitHub авторизація API, передай токен через ENV (як у `evolution`):

SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Current validation snapshot (2026-03-03):
1717
- `php artisan emcp:test` PASS for `initialize` and `tools/list`.
1818
- Runtime HTTP integration PASS for `/api/v1/mcp/{server}`.
1919
- Verified content-read tool flow in runtime (`evo.content.search`, `evo.content.root_tree`, `evo.content.get`).
20-
- One-click verification writes `demo/logs.md` with request/response evidence.
20+
- One-click verification writes `demo/logs.md` with request/response evidence, negative transport/security probes (`401/403/413/415/409/429`) and model-safety sanity (`evo.model.get(User)` without sensitive fields).
2121

2222
Open RC-1 validation scope:
2323
- live CI runtime integration (external env/secrets) is not yet mandatory-on-push;

0 commit comments

Comments
 (0)