| name | ari-release-management |
| description | Version management, releases, and deployment for ARI |
| triggers | ["release","version bump","deploy","changelog"] |
ARI Release Management
Purpose
Manage ARI's versioning, releases, and deployment lifecycle.
Versioning (SemVer)
ARI follows Semantic Versioning: MAJOR.MINOR.PATCH
| Type | When to Bump | Example |
|---|
| MAJOR | Breaking changes to API/CLI | 2.0.0 → 3.0.0 |
| MINOR | New features, backward compatible | 2.0.0 → 2.1.0 |
| PATCH | Bug fixes, security patches | 2.0.0 → 2.0.1 |
Release Checklist
## Pre-Release Checklist
### Code Quality
- [ ] All tests passing (npm test)
- [ ] Coverage ≥80% (npm run test:coverage)
- [ ] TypeScript compiles (npm run typecheck)
- [ ] ESLint passes (npm run lint)
- [ ] No security vulnerabilities (npm audit)
### Security
- [ ] Security paths have 100% coverage
- [ ] Audit trail integrity verified
- [ ] All 27 injection patterns tested
- [ ] Trust level system validated
### Documentation
- [ ] CHANGELOG.md updated
- [ ] README.md current
- [ ] CLAUDE.md updated
- [ ] API docs generated
### Governance
- [ ] Council approval for MAJOR/MINOR
- [ ] Arbiter constitutional check passed
- [ ] Overseer quality gates passed
### Final Steps
- [ ] Version bumped in package.json
- [ ] Git tag created
- [ ] GitHub release created
- [ ] npm publish (if applicable)
Release Workflow
git status
npm test
npm version patch
git add CHANGELOG.md
git commit --amend --no-edit
git push origin main --tags
gh release create v2.0.1 --notes "Release notes..."
Changelog Format
# Changelog
All notable changes to ARI are documented here.
## [2.1.0] - 2026-01-28
### Added
- New injection pattern detection for prompt injection
- WebSocket support for real-time dashboard
### Changed
- Improved Guardian agent threat assessment algorithm
- Optimized audit chain verification performance
### Fixed
- Memory leak in long-running sessions
- Race condition in multi-agent coordination
### Security
- Updated trust level multipliers for better calibration
- Added rate limiting to gateway
## [2.0.0] - 2026-01-15
### Breaking Changes
- Restructured six-layer architecture
- New EventBus API
Automated Checks
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install & Test
run: |
npm ci
npm test
npm run test:coverage
- name: Verify Security
run: |
npm audit
npm run test -- tests/security/
- name: Build
run: npm run build
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
generate_release_notes: true
Rollback Procedure
git log --oneline --tags
git checkout v2.0.0
npm ci && npm run build
npx ari daemon restart
npx ari doctor
npx ari audit verify
Version Constraints
- Node.js: ≥20.0.0 (specified in package.json engines)
- TypeScript: ^5.3.0
- Vitest: ^1.1.0
- Zod: ^3.22.0
Pre-Release Testing
npm test
npm run test:coverage
npm test -- tests/security/
npm test -- tests/integration/
npx ari audit verify
npx ari doctor