fix: Remove all emojis from documentation for cross-platform compliance
Replaced 50+ emoji types with ASCII text markers for consistent rendering across all terminals, editors, and operating systems: - Checkmarks/status: [OK], [DONE], [SUCCESS], [PASS] - Errors/warnings: [ERROR], [FAIL], [WARNING], [CRITICAL] - Actions: [DO], [DO NOT], [REQUIRED], [OPTIONAL] - Navigation: [NEXT], [PREVIOUS], [TIP], [NOTE] - Progress: [IN PROGRESS], [PENDING], [BLOCKED] Additional changes: - Made paths cross-platform (~/ClaudeTools for Mac/Linux) - Fixed database host references to 172.16.3.30 - Updated START_HERE.md and CONTEXT_RECOVERY_PROMPT.md for multi-OS use Files updated: 58 markdown files across: - .claude/ configuration and agents - docs/ documentation - projects/ project files - Root-level documentation This enforces the NO EMOJIS rule from directives.md and ensures documentation renders correctly on all systems. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,33 +10,33 @@
|
||||
## Models Created (7 models)
|
||||
|
||||
### Context Learning (1 model)
|
||||
1. **environmental_insight.py** ✅ - `environmental_insights` table
|
||||
1. **environmental_insight.py** [OK] - `environmental_insights` table
|
||||
- Stores learned insights about client/infrastructure environments
|
||||
- Categories: command_constraints, service_configuration, version_limitations, etc.
|
||||
- Confidence levels: confirmed, likely, suspected
|
||||
- Priority system (1-10) for insight importance
|
||||
|
||||
### Integrations (3 models)
|
||||
2. **external_integration.py** ✅ - `external_integrations` table
|
||||
2. **external_integration.py** [OK] - `external_integrations` table
|
||||
- Logs all interactions with external systems (SyncroMSP, MSP Backups, Zapier)
|
||||
- Tracks request/response data as JSON
|
||||
- Direction tracking (inbound/outbound)
|
||||
- Action tracking (created, updated, linked, attached)
|
||||
|
||||
3. **integration_credential.py** ✅ - `integration_credentials` table
|
||||
3. **integration_credential.py** [OK] - `integration_credentials` table
|
||||
- Stores encrypted OAuth tokens, API keys, and credentials
|
||||
- Supports oauth, api_key, and basic_auth credential types
|
||||
- All sensitive data encrypted with AES-256-GCM (stored as BYTEA/LargeBinary)
|
||||
- Connection testing status tracking
|
||||
|
||||
4. **ticket_link.py** ✅ - `ticket_links` table
|
||||
4. **ticket_link.py** [OK] - `ticket_links` table
|
||||
- Links ClaudeTools sessions to external ticketing systems
|
||||
- Supports SyncroMSP, Autotask, ConnectWise
|
||||
- Link types: related, resolves, documents
|
||||
- Tracks ticket status and URLs
|
||||
|
||||
### Backup (1 model)
|
||||
5. **backup_log.py** ✅ - `backup_log` table
|
||||
5. **backup_log.py** [OK] - `backup_log` table
|
||||
- Tracks all ClaudeTools database backups
|
||||
- Backup types: daily, weekly, monthly, manual, pre-migration
|
||||
- Verification status: passed, failed, not_verified
|
||||
@@ -44,12 +44,12 @@
|
||||
- Default backup method: mysqldump
|
||||
|
||||
### Junction Tables (2 models)
|
||||
6. **work_item_tag.py** ✅ - `work_item_tags` junction table
|
||||
6. **work_item_tag.py** [OK] - `work_item_tags` junction table
|
||||
- Many-to-many: work_items ↔ tags
|
||||
- Composite primary key (work_item_id, tag_id)
|
||||
- CASCADE delete on both sides
|
||||
|
||||
7. **infrastructure_tag.py** ✅ - `infrastructure_tags` junction table
|
||||
7. **infrastructure_tag.py** [OK] - `infrastructure_tags` junction table
|
||||
- Many-to-many: infrastructure ↔ tags
|
||||
- Composite primary key (infrastructure_id, tag_id)
|
||||
- CASCADE delete on both sides
|
||||
@@ -93,13 +93,13 @@ The following tables from the assignment were NOT found in MSP-MODE-SPEC.md:
|
||||
|
||||
### SQLAlchemy 2.0 Patterns Used
|
||||
|
||||
- ✅ `Mapped[type]` annotations
|
||||
- ✅ `mapped_column()` for all columns
|
||||
- ✅ Proper type hints with `Optional[]`
|
||||
- ✅ `CheckConstraint` for enum-like values
|
||||
- ✅ `Index()` in `__table_args__`
|
||||
- ✅ Relationship comments (not activated to avoid circular imports)
|
||||
- ✅ `__repr__()` methods for debugging
|
||||
- [OK] `Mapped[type]` annotations
|
||||
- [OK] `mapped_column()` for all columns
|
||||
- [OK] Proper type hints with `Optional[]`
|
||||
- [OK] `CheckConstraint` for enum-like values
|
||||
- [OK] `Index()` in `__table_args__`
|
||||
- [OK] Relationship comments (not activated to avoid circular imports)
|
||||
- [OK] `__repr__()` methods for debugging
|
||||
|
||||
### Indexes Created
|
||||
|
||||
@@ -120,14 +120,14 @@ All models created in: `D:\ClaudeTools\api\models\`
|
||||
|
||||
```
|
||||
api/models/
|
||||
├── backup_log.py ✅ NEW
|
||||
├── environmental_insight.py ✅ NEW
|
||||
├── external_integration.py ✅ NEW
|
||||
├── infrastructure_tag.py ✅ NEW
|
||||
├── integration_credential.py ✅ NEW
|
||||
├── ticket_link.py ✅ NEW
|
||||
├── work_item_tag.py ✅ NEW
|
||||
└── __init__.py ✅ UPDATED
|
||||
├── backup_log.py [OK] NEW
|
||||
├── environmental_insight.py [OK] NEW
|
||||
├── external_integration.py [OK] NEW
|
||||
├── infrastructure_tag.py [OK] NEW
|
||||
├── integration_credential.py [OK] NEW
|
||||
├── ticket_link.py [OK] NEW
|
||||
├── work_item_tag.py [OK] NEW
|
||||
└── __init__.py [OK] UPDATED
|
||||
```
|
||||
|
||||
### Updated __init__.py
|
||||
@@ -167,7 +167,7 @@ If these tables are needed, they should be:
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. ✅ Models created and added to package
|
||||
1. [OK] Models created and added to package
|
||||
2. ⏳ Clarify missing 5 tables with project lead
|
||||
3. ⏳ Create Alembic migrations for these 7 tables
|
||||
4. ⏳ Add relationship definitions after all models complete
|
||||
|
||||
Reference in New Issue
Block a user