文件历史

提交图

13 次代码提交

作者 SHA1 备注 提交日期
GitHub Copilot 6396498ed4 fix: ruff format for plugin-eval config (double quotes, 100 line-length) 2026-05-26 09:53:03 -05:00
GitHub Copilot 4a3685ed6b fix: ruff formatting and type fixes for CI quality gates 2026-05-26 09:28:57 -05:00
GitHub Copilot f39402df5f fix(copilot): address PR #550 review feedback
- fix stem-parsing bug in doc_gardener.py (.agent suffix strip on Path.stem)
- wrap skill.body with _rewrite_body_lowercase_tools() in copilot.py
- add config_dir.is_dir() guard in install_copilot.py uninstall
- fix ruff I001 import sorting across 5 files
2026-05-26 09:04:44 -05:00
GitHub Copilot eb22976da8 review: address code-audit findings — .omo/ artifact, docs drift, YAML quoting, validator helper 2026-05-26 09:04:37 -05:00
GitHub Copilot 3487dc3f52 feat(copilot): emit plugin commands as runnable skills
Copilot does not support custom slash commands via `.copilot/commands/` —
that path was a project invention with no official discovery mechanism.
Plugin commands emitted there were invisible to Copilot CLI and VS Code.

Instead, emit each plugin command as a Copilot skill SKILL.md with:
- user-invocable: true (appears in VS Code / menu)
- disable-model-invocation: true (not auto-loaded, only on demand)
- hyphenated name `<plugin>-<command>` per VS Code Agent Skills spec

Legacy `.copilot/commands/` emission retained for backward compat.

Closes the loop on commands-not-working-in-Copilot-CLI investigation.
2026-05-26 09:04:37 -05:00
GitHub Copilot 9a178cb044 copilot: ensure command frontmatter has description (synthesize from H1 when missing)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-26 09:04:32 -05:00
GitHub Copilot 07036e9689 feat: copilot harness follows OpenCode install pattern with .copilot/ output
- Generate to .copilot/agents/ and .copilot/skills/ (repo-local, gitignored)
- make install-copilot symlinks to ~/.copilot/ for user-level discovery
- tools/install_copilot.py + test_install_copilot.py (mirrors install_opencode)
- tools/validate_generated.py: validate agents + skills
- tools/doc_gardener.py: stale artifact detection for .copilot/
- tools/generate.py: _HARNESS_TARGETS + prune_orphans for .copilot/
- tools/tests/test_adapters.py: TestCopilotAdapter (9 tests)
- tools/tests/test_round_trip.py: TestCopilotRoundTrip (3 tests)
- tools/tests/test_validate_generated.py: expanded to 8 tests
- docs/harnesses.md: install-copilot instructions + Pensyve entry
- .gitignore: .copilot/

Closes #553 (follows same install pattern as OpenCode)
2026-05-26 09:02:12 -05:00
GitHub Copilot 4691655d3c feat: generate copilot artifacts directly to ~/.copilot/ instead of .github/
- CopilotAdapter now writes to ~/.copilot/agents/ and ~/.copilot/skills/
- Updated generate.py to pass ~/.copilot/ as output_root for copilot
- Added copilot stale artifact detection to doc_gardener.py
- Updated validate_generated.py to check ~/.copilot/agents/ (with fallback)
- Removed old copilot gitignore entries and cleaned up stale artifacts
- No install step needed — make generate HARNESS=copilot writes directly
2026-05-26 09:02:12 -05:00
GitHub Copilot 1db71ee658 fix: copilot adapter output path respects output_root with .github/ prefix 2026-05-26 09:02:12 -05:00
GitHub Copilot 36eb3fa527 style: ruff format copilot.py 2026-05-26 09:02:12 -05:00
GitHub Copilot aa01539acf docs: add missing docstrings to CopilotAdapter class and methods 2026-05-26 09:02:12 -05:00
GitHub Copilot b88ab1e5b1 fix: move import re above stdlib imports to satisfy ruff 2026-05-26 09:02:02 -05:00
GitHub Copilot c5bd699089 feat: add Copilot harness adapter and fix test tooling 2026-05-26 09:01:48 -05:00