Files
infra/ai-memory/feedback_github_workflow.md
myron 52f6073593 Add Claude Code AI memory files
AI context/memory from Claude Code sessions covering all
infrastructure: JARVIS, NovaCPX, DO sites, Proxmox, FusionPBX,
MediaStack, and project feedback/preferences.
2026-06-26 03:06:26 +00:00

44 lines
2.1 KiB
Markdown

---
name: feedback-github-workflow
description: Standing rule — all website and Jarvis changes must be committed to GitHub then deployed to the server
metadata:
type: feedback
originSessionId: 002fe81e-7e03-414d-b842-1f94f1390a22
---
For every code change to any website or Jarvis: commit to GitHub first, then deploy to the live server. Never make changes directly without a git commit.
**Why:** User explicitly requested this as a standing workflow on 2026-05-22.
**How to apply:** After editing any file:
1. `git add -A && git commit -m "description"` in the site root
2. `git push origin main`
3. Then SCP/SSH the changed files to the live server (or git pull if pull-based deploy is set up)
## Repo Map
| Site / Project | Server | Path | GitHub Repo |
|---|---|---|---|
| tomsjavajive.com | 165.22.1.228 | /home/tomsjavajive.com/public_html | myronblair/tomsjavajive |
| epictravelexpeditions.com | 165.22.1.228 | /home/epictravelexpeditions.com/public_html | myronblair/epictravelexpeditions |
| orbishosting.com | 165.22.1.228 | /home/orbishosting.com/public_html | myronblair/orbishosting |
| orbis.orbishosting.com | 165.22.1.228 | /home/orbis.orbishosting.com/public_html | myronblair/orbis-hosting-portal |
| parkerslingshotrentals.com | 165.22.1.228 | /home/parkerslingshotrentals.com/public_html | myronblair/parkerslingshotrentals |
| tomtomgames.com | 165.22.1.228 | /home/tomtomgames.com/public_html | myronblair/tomtomgames |
| JARVIS | 10.48.200.84 | /var/www/jarvis.orbishosting.com | myronblair/jarvis |
## Gitignored Credentials (never in GitHub)
- tomsjavajive: `config/database.php`
- epictravelexpeditions: `api/config.php`
- jarvis: `api/config.php`
## Git on Servers
- DO server (165.22.1.228): SSH as root, git runs as root, safe.directory set for all /home/*/public_html paths
- Jarvis (10.48.200.84): SSH as myron, git requires `sudo` + explicit GIT_DIR/GIT_WORK_TREE env vars
## PAT
- **Token:** `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`
- Embedded in all remote URLs on both servers (DO + Jarvis)
- Expires ~90 days from 2026-05-22 (around 2026-08-20)
- Rotate via: `git remote set-url origin https://myronblair:NEW_TOKEN@github.com/myronblair/REPO.git`