Argentos release

From ArgentAIOS/argentos-core · View interactive version

Argentos release is an AI agent skill from the GitHub repository ArgentAIOS/argentos-core. End-to-end release workflow for ArgentOS. Covers PR creation, CodeRabbit review, Blacksmith CI, merge process, macOS app build/sign/notarize/publish, installer sync, and post-release verification. Use when shipping a release, creating PRs, handling review feedback, building the macOS app, publishing

How to use this skill

Skill file

ArgentOS Release Workflow

The complete, repeatable process for shipping changes from development to production.

1. Version Bump

Before any release, bump the version to today's date format:

Files to update:

apps/macos/Sources/Argent/Resources/Info.plist
  → CFBundleShortVersionString: "2026.3.25"
  → CFBundleVersion: "20260325"

package.json
  → "version": "2026.3.25"

Format: YYYY.M.D (no leading zeros on month/day).

2. Create a PR

# Branch from main
git checkout -b feat/my-feature main

# Make changes, commit
git add . && git commit -m "feat: description of change"

# Push and create PR
git push origin feat/my-feature
gh pr create --title "feat: description" --base main

For argentos-core: PRs are required (branch protection). Direct push blocked.

For other repos: Direct push to main is OK for urgent fixes.

Document the PR in Linear before creating it.

3. CodeRabbit Review

Every PR gets automated CodeRabbit review. It runs automatically on push.

# Run locally before pushing (optional, catches issues early)
pnpm review:coderabbit

# Prompt-only for CI handoff
pnpm review:coderabbit:prompt

Handling CodeRabbit Findings

| Severity | Action |

| ------------------------------------ | ------------------------------------------- |

| Critical (security, data loss) | Must fix before merge. No exceptions. |

| Warning (code quality, patterns) | Fix if reasonable. Comment why if skipping. |

| Suggestion (style, naming) | Apply or ignore at discretion. |

If CodeRabbit flags something you disagree with:

  1. Reply to the CodeRabbit comment explaining why
  2. If it's a false positive, mark as resolved
  3. Do NOT disable CodeRabbit or skip review

After CodeRabbit Passes

Human review is still required for argentos-core. CodeRabbit passing is necessary but not sufficient.

4. Blacksmith CI

Blacksmith runners execute CI for argentos-core. Track status in Linear for release work.

If CI fails on Blacksmith but passes locally:

5. Merge

argentos-core: Squash merge via GitHub PR UI after CodeRabbit + human review.

Other repos: Merge commit or direct push.

After merge:

  1. Update Linear issue to Done
  2. If installer changed → sync to website (see step 8)
  3. If Swift app changed → run macOS artifact pipeline (see step 6)
  4. If website/marketplace/docs changed → Railway auto-deploys

6. macOS App Artifact Pipeline

Run this whenever the Swift app changes or for a new release:

Build

cd /Users/sem/code/argentos

# Clean Swift caches
rm -rf apps/macos/.build apps/macos/.build-swift apps/macos/.swiftpm apps/argent-audio-capture/.build

# Build signed release
APP_VERSION=2026.3.25 \
SKIP_TSC=1 \
SKIP_UI_BUILD=1 \
BUILD_CONFIG=release \
SIGN_IDENTITY='Developer ID Application: Jason Brashear (F2DH8T4BVH)' \
./scripts/package-mac-app.sh

Output: dist/Argent.app

Zip

ditto -c -k --sequesterRsrc --keepParent dist/Argent.app dist/Argent-2026.3.25.zip

Notarize

NOTARYTOOL_PROFILE=ArgentOS \
STAPLE_APP_PATH=/Users/sem/code/argentos/dist/Argent.app \
./scripts/notarize-mac-artifact.sh dist/Argent-2026.3.25.zip

Uses stored keychain profile ArgentOS (team F2DH8T4BVH, jbrashear72@icloud.com).

Re-zip after stapling

rm dist/Argent-2026.3.25.zip
ditto -c -k --sequesterRsrc --keepParent dist/Argent.app dist/Argent-2026.3.25.zip
shasum -a 256 dist/Argent-2026.3.25.zip

Upload to R2

Upload three files:

R2 bucket: argentos-licensing-marketplace

R2 credentials:

R2_ACCOUNT_ID=5a845e69fbed4f4e64e2176d86637680
R2_ACCESS_KEY_ID=(from .env)
R2_SECRET_ACCESS_KEY=(from .env)

Verify

# Check manifest
curl -fsSL https://argentos-licensing-marketplace.*.r2.cloudflarestorage.com/releases/macos/latest.json

# Check zip is downloadable
curl -I https://argentos-licensing-marketplace.*.r2.cloudflarestorage.com/releases/macos/2026.3.25/Argent-2026.3.25.zip

7. Swift App Change Checklist

When the macOS Swift app itself changes (not just the JS runtime):

8. Installer Sync

When install-hosted.sh changes in argentos:

argentos/scripts/install-hosted.sh     ← source of truth
  ↓
argentos.ai/scripts/install.sh         ← Claude syncs
argentos.ai/public/install.sh          ← Claude syncs
  ↓
https://argentos.ai/install.sh         ← Railway deploys

Both website copies must be byte-for-byte identical.

# Verify live
curl -fsSL https://argentos.ai/install.sh | head -5

9. Post-Release Verification

Quick Reference

| What Changed | What To Do |

| ----------------------- | -------------------------------------------------- |

| Runtime/gateway code | PR → CodeRabbit → merge → verify gateway health |

| Swift app | PR → merge → build → sign → notarize → R2 → verify |

| Installer script | PR → merge → sync to website → verify live URL |

| Website/marketplace | Push → Railway auto-deploys → verify |

| Docs | Push → Railway auto-deploys → verify |

| New marketplace package | Submit → VT scan → admin review → approve |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.