Personal Agent — architecture and implementation summary

As of November 13, 2026. Latest verified deployed application baseline: Git commit 92ff219 on master. This document describes the current implementation and completed validation. Older component runbooks include historical local-only milestones; those statements should not be read as the current deployment status.

1. Purpose and boundaries

Personal Agent is a local-first proof of concept for using one protected backend from a private website, local MCP clients, ChatGPT, Muse v2, Claude, grok.com, and Gemini. It combines fictional employee/payroll operations with real, explicitly authorized Microsoft profile and calendar reads. It demonstrates federation, delegated access, tool execution, host-embedded MCP Apps, provenance, JSON persistence, and GitHub-driven serverless deployment. Claude and grok.com render the existing interactive pay-history MCP App. Gemini is connected for tool use but did not render that original MCP App in the tested Gemini web/Developer Mode session.

This is currently an explicitly allowlisted, single-owner Acme POC. It is not an open registration, million-user SaaS, or production HR system. The Google and Microsoft identities belong to the same owner and are explicitly associated in configuration. The original Training Agent/Garmin work is separate; this release does not establish completion of a Garmin official-API migration.

2. Logical architecture

Deployment — GitHub pipeline

Microsoft data access — separate consent

MCP App hosting — tested November 13, 2026

Personal Agent on AWS

Identity and access

Ways to use Personal Agent

OAuth

OAuth

OAuth

OAuth

OAuth

Sign-in

Separate read-only clients

Separate read-only clients

Website client

Federated sign-in

Federated sign-in

Authenticated MCP calls

Authenticated MCP calls

Authenticated MCP calls

Authenticated MCP calls

Authenticated MCP calls

Same verifier and canonical /mcp audience

Authenticated chat / connection requests

Prompt · Tool requests · Results

Owner-scoped conversation JSON

Store / refresh private credentials

Authenticated resource read

Host renders original resource

Host callServerTool bridge; read-only calls

Observed UI limitation

Dashboard not tested

Dashboard not tested

Connect Microsoft separately

One-use state and code callback

Microsoft access token; read-only

Current validation boundary

Deploy backend and bundled MCP App

Deploy website backend

You / authorized user

Private website
Chat · Connections · Profile history

ChatGPT
Personal Agent connector

Muse v2
Personal Agent connector

Claude
Google-only · Read-only MCP

grok.com
Google-only · Read-only MCP
Not Grok Bot

Gemini
Google-only · Read-only MCP
Personal Agent Employees

Separate public clients per platform
ChatGPT · Claude · Grok
OAuth code + S256 PKCE

Separate confidential clients
Muse · Gemini
Client ID + secret; Gemini uses S256 PKCE

Dedicated Personal Agent website client
OAuth code + S256 PKCE

Amazon Cognito
Sign-in · OAuth tokens · Access scopes

Google identity

Microsoft identity

Shared MCP endpoint
/mcp
Existing integrations preserved

Gemini-only entry
/gemini/mcp
Advertises read scope only

MCP server · Connector Lambda
Original Cognito token verification
Exact audience · Client · Subject · Scope

Chat service · Lambda
Website token and role checks
Runs website agent and tools

Employee API / data layer
Fictional Acme records
Writes require a separate write scope

Microsoft Graph adapter
Consent callback · Token renewal
Profile and calendar reads

Request / profile capture
Verified client labels · Tool · Timestamp
Website · ChatGPT · Muse · Claude · Grok · Gemini

Protected bundled MCP App
ui://personal-agent/pay-dashboard
text/html;profile=mcp-app

Private encrypted S3 bucket
Mock employee JSON · Chat history
Credential-free request/profile history
Separate private Microsoft token cache

Claude and Grok
Original interactive pay-history dashboard
Employee selector · Gross/net chart · Table
Grok Refresh bridge verified

Gemini web / Developer Mode
Tools work; original MCP App did not render
Generated substitute chart is not the MCP App

ChatGPT / Muse dashboard support
Not tested in this work

Microsoft OAuth consent
User.Read · Calendars.Read · Offline access
Authorization code + S256 PKCE

Microsoft Graph API
Real profile + calendar
Read-only

November 13 onboarding used Google
Microsoft authentication issue not remediated

OpenAI Responses API
Website chat reasoning + tool selection

GitHub push to master

AWS CodePipeline / CodeBuild
Locked MCP App bundle + script validation
Tests · Guarded CloudFormation deployment

S3 + CloudFront
Protected website pages

Claude and Grok render the existing MCP App. Gemini uses an isolated read-only entry point; the original MCP App did not render in the tested session. Zoom in and scroll to inspect the map.

Editable standalone Mermaid source: .

The website chat uses its own server-side OpenAI orchestration. ChatGPT, Muse, Claude, Grok, and Gemini provide their own model/orchestration and call the hosted MCP server; they do not route through the website chat model. MCP App rendering is a separate host capability from tool execution. The Grok integration here is grok.com, not Grok Bot.

3. Components and code organization

Component Responsibility Repository location
Website chat Conversation UI, tool activity, source labels privated/personal-agent/index.html and related assets
Connection page Microsoft connect/renew, status, profile/calendar reads connections/
Profile viewer Search/list/select captured profiles, formatted fields and JSON profiles/
Local employee API REST routes, validation, tenant rules, JSON persistence api/
Local MCP adapter Stdio tools wrapping the local REST API mcp-server/
Local chat backend Responses API orchestration and local server lifecycle chat-backend/
Remote backend Token verification, Streamable HTTP MCP, website APIs, S3 adapters remote/
Gemini compatibility entry Read-only resource discovery and isolated MCP routing using the original verifier remote/gemini_compat.py
Pay-history MCP App Bundled interactive dashboard, MCP Apps SDK bridge, build validation mcp-apps/
Microsoft Graph core MSAL flow, profile/calendar reads, local Keychain adapter graph/
Identity configuration Federation setup and reviewed deployment bindings identity/
Application infrastructure AWS SAM/CloudFormation template infra/template.yaml
Architecture assets Existing diagrams and explanatory pages architecture/

Paths in this table are relative to privated/personal-agent/ unless fully qualified. The private index includes navigation cards for Personal Agent, its architecture, profiles, and Microsoft connection.

4. Runtime interfaces

Employee REST API

Method Route Purpose
GET /health Public liveness; does not validate data readiness
GET /v1/employees Paginated employee list
GET /v1/employees/{id} Employee detail
GET /v1/employees/{id}/pay-summary Latest pay period
GET /v1/employees/{id}/pay-history Six months, month-over-month comparisons, chart arrays
GET /v1/employees/{id}/time-off List requests
POST /v1/employees/{id}/time-off Create a pending request

The implementation validates identifiers, pagination, dates, unknown input fields, employee status, and duplicate time-off dates. Terminated employees and duplicate dates cannot create valid new requests. Writes are not blindly retried after ambiguous timeouts.

Hosted MCP tools

Nine tools are exposed: health, list_employees, get_employee, pay_summary, pay_history, list_time_off, create_time_off, microsoft_profile, and microsoft_calendar_events.

create_time_off changes fictional data and requires the write scope remotely. The other eight tools are reads. Listing a tool does not authorize invoking it. ChatGPT, Muse, Claude, Grok, and Gemini connector clients are configured read-only. The new Claude/Grok/Gemini clients allow Google sign-in only; Microsoft is not required for their employee/payroll tests. Calendar writes are not implemented.

Connection endpoints and Gemini isolation

Consumer MCP connection URL OAuth resource / token audience
ChatGPT, Muse, Claude, grok.com https://personal-agent-api.luisdf.com/mcp https://personal-agent-api.luisdf.com/mcp
Gemini https://personal-agent-api.luisdf.com/gemini/mcp https://personal-agent-api.luisdf.com/mcp

The shared protected-resource metadata continues to advertise both read and optional write scopes. Gemini initially requested every advertised scope, causing Cognito to reject its read-only client with invalid_scope. The isolated Gemini entry advertises only read at /.well-known/oauth-protected-resource/gemini/mcp, while retaining the original Cognito authorization server, canonical resource audience, and token verification.

The Gemini-only middleware rejects other client IDs, tokens containing the write scope, and duplicate Authorization headers. Its preliminary routing filter does not authenticate a caller: the original verifier must still validate the signature, issuer, audience, client, subject, and scopes before any MCP access. OAuth and token exchange remain directly with Cognito; the compatibility entry does not receive client secrets, exchange codes, or mint tokens. The original /mcp route, shared discovery responses, existing clients, and user/tenant restrictions remain unchanged.

Interactive pay-history MCP App

The existing pay_history tool retains its name, arguments, text output, and structured JSON response. Its _meta.ui.resourceUri points to ui://personal-agent/pay-dashboard, exposed as an authenticated MCP resource with MIME type text/html;profile=mcp-app. Clients without MCP Apps support can continue to use the ordinary tool result.

The dashboard provides employee selection, refresh, gross/net display controls, a monthly chart, amounts, and changes. It uses the host's MCP Apps callServerTool bridge for list_employees and pay_history; all reads retain backend identity, read-scope, and Acme tenant checks. The single bundled HTML resource contains no credentials or employee dataset and needs no runtime CDN, direct API fetch, token handling, local storage, or external network access. Resource CSP metadata has empty connectDomains and resourceDomains lists. The resource is packaged with the Lambda, not published as an unauthenticated static page.

Host Employee tool integration Existing pay-history MCP App
Claude Connected; Google-only read-only MCP client Rendering confirmed
grok.com health, list_employees, and pay_history verified Rendering and Refresh bridge round trip verified
Gemini web / Developer Mode Connected as Personal Agent Employees; the same three tools verified Original resource did not render in the tested session
ChatGPT and Muse v2 Existing employee integrations retained Not independently tested for this dashboard in today's work

Gemini generated a separate visualization from returned data; that was not the existing MCP App. An explicit follow-up requested only the original resource, without a replacement chart, and it still did not render. This records the tested Gemini surface, not a blanket claim about every Gemini product or future version.

Website-only backend routes

The chat Lambda handles chat/session operations, administrator profile listing/reading, and:

Public connector discovery includes /openapi.json, /.well-known/oauth-protected-resource/mcp (plus the root metadata form), and the separate /.well-known/oauth-protected-resource/gemini/mcp document. Public documentation does not expose protected data.

5. Identity and authorization

Federation into Personal Agent

Google and Microsoft authenticate users upstream. Cognito is the application's identity broker and OAuth authorization server. The agent services validate Cognito access tokens rather than trusting browser UI visibility, caller tenant headers, email strings, or claimed MCP client names.

Validation includes signature/JWKS, configured issuer, token lifetime, access-token type, allowed client ID, and exact allowed Cognito subject. Connector access also requires the exact MCP resource audience and applicable read/write scope. Website APIs use a separate website verifier and role checks.

The shared website client retains its prior Google/Cognito behavior. Personal Agent has a dedicated website client with Google and Microsoft choices, its own authentication storage namespace, and a PersonalAgentAdmin role. Adding the Microsoft identity does not make it a shared-site administrator.

Separate OAuth clients

Consumer Client type Token exchange
Personal Agent website Public Authorization code + S256 PKCE
ChatGPT Public, read-only Authorization code + S256 PKCE; no secret
Muse v2 Confidential, read-only Authorization code with client_secret_basic
Claude Public, Google-only, read-only Authorization code + S256 PKCE; no secret
grok.com Public, Google-only, read-only Authorization code + S256 PKCE; token auth method none
Gemini Confidential, Google-only, read-only Authorization code + S256 PKCE; dedicated client ID and secret
Other/local connector testing Separate public client PKCE

Each confidential client's secret authenticates that platform to Cognito during token exchange. These secrets are not Microsoft Graph access tokens and are not required by the MCP API to validate signed access tokens. Claude, Grok, and Gemini have separate clients; no existing connector client or secret was reused. Secrets remain with Cognito and the authorized platform configuration, outside source files, CloudFormation outputs, Lambda configuration, profile history, and chat logs. Existing connector clients and secrets were preserved during today's additions and Gemini isolation work.

Canonical connector resource and token audience, including Gemini: https://personal-agent-api.luisdf.com/mcp. Read scope: https://personal-agent-api.luisdf.com/mcp/read. Write scope: https://personal-agent-api.luisdf.com/mcp/write. The earlier short personal-agent/read form is not the configured resource-bound scope.

Callbacks are registered exactly, with no wildcard registrations:

Consumer Registered callback
ChatGPT https://chatgpt.com/connector/oauth/oFkueN6XoNeP
Muse v2 https://agent.meta.ai/api/hatch/oauth/callback
Claude https://claude.ai/api/mcp/auth_callback
grok.com https://grok.com/connectors-oauth-exchange-code/
Gemini https://oauth-redirect.googleusercontent.com/r/user_bound_custom-mcp-54b0678964d403ff3c72000e

The Grok callback and public PKCE requirements were observed in its actual setup/authorization flow. Gemini's exact callback was copied from its setup control and remained the same for the isolated connection. New Claude/Grok/Gemini clients allow only authorization code flow and the existing read scope, plus openid, email, and profile; none has a write scope. Their dedicated identity templates configure 15-minute access/ID tokens, seven-day refresh tokens, and token revocation. The runtime reads explicit client ID bindings from identity/deployment.json.

6. Microsoft Graph delegated access

Microsoft federation and hosted Graph reads were validated on November 12 as recorded below. Microsoft authentication was reported as problematic during November 13 onboarding; that issue was not repaired or retested in this work. Claude, Grok, and Gemini were tested with Google and fictional employee/payroll records. Their successful onboarding does not establish that Microsoft authentication or Graph is currently healthy, and it did not remove or broaden existing Microsoft permissions.

Signing in through Microsoft establishes identity; it does not alone grant calendar access. A separate Microsoft OAuth flow authorizes delegated User.Read and Calendars.Read, with OIDC scopes and offline access for renewal. The Microsoft app is currently configured for personal Microsoft accounts, matching the Hotmail POC; work/school account support is not established by this implementation.

The Graph flow uses the same Microsoft app registration and a public client with authorization code + S256 PKCE. Cognito's upstream Microsoft federation uses a separate confidential credential for federation. Those are distinct uses of the Microsoft registration.

Connection sequence:

  1. The user signs in to Personal Agent through Cognito.
  2. The authenticated connection page requests /graph/connect.
  3. The backend persists short-lived OAuth state, nonce/PKCE context, and verified owner binding.
  4. Microsoft authenticates the selected account and obtains any required consent.
  5. The callback conditionally consumes state before exchanging the authorization code.
  6. The backend verifies the Microsoft account against the already-federated provider identity; email matching alone is insufficient.
  7. The resulting MSAL cache is stored privately and reused/refreshed for Graph reads.

Local credentials use macOS Keychain. Hosted credentials use encrypted private S3; the local cache was not copied to AWS. The explicitly configured Google and Microsoft Cognito subjects share one owner connection. Tools take the authenticated identity from server context, never a caller-supplied owner argument.

Profile reads use /me. Calendar reads use /me/calendarView, include recurring occurrences, return UTC times, limit queries to 93 days and page sizes to 1–50, and use opaque caller/range-bound cursors. Graph URLs are restricted and redirects rejected. Event bodies and attachments are not requested. Calendar data is treated as untrusted content when used by the agent.

There are no mail, contacts, files, or calendar-write permissions. Creating/updating/deleting events requires code changes and renewed consent for Calendars.ReadWrite.

7. Data architecture

Private bucket: personal-agent-databucket-ptmifi7lqfgo, in AWS us-east-1. S3 prefixes are logical folders, not nested buckets.

Prefix/object Data Access pattern
personal-agent/data.json Fictional tenants, employees, pay, time off Shared operations; conditional whole-document updates
chat/<subject>/ Website chat/session persistence Owner-scoped website backend
user-info/<subject>/ Credential-free federated profile/request history Runtime writes; administrator viewer reads
graph-private/<owner>/connection.json MSAL cache including delegated credentials Exact owner prefix, two runtime roles
graph-private/<owner>/pages/ Expiring calendar paging context Bound to caller and date range
graph-private/flows/ Expiring one-use OAuth flow context Website/chat Lambda only

Bucket controls include private access, AES256 server-side encryption, TLS enforcement, versioning, and retention on stack deletion. Credentials are kept separate from profile snapshots and cannot be read through the profile viewer or employee tools.

Local employee records are formatted JSON with file locking and atomic replacement. Hosted writes use S3 ETags and conditional requests; conflicts reload state and reapply validation. A missing production dataset is not silently replaced with an empty one. The S3 adapter also handles missing private connection objects that return 403 under scoped permissions by checking an exact permitted prefix; an existing object's denied read remains an error.

The mock dataset contains two tenants, Acme and Globex, with 24 employees and 144 monthly pay records overall. Remote authorization currently maps the allowed owner identities only to Acme. Employee attributes include city, state, and fictional insurance provider assignments. Every employee has six consecutive monthly pay records. History responses provide gross/net amounts, month labels, changes and percentages, and aligned chart arrays; missing comparisons remain null rather than fabricated zeroes.

8. Profile and request history

Every eligible successful backend token verification attempts a new capture, including requests using a cached token. This is backend-use history, not a record of fresh logins. The collector obtains mapped Cognito profile attributes and checks their subject against the verified caller.

Filename format:

<Name> - <Provider> - <Application> - <UTC timestamp> - <event UUID>.json

History includes available mapped identity/profile attributes, linked provider identifiers, selected Cognito account metadata, verified authentication context, a server-generated request ID, HTTP method/path, and MCP method/tool name when available. Application labels derive from verified OAuth client IDs: Website, ChatGPT, Muse, Claude, Gemini, Grok, or another configured client. Both runtime profile-label maps include the new clients. New Gemini and Grok history-object timestamps/labels were checked without printing user attributes or full object keys.

It excludes passwords, raw OAuth tokens, secrets, chat bodies, tool arguments, calendar response payloads, and tool outcomes. Captures are best-effort and can fail without blocking a request. An entry therefore proves an eligible authenticated attempt, not completion or a new provider login. Provider names describe linked identities and do not necessarily identify the provider used in that particular login.

The protected viewer supports listing, filtering, grouped fields, and raw JSON. Connector tokens do not authorize this administrator API. The viewer cannot access graph-private/ credentials. Full calendar response logging was discussed but has not been built.

9. Agent behavior and provenance

The website chat uses the OpenAI Responses API, conversation context, and controlled tool execution. Credentials remain server-side. Replies expose execution-derived activity: tool name, purpose, safe inputs, operation, result summary, status, and duration. Labels distinguish fresh connected-tool use, model general knowledge, reused conversation context, and unsuccessful tool attempts. The LLM still composes the reply; the label is not proof that every sentence is an API fact.

Fictional employee/payroll records are distinguished from real Microsoft data. Website chat instructions address prompt injection from calendar content. These website behaviors do not impose identical UI or prompting on ChatGPT, Muse, Claude, Grok, or Gemini; each host controls its own model, approvals, retries, and resource rendering. MCP App support is recorded separately from ordinary tool success.

10. Deployment architecture

Application releases follow:

GitHub master → CodePipeline source → static validation/build → guarded Personal Agent backend deployment → static publication → CloudFront invalidation.

Pipeline: LuisDFWebsiteSafePipeline. Application stack: personal-agent. Pipeline stack: luisdf-site-pipeline.

The pipeline builds Python 3.13/Linux dependencies, installs locked MCP App JavaScript dependencies with scripts disabled, bundles the dashboard, runs regression/security tests, packages an explicit runtime source allowlist, creates and reviews a guarded CloudFormation change set, updates the existing services, and runs live health/discovery/authentication checks. Backend failure stops static publication. Static artifact allowlisting excludes source backends, local records, environment files, credentials, virtual environments, and test fixtures. Only the built pay-dashboard.html resource enters the backend package; node_modules and local build trees are not public website assets. The MCP App build preserves literal bundled JavaScript during HTML insertion, escapes script-closing sequences, and syntax-checks the emitted module before packaging.

CloudFormation guards reject additions, deletions, replacements, and out-of-scope resources. The reviewed identity bindings are MicrosoftSubject, PersonalAgentWebsiteClientId, MicrosoftProviderEnabled, ClaudeOAuthClientId, GeminiOAuthClientId, and GrokOAuthClientId. Guards validate client ID formats and reject reuse among the new connector and dedicated website bindings. In-place client changes remain limited to the three existing OAuthClient, MuseConfidentialClient, and ChatGPTOAuthClient resources, alongside the existing runtime/role/API changes. Shared clients, the pool, bucket creation/deletion, and identity providers remain outside this runtime release scope. Pipeline IAM bootstrap was performed separately. The new Google-only clients were provisioned in separate identity stacks: personal-agent-claude-identity, personal-agent-grok-identity, and personal-agent-gemini-identity. This did not give the runtime pipeline permission to create Cognito clients. Application, authorization-binding, and Gemini compatibility changes were committed to master and deployed through the GitHub pipeline, not applied directly to Lambda or the application stack.

The remote service uses Lambda, API Gateway HTTP API, a custom domain, and S3. Website chat and website APIs use a separate Lambda Function URL with token validation and website-origin controls. Connector API throttling is configured at 10 requests/second with burst 20. Logs have 14-day retention. The bucket's version history does not have the same 14-day retention guarantee.

11. Local development

VS Code launch/configuration supports local employee API, chat, profile viewer, and Microsoft federation/Graph validation. Core endpoints are API 127.0.0.1:8081, chat 127.0.0.1:8080, remote adapter 127.0.0.1:8090, and federation/Graph preview 127.0.0.1:8097. Local stdio MCP runs as a subprocess rather than a listening HTTP service.

Local API development uses a loopback service key and configured tenant, not the production Cognito trust boundary. The chat launcher can start the API and loads only the needed OpenAI settings from an ignored environment file. Local JSON and Keychain credentials are not deployment artifacts. Production has no test-token bypass.

Build the MCP App from the repository root with npm ci --prefix privated/personal-agent/mcp-apps --ignore-scripts and npm run build --prefix privated/personal-agent/mcp-apps before packaging or tests that read the resource. The Gemini compatibility code is enabled only with an already-authorized GEMINI_OAUTH_CLIENT_ID; it adds no local or production authentication bypass.

12. Validation completed

November 12 baseline

On November 12, 2026:

November 13 integrations, MCP Apps, and isolation

Area Completed validation
Claude Dedicated Google-only read-only MCP integration; existing interactive pay-history MCP App rendering confirmed
MCP App build Single HTML bundle, preserved script literals, and syntax validation of the emitted module; ordinary tool output remains available
grok.com Google OAuth and read-only health, list_employees, and E1001 pay_history; original MCP App rendered with chart/table/controls and successful Refresh
Gemini Google OAuth completed as Personal Agent Employees using /gemini/mcp; nine tools discovered; final telemetry shows 200 OK for health, list_employees, and E1001 pay_history
Gemini UI limitation Original MCP App did not render after an explicit original-resource-only request; Gemini's generated substitute chart was excluded from the compatibility result
Shared integration regression Original discovery responses and ChatGPT/Muse/Claude/Grok tool discovery exercised in signed-fixture tests; existing Grok dashboard refreshed successfully after the Gemini deployment
Authorization isolation Wrong issuer/audience/subject/signature, unauthorized clients, Gemini write-scope tokens, and duplicate Authorization headers rejected; no write operation authorized by the new clients
Audit labels Gemini/Grok history labels and new object timestamps verified without exposing credentials or profile attributes
Final checks 48 remote/security tests and seven pipeline-guard tests passed; SAM lint and live health/discovery/authentication checks passed

Gemini initially requested both shared advertised scopes; its read-only client correctly received invalid_scope. The fix was isolated read-only discovery, not granting write access or weakening the verifier. A fresh post-deployment setup completed account linking. Cognito's audit log confirmed a successful authorization-code exchange for the original /mcp audience. Gemini retried initial tool errors before the successful results; the inspected initial health failure was reported as an internal Gemini error.

Grok returned five employees with further pagination available. Gemini returned all 12 fictional Acme employees with next_cursor: null. Both returned six E1001 pay periods, May–October 2026, with latest gross USD 5,200 and net USD 3,900. No Microsoft operations or employee writes were needed for these tests.

Implementation milestones include 8f64db4 (Claude and MCP App), 1826f6a (bundled script preservation/validation), 77c81ea (Grok/Gemini identity bindings), ac1ec6e (isolated Gemini read-scope discovery), and 92ff219 (verified connection and duplicate-header isolation). The final 92ff219 pipeline execution, 634e05d7-cee2-479e-96e5-09d4478a2f30, succeeded through source, build, backend deployment, static publication, and CloudFront invalidation.

These are bounded tests, not a claim of load testing or a complete production security audit. Today's Google-based tests do not supersede the Microsoft status caveat in section 6.

13. Scaling and remaining decisions

Before broad production use:

  1. Replace the explicit owner mapping with deliberate user/tenant onboarding and secure account-linking rules. Never infer account ownership from email alone.
  2. Define per-user Microsoft grant storage, disconnect/revocation, deleted-account cleanup, retention, and credential-version lifecycle. Expiry checks reject stale state but do not themselves delete old objects/versions.
  3. Replace or partition whole-document employee JSON for concurrent/high-volume writes; design indexes and pagination for large profile histories.
  4. Reassess throttling, concurrency, token refresh contention, model cost controls, quotas, alarms, incident procedures, backups and recovery objectives.
  5. Publish/distribute connectors using each platform's supported process. Verify catalog refresh, token renewal, disconnect/revocation, and MCP App hosting separately on each target surface. Preserve compatibility while older tool definitions remain live. Muse v2 Microsoft tools and ChatGPT/Muse dashboard rendering still need platform-specific validation; the tested Gemini surface currently uses ordinary tool output.
  6. Keep consent changes separate from catalog refresh. New data privileges require user authorization even if tools update automatically.
  7. Define privacy notices, lawful collection purposes, retention and deletion for real profiles and any future calendar snapshots. Current calendar content is returned to authorized callers but not written to request-history files.
  8. Validate work/school Microsoft identity if needed; the present registration is personal-account oriented.
  9. Add calendar writes only after designing scope consent, explicit user intent/confirmation, idempotency, and timezone/attendee semantics.

14. Reference entry points

No secret values are included in this document. This page is a dated architecture snapshot; implementation and validation status may change after the stated baseline.

Back to top ↑