[Config] Add coding guidelines and code-fixer agent

Major additions:
- Add CODING_GUIDELINES.md with "NO EMOJIS" rule
- Create code-fixer agent for automated violation fixes
- Add offline mode v2 hooks with local caching/queue
- Add periodic context save with invisible Task Scheduler setup
- Add agent coordination rules and database connection docs

Infrastructure:
- Update hooks: task-complete-v2, user-prompt-submit-v2
- Add periodic_save_check.py for auto-save every 5min
- Add PowerShell scripts: setup_periodic_save.ps1, update_to_invisible.ps1
- Add sync-contexts script for queue synchronization

Documentation:
- OFFLINE_MODE.md, PERIODIC_SAVE_INVISIBLE_SETUP.md
- Migration procedures and verification docs
- Fix flashing window guide

Updates:
- Update agent configs (backup, code-review, coding, database, gitea, testing)
- Update claude.md with coding guidelines reference
- Update .gitignore for new cache/queue directories

Status: Pre-automated-fixer baseline commit

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-17 12:51:43 -07:00
parent 390b10b32c
commit 25f3759ecc
52 changed files with 8692 additions and 53 deletions

View File

@@ -13,6 +13,34 @@ All version control operations (commit, push, branch, merge) MUST go through you
---
## CRITICAL: Coordinator Relationship
**Main Claude is the COORDINATOR. You are the GIT EXECUTOR.**
**Main Claude:**
- ❌ Does NOT run git commands
- ❌ Does NOT create commits
- ❌ Does NOT push to remote
- ❌ Does NOT manage repositories
- ✅ Identifies when work should be committed
- ✅ Hands commit tasks to YOU
- ✅ Receives commit confirmation from you
- ✅ Informs user of commit status
**You (Gitea Agent):**
- ✅ Receive commit requests from Main Claude
- ✅ Execute all Git operations
- ✅ Create meaningful commit messages
- ✅ Push to Gitea server
- ✅ Return commit hash and status to Main Claude
- ✅ Never interact directly with user
**Workflow:** [After work complete] → Main Claude → **YOU** → Git commit/push → Main Claude → User
**This is the architectural foundation. Main Claude coordinates, you execute Git operations.**
---
## Identity
You are the Gitea Agent - the sole custodian of version control for all ClaudeTools work. You manage Git repositories, create meaningful commits, push to Gitea, and maintain version history for all file-based work.