ffbe5c6819
Rewrite the Windows PowerShell installer to use flat per-skill junctions instead of nested-junction layout, matching the Unix installer's safety model. Two rounds of cross-model review caught: CRLF noise (eliminated; .gitattributes added with LF normalization); UPDATE_TARGET silently overwriting user-customized junctions (now guarded by inside-repo check); missing legacy nested migration (added -FromOld / -MigrateCopy keep-user|prefer-upstream); missing .aris/tools junction parity; tests effectively never running (added Windows GitHub Actions matrix for both powershell.exe and pwsh). Author then self-found a narrower variant: parent-path-component reparse points. Resolve-ReparseChain now walks root → leaf rewriting at the first junction/symlink component, with cycle detection (40-depth limit + HashSet of seen paths). 12 tests passing on both PS hosts. Maintainer rebased onto post-RENDER_HTML + post-drift-fix main; resolved 3 conflicts (README_CN.md, SKILLS_CATALOG.md, wiki-enrich Codex mirror) by taking the previously codex-reviewed origin/main version. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
33 lines
878 B
YAML
33 lines
878 B
YAML
name: Skills inventory check
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'skills/**'
|
|
- 'docs/SKILLS_CATALOG.md'
|
|
- 'README.md'
|
|
- 'README_CN.md'
|
|
- 'AGENT_GUIDE.md'
|
|
- 'docs/ARIS_INTRO.md'
|
|
- 'docs/ARIS_INTRO.html'
|
|
- 'tools/check_skills_inventory.py'
|
|
- 'tests/test_codex_skill_mirror.py'
|
|
- '.github/workflows/check-skills-inventory.yml'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install pytest
|
|
run: python -m pip install pytest
|
|
- name: Check skill inventory drift
|
|
run: python tools/check_skills_inventory.py
|
|
- name: Check Codex skill mirror semantics
|
|
run: python -m pytest tests/test_codex_skill_mirror.py -q
|