mvp-ai's picture
|
download
raw
2.27 kB

Contributing

Thanks for your interest in AgentLint! Here's how to help.

Reporting bugs

Open an issue with:

  • What happened and what you expected
  • Steps to reproduce
  • Your OS and Node version

Suggesting features

Open an issue describing the problem you want to solve.

Pull requests

  1. Open an issue first for anything non-trivial
  2. Fork the repo, create a branch (fix/description or feature/description)
  3. Make your changes, add tests if applicable
  4. Run bash tests/test-scanner.sh && node tests/test-scorer.js && node tests/test-plan-generator.js && node tests/test-reporter.js && node tests/test-fixer.js
  5. Open a PR against main

What makes a good PR

  • One logical change per PR
  • Tests for new functionality
  • Clear description of what and why

AI-assisted contributions

AI-assisted PRs are welcome. Please note in the PR description if AI tools were used and what level of manual review was done.

Development setup

git clone https://github.com/0xmariowu/AgentLint.git
cd agent-lint
# No npm install needed — no dependencies
bash tests/test-scanner.sh  # verify scanner works

Requirements: bash, jq, node 20+

Branch protection

Required status checks for main are declared in .github/branch-protection.yml. The actual protection on the main branch is configured manually (GitHub UI or gh api repos/.../branches/main/protection) and can drift from the declared YAML.

Prerequisites: gh (authenticated as a user with read access to branch protection for --verify, or repo admin for --apply) and python3.

To verify live branch protection matches the declared file:

bash scripts/setup-branch-protection.sh --verify

This calls gh api repos/.../branches/main/protection, parses the required_status_checks block, and exits non-zero if the live strict flag, missing checks, or extra checks disagree with the YAML.

To apply the YAML to live protection (admin only):

bash scripts/setup-branch-protection.sh --apply

Xet Storage Details

Size:
2.27 kB
·
Xet hash:
b1f6fe8434cb4d37fd367c6e1a720911517e7010bc1a5fdc83269504863a11a3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.