Commit Graph
63 Commits
Author SHA1 Message Date
Harald KirschnerandGitHub 2f638681e9 Fix Chronicle cloud search timeouts with 7-day default window (#318620)
- Change default cloud turns query window from 90 days to 7 days
- Add two-step pattern as recommended approach (collect IDs first, then enrich)
- Add progressive widening strategy (7d → 30d → 90d) on empty results
- Fix timeout recovery guidance to narrow scope instead of retry

Fixes #318619
2026-06-09 00:55:06 +00:00
PaulandGitHub f28b044839 Update /create-hook (#320508) 2026-06-08 23:50:38 +00:00
Vijay UpadyaandGitHub 5fd263f7d0 Chronicle: consolidate /chronicle standup into the skill workflow (#320031)
* Chronicle: consolidate /chronicle standup into the skill workflow

* fix test
2026-06-05 13:34:47 +10:00
Vijay UpadyaandGitHub b365ecd0b8 Chronicle: per-subcommand telemetry attribution for sessionStoreSql tool (#319054)
chronicle: per-subcommand telemetry attribution for sessionStoreSql tool

Add a 'subcommand' enum input on copilot_sessionStoreSql so each /chronicle slash command (standup, tips, cost-tips, search, improve, reindex) tags its tool calls. Plumb it through _invokeQuery/_invokeStandup/_invokeReindex and emit it on the chronicle.sqlQuery telemetry event (with 'unknown' for ad-hoc model calls). Also add command/target/success dimensions while preserving the legacy 'source' value so existing dashboards keep working. Update each chronicle-*.prompt.md to instruct the model to set the subcommand on every call.
2026-05-29 21:16:38 +00:00
Vijay UpadyaandGitHub aa8bcda8c6 Chronicle: Support space-form slash subcommands (#318867)
* Chronicle: Support subcommands

* Feedback update

* Lazy-hydrate known prompt slash command names

Defer the initial getPromptSlashCommands() call and onDidChangeSlashCommands subscription until the first hasPromptSlashCommand() call. The previous constructor-time hydration fired during test workspace setup, priming cachedSlashCommands with empty results before mockFiles() registered files, causing 13 PromptsService test failures.
2026-05-29 07:21:15 +02:00
Vijay UpadyaandGitHub ba999257bb Chronicle cost-tips: scope to interactive VS Code chat with explicit opt-in for other agent surfaces (#318625)
* Chronicle cost-tips: scope to VS Code chat sessions

* add test
2026-05-27 20:30:22 +00:00
02ec884a75 Add /chronicle:improve prompt for data-driven instructions refinement (#318479)
* Add /chronicle:improve prompt for data-driven instructions refinement

* Address review feedback: typo fix and instructions file clarity

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-26 22:48:34 -07:00
Vijay UpadyaandGitHub bc13ab1981 Chronicle: Add cost-tips command (#317809)
* Chronicle: Add cost-tips command

* feedback updates
2026-05-21 14:11:44 -07:00
Vijay UpadyaandGitHub bcbe28f334 Chronicle: Circuit breaker improvement and empty result hint (#317670)
* Chronicle: Circuit breaker improvement and empty result hint

* feedback changes
2026-05-20 18:56:07 -07:00
Vijay UpadyaandGitHub 5821e9663e Chronicle: Anchor SQL dialect in the tool & add skill ref to prompts (#317438)
* chronicle search

* feedback updates

* chronicle: pin dialect in tool, load skill from prompts

* feedback updates
2026-05-20 08:06:29 +02:00
Vijay UpadyaandGitHub 0ead9ec220 Enable chronicle search (#317406)
* chronicle search

* feedback updates
2026-05-19 16:24:58 -07:00
a2ef0ad61d Make Chronicle a Skill (#313929)
* chronicle skill

* chronicle skill updates

Co-authored-by: Copilot <copilot@github.com>

* Feedback updates

Co-authored-by: Copilot <copilot@github.com>

* tests update

* Fix tsc err

Co-authored-by: Copilot <copilot@github.com>

* few updates

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-04 14:53:31 -07:00
Zhichao Li 6fef3dffff feat(otel): make attribute truncation configurable
Adds `github.copilot.chat.otel.maxAttributeSizeChars` setting and
`COPILOT_OTEL_MAX_ATTRIBUTE_SIZE_CHARS` env var to control truncation
of free-form OTel content attributes (prompts, responses, tool
arguments/results, hook input/output).

Default is `0` (unlimited), matching the OTel spec's
`AttributeValueLengthLimit` default of `Infinity`. Users on backends
with per-attribute size limits can set a positive value to keep OTLP
batches under the backend cap.

Plumbs the resolved limit through every call site that previously hit a
hardcoded 64KB fallback. Drops the `DEFAULT_MAX_OTEL_ATTRIBUTE_LENGTH`
constant; `truncateForOTel`'s default arg is now `0` (unlimited).

Refs #299952
2026-05-01 23:30:23 -07:00
PaulandGitHub 6baf32905c Enable custom agent hooks by default (#311827) 2026-04-22 11:48:28 -07:00
Martin AeschlimannandGitHub 504aa05ab6 improve /init (#309031) 2026-04-10 15:32:16 +00:00
Martin AeschlimannandGitHub 5dd90d7ba5 generalize /init skill to also suggest other chat customizations (#309020) 2026-04-10 14:40:45 +00:00
Martin AeschlimannandGitHub f0069609a2 convert built-in prompt files to skills (#308472) 2026-04-08 12:59:32 +02:00
Vijay UpadyaandGitHub d85e24d3d0 Agent Debug logging: detect mode changes, fix tools timing, add tool… (#4929)
* Title: Debug logging: detect mode changes, fix tools timing, add toolsFile to llm_request

* feedback updates
2026-04-02 07:45:47 +00:00
Vijay UpadyaandGitHub 5bdaefff27 Troubleshooting: Enrich chat debug JSONL logs (#4887)
* Enrich chat debug JSONL logs

* feedback update

* Feedback update2
2026-04-01 02:20:07 +00:00
PaulandGitHub 41b7ef8514 Support dynamic prompt variables (#4742)
* wip

* fixes

* update

* update

* updates

* updates

* clean

* clean

* clean

* fix tests

* update

* fix test
2026-03-27 21:55:42 +00:00
Vijay UpadyaandGitHub 9a4dc95e9b Support session references in troubleshoot skill + write models.json to debug logs (#4729)
* session reference for troubleshoot

* feedback update

* handle non-local session schemes

* handle non local path decode

* fix test failure
2026-03-26 21:24:07 +00:00
b817c6304c Better project setup skill description (#4424)
* Better project setup skill description

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-16 13:41:06 +00:00
PaulandGitHub 2472428c0d Move troubleshoot skill to files-based approach (#4365)
* v3

* wip

* wip

* nit

* wip

* permissions

* update

* update

* clean

* update

* clean

* update

* nit

* update
2026-03-12 07:22:28 +00:00
2bc3c71a67 init prompt: inventory docs and link instead of duplicating content (#4335)
Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-03-11 00:51:18 +00:00
Martin AeschlimannandGitHub c60ed49035 /create-agent uses double-quoted tool names (#4033) 2026-02-26 11:44:27 +00:00
Martin AeschlimannandGitHub bcdd715b29 Consistent naming of /create-instructions slash command (#3997) 2026-02-25 19:55:02 +00:00
4aaaef64f9 feat: improve agent-customization skill — Medium → High compliance (#3866)
* feat: improve agent-customization skill frontmatter and consolidate references

* fix: revert reference file reorganization per reviewer feedback

Keep original 6 reference files unchanged.
Retain improved SKILL.md frontmatter description and Common Pitfalls section.

---------

Co-authored-by: Harald Kirschner <hkirschner@microsoft.com>
2026-02-24 00:04:08 +00:00
Alex RossandGitHub 65fdf8536c Get search view results skill (#3891)
* Get search view results skill

* Fix test

* Fix test
2026-02-23 18:11:45 +00:00
b47ae3c8dd Fix tool names in project setup info skill (#3939)
* Fix tool names in project setup info skill

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 17:47:08 +00:00
Alex RossandGitHub 835a104d4b Add project setup skill (#3930)
* Add project setup skill

* Fix tool names
2026-02-23 15:01:44 +00:00
c387e1e150 Install extension skill (#3856)
* Install extension skill

* Add setting to code

* Move setting

* Update assets/prompts/skills/install-vscode-extension/SKILL.md

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

* Update package.json

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 09:06:31 +00:00
6b847f4340 Add create-* prompts, hooks primitive, and remove agentCustomizationSkill gating (#3713)
* Add create-* prompts, hooks primitive, and remove agentCustomizationSkill gating

* Update references in prompt files

---------

Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-02-13 20:58:24 +00:00
Lee MurrayandGitHub 73ea2d9627 Replace debug icon SVG with new design (#3718) 2026-02-13 13:18:46 +00:00
a3f901a9be Infer agent migration and new skills folder (#3464)
Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-02-05 01:13:11 +00:00
Harald KirschnerandGitHub 3d0c997c2c Add infer and agents fields to Plan agent config and serialization (#3252)
* Add infer and agents fields to Plan agent config and serialization

* Add skills note to planning
2026-01-29 00:29:09 +00:00
Harald KirschnerandGitHub 676245d637 refactor: shorten agent customization skill docs and clarify agent fields (#3248) 2026-01-28 23:13:08 +00:00
Harald KirschnerandGitHub bf72d95ab7 Add /init slash command for generating workspace instructions (#3206)
* Add /init slash command for generating workspace instructions

* Remove auto-generate

* Added hint, removed tools
2026-01-27 22:14:05 +00:00
dac3d77abc Add agent-customization skill with primitives documentation (#3196)
* Add agent-customization skill with primitives documentation

* Update assets/prompts/skills/agent-customization/primitives/workspace-instructions.md

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

* fix: rename agentCustomizationSkill setting to follow Advanced naming convention

* Updated skills.md based on spec

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-27 18:53:43 +00:00
Harald KirschnerandGitHub 6e5efc8420 Add /plan contributed prompt for Plan agent (#3193) 2026-01-27 00:59:42 +00:00
Harald KirschnerandGitHub 6d1dc0c320 Migrate Plan agent to CustomAgentProvider API (#3017)
* Migrate Plan agent to CustomAgentProvider API

* fix: address PR feedback - YAML escaping, type safety, DI patterns

* fix: make provideCustomAgents sync and add snapshot test

* fix: use ChatCustomAgentProvider API with file-based ChatResource

* refactor: flatten PlanAgent config keys and address review feedback
2026-01-23 01:51:32 +00:00
Martin AeschlimannandGitHub 0e2780db38 plan: adopt tool names (#2922) 2026-01-16 14:46:04 +00:00
Alexandru DimaandGitHub 9856f231de Make "Start Implementation" actually start the implementation (#2920) 2026-01-16 13:23:41 +00:00
Josh SpicerandGitHub 12d67f07d1 Set showContinueOn for handoffs in Plan mode prompt (#2228)
* disable showContinueOn for some handoffs in Plan mode prompt

* promptFileParser.ts copy from https://github.com/microsoft/vscode/commit/8d6b74026fba52c2239941945db9364d01024025

}
2025-11-26 22:16:01 +00:00
Josh SpicerandGitHub 0f0db2c864 swap to cloud icon for consistency (#2198)
* swap to cloud icon for consistency

* good call, copilot
2025-11-25 23:53:12 +00:00
Martin AeschlimannandGitHub 441302022f set tools in savePrompt (#1820) 2025-11-06 11:31:52 +00:00
Rob LourensandGitHub 8a986974ba Delete runSubagent tool (#1819)
* Delete runSubagent tool
Moving to the core version

* Fix
2025-11-06 06:43:28 +00:00
Harald KirschnerandGitHub 5a5596f687 Improve Plan mode feedback and save flow (#1816)
* Improve Plan mode feedback and save flow

* Fixed typo
2025-11-06 01:39:20 +00:00
Rob LourensandGitHub d82e2d2b87 Add runSubagent2 to plan mode (#1782) 2025-11-04 02:07:43 +00:00
Martin AeschlimannandGitHub 8d5ccde8c7 plan prompt: improve 'Open in Editor' (#1740)
* plan prompt: improve 'Open in Editor'

* accept suggestions
2025-10-31 15:05:33 +00:00
50a91a7d84 fix savePrompt contribution (#1738)
* fix savePrompt contribution

* update prompt

* Apply suggestions from code review

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 15:00:28 +00:00