ab5db78eb2
refactor: Trim CLAUDE.md and directives to reduce context window pressure
...
Reduced always-loaded context from ~1,570 lines to ~75 lines (-95%):
- CLAUDE.md: 464 -> 75 lines (merged in directives, removed reference material)
- directives.md: 639 -> 7 lines (now pointer to CLAUDE.md)
- AGENT_COORDINATION_RULES.md: 468 -> 32 lines (slim agent reference only)
- New REFERENCE.md: on-demand reference for endpoints, workflows, troubleshooting
- Removed "read these files FIRST" cascade that loaded 320+ extra lines per session
- FILE_PLACEMENT_GUIDE.md and CODING_GUIDELINES.md now read on-demand by agents
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-17 10:49:35 -07:00
b79c47acb9
sync: Auto-sync from ACG-M-L5090 at 2026-01-26 16:45:54
...
Synced files:
- Complete claude-projects import (5 catalog files)
- Client directory with 12 clients
- Project directory with 12 projects
- Credentials updated (100+ sets)
- Session logs consolidated
- Agent coordination rules updated
- Task management integration
Major work completed:
- Exhaustive cataloging of claude-projects
- All session logs analyzed (38 files)
- All credentials extracted and organized
- Client infrastructure documented
- Problem solutions cataloged (70+)
Machine: ACG-M-L5090
Timestamp: 2026-01-26 16:45:54
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-01 16:23:47 -07:00
565b6458ba
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 >
2026-01-20 16:21:06 -07:00
5cef18d791
docs: Add data integrity directive - never use placeholder data
...
Added critical directive to prevent using fake/placeholder credentials:
- NEVER use placeholder, fake, or test data in any project
- ALWAYS use real data from credentials.md, session logs, or user input
- If data isn't available, ask user - never fabricate
- Placeholder credentials are never valid
- Test data in scripts is not authoritative
Root cause of wasted time:
- Used fake credentials ("guru"/"AZC0mpGuru!2024") from test script
- Should have checked credentials.md first for real AD2 credentials
- Violated /context workflow by not searching for actual credentials
Correct AD2 credentials (from credentials.md):
- User: INTRANET\sysadmin
- Password: Paper123!@#
Also added deploy-ctonw-to-ad2.ps1 using correct credentials.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-20 16:03:00 -07:00
ffef5bdf8f
docs: Add SSH operations rule and deployment script
...
Added SSH operations guidelines to directives.md:
- NEVER use Git for Windows SSH for operations
- Use native OpenSSH or PuTTY tools (plink, pscp)
- Git for Windows SSH has compatibility issues with some servers
- Use full path to system SSH when needed
Created deploy-bat-files-to-ad2.ps1:
- Deploys DEPLOY.BAT and UPDATE.BAT to AD2
- Preserves CRLF line endings for DOS compatibility
- Verifies file content matches after copy
- Files auto-sync to NAS via AD2's scheduled task
Reason: NAS SSH authentication failed after restart, established
AD2 deployment path as reliable alternative that preserves line endings.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-19 16:10:36 -07:00
b87e97d3ba
feat: Add directives system and DOS management utilities
...
Implemented comprehensive directives system for agent coordination:
- Created directives.md (590 lines) - Core operational rules defining
coordinator vs executor roles, agent delegation patterns, and coding
standards (NO EMOJIS, ASCII markers only)
- Added DIRECTIVES_ENFORCEMENT.md - Documentation of enforcement
mechanisms and checklist for validating compliance
- Created refresh-directives command - Allows reloading directives
after Gitea updates without restarting Claude Code
- Updated checkpoint and save commands to verify directives compliance
- Updated .claude/claude.md to mandate reading directives.md first
Added DOS system management PowerShell utilities:
- check-bat-on-nas.ps1 - Verify BAT files on NAS match source
- check-latest-errors.ps1 - Scan DOS error logs for recent issues
- check-plink-references.ps1 - Find plink.exe usage in scripts
- check-scp-errors.ps1 - Analyze SCP transfer errors
- check-sync-log.ps1 (modified) - Enhanced sync log analysis
- check-sync-status.ps1 - Monitor sync process status
- copy-to-nas-now.ps1 - Manual NAS file deployment
- find-error-logging.ps1 - Locate error logging patterns
- fix-copy-tonas-logging.ps1 - Repair logging in copy scripts
- fix-dos-files.ps1 - Batch DOS file corrections
- fix-line-break.ps1 - Fix line ending issues
- fix-plink-usage.ps1 - Modernize plink.exe to WinRM
- push-fixed-bat-files.ps1 - Deploy corrected BAT files
- run-sync-direct.ps1 - Direct sync execution
- test-error-logging.ps1 - Validate error logging functionality
- trigger-sync-push.ps1 - Initiate sync push operations
- verify-error-logging.ps1 - Confirm error logging working
- scripts/fix-ad2-error-logging.ps1 - Fix AD2 error logging
Added Gitea password management scripts:
- Reset-GiteaPassword.ps1 - Windows PowerShell password reset
- reset-gitea-password.sh - Unix shell password reset
Key architectural decisions:
- Directives system establishes clear separation between Main Claude
(coordinator) and specialized agents (executors)
- DOS utilities modernize legacy plink.exe usage to WinRM
- Error logging enhancements improve troubleshooting capabilities
- All scripts follow PSScriptAnalyzer standards
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-19 15:52:28 -07:00