Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add CodeQL analysis workflow configuration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Graph's receivedDateTime gt filter can re-deliver messages at the cursor's exact second after a server restart when per-session dedup is lost. Bump the watermark by 1 ms after each poll batch and isolate email poll tests from blob env leakage.
…odies
The 60-second email-poll channel push truncates the body preview of
inbound mail. Long forwards (recipient lists, threaded replies,
attached metadata) get cut off mid-content, so the agent can't read
past the cut even when the message_id is right there in the push.
Adds `read_email(message_id, mailbox="")` which calls Graph
`GET /me/messages/{message_id}` (or `/users/{mailbox}/messages/{id}`
for shared mailboxes) with `$select` covering body (text + HTML), all
recipient lists, sender, subject, internetMessageHeaders, and
hasAttachments. Reuses the same Agent User token chain + `Mail.Read`
scope as `email_poll`. Errors mirror `send_email`: 401 →
TokenExpiredError (auto-refresh + retry); 404/403/5xx → clean
{"error", "status", "message_id"} dict; bearer token never echoed.
+7 tests (happy path + verbatim long body + shared mailbox + 401/404/500
+ no-token-leak).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
feat(tools): add read_email MCP tool for fetching full inbound mail bodies
Homebrew-based prerequisite installer for macOS, mirroring prereqs-windows.ps1. Installs Xcode CLT, Python 3.12+, git, Azure CLI by default; .NET SDK + a365 CLI + PowerShell 7 are on by default with --skip-a365, --skip-pwsh, --core-only opt-outs. Idempotent. Prints a per-tool already/installed/failed summary at the end. setup.sh's prereq-missing error now points macOS users at the script (or the manual `brew install python@3.12 git azure-cli` line). Includes fixes from real install failures: PowerShell on macOS is the `powershell` formula in homebrew-core (the cask was retired), and the .NET SDK is the `dotnet` formula (not the `dotnet-sdk` cask) since the powershell formula depends on dotnet (formula). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Documents how to launch the entraclaw stdio MCP server from different host CLIs and the inbound-message delivery model that differs between them — channel push (Claude Code) vs auto-blocking send_teams_message (Copilot CLI, Codex, Cursor). - README "Launching the agent" section with the `--dangerously-load-development-channels server:entraclaw` invocation and a callout that the double-dash matters (Learning #44). - quickstart.md expanded "Launching the Agent" section with the same content plus the dog-ASCII heartbeat preview shown by hosts that block on a Teams reply. - TODOS P0 entry tracking the persona-sati OAuth /authorize + /token PKCE gap that blocks SSE-native auth on Claude Code v2.1.152; the current workaround uses persona-sati's stdio shim. Fix lives in persona-sati, not here.
Member
Author
|
Superseded by entraclaw→entrabot rename merged directly to main (commit 8c2783c). All 15 dev commits included. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes several important improvements across documentation, test reliability, and workflow automation. The main themes are: updating URLs to point to the correct canonical repository and documentation site, clarifying the project's research/prototype status, improving test assertions for reliability, and adding a CodeQL workflow for advanced code scanning.
Documentation and URL Updates:
Updated all references from the old repository and documentation URLs (e.g.,
https://github.com/microsoft/Entraclawandhttps://legendary-adventure-k5npoz7.pages.github.io/) to their canonical forms (https://github.com/microsoft/entraclawandhttps://microsoft.github.io/entraclaw/) acrossREADME.md,CHANGELOG.md,docs/, and manifest files. [1] [2] [3] [4] [5] [6] [7] [8]Clarified in
README.mdthat Entraclaw is a research project/prototype, added a disclaimer, and included contribution guidelines, links to the Microsoft CLA, Code of Conduct, and other relevant legal/policy documents. [1] [2]Test and Code Quality Improvements:
tests/tools/test_teams.pyby usingurllib.parse.parse_qsfor parsing URL-encoded form data, and making test assertions stricter and more explicit. [1] [2] [3] [4]tests/test_mcp_server_integration.pyto check for specific log message structure and arguments.tests/test_preflight.py.Workflow and Automation:
.github/workflows/codeql.ymlworkflow for advanced CodeQL code scanning on main and dev branches, including scheduled weekly scans.permissionstotest-windows.ymlworkflow for improved security.Other Notable Changes:
scripts/entra_provisioning.pyanddocs/reference/agent-foundry-entra-provisioning.pyfor better clarity and maintainability. [1] [2] [3]These changes improve the clarity, maintainability, and security posture of the project, while making documentation and contribution guidelines more accessible.