Skip to main content

/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

StateIconMeaning
ACTIVELicense valid, all features enabled
WARNINGLicense expires within 7 days
GRACEExpired, within grace period (degraded)
EXPIREDLicense expired, grace exhausted
MISSINGNo license file found
INVALIDLicense signature verification failed
REVOKEDLicense has been administratively revoked
OFFLINE_EXCEEDED📵Offline tolerance exceeded
CommandPurpose
/license-activateActivate a new license
/license-renewRenew existing license
/license-deactivateDeactivate license on device
FilePurpose
~/.coditect/licensing/license.jsonActive license file
~/.coditect/config/licensing.jsonLicensing configuration
~/.coditect/machine-id.jsonDevice binding

Script: scripts/core/license_validator.py ADR: internal/architecture/adrs/ADR-067-time-controlled-licensing.md