mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-09 03:17:52 +00:00
* docs(label): add skill label system design spec Covers data model, permission model, search integration, API design, and frontend design for the label system. * docs(label): address spec review findings - Add CHECK constraint on label_definition.type, deny-by-default in app layer - Use TIMESTAMPTZ consistently for all new tables - Add (label_id) index on skill_label for filter performance - Add label count limits (10 per skill, 100 definitions) - Detail async rebuild strategy (Spring @Async, batch 50, error isolation) - Clarify search_vector is GENERATED STORED column, auto-maintained - Expand SearchQuery with labelSlugs field, detail SQL changes - Define all API response JSON structures - Clarify PUT update: no slug in body, full-replace translations - Clarify hard delete with audit_log - Add cross-namespace permission boundary (promotion scenario) - Pre-reserve multi-label API param for future - Clarify ClawHub compat layer: no label support in phase 1 * docs(label): address second-round spec review findings - Fix chapter numbering (duplicate "6." → "6." + "7.") - Move labelSlugs to end of SearchQuery record to reduce breaking change - Add TIMESTAMPTZ convention note for new tables - Clarify async rebuild transaction boundary (per-skill independent tx) - Move rebuildByLabelId to app layer to preserve module boundaries - Clarify multi-label filter uses OR semantics with AND extension path * docs(label): fix section numbering in frontend design chapter * Implement skill label system end to end * Unify label app services and DTOs * Add admin label management page * Add label admin backend tests * Fix merge fallout in generated schema |
||
|---|---|---|
| .. | ||
| superpowers | ||
| 00-product-direction.md | ||
| 01-system-architecture.md | ||
| 02-domain-model.md | ||
| 03-authentication-design.md | ||
| 04-search-architecture.md | ||
| 05-business-flows.md | ||
| 06-api-design.md | ||
| 07-skill-protocol.md | ||
| 08-frontend-architecture.md | ||
| 09-deployment.md | ||
| 10-delivery-roadmap.md | ||
| 11-auth-extensibility-and-private-sso.md | ||
| 12-private-sso-integration-playbook.md | ||
| 13-parallel-workflow.md | ||
| 14-skill-lifecycle.md | ||
| 15-backend-time-governance-plan.md | ||
| 16-backend-time-inventory.md | ||
| 17-backend-annotation-findings.md | ||
| 18-frontend-annotation-findings.md | ||
| 2026-03-20-skill-label-system-design.md | ||
| dev-workflow.md | ||
| openclaw-integration-en.md | ||
| openclaw-integration.md | ||