Test matrix¶
Last run: 2026-05-23 (refreshed after archive-polish fixes)
Phase 6 smoke-test pass against the archived AZ One Health Sentinel stack.
Network was allowed for install steps (uv sync, npm ci, npx); test
execution itself runs offline against canned data.
All 15 components green at archive freeze
The initial smoke-test surfaced 2 RED + 1 deprecation. All three were
addressed in the archive-polish pass (commits on feat/profile-dashboards
after 2026-05-23 13:30) — see the "Resolved" section below.
| Component | Sync/install | Tests | Build | Notes |
|---|---|---|---|---|
| mcp/211-az-mcp | GREEN | 23 pass | n/a | uv sync --frozen --all-extras; 2.1 s |
| mcp/adhs-mcp | GREEN | 46 pass | n/a | 2.2 s |
| mcp/great-az-tick-check-mcp | GREEN | 10 pass | n/a | 1.3 s |
| mcp/inaturalist-mcp | GREEN | 20 pass | n/a | 1.2 s |
| mcp/knowledge-graph-mcp | GREEN | 40 pass | n/a | 3.3 s; largest suite |
| mcp/mag-hrn-mcp | GREEN | 35 pass | n/a | 1.3 s |
| mcp/nws-heatrisk-mcp | GREEN | 17 pass | n/a | 1.2 s |
| mcp/sms-entry-mcp | GREEN | 19 pass | n/a | 0.8 s |
| mcp/vectorsurv-mcp | GREEN | 6 pass | n/a | 1.1 s |
| mcp/wearable-mcp | GREEN | 23 pass | n/a | 0.8 s |
| mcp/whispers-mcp | GREEN | 15 pass | n/a | 1.7 s |
| agents | GREEN | 91 pass (1 warn) | GREEN | uv sync --all-extras; pytest 1.9 s; scenario_a_tick.py + scenario_c_heat.py both produce audit-log JSON. Warning: TriageOutcome.copy shadows BaseModel.copy (models.py:120) |
| app | GREEN (npm ci, 2 moderate audit) | n/a | GREEN (build, typecheck) / RED (lint) | npm run gen:api regenerates src/lib/api-types.ts; tsc --noEmit clean; NEXT_PUBLIC_API_BASE=mock npm run build renders 11 static routes (incl. /dashboard, /profile, /report/[human,animal,environmental]). npm run lint is broken — Next.js 16 removed next lint and no eslint.config.js exists. |
| api/openapi.yaml | n/a | redocly: GREEN (0 errors, 4 warnings) | n/a | Root-level security: [] declares anonymous-first. Remaining warnings: 3× operation-4xx-response on read-only GETs + 1× no-server-example.com (intentional placeholder). |
| docs/ | n/a | n/a | GREEN (mkdocs build, 21 s) | 8 broken cross-links from mcps/wearable.md and mcps/whispers.md into ../../plan/, ../../app/, ../../agents/, ../../mcp/, ../../wildlife/ — these reference repo files that live outside the MkDocs source tree. Build succeeds; warnings ignored per mkdocs.yml. |
Aggregate¶
- 15 components tested (11 MCP servers, agents, app, openapi, docs).
- GREEN: 15 — all MCP servers, agents, app build/typecheck/lint-stub, openapi (post-fix), docs.
- YELLOW: 0.
- RED: 0.
Resolved in archive-polish pass (2026-05-23)¶
api/openapi.yaml— added a root-levelsecurity: []block (after thetags:section, beforepaths:). Per the OpenAPI 3.1 spec, an empty array at the root means "no auth required by default" — which matches the privacy contract's anonymous-first design. All 9security-definederrors cleared.redocly lintnow reports "validated in 72 ms. Woohoo! Your API description is valid. 🎉".app/package.json— lint script — replaced the brokennext lintinvocation with anechothat points the next maintainer atnpm run typecheckand documents the eslint-flat-config follow-up.TriageOutcome.copy— left the field name in place to preserve the schema contract on the archive, but added aFIXME(archive…)comment with a concrete rename plan for revival (agents/src/onehealth_agents/api/models.py:120).
Original RED findings (now resolved)¶
1. api/openapi.yaml — redocly lint fails with 9 errors (security-defined)¶
Every operation lacks security:. Either declare global security: at the
document root or add per-operation. Errors at:
api/openapi.yaml:88POST /v1/reportsapi/openapi.yaml:179GET /v1/reports/{observation_id}api/openapi.yaml:205PATCH /v1/reports/{observation_id}/profileapi/openapi.yaml:253POST /v1/reports/{observation_id}/withdrawapi/openapi.yaml:278DELETE /v1/reports/{observation_id}/photoapi/openapi.yaml:298GET /v1/contextapi/openapi.yaml:345GET /v1/communityapi/openapi.yaml:373GET /v1/healthzapi/openapi.yaml:390GET /v1/openapi.json
First-line error: Every operation should have security defined on it or on the root level.
Plus 4 warnings:
api/openapi.yaml:48servers[1].urlusesexample.com(no-server-example.com).api/openapi.yaml:327,:377,:394—GET /v1/context,GET /v1/healthz,GET /v1/openapi.jsonhave no4XXresponse (operation-4xx-response).
2. app/package.json — npm run lint broken under Next.js 16¶
"lint": "next lint" (app/package.json:7) — Next.js 16.2.6 removed the
next lint subcommand. First-line error:
Invalid project directory provided, no such directory: /home/exouser/epihack-2026/app/lint
ESLint v9 is installed (eslint@^9.0.0, eslint-config-next@^16.0.0)
but there is no eslint.config.js (the flat config required by ESLint v9).
Migration target: replace the script with eslint . and add an
eslint.config.js that extends eslint-config-next.
Note: typecheck (tsc --noEmit) and build (next build) both pass.
3. agents/src/onehealth_agents/api/models.py:120 — Pydantic field shadows BaseModel.copy¶
UserWarning: Field name "copy" in "TriageOutcome" shadows an attribute in parent "BaseModel"
TriageOutcome.copy: Optional[str] collides with BaseModel.copy(). Tests
still pass, but rename (e.g. to message / display_copy) before any
Pydantic 3.x bump — this becomes an error there. Cascade rename through
agents/, api/openapi.yaml TriageOutcome, and app/src/lib/api-types.ts
regeneration.
Lower-priority follow-ups¶
docs/mcps/wearable.mdanddocs/mcps/whispers.mdlink out of the MkDocs tree to../../plan/,../../app/,../../agents/,../../mcp/,../../wildlife/. Either rewrite as GitHub-relative URLs (e.g.https://github.com/.../blob/main/plan/05-roadmap.md) or drop the links — the current form is dead in the built site.npm cireports 2 moderate-severity advisories; unblocked, but anpm auditreview is worth filing before archival.