Skip to content

chore(scripts): add run-ai-checks.sh and /validate command to repo#1264

Draft
marcosio wants to merge 2 commits into
chore/ats-style-guide-skillfrom
chore/ats-validation-tooling
Draft

chore(scripts): add run-ai-checks.sh and /validate command to repo#1264
marcosio wants to merge 2 commits into
chore/ats-style-guide-skillfrom
chore/ats-validation-tooling

Conversation

@marcosio

@marcosio marcosio commented Jun 4, 2026

Copy link
Copy Markdown
Contributor
  • add scripts/run-ai-checks.sh: unified validation pipeline (format, lint, compile, test, coverage) with structured AI-readable log output; all comments and user-facing strings in British English
  • add scripts/coverage-report.js: Istanbul/solidity-coverage report renderer, previously a personal install at $HOME/.local/bin/
  • redirect all script output to .ai-logs/ (logs, archive, metrics, baselines) so the package root stays clean; bare filename args resolved to .ai-logs/
  • update run-ai-checks.sh to resolve coverage-report.js via SCRIPT_DIR
  • add npm run ai-checks wrapper in package.json
  • add .claude/commands/validate.md: /validate slash command for Claude Code; agents read ai-run.json first, log only on failures
  • gitignore ai-run.log, ai-run.json and .ai-logs/ in contracts package
  • document tooling in scripts/DEVELOPER_GUIDE.md under "Validation & AI Tools"

Description

Type of change

  • Bug fix 🐞
  • New feature ✨
  • Breaking change 💥
  • Documentation update 📖
  • Refactor 🔧

Testing

Node version:

  • 20
  • 22
  • 24

Checklist

  • Style Guidelines followed ✅
  • Documentation Updated 📚
  • Linters - No New Warnings ⚠️
  • Local Tests Pass ✅
  • Effective Tests Added ✔️
  • No reduction of Coverage

marcosio added 2 commits June 4, 2026 17:21
  - add scripts/run-ai-checks.sh: unified validation pipeline (format, lint,
    compile, test, coverage) with structured AI-readable log output; all
    comments and user-facing strings in British English
  - add scripts/coverage-report.js: Istanbul/solidity-coverage report renderer,
    previously a personal install at $HOME/.local/bin/
  - redirect all script output to .ai-logs/ (logs, archive, metrics, baselines)
    so the package root stays clean; bare filename args resolved to .ai-logs/<name>
  - update run-ai-checks.sh to resolve coverage-report.js via SCRIPT_DIR
  - add npm run ai-checks wrapper in package.json
  - add .claude/commands/validate.md: /validate slash command for Claude Code;
    agents read ai-run.json first, log only on failures
  - gitignore ai-run.log, ai-run.json and .ai-logs/ in contracts package
  - document tooling in scripts/DEVELOPER_GUIDE.md under "Validation & AI Tools"

Signed-off-by: Marcos Serradilla Diez <marcos@io.builders>
…s in coverage-report.js

Signed-off-by: Marcos Serradilla Diez <marcos@io.builders>
@marcosio marcosio force-pushed the chore/ats-validation-tooling branch from 1db7889 to bacb2d1 Compare June 4, 2026 15:21
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