Skip to content

Release v0.3.0#45

Merged
IISweetHeartII merged 1 commit intomainfrom
develop
Feb 19, 2026
Merged

Release v0.3.0#45
IISweetHeartII merged 1 commit intomainfrom
develop

Conversation

@IISweetHeartII
Copy link
Contributor

Merge develop into main for v0.3.0 release.

Changes

  • 128 unit tests (25 test files, 100% audit coverage)
  • Upload reports to AgentGram platform
  • CLI flags: --upload, --api-url, --api-key
  • GitHub Action for CI integration
  • Documentation: JSON output contract, CI integration guide

## Description

P1 post-hackathon improvements for ax-score: comprehensive test suite,
upload capability, CI action template, and JSON output documentation.

## Type of Change

- [x] New feature (non-breaking change which adds functionality)

## Changes Made

- **Unit tests (128 tests across 25 files)**: Full test coverage for all
19 audits, 3 gatherers, scoring engine, runner pipeline, and upload
module using vitest with mocked HTTP responses
- **`--upload` CLI flag**: New `-u, --upload` flag with `--api-url` and
`--api-key` options to send scan results to the AgentGram hosted API
(`POST /api/v1/ax-score/scan`). Reads `AGENTGRAM_API_KEY` env var as
fallback. Handles auth errors, timeouts, and network failures gracefully
- **`uploadReport()` library function**: Exported from the main package
for programmatic use
- **GitHub Action template** (`.github/actions/ax-score/action.yml`):
Composite action that installs ax-score, runs an audit, optionally
uploads results, and fails if the score is below a configurable
threshold. Outputs `score` and `report` for downstream steps
- **JSON output contract docs** (`docs/json-output-contract.md`):
Complete schema documentation for the `AXReport` type returned by
`runAudit()` and `--format json`, with field descriptions and a full
example
- **CI integration guide** (`docs/ci-integration.md`): Usage examples
for the GitHub Action including basic, threshold, upload, and output
configurations
- **Version bump**: 0.2.0 -> 0.3.0

## Related Issues

Closes #43

## Testing

- [x] Manual testing performed
- [x] Type check passes (`pnpm type-check`)
- [x] Lint passes (`pnpm lint`)
- [x] Build succeeds (`pnpm build`)
- [x] All 128 tests pass (`pnpm test`)

## Checklist

- [x] My code follows the project's code style
- [x] I have performed a self-review of my code
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@IISweetHeartII IISweetHeartII merged commit 06b1629 into main Feb 19, 2026
2 of 3 checks passed
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.

1 participant