Enable auto-commit tracking, git-sync hooks, session recovery, and anonymous identity for the new repo. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.2 KiB
2.2 KiB
gitea-token-access
Last updated: 2026-02-21T14:51:31Z
Tech Stack
Git
- Branch: master
- Remote
sensey: https://git.sensey24.ru/aibot777/gitea-token-access.git
Project Structure
Key directories: docs/
Available Scripts
Entire CLI
- Status: Enabled (auto-commit)
- Strategy: auto-commit
- Telemetry: disabled
- Push sessions: enabled
Multi-machine Sync
This project uses automatic git synchronization between machines:
- SessionStart:
git-sync.sh pullruns before session — fetches and rebases from remote - post-commit:
git-sync.sh pushruns in background — pushes to remote after each commit - SessionEnd:
git-sync.sh pushruns — final push when session ends - Scope: only main/master branch; feature branches are not synced
- Conflicts: if rebase fails, it aborts and creates a backup tag
sync/backup/pre-rebase/TIMESTAMP - Diagnostics:
bash .entire/git-sync.sh status - Backup recovery:
git tag -l 'sync/backup/*'thengit reset --hard <tag>
Important for agents: Do NOT manually push/pull on main/master — sync is automatic. If you see "[git-sync] Behind remote by N commits" at session start, rebase already happened.
Anonymous Identity
Git commits MUST use anonymous device ID, never real name/email/hostname.
- Correct:
delta-cloud-208e <delta-cloud-208e@device.local> - Wrong:
root <root@hostname.example.com>orJohn <john@gmail.com> - Identity is auto-set by
generate-claude-md.shon each SessionStart - If you see real name/email in
git config user.nameorgit log, run:bash .entire/generate-device-id.shand apply result viagit config --global user.name/email - Remote URLs must NOT contain credentials inline (use
git credential store)
Session Recovery
When context is compacted, the SessionStart hook restores:
- Project name, tech stack, and git info
- Last 10 commits via
git log --oneline -10 - This file is re-read automatically
Conventions
- Use conventional commits (feat:, fix:, refactor:, docs:, chore:)
- All Claude Code sessions are tracked by Entire CLI
- Run
entire statusto verify tracking is active