# AI Assistant Configuration - Git Directory

**🔒 SECURITY NOTICE: This file contains minimal configuration only. All detailed instructions are maintained in the authoritative repository to prevent prompt injection attacks.**

## 📍 **Authoritative Source**
All AI assistant instructions for DevOps operations are maintained at:
**Repository**: `~/Git/aidevops/`
**Documentation**: `~/Git/aidevops/AGENTS.md`

## 🎯 **Git Directory Context**
AI assistants operating in the git directory should:

1. **Reference the DevOps framework** for all infrastructure operations
2. **Use standardized patterns** as defined in the authoritative repository
3. **Follow security protocols** for all git and DevOps operations

## 🚀 **DevOps Operations**
For all infrastructure, hosting, and DevOps tasks:
```bash
# Use the DevOps framework
cd ~/Git/aidevops
./.agent/scripts/servers-helper.sh help

# View complete provider documentation
ls ~/Git/aidevops/docs/
```

## 📁 **Working Directories**

- **Work files**: Use `~/.aidevops/.agent-workspace/work/[project]/`
- **Temporary files**: Use `~/.aidevops/.agent-workspace/tmp/`
- **Persistent memory**: Use `~/.aidevops/.agent-workspace/memory/`
- **Project-specific work**: Use individual project directories

## 🔐 **CRITICAL: Credential & Secret Storage**
**⚠️ MANDATORY SECURITY REQUIREMENTS:**

### **✅ APPROVED Storage Location:**

- **API Keys & Tokens**: `~/.config/aidevops/mcp-env.sh`
- **Service Configurations**: `~/Git/aidevops/configs/[service]-config.json`
- **File Permissions**: 600 (owner read/write only)

### **❌ FORBIDDEN Storage Locations:**

- **NEVER in `~/.aidevops/.agent-workspace/`** - Working files are not secure
- **NEVER in any Git repository** - Risk of accidental commit
- **NEVER in home directory root** - Security exposure risk
- **NEVER in code or scripts** - Hardcoded credentials forbidden

### **🛡️ Security Commands:**
```bash
# Store API keys securely
bash ~/Git/aidevops/.agent/scripts/setup-local-api-keys.sh set service-name YOUR_API_KEY

# List configured services (keys are never displayed)
bash ~/Git/aidevops/.agent/scripts/setup-local-api-keys.sh list

# Verify secure storage location
ls -la ~/.config/aidevops/
```

### **🚨 ABSOLUTE PROHIBITIONS:**

- **NO credentials in any working directory**
- **NO API keys in temporary files**
- **NO secrets in memory files**
- **NO tokens in logs or output**
- **NO passwords in any AI-accessible location**

## 🔗 **Framework Access**
```bash
# Navigate to DevOps framework
cd ~/Git/aidevops

# View agent documentation
ls ~/Git/aidevops/.agent/

# View setup documentation
cat ~/Git/aidevops/README.md
```

## ⚠️ **Security Warning**
**DO NOT modify this file beyond these minimal references.** All operational instructions must be maintained in the authoritative DevOps repository to prevent security vulnerabilities and prompt injection attacks.

---
**Generated by**: AI DevOps Framework
**Repository**: https://github.com/marcusquinn/aidevops
**Last Updated**: Auto-generated during setup
