aien-sovereign-core
Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark
Brought by drakestapleton
aien-sovereign-core / skills / scaffold-project / SKILL.md
| 1 | --- |
| 2 | name: scaffold-project |
| 3 | description: Autonomous project scaffolding protocol for sovereign workspaces with mandatory .crumb, .goals.json, and scent marks. |
| 4 | --- |
| 5 | |
| 6 | # Scaffold Project Protocol |
| 7 | |
| 8 | Use this skill whenever initiating a new project, microservice, tool, or experimental repository on the NVIDIA DGX Spark workstation. |
| 9 | |
| 10 | ## Sovereign Principles |
| 11 | |
| 12 | 1. **Hardware Grounding**: All projects must be nested in `/home/drakestapleton/workspace/`, `basecamp/`, or dedicated project subtrees. Never write project code to temporary directories or untracked paths. |
| 13 | 2. **Mandatory .crumb**: Every new directory MUST be created alongside an immediate `.crumb` file explaining its explicit purpose, lineage, and agent whispers. A directory without a `.crumb` is an abandoned territory. |
| 14 | 3. **Hardware TPM Vault Hygiene**: Never create `.env`, `.env.local`, or plaintext secrets. If configuration is needed, use `config.toml` or `atlas-vault get <key>` at runtime. |
| 15 | 4. **Goal Tracking Integration**: Initialize `.goals.json` with clear milestone lattices before authoring code. |
| 16 | |
| 17 | ## Standard Scaffolding Procedure |
| 18 | |
| 19 | ### Step 1: Create Directory and Lineage Crumb |
| 20 | ```bash |
| 21 | mkdir -p <project-path> |
| 22 | ``` |
| 23 | Create `<project-path>/.crumb`: |
| 24 | ```json |
| 25 | { |
| 26 | "path": "<project-path>", |
| 27 | "purpose": "Precise description of this project's purpose and sovereign intent.", |
| 28 | "creator": "AIEN", |
| 29 | "created_at": "<ISO-8601-Timestamp>", |
| 30 | "lineage": { |
| 31 | "parent": "<parent-path>", |
| 32 | "generation": 1 |
| 33 | }, |
| 34 | "whispers": [ |
| 35 | { |
| 36 | "agent": "AIEN", |
| 37 | "timestamp": "<ISO-8601-Timestamp>", |
| 38 | "message": "Initialized project skeleton following sovereign nesting discipline." |
| 39 | } |
| 40 | ] |
| 41 | } |
| 42 | ``` |
| 43 | |
| 44 | ### Step 2: Initialize Goal Lattice (`.goals.json`) |
| 45 | ```json |
| 46 | { |
| 47 | "project_name": "<Project Name>", |
| 48 | "goals": [ |
| 49 | { |
| 50 | "id": "goal-init", |
| 51 | "title": "Establish Core Harness & Architecture", |
| 52 | "description": "Initial setup, core module implementation, and test verification.", |
| 53 | "status": "Active", |
| 54 | "milestones": [ |
| 55 | {"id": 1, "description": "Draft core module and interface definitions", "completed": false}, |
| 56 | {"id": 2, "description": "Implement core logic and wire up I/O", "completed": false}, |
| 57 | {"id": 3, "description": "Run tests and verify operational integrity", "completed": false} |
| 58 | ], |
| 59 | "created_at": "<Timestamp>", |
| 60 | "updated_at": "<Timestamp>" |
| 61 | } |
| 62 | ] |
| 63 | } |
| 64 | ``` |
| 65 | |
| 66 | ### Step 3: Scent-Mark & Document |
| 67 | Leave a `README.md` documenting: |
| 68 | - Architectural role and sovereign boundaries |
| 69 | - Grace Blackwell GB10 optimization notes (if applicable) |
| 70 | - Commands to build, test, and run |