You've already forked wc-licensed-product
Reorganize CLAUDE.md: move completed versions to Session History
- Remove completed version 0.0.1 from Temporary Roadmap - Add Session History section at end of file for AI session documentation - Document v0.0.1 implementation details and architecture decisions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
39
CLAUDE.md
39
CLAUDE.md
@@ -34,7 +34,7 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w
|
|||||||
|
|
||||||
## Temporary Roadmap
|
## Temporary Roadmap
|
||||||
|
|
||||||
**Note for AI Assistants:** Clean this section after the specific features are done or new releases are made. Effective changes are tracked in `CHANGELOG.md`
|
**Note for AI Assistants:** Clean this section after the specific features are done or new releases are made. Effective changes are tracked in `CHANGELOG.md`. Do not add completed versions here - document them in the Session History section at the end of this file.
|
||||||
|
|
||||||
### Version 0.0.2 (Next)
|
### Version 0.0.2 (Next)
|
||||||
|
|
||||||
@@ -43,17 +43,6 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w
|
|||||||
- Add email notification with license key after order completion
|
- Add email notification with license key after order completion
|
||||||
- Consider rate limiting for REST API endpoints
|
- Consider rate limiting for REST API endpoints
|
||||||
|
|
||||||
### Version 0.0.1 (Completed)
|
|
||||||
|
|
||||||
- ✅ Created basic WordPress/WooCommerce plugin structure
|
|
||||||
- ✅ Implemented domain-bound license management via REST API
|
|
||||||
- ✅ Added "Licensed Product" WooCommerce product type
|
|
||||||
- ✅ License generation on order completion (XXXX-XXXX-XXXX-XXXX format)
|
|
||||||
- ✅ Customer account page for viewing licenses
|
|
||||||
- ✅ Admin CRUD interface for license management
|
|
||||||
- ✅ Checkout domain field for licensed products
|
|
||||||
- ✅ German (de_CH) translation
|
|
||||||
|
|
||||||
## Technical Stack
|
## Technical Stack
|
||||||
|
|
||||||
- **Language:** PHP 8.3.x
|
- **Language:** PHP 8.3.x
|
||||||
@@ -252,3 +241,29 @@ Base: `/wp-json/wc-licensed-product/v1/`
|
|||||||
- `License` - Entity model with status constants
|
- `License` - Entity model with status constants
|
||||||
- `LicensedProduct` - Extends WC_Product for licensed products
|
- `LicensedProduct` - Extends WC_Product for licensed products
|
||||||
- `LicensedProductType` - Registers product type with WooCommerce
|
- `LicensedProductType` - Registers product type with WooCommerce
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Session History
|
||||||
|
|
||||||
|
### 2026-01-21 - Initial Implementation (v0.0.1)
|
||||||
|
|
||||||
|
**Implemented:**
|
||||||
|
|
||||||
|
- Created basic WordPress/WooCommerce plugin structure
|
||||||
|
- Implemented domain-bound license management via REST API
|
||||||
|
- Added "Licensed Product" WooCommerce product type
|
||||||
|
- License generation on order completion (XXXX-XXXX-XXXX-XXXX format)
|
||||||
|
- Customer account page for viewing licenses
|
||||||
|
- Admin CRUD interface for license management
|
||||||
|
- Checkout domain field for licensed products
|
||||||
|
- German (de_CH) translation
|
||||||
|
|
||||||
|
**Architecture decisions:**
|
||||||
|
|
||||||
|
- Used Twig 3.0 for templating with fallback PHP templates
|
||||||
|
- License keys use format XXXX-XXXX-XXXX-XXXX (alphanumeric)
|
||||||
|
- Licenses bound to normalized domains (no protocol, no www, lowercase)
|
||||||
|
- REST API at `/wp-json/wc-licensed-product/v1/`
|
||||||
|
- Custom database tables for licenses and product versions
|
||||||
|
- WooCommerce HPOS compatibility included
|
||||||
|
|||||||
Reference in New Issue
Block a user