s360-reporter: auto-fetch prior report via WorkIQ Graph (AB#3683195), Fixes AB#3683195#445
Open
shahzaibj wants to merge 1 commit into
Open
s360-reporter: auto-fetch prior report via WorkIQ Graph (AB#3683195), Fixes AB#3683195#445shahzaibj wants to merge 1 commit into
shahzaibj wants to merge 1 commit into
Conversation
Replace the copy/paste-first Step 0b with a Graph-fetch-first flow that pulls last week's S360 Weekly Report from the user's mailbox via the WorkIQ MCP's workiq-fetch passthrough (GET /me/messages). Skip messages within the current cycle and pick the most recent remaining email, then parse via the existing Step 3a rules. VS Code's input box was silently truncating large HTML pastes, which corrupted the new-vs-previously-tracked diff in Step 5 (Cesar's survey feedback). Fallback tier when Graph is unreachable: workiq-fetch -> mcp_workiq_ask_work_iq natural-language query -> �sk_user paste as last resort. Step 3a is reframed as parser-only (invoked from Step 0b); Prerequisites and Edge Cases updated with $search/$filter incompatibility note. Fixes AB#3683195 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
✅ Work item link check complete. Description contains link AB#3683195 to an Azure Boards work item. |
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.
Fixes AB#3683195.
Why
Cesar''s star-5 skill-effectiveness survey for
s360-reporterflagged the current Step 0b flow — where the user pastes last week''s report into a VS Code text box — as the top pain point. VS Code silently truncates large HTML pastes, which corrupts the previous-report map and causes items that existed last week to be mislabeled as new in this week''s diff.What
SKILL.md-only change. Flip Step 0b from paste-first to Graph-fetch-first.workiq-fetch, runtime tool identifiermcp_workiq_fetch) with:$searchcan''t be combined with$filter. Drop messages < 3 days old (current cycle), take the most recent remaining, parsebody.contentwith the existing Step 3a rules. Log a one-liner naming the picked email so the choice is auditable.workiq-fetch->mcp_workiq_ask_work_iqNL query ->ask_userpaste (last resort). Paste stays available for the offline / Purview-blocked case but is never the default.$search/$filterincompatibility note.No JS/parser code changes — parsing was prose-only and the same rules now serve all three sources.
Verification
Skill-doc change; no build/test. Suggested next-OCE dry run:
Fetched prior report: "S360 Weekly Report — <date>" (sent ...Z) — parsed N items..vscode/mcp.jsonand re-run — the skill should degrade toask_work_iq, and finally to the paste prompt.Open item
The user request names the tool
workiq-fetch. The@microsoft/workiqMCP is installed but not connected in this session, so I couldn''t live-probe the exact runtime identifier. SKILL.md documents both the raw name (workiq-fetch) and the likely runtime form (mcp_workiq_fetch) — please reconcile on first live run if the identifier differs.Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com