Skip to content

docs: make WorkIQ guidance grounding-first and host-neutral - #197

Open
Tolga Kilicli (tolgaki) wants to merge 24 commits into
mainfrom
tolgaki-microsoft-workiq-retrieve-guidance
Open

docs: make WorkIQ guidance grounding-first and host-neutral#197
Tolga Kilicli (tolgaki) wants to merge 24 commits into
mainfrom
tolgaki-microsoft-workiq-retrieve-guidance

Conversation

@tolgaki

@tolgaki Tolga Kilicli (tolgaki) commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Extend the original retrieve/ask/entity routing work with shared workflow contracts, host-neutral discovery, and focused source-filter/timezone safeguards.

  • Use retrieve with explicit Grounding for caller-owned context, including unspecified locations. Reserve ask for intentional Copilot or named-agent delegation.
  • Keep exact reads, structured workflows, mutations, and downloads on their appropriate entity tools; consolidate file, calendar, agent, and operation-aware recovery references.
  • Omit capabilities when source families are unspecified rather than guessing a narrower allow-list. Preserve explicit restrictions and justified targeted source needs.
  • Resolve each calendar-window boundary's offset for its requested date and timezone, with round-trip checks and spring/fall DST coverage.
  • Preserve mainline SharePoint library-metadata and Business Applications workflows, including exact site-page download identity handling.
  • Make shared guidance agent-host-neutral and keep workload/action discovery cues in marketplace and GitHub, Claude, and Codex manifests.
  • Set both packages to 2.1.0 for this release, without requiring future versions to remain in lockstep. Each package's own manifests must remain consistent.
  • Add scoped CI, documentation/metadata checks, and synthetic trace-contract coverage.

Documentation and test-infrastructure changes only: no shipping MCP endpoint, server implementation, tenant permission, or authentication configuration changes. Installing a plugin does not enable tenant-gated tools.

Validation

  • npm --prefix tests/workiq-guidance test: 422 passing offline checks at 7544b03.
  • New source-filter and date-boundary negative traces were accepted before their targeted checks and rejected afterward; equivalent UTC timestamps remain accepted.
  • Refreshed the installed public plugin and verified preview skill/reference loading in an isolated Copilot CLI configuration.
  • Cross-model review covered 96af058; subsequent focused source-filter/timezone hardening is in 7544b03.

Static/synthetic checks and CLI loading are not live endpoint validation, answer-quality results, or certification of every agent host. The mock evaluation performed no live Microsoft 365 reads or writes. Private evaluation artifacts are not included.

Known validation follow-up

Broader synthetic-oracle repairs remain separate work: zero-call acceptance, two fixture/operation-contract mismatches, per-request retry tracking, and compound pending/denied outcomes. This PR does not claim complete conformance enforcement or that all release gates are satisfied. The latest commit addresses the two identified skill-level hardening items, not those broader oracle issues.

Zilong Zhang and others added 11 commits August 28, 2026 13:49
Update the skill to the 0817 baseline combined with MCS metadata filtering optimizations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove contradictory completeness and retry guidance, make metadata enumeration host-neutral, and centralize the detailed workflow in its reference.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Make governed scope query-specific, clarify continuation paging, rehydrate traversal candidates, and separate absent columns from empty values.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: bb6cb03f-bae2-476f-9ba0-166be8383392
Replace MCS-specific KnowledgeSearch references with host-neutral SharePoint search wording.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Generalize indexing and rejected-path instructions and remove internal tracking identifiers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Avoid assuming a code interpreter is available and refer to host-provided code-writing or calculation tools instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the version-specific reference with the named policy section and summarize the required stop behavior inline.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document the validated two-hop drive and item addressing sequence, unsupported path forms, and bounded discovery fallback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Treat retrieved M365 content as untrusted data, avoid replaying mutations with ambiguous outcomes, and prevent upload-session credentials from appearing in model output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A few new/updated docs imply preview retrieve availability depends on installing workiq-preview, but availability is tenant-gated regardless of whether workiq or workiq-preview is installed.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the WorkIQ skill and plugin documentation to distinguish caller-owned retrieval (preview retrieve) from Microsoft 365 Copilot-owned synthesis (ask), and documents strategy selection, capability restrictions, and tenant-dependent availability/fallback behavior.

Changes:

  • Add end-to-end guidance for preview retrieve (contract, strategies, capability constraints, response handling, and fallback when not tenant-enabled).
  • Update existing ask docs and skill routing guidance to clearly separate “evidence gathering” vs “delegated answer.”
  • Refresh top-level plugin and repo catalogs (READMEs, PLUGINS.md, AGENTS.md) to reflect the retrieve/ask/entity-tool split.
File summaries
File Description
plugins/workiq/skills/workiq/SKILL.md Reframes skill guidance around retrieve vs ask, adds retrieve tool docs and grounding rules updates.
plugins/workiq/skills/workiq/references/troubleshooting.md Adds retrieve-specific troubleshooting and availability notes.
plugins/workiq/skills/workiq/references/retrieve-work-iq.md New reference documenting preview retrieve contract, strategy selection, and response handling.
plugins/workiq/skills/workiq/references/ask-work-iq.md Updates ask reference to position it as Copilot-owned synthesis and define fallback when retrieve is unavailable.
plugins/workiq/README.md Adds plugin-level usage docs for retrieve and clarifies tenant-dependent preview behavior.
plugins/workiq-preview/skills/workiq-preview/SKILL.md Mirrors the same retrieve/ask/entity routing and tool docs in the preview skill.
plugins/workiq-preview/skills/workiq-preview/references/troubleshooting.md Mirrors retrieve troubleshooting guidance for the preview skill.
plugins/workiq-preview/skills/workiq-preview/references/retrieve-work-iq.md New preview retrieve reference (parallel to workiq).
plugins/workiq-preview/skills/workiq-preview/references/ask-work-iq.md Mirrors ask doc updates for the preview skill.
plugins/workiq-preview/README.md Mirrors plugin-level retrieve guidance for the preview plugin.
PLUGINS.md Updates plugin directory descriptions and WorkIQ sections to reflect retrieve/ask/entity routing and availability caveats.
AGENTS.md Updates repository context to reflect preview retrieve guidance and capability/strategy constraints.
Review details
  • Files reviewed: 12/12 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread plugins/workiq-preview/skills/workiq-preview/references/troubleshooting.md Outdated
Comment thread plugins/workiq/skills/workiq/references/retrieve-work-iq.md
Comment thread plugins/workiq/skills/workiq/references/troubleshooting.md Outdated
Tolga Kilicli (tolgaki) added a commit that referenced this pull request Sep 9, 2026
Preserve the preview retrieve guidance in AGENTS.md and PLUGINS.md while retaining main's removal of obsolete Work IQ EULA files and references.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Distinguish caller-owned retrieval from Copilot synthesis, document source-based strategies and capability restrictions, and handle tenant-dependent availability and retrieval failures.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tolgaki
Tolga Kilicli (tolgaki) force-pushed the tolgaki-microsoft-workiq-retrieve-guidance branch from cb83476 to a09c03d Compare September 9, 2026 13:11
Keep retrieve/ask evidence ownership and safeguards in concise skill front pages, preserve detailed workflows in references, and align draft, calendar, file, query, and mail-exchange guidance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tolgaki Tolga Kilicli (tolgaki) changed the title docs: add preview retrieve guidance to WorkIQ skills docs: clarify WorkIQ routing and streamline skill guides Sep 9, 2026
thejeffand and others added 7 commits September 9, 2026 13:55
Clarified instructions for discovering Business Applications resources and emphasized the use of natural language queries.
[WorkIQ] Add Business Applications guidance
…ovement_0828

Improve WorkIQ skill with 0816 guidance and metadata filtering
Retain Business Applications, SharePoint library metadata, and newer mutation recovery guidance while adopting the compact entry skill.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Unify both WorkIQ skills around caller-owned retrieval, intentional agent delegation, canonical domain workflows, and operation-aware recovery. Preserve mainline SharePoint and Business Applications behavior. Add synthetic contracts, trace validation, package parity, and scoped CI checks without claiming live agent compliance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Retain the inherited list-item to driveItem resolution chain in the canonical SharePoint reference, with explicit provenance and denial safeguards. Add a regression for using the wrong item identity in the download path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Separate shared agent policy from host-specific installation and validation. Synchronize both marketplaces and GitHub, Claude, and Codex plugin manifests at 2.1.0, with a regression gate for matching public and preview versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Restore explicit M365 workload and action coverage in host metadata. Keep both current versions at 2.1.0 while allowing future public/preview divergence; validate each package against its own marketplace and host manifests.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Make omitted capability filters explicit for unspecified sources, preserve justified scoped retrieval, and require date-specific calendar offsets with timezone round-trip checks. Add focused source-filter and spring/fall DST regressions without changing the broader oracle policies or plugin versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tolgaki Tolga Kilicli (tolgaki) changed the title docs: clarify WorkIQ routing and streamline skill guides docs: make WorkIQ guidance grounding-first and host-neutral Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants