Skip to content

chore: ignore generated Python cache artifacts - #609

Merged
ss-o merged 6 commits into
mainfrom
copilot/add-repository-review-skill
Sep 11, 2026
Merged

chore: ignore generated Python cache artifacts#609
ss-o merged 6 commits into
mainfrom
copilot/add-repository-review-skill

Conversation

Copilot AI commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The review-skill readiness policy and canonical skill for repository-health evaluation are already present on main. This follow-up keeps that rollout clean by preventing Python validator/test cache output from appearing as repository changes in subsequent review-readiness work.

  • Scope

    • No additional review-skill policy, manifest, or runbook changes.
    • Only repository hygiene for generated Python artifacts.
  • Change

    • Add __pycache__/ to the root .gitignore.
    • Prevent .pyc files generated by scripts/validate-agent-policy.py and related unittest runs from being staged into PRs.
  • Why this matters

    • Keeps review-readiness follow-up branches content-focused.
    • Avoids accidental commits of local execution artifacts during policy and validator work.
.lycheecache
build/
__pycache__/

Copilot AI lite review requested due to automatic review settings September 11, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI linked an issue Sep 11, 2026 that may be closed by this pull request
5 tasks
Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 11, 2026 13:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 11, 2026 13:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Copilot AI changed the title [WIP] Add code review skill requirement for z-shell repositories chore: ignore generated Python cache artifacts Sep 11, 2026
Copilot AI requested a review from ss-o September 11, 2026 13:30
@ss-o
ss-o marked this pull request as ready for review September 11, 2026 13:32
@ss-o
ss-o requested a review from a team as a code owner September 11, 2026 13:32
Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 11, 2026 13:38
Copilot AI requested a review from ss-o September 11, 2026 13:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved scope, test-assertion, and issue-closure concerns remain.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread scripts/test-commit-lint-policy.sh Outdated
Comment on lines +108 to +109
grep -q 'git diff-tree --quiet --no-commit-id -r "\$sha"' "$WORKFLOW" ||
fail "empty commits are not skipped before subject lint"
Comment thread .github/workflows/commit-lint.yml Outdated
Comment on lines +102 to +105
if git diff-tree --quiet --no-commit-id -r "$sha"; then
echo "Skipping empty commit (${sha:0:7})"
continue
fi
Copilot AI review requested due to automatic review settings September 11, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The empty-commit exemption is too broad, and the issue-closing reference should be corrected.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/workflows/commit-lint.yml Outdated
Comment on lines +102 to +105
if git diff-tree --quiet --no-commit-id -r "$sha"; then
echo "Skipping empty commit (${sha:0:7})"
continue
fi

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in ce7f7c6 by removing the empty-commit exemption and restoring the previous commit-subject validation behavior.

Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 11, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Copilot AI commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

🟡 Changes recommended

The empty-commit exemption is too broad, and the issue-closing reference should be corrected....

Fixed in ce7f7c6 by removing the empty-commit exemption and restoring strict Conventional Commit subject validation for non-merge commits.

@ss-o
ss-o merged commit 377355c into main Sep 11, 2026
10 of 11 checks passed
@ss-o
ss-o deleted the copilot/add-repository-review-skill branch September 11, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(review): require repository review-skill readiness

3 participants