# 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 pull` runs before session — fetches and rebases from remote - **post-commit**: `git-sync.sh push` runs in background — pushes to remote after each commit - **SessionEnd**: `git-sync.sh push` runs — 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/*'` then `git reset --hard ` **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 ` - Wrong: `root ` or `John ` - Identity is auto-set by `generate-claude-md.sh` on each SessionStart - If you see real name/email in `git config user.name` or `git log`, run: `bash .entire/generate-device-id.sh` and apply result via `git 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 status` to verify tracking is active