/license-status - License Status Check
Display the current CODITECT license status including tier, validity, expiration, and enabled features.
ADR: ADR-067
Usage
# Check license status
/license-status
# JSON output for scripting
/license-status --json
# Force server validation
/license-status --force
# Quiet mode (only show warnings/errors)
/license-status --quiet
System Prompt
Execute the license status check:
python3 ~/.coditect/scripts/core/license_validator.py --status $ARGS
Output
Valid License
CODITECT License Status: ✓ ACTIVE
Tier: Pro
Organization: Acme Corp
Licensee: user@acme.com
Expires in: 45 days
Warning State
CODITECT License Status: ⚠ WARNING
Tier: Pilot
Expires in: 5 days
Warning: License expires in 5 days
Grace Period
CODITECT License Status: ⏳ GRACE
Tier: Pro
Grace period remaining: 4 days
Warning: License expired. Grace period ends in 4 days
Degraded Mode: Some features restricted
Expired/Missing
CODITECT License Status: ✗ MISSING
Error: No license file found. Run /license-activate to activate.
Degraded Mode: Some features restricted
License States
| State | Icon | Meaning |
|---|---|---|
| ACTIVE | ✓ | License valid, all features enabled |
| WARNING | ⚠ | License expires within 7 days |
| GRACE | ⏳ | Expired, within grace period (degraded) |
| EXPIRED | ✗ | License expired, grace exhausted |
| MISSING | ✗ | No license file found |
| INVALID | ✗ | License signature verification failed |
| REVOKED | ✗ | License has been administratively revoked |
| OFFLINE_EXCEEDED | 📵 | Offline tolerance exceeded |
Related Commands
| Command | Purpose |
|---|---|
/license-activate | Activate a new license |
/license-renew | Renew existing license |
/license-deactivate | Deactivate license on device |
Related Files
| File | Purpose |
|---|---|
~/.coditect/licensing/license.json | Active license file |
~/.coditect/config/licensing.json | Licensing configuration |
~/.coditect/machine-id.json | Device binding |
Script: scripts/core/license_validator.py
ADR: internal/architecture/adrs/ADR-067-time-controlled-licensing.md