Update the nixos workflow for new .agents folder
This commit is contained in:
@@ -11,23 +11,21 @@ You are an expert at managing Pi Agent assets on a NixOS system using a Gitea-ce
|
|||||||
## ⛔ CRITICAL PROHIBITIONS
|
## ⛔ CRITICAL PROHIBITIONS
|
||||||
- **NEVER** suggest or perform edits to `home.nix` to add individual extensions or skills.
|
- **NEVER** suggest or perform edits to `home.nix` to add individual extensions or skills.
|
||||||
- **NEVER** use `pi install` or `npm install -g` (Nix store is read-only).
|
- **NEVER** use `pi install` or `npm install -g` (Nix store is read-only).
|
||||||
- **NEVER** save assets to `~/.agents/skills`.
|
|
||||||
|
|
||||||
## 🛠 THE SOURCE OF TRUTH
|
## 🛠 THE SOURCE OF TRUTH
|
||||||
All assets MUST be managed in the local Git-controlled directory:
|
All assets MUST be managed in the local Git-controlled directory:
|
||||||
- **Local Path**: `/home/sam/ai-assets`
|
- **Local Path**: `/home/sam/.agents`
|
||||||
- **Remote URL**: `https://gitea.lab.audasmedia.com.au/sam/pi-config`
|
- **Remote URL**: `https://gitea.lab.audasmedia.com.au/sam/pi-config`
|
||||||
|
|
||||||
## 🏗 ASSET DEPLOYMENT WORKFLOW
|
## 🏗 ASSET DEPLOYMENT WORKFLOW
|
||||||
When the user asks for a new tool or skill, you MUST follow these steps exactly:
|
When the user asks for a new tool or skill, you MUST follow these steps exactly:
|
||||||
|
|
||||||
1. **Local Authoring**:
|
1. **Local Authoring**:
|
||||||
- Write code/markdown directly into the appropriate subfolder in `~/ai-assets/` (e.g., `extensions/` or `skills/`).
|
- Write code/markdown directly into the appropriate subfolder in `~/.agents/` (e.g., `extensions/` or `skills/`).
|
||||||
- If cloning an external repo, immediately `rm -rf .git` inside that folder to prevent submodule issues. Also inside that folder remove '.gitignore' if it is there.
|
- If cloning an external repo, immediately `rm -rf .git` inside that folder to prevent submodule issues. Also inside that folder remove '.gitignore' if it is there.
|
||||||
2. **Local Dependency Check**:
|
2. **Local Dependency Check**:
|
||||||
- If an extension, run `npm install` inside that specific subfolder.
|
- If an extension, run `npm install` inside that specific subfolder.
|
||||||
3. **Gitea Synchronization**:
|
3. **Gitea Synchronization**:
|
||||||
- `cd /home/sam/ai-assets`
|
- `cd /home/sam/.agents`
|
||||||
- `git add .`
|
- `git add .`
|
||||||
- `git commit -m "Add [asset name]"`
|
- `git commit -m "Add [asset name]"`
|
||||||
- `git push origin main`
|
- `git push origin main`
|
||||||
|
|||||||
Reference in New Issue
Block a user