15 Commits
Author SHA1 Message Date
New FutureandFuture New 8e784f6976 ci: migrate issue replies to Copilot with the built-in Actions token (#742)
* test(ci): probe Copilot built-in token access

* test(ci): remove completed Copilot token probe

* ci: migrate issue replies to Copilot agentic workflow

---------

Co-authored-by: Future New (WEILAI LIU) <weilail@microsoft.com>
2026-09-08 18:44:17 +08:00
2501c4a1d8 ci(agent): add deterministic project checks (#735)
* feat(agent): define portable project development contract

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

* ci(agent): add deterministic project checks

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

* fix(ci): isolate agent contract concurrency

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

* fix(ci): run complete agent contracts

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

* fix(agent): cover generated docs and drift reports

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

* fix(agent): close project contract coverage gaps

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

* fix(agent): harden change discovery contracts

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

* fix(agent): close final contract blind spots

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

* fix(agent): validate active provider surfaces

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

* fix(agent): enforce complete validation indexes

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

* fix(agent): reject stale provider overview rows

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

* fix(ci): validate all workflow changes

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

* fix(agent): keep validation inputs deterministic

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

* fix(agent): ignore deleted format targets

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

* fix(agent): ignore hidden provider inventories

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

* perf(agent): deduplicate conservative checks

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

---------

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-08-21 16:58:28 +08:00
08837bbd09 feat(agent): define portable project development contract (#734)
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-08-21 14:02:26 +08:00
c4b6d4e0d8 docs(agents): separate Config Studio from LLM sources (#716)
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-08-10 10:35:34 +08:00
f8c098561d Update AGENTS documentation structure and check (#700)
* Initial plan

* docs(agents): update documentation directory tree

* docs(llms): remove excessive English and schema links

* docs(agents): simplify English docs listing

* docs(llms): describe English doc link pattern

* fix(ci): support mirrored English docs in agents check

* fix(ci): clarify mirrored docs detection

* fix(ci): improve agents check readability

* Potential fix for pull request finding

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

* docs(agents): clarify parse_agents_md docstring return values

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-16 08:04:58 +08:00
CopilotandNewFuture 030c5cb32b docs(agents): exclude VitePress and ESA tooling files from structure tracking (#670)
* Initial plan

* docs(agents): ignore VitePress and ESA files in update-agents workflow

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* style: fix linting issues in update_agents_structure.py

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
2026-01-30 10:47:11 +00:00
dfbc77d430 docs: sync llms.txt with CloudNS and automate doc changes detection (#666)
* Initial plan

* docs(agents): update AGENTS.md with CloudNS files and version

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* docs(agents): remove unnecessary emphasis on test_provider_cloudns.py

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* docs: update llms.txt with CloudNS and enhance update-agents workflow

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Update .github/scripts/update_agents_structure.py

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

* fix: remove trailing whitespace in update_agents_structure.py

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix: update script to use 'docs/' instead of 'doc/' directory

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 09:57:33 +00:00
ecf25fb4e7 refactor(scripts): implement strict 3-step OpenAI workflow for issue assistance (#622)
* Initial plan

* refactor(scripts): implement strict 3-step OpenAI workflow for issue assistance

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* style(scripts): use const/let instead of var for better code clarity

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix(scripts): remove classification requirement when requesting files

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix(prompts): minimal modifications to issue-assistant.md based on master

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): simplify issue-ai-response.js logic using loop-based approach

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): split into 3 explicit queries with different user prompts

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* feat(scripts): add logging for each query response for debugging

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): consolidate logging into callOpenAI function

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): simplify query logic with processResponse helper

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): remove files.length check and add detailed API error logging

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* docs(prompts): simplify issue-assistant.md system prompt

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* update prompts

* fix

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
2025-12-03 18:35:49 +08:00
New Future 880b6856e5 Handle error when reading required files 2025-12-01 13:46:45 +08:00
6780eed5c5 feat(prompts): restructure auto-reply-issue with two-step classification-based prompts (#619)
* Initial plan

* feat(prompts): update auto-reply-issue with two-step approach and word limits

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix(prompts): simplify strategy injection logic in issue-ai-response.js

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(prompts): address code review feedback for strategy injection

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* fix(prompts): include all strategies upfront for file selection guidance

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(prompts): consolidate issue response strategies and enhance AI response workflow

* Apply suggestion from @Copilot

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

* fix(prompts): clarify turn counting in issue-assistant.md

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-01 13:35:14 +08:00
New Future 72afae1130 Fix scan_files function calls in main 2025-11-30 12:05:34 +08:00
7ea8312aab ci(agents): create issue instead of PR for AGENTS.md structure drift (#613)
* Initial plan

* ci(agents): update workflow to create issue instead of PR with copilot assignee

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix(agents): remove dead code (unused sorted call)

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(agents): simplify script by removing hardcoded file descriptions

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(agents): simplify script, ignore images, check all documented files exist

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* feat(agents): support new 2-space indent format for directory structure

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(agents): use Tab indentation format, remove legacy tree format support

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(agents): optimize and simplify script (181 → 93 lines)

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* refactor(agents): check output file instead of parsing stdout

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* docs(agents): add format description for directory structure

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-30 03:47:07 +00:00
CopilotandNewFuture cb8ed219ce ci(workflow): extract repo index from AGENTS.md and add API rate limit delay (#610)
* Initial plan

* ci(workflow): update auto-reply-issue to extract from AGENTS.md and add rate limit delay

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* chore: change RATE_LIMIT_DELAY_MS default to 31000

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
2025-11-29 16:22:21 +00:00
3176b02925 ci(agents): add daily workflow to auto-update AGENTS.md directory structure (#607)
* Initial plan

* ci(agents): add workflow to auto-update AGENTS.md directory structure

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* refactor(agents): remove unused functions and add type hints

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Update .github/scripts/update_agents_structure.py

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-29 19:24:51 +08:00
1eab38669d ci: implement multi-turn AI conversation for issue analysis (#606)
* Initial plan

* ci: change auto-reply-issue workflow trigger from opened to labeled

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* ci: restrict auto-reply trigger to 'AI Review' label only

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* ci: implement multi-turn AI conversation for issue analysis

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* ci: extract AI response script to separate JS file

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* fix: restore temperature to 1 and improve last turn handling

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* fix: remove unreachable else block in turn handling

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* refactor: extract binary file check into helper function

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestion from @Copilot

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

* fix: improve error message with optional chaining

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor: simplify turn limit handling by removing redundant condition

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* Update .github/scripts/issue-ai-response.js

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

* fix: use StringDecoder for proper UTF-8 handling and increase MAX_FILES_PER_TURN to 10

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Update .github/scripts/issue-ai-response.js

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

* fix: update prompt to match MAX_FILES_PER_TURN constant (10 files)

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* Apply suggestions from code review

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

* Update .github/scripts/issue-ai-response.js

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 09:54:31 +00:00