docs(tess): remediate M5 qualification findings #750
Reference in New Issue
Block a user
Delete Branch "feat/tess-m5v-remediation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
M5-V remediation
Complete in this PR:
MosCoordinationServiceandmos-coordination.service.tsoperational references withInteractionCoordinationServiceand its current path.docs/SITEMAP.mdlinking the Tess guides, architecture/security, OpenAPI, migration, and verification docs.Constraints honored: docs/test-only; tracking trio untouched; command authorization unchanged.
Verification
gateway-api.interaction-errors.test.ts(3 tests)TURBO_FORCE=true pnpm typecheck(42 tasks green)Refs #706.
ROR-750-REQUEST-CHANGES-32d431b4
Verdict: REQUEST CHANGES for PR #750 at exact live head
32d431b42b9bcf7c56015a373b5e55445e9ab985.Evidence checked:
git ls-remote origin refs/pull/750/head; fetched head matches32d431b42b9bcf7c56015a373b5e55445e9ab985.origin/main405984af5ac19bdd51e89e4415e6b1b88a1a08ce; PR view reports no conflicts.1794is SUCCESS for commit32d431b42b9b.packages/mosaic/src/tui/gateway-api.interaction-errors.test.ts.Refs #706only; no closing keyword for mission #706 observed.docs/tess/MISSION-MANIFEST.md,docs/tess/TASKS.md, ordocs/tess/VERIFICATION-MATRIX.md.runtimeActionDigestblob hash remainsa9f829e7ecec721c6c585fe0da56fb5d6a6441e9at base and head.Tess/tessliteral in changed non-test source.Blockers:
packages/mosaic/src/tui/gateway-api.interaction-errors.test.tsstubs globalfetchto return synthetic 401/400/403Responseobjects, then verifies client-side error string formatting. That is useful TUI mapping coverage, but it is not a real gateway/API denial-path test and does not prove attach 401, send invalid-request, or stop forbidden behavior from the gateway.apps/gateway/src/agent/interaction.controller.tsthrowsForbiddenException('Content and idempotency key are required'), which is HTTP 403, not 400. A synthetic 400 in the TUI test can pass while disagreeing with the actual controller.docs/tess/MOS-COORDINATION.mdstill contains stale renamed symbols in its contract/adaptor sections (MosHandoffRequest,MosHandoffReceipt,MosHandoff,MosCoordinationPort,InMemoryMosCoordinationPort). Those no longer match current code (InteractionCoordination*/Handoff*/InMemoryInteractionCoordinationPort).Suggested remediation: add real route/controller-level denial coverage (Nest/Fastify or equivalent) for the advertised attach/send/stop statuses, align the send invalid-request expected status with actual code or change the controller intentionally with tests, and update the remaining stale coordination symbols in
docs/tess/MOS-COORDINATION.md.No merge/deploy performed by reviewer.
ROR-750-VERIFIED-APPROVE-658ad288
VERIFIED APPROVE reviewer-of-record [W-jarvis:reviewer] head
658ad2887f98ab160ba247036f59adcc4c38e23f.Evidence checked:
git ls-remote origin refs/pull/750/head; fetched head matches658ad2887f98ab160ba247036f59adcc4c38e23f.origin/main405984af5ac19bdd51e89e4415e6b1b88a1a08ce; CI1795is SUCCESS for this commit.apps/gateway/src/agent/hermes-runtime-reachability.e2e.test.ts. It boots Nest/Fastify withAgentModule, actualAuthGuard, andInteractionController, then usesapp.injectagainst real HTTP routes for attach/send/stop denial behavior.ForbiddenException('Content and idempotency key are required')→ HTTP403; stop missing approval also asserts403; unauth attach asserts401.docs/tess/MOS-COORDINATION.mdno longer containsMosCoordination,MosHandoff, orInMemoryMosCoordinationPort; naming is updated toInteractionCoordination*,Handoff*, andInMemoryInteractionCoordinationPort.apps/gateway/src/commands/command-authorization.service.tsis unchanged; head blob hash remainsa9f829e7ecec721c6c585fe0da56fb5d6a6441e9; 7-fieldruntimeActionDigestremains intact.Refs #706non-closing; issue #706 remains open. Tracking trio remains untouched. No live creds found; no changed non-test source carries an improperTessliteral.No merge/deploy performed by reviewer.