Kimi was creating empty commits because the prompt did not explicitly require `git add` before `git commit`. Empty PRs (0 files changed) waste review cycles and leave issues appearing worked-on but unresolved. In-repo fix (.kimi/AGENTS.md): - Add CRITICAL note requiring `git add .` or `git add <files>` before any `git commit` - Require `git diff --cached --stat` check to confirm non-empty staging area before committing - Explicit warning: NEVER commit without staging files first Harness fix (kimi-loop.sh, applied to ~/.hermes/bin/ and hermes-config/): - Updated build_prompt() step 3 to show `git add .` + diff check before the commit command - Added "CRITICAL: ALWAYS COMMIT AND PUSH" rule block to the prompt - Added PR diff guard in the auto-merge step: checks Gitea /files API before merging; if 0 files changed, closes the empty PR, comments on the issue, adds to skip list for 2h so the issue retries cleanly Fixes #1268 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Kimi Agent Workspace for Timmy Time
This directory contains the Kimi (Moonshot AI) agent workspace for the Timmy Time project.
About Kimi
Kimi is part of the Build Tier in the Timmy Time agent roster:
- Strengths: Large-context feature drops, new subsystems, persona agents
- Model: Paid API with large context window
- Best for: Complex features requiring extensive context
Quick Commands
# Check workspace status
bash .kimi/scripts/resume.sh
# Bootstrap (first time)
bash .kimi/scripts/bootstrap.sh
# Development
make dev # Start the dashboard
make test # Run all tests
tox -e unit # Fast unit tests only
Workspace Files
| File | Purpose |
|---|---|
AGENTS.md |
Workspace guide and conventions |
CHECKPOINT.md |
Current session state |
TODO.md |
Task list and priorities |
scripts/bootstrap.sh |
One-time setup script |
scripts/resume.sh |
Quick status check |
scripts/dev.sh |
Development helpers |
Conventions
Per project AGENTS.md:
- Tests must stay green - Run
make testbefore committing - No cloud dependencies - Use Ollama for local AI
- Follow existing patterns - Singletons, graceful degradation
- Security first - Never hard-code secrets
- XSS prevention - Never use
innerHTMLwith untrusted content
Project Links
- Dashboard: http://localhost:8000
- Repository: http://localhost:3000/rockachopa/Timmy-time-dashboard
- Docs: See
CLAUDE.mdandAGENTS.mdin project root