Upgrade Process Overview
ArcKit uses a safe upgrade pattern:- Upgrade the CLI tool (pip or uv)
- Re-run
arckit initin your existing project - Templates and scripts are refreshed in
.arckit/templates/ - Your customizations in
.arckit/templates-custom/are preserved - Your project data in
projects/is untouched
Upgrading the CLI Tool
Using pip
Using uv (Recommended)
Check Latest Version
See the latest release on GitHub. Current stable version: v3.0.9Upgrading an Existing Project
After upgrading the CLI, update your project:What Gets Updated
When you re-runarckit init --here:
| Directory/File | Action |
|---|---|
.arckit/templates/ | ✅ Refreshed with latest defaults |
.arckit/templates-custom/ | ✅ Preserved (your customizations untouched) |
.arckit/scripts/ | ✅ Refreshed with latest automation scripts |
.codex/prompts/ | ✅ Refreshed with latest commands |
.opencode/commands/ | ✅ Refreshed with latest commands |
projects/ | ✅ Preserved (all project data untouched) |
docs/ | ✅ Refreshed (unless --minimal used originally) |
VERSION | ✅ Updated to new version |
CHANGELOG.md | ✅ Updated with release notes |
Minimal Install Projects
If you originally ranarckit init --minimal, re-run with --minimal:
docs/ directory.
Preserving Custom Templates
Your custom templates are automatically preserved:templates-custom/.
Adopting New Template Features
After upgrading, you may want to adopt new features in default templates:1. Check What Changed
Compare your custom template with the new default:2. Selectively Merge Changes
You can:- Copy entire new section (e.g., new compliance framework)
- Add new fields (e.g., new document control field)
- Update existing sections (e.g., improved acceptance criteria format)
- Leave customizations intact (e.g., your organization’s branding)
3. Example: Adopting New DPIA Section
If the new defaultrequirements-template.md adds a DPIA section:
Upgrading from v0.x to v3.x
If upgrading from v0.x (pre-January 2025), there are breaking changes:1. Filename Convention Changed
Old convention (v0.x):ARC-{PROJECT_ID}-{DOC_TYPE}-v{VERSION}
2. Migration Script
If you have v0.x files, rename them manually:3. Document Control Fields
v3.x templates include more structured Document Control:Upgrading Claude Code Plugin
For Claude Code users: Updates are automatic via the marketplace — no manual action needed. To force an update:Upgrading Gemini CLI Extension
For Gemini CLI users:Checking Your Version
CLI Version
Project Version
Check theVERSION file in your project:
Template Version
Check the template header:Release Notes
See the CHANGELOG.md for detailed release notes. Recent major releases:v3.0.9 (Current)
- Added
/arckit.datascoutfor external data source discovery - Added
/arckit.presentationfor MARP slide decks - Enhanced
/arckit.traceabilitywith pre-processor hook - Improved
/arckit.backlogwith multi-factor prioritization
v3.0.0 (Major)
- New document ID convention (
ARC-{PROJECT_ID}-{DOC_TYPE}-v{VERSION}) - Structured Document Control section
- Template customization system (
.arckit/templates-custom/) - 54 commands (up from 32 in v0.x)
Rollback Strategy
If you need to rollback:CLI Rollback
Project Rollback
If re-runningarckit init --here caused issues:
- Restore from git:
- Or restore from backup:
Always commit your project to git before upgrading. This provides a safety net.
Best Practices
1. Test in Development First
Before upgrading production projects:2. Commit Before Upgrading
3. Review CHANGELOG First
Check for breaking changes:4. Update Dependencies
After upgrading, update related tools:5. Re-run Key Commands
After upgrading, re-run a command to verify:Troubleshooting
Command Not Found After Upgrade
Symptom:arckit: command not found
Fix:
Templates Not Updating
Symptom: Commands use old templates after upgrade Fix:Custom Templates Overwritten
Symptom: Custom templates lost after upgrade This should never happen if using--here flag correctly.
Recovery:
- Check git history:
git log -- .arckit/templates-custom/ - Restore from git:
git checkout HEAD~1 -- .arckit/templates-custom/
Commands Fail After Upgrade
Symptom:/arckit.requirements fails with error
Fix:
- Check error message for missing fields
- Update custom template to include new required fields
- Compare custom template with default template
Upgrading Multiple Projects
If you manage multiple ArcKit projects:Getting Help
If you encounter issues during upgrade:- Check documentation: https://github.com/tractorjuice/arc-kit
- File an issue: https://github.com/tractorjuice/arc-kit/issues
- Ask on discussions: https://github.com/tractorjuice/arc-kit/discussions
Further Reading
- Customizing Templates - Preserve customizations during upgrades
- Sprint Planning Guide - New backlog features in v3.0.9
- Traceability Guide - Enhanced traceability in v3.0.9