.. include:: /Includes.rst.txt .. _task-1791617742: =========================================================== Task: The assistant package uses Identity's token contracts =========================================================== Description =========== The MCP package learns the name and access level of the personal access token through AccessTokenContext, writes its tool calls to the activity log through ActivityRecorder and marks its endpoint with the attribute Identity\Contract\AllowsReadOnlyTokens, instead of request attributes, the log and the attribute inside the core. Impact ====== Code outside adsum that marks endpoints for read-only tokens imports AllowsReadOnlyTokens from Identity\Contract. .. index:: package:adsum-core, package:adsum-mcp