diff --git a/GEMINI.md b/GEMINI.md index 24f0d26c..a7624e76 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -21,7 +21,10 @@ This file contains the accumulated instructions and long-term vision for the aut 15. **GitHub Metadata Enrichment**: For all `github.com` resources, the bot MUST attempt to fetch real-time metadata (stars, last commit) using the GitHub API. This data must be included in the V2 rendering to provide current context. 16. **Resilient Link Health**: Every V2 generation cycle MUST perform asynchronous health checks. The bot MUST use identity rotation (User-Agents) and multiple attempts (3x) with backoff to minimize false negatives. Only definitive **404 Not Found** errors lead to removal; other failures (timeouts, 403s) result in the link being preserved but flagged as `[OFFLINE?]` to ensure maximum technical preservation. GitHub and 'Foundational' resources are exempt from removal based on health checks. 17. **Automated Branch Hygiene**: To keep the repository clean and efficient, an automated cleanup MUST run every 15 days (1st and 15th) to delete remote branches already merged into `develop`. The branches `master`, `develop`, and `gh-pages` are strictly protected and MUST NEVER be deleted. -18. **V1/V2 Asset Integrity & Sharing**: V1 (`docs/`) is the absolute source of truth for assets. The V2 portal (`v2-docs/`) MUST NOT contain duplicate `images/` or `static/` folders. All V2 assets (banners, icons, favicons, CSS) MUST use relative paths pointing to the V1 directory (e.g., `../docs/images/`). +18. **V1/V2 Asset Integrity & Rendering**: + - **Source of Truth**: V1 (`docs/`) is the absolute source of truth for assets. V2 portal (`v2-docs/`) MUST NOT duplicate folders; it uses symlinks or relative paths. + - **Rendering Fix (HTML in MD)**: All `