Skip to content

maint: audit cleanup — gitignore, error msg, stale refs#15

Merged
atoomic merged 1 commit into
masterfrom
koan.atoomic/maint-audit-cleanup
Mar 23, 2026
Merged

maint: audit cleanup — gitignore, error msg, stale refs#15
atoomic merged 1 commit into
masterfrom
koan.atoomic/maint-audit-cleanup

Conversation

@Koan-Bot

@Koan-Bot Koan-Bot commented Mar 23, 2026

Copy link
Copy Markdown
Collaborator

What

Maintenance cleanup from a systematic audit of build files, packaging, and project hygiene.

Why

Several small issues accumulated: stale XS artifact entries in .gitignore from a different project, no .env* protection, a bare die without error message in _http_post(), and minor housekeeping items.

How

  • .gitignore: removed Replace.bs/c/o (irrelevant XS artifacts), added .env* exclusion
  • _http_post(): die unless ref $data eq 'HASH' → descriptive error message + test
  • cpanfile: removed unused Test::More dependency (test suite uses Test2)
  • examples/colors.pl: added missing use Slack::WebHook
  • dist.ini: updated stale Travis CI comment
  • tidyall.ini: fixed PerlTidy glob to match subdirectories

Testing

48 tests pass locally. New test for the _http_post error message.

Audit note

Also found: CI tests 5.14+ but module declares 5.010 minimum — left as a documented finding for maintainer decision.

🤖 Generated with Claude Code


Quality Report

Changes: 7 files changed, 16 insertions(+), 7 deletions(-)

Code scan: clean

Tests: passed (OK)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

- Remove stale XS artifact entries (Replace.bs/c/o) from .gitignore
- Add .env* exclusion pattern to prevent accidental secret commits
- Add descriptive error message to bare die in _http_post()
- Remove unused Test::More from cpanfile test dependencies
- Add missing use statement in examples/colors.pl
- Update stale Travis CI reference in dist.ini comment
- Fix tidyall PerlTidy select pattern to match subdirectories

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@atoomic atoomic marked this pull request as ready for review March 23, 2026 13:06
@atoomic atoomic merged commit 2243c62 into master Mar 23, 2026
17 checks passed
Koan-Bot added a commit that referenced this pull request Mar 25, 2026
The maint audit (PR #15) fixed colors.pl but missed this one.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants