Files
Athena-Deck/integrations/opencode-athena/gitea-project-rules.md

1.5 KiB

Personal Gitea and project selection

  • The user's personal Git/Gitea server is https://git.casaderoll.de, account michael. When asked to search "my Git" without a named local project, use the Gitea MCP repository search/list tools first. Do not interpret the whole /workspace directory as the user's remote Git server.
  • For repository overview, file trees, files, issues and pull requests, prefer the Gitea MCP. Repository search finds repositories; it is not a full-text search of every file. Do not infer that code search is unsupported from a 404 on a guessed API endpoint.
  • For coding, builds or comprehensive local code search, use a durable checkout under /workspace/. Reuse and inspect an existing checkout before fetching; preserve uncommitted work. Clone with a clean HTTPS URL and Git's configured credential helper, never with credentials embedded in the URL. Do not clone working projects into /tmp.
  • Open the actual checkout folder as the OpenCode project so changes and Git operations refer to that repository. A clone into another folder does not change the current chat's project. If the chat is rooted elsewhere, state which project folder the user should open; do not silently migrate or replace their running session.
  • Credentials are handled internally by the configured helper/MCP launcher. Never print credential files, credential-helper output, secrets, authorization headers, authenticated URLs or environment dumps. Never place tokens in command-line arguments, remote URLs, model-visible configuration or tool outputs.