You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "KatalKavya96 (via GitHub)" <gi...@apache.org> on 2026/10/20 05:09:13 UTC

[PR] feat(setup): add repo-health family first-run welcome guide [magpie]

KatalKavya96 opened a new pull request, #1724:
URL: https://github.com/apache/magpie/pull/1724

   <!-- SPDX-License-Identifier: Apache-2.0
        https://www.apache.org/licenses/LICENSE-2.0 -->
   
   ## Summary
   
   - Add a first-run welcome guide for the **Repository Health family**, covering all seven skills and helping newcomers discover CI runner, workflow security, dependency, license compliance, flaky-test, and audit-finding remediation workflows through natural-language requests.
   - Document configuration requirements, personal setup versus project adoption, and safety boundaries: six audit skills remain read-only, while `audit-finding-fix` follows an explicit approval process for changes and draft PR creation.
   - Integrate the guide into `docs/repo-health/README.md` using the standardized family README layout, add regression tests and a new first-run evaluation fixture, regenerate affected welcome reports, and update evaluation counts.
   
   ## Type of change
   
   - [ ] Skill change (`.claude/skills/<name>/`) — eval fixtures updated below
   - [ ] Tool / bridge contract (`tools/<system>/*.md`)
   - [x] Python package (`tools/*/` with `pyproject.toml`)
   - [ ] Groovy reference impl
   - [ ] Cross-cutting (RFC, AGENTS.md, sandbox, privacy-LLM)
   - [x] Documentation (`docs/`, `README.md`, `CONTRIBUTING.md`)
   - [ ] Project template (`projects/_template/`)
   - [x] CI / dev loop (`prek`, workflows, validators)
   - [x] Other: Setup-preflight welcome guide, regression tests, and evaluation fixture
   
   ## Test plan
   
   - [x] `prek run --all-files` passes
   - [x] For Python packages touched: `uv run pytest` / `ruff check` / `mypy` passes
   - [ ] For Groovy bridges touched: command-line invocation tested end-to-end
   - [ ] For skill changes: eval suite passes for the affected skill
         (`PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/`)
   - [ ] For skill *behaviour* changes: a new or updated eval fixture is included in this PR
         (a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
   - [x] Other:
     - All 61 setup-preflight welcome regression tests passed.
     - `render-preflight-fixtures.py --check` passed with no fixture drift.
     - Added `case-16-repo-health-first-run` using the actual `ci-runner-audit` surface hash.
     - Verified the rendered Repository Health guide is 63 lines, within the 70-line limit.
     - `git diff --cached --check` passed.
     - Repository-wide pytest, Ruff, mypy, documentation synchronization, skill validation, and other hooks passed through `prek`.
   
   ## RFC-AI-0004 compliance
   
   - [x] **HITL** — the guide distinguishes read-only auditing from remediation and documents explicit user confirmation before draft PR creation.
   - [x] **Sandbox** — no new unrestricted host access, runtime permissions, or network access introduced.
   - [x] **Vendor neutrality** — existing project configuration and placeholder conventions are preserved.
   - [x] **Conversational + correctable** — includes natural-language example requests and guidance for configuring audit policies and customizing workflows.
   - [x] **Write-access discipline** — audit skills remain read-only; remediation follows the existing review and confirmation workflow.
   - [ ] **Privacy LLM** — not affected by this change.
   
   ## Linked issues
   
   Closes #1660
   
   Refs #1654
   
   ## Notes for reviewers (optional)
   
   - Follows the welcome-guide pattern established in #1653 and #1669, including the standardized README introduction used by the recently merged family guides.
   - Reuses the existing shared welcome footer and rules without changing production skill behavior.
   - Covers all seven Repository Health skills:
     - `audit-finding-fix`
     - `ci-runner-audit`
     - `dependency-audit`
     - `dependency-license-audit`
     - `flaky-test-triage`
     - `license-compliance-audit`
     - `workflow-security-audit`
   - Adds `case-16-repo-health-first-run` with `surface_hash: sha256:c6da72e64ac4808d` and updates the setup evaluation count from 135 to 136.
   - Updates the existing `OTHER_SKILL` test helper from `ci-runner-audit` to `rc-cut`, since Repository Health now has a welcome guide. This preserves coverage for families without welcome guides. The helper will need another adjustment when the Release Management guide is introduced.
   - All local repository-wide checks passed.
   
   **AI assistance disclosure:** AI assistance was used for repository analysis, implementation drafting, and review. Changes were applied and validated locally by the contributor.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(setup): add repo-health family first-run welcome guide [magpie]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #1724:
URL: https://github.com/apache/magpie/pull/1724


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(setup): add repo-health family first-run welcome guide [magpie]

Posted by "KatalKavya96 (via GitHub)" <gi...@apache.org>.
KatalKavya96 commented on PR #1724:
URL: https://github.com/apache/magpie/pull/1724#issuecomment-6283878602

   Hi @potiuk,
   
   I've completed the Repository Health family welcome guide for #1660, following the established pattern from the recently merged welcome-guide PRs.
   
   It covers all seven skills, their configuration requirements, example workflows, and safety boundaries. I've also included the standardized README integration, first-run evaluation fixture, and regression tests.
   
   All repository-wide checks passed locally with prek run --all-files.
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org