Compare commits
2 Commits
docs-reorg
...
bootstrap-
Author | SHA1 | Date | |
---|---|---|---|
d6d60355fd | |||
711bcf20a1 |
100
TEMPLATE-README.md
Normal file
100
TEMPLATE-README.md
Normal file
@@ -0,0 +1,100 @@
|
||||
# CTO AI Delegation Template
|
||||
|
||||
**Template for founder CTOs to delegate development work to AI agents as a complete team**
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
**Download and setup this template:**
|
||||
|
||||
1. **Download the latest milestone:** Download the zip file from your chosen milestone tag
|
||||
2. **Extract to your project directory:** `unzip milestone.zip`
|
||||
3. **Initialize git repository:**
|
||||
```bash
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Initial commit from CTO delegation template"
|
||||
git branch -M main
|
||||
git remote add origin YOUR_REPOSITORY_URL
|
||||
git push -u origin main
|
||||
```
|
||||
4. **Create required branches:**
|
||||
```bash
|
||||
git checkout -b INTEGRATION-WIP && git push -u origin INTEGRATION-WIP
|
||||
git checkout -b RELEASE && git push -u origin RELEASE
|
||||
git checkout main
|
||||
```
|
||||
|
||||
## 🤖 AI Agent Quick Start
|
||||
|
||||
**For immediate AI delegation, tell your AI agent:**
|
||||
|
||||
1. **Read the LLM-optimized instructions:** `docs/AGENT-LLM.MD`
|
||||
2. **Update project info:** Fill in bracketed fields in `docs/WORKLOG-LLM.md`
|
||||
3. **Start first feature:** Follow the deterministic workflow in AGENT-LLM.MD
|
||||
|
||||
## 📚 Documentation Structure
|
||||
|
||||
### For AI Agents (LLM-Optimized)
|
||||
- **`docs/AGENT-LLM.MD`** - Complete AI workflow reference (READ THIS FIRST)
|
||||
- **`docs/WORKLOG-LLM.md`** - Session tracking and progress
|
||||
- **`docs/CURRENTWORK-LLM.md`** - Detailed notes and decisions
|
||||
|
||||
### For Humans (Comprehensive)
|
||||
- **`docs/GIT_WORKFLOW.MD`** - Complete git workflow documentation
|
||||
- **`docs/AGENT.MD`** - Human-readable AI agent guidelines
|
||||
- **`docs/WORKLOG.md`** - Human-readable progress tracking
|
||||
- **`docs/CURRENTWORK.md`** - Human-readable detailed session logs
|
||||
|
||||
## 🎯 CTO Delegation Philosophy
|
||||
|
||||
This template enables deterministic AI delegation by:
|
||||
|
||||
1. **Strict Workflow Enforcement** - AI agents follow exact command sequences
|
||||
2. **Complete Audit Trail** - Every decision and change is logged
|
||||
3. **Branch Preservation** - Never lose work, maintain complete history
|
||||
4. **Milestone Tracking** - Clear progress markers and achievements
|
||||
5. **Deterministic Outcomes** - Consistent results across AI sessions
|
||||
|
||||
## 🏗️ Project Structure
|
||||
|
||||
```
|
||||
your-project/
|
||||
├── README.md (replace this file with your project README)
|
||||
├── docs/
|
||||
│ ├── AGENT-LLM.MD (AI agent primary reference)
|
||||
│ ├── WORKLOG-LLM.md (update with your project info)
|
||||
│ ├── CURRENTWORK-LLM.md (session tracking)
|
||||
│ └── [other documentation files]
|
||||
└── [your project files]
|
||||
```
|
||||
|
||||
## 🔧 Workflow Overview
|
||||
|
||||
1. **AI agents read `docs/AGENT-LLM.MD`** for complete instructions
|
||||
2. **Every session updates both worklog files** with progress and decisions
|
||||
3. **Features developed on dedicated branches** with descriptive names
|
||||
4. **Milestones tagged** when major features/stages complete
|
||||
5. **Integration testing** through INTEGRATION-WIP branch
|
||||
6. **Production releases** through manual RELEASE branch PRs
|
||||
|
||||
## ⚙️ Customization
|
||||
|
||||
**After setup, customize for your project:**
|
||||
|
||||
1. Replace this README.md with your actual project README
|
||||
2. Update bracketed fields in `docs/WORKLOG-LLM.md`
|
||||
3. Modify workflow rules in `docs/AGENT-LLM.MD` if needed
|
||||
4. Set up repository protection rules as described in documentation
|
||||
|
||||
## 📊 Template Features
|
||||
|
||||
- ✅ **Deterministic AI delegation** with exact command sequences
|
||||
- ✅ **Complete documentation** (human + LLM optimized)
|
||||
- ✅ **Audit trail maintenance** for CTO oversight
|
||||
- ✅ **Professional git workflow** with branch protection
|
||||
- ✅ **Milestone tracking** for progress measurement
|
||||
- ✅ **Platform agnostic** (GitHub, Gitea, GitLab compatible)
|
||||
|
||||
---
|
||||
|
||||
**This template provides everything needed for professional AI team delegation while maintaining CTO control and oversight.**
|
@@ -1,65 +1,147 @@
|
||||
# AI AGENT REFERENCE - LLM OPTIMIZED
|
||||
# AI AGENT REFERENCE - TEMPLATE VERSION
|
||||
|
||||
**FOR: Gemini-CLI, Claude, OpenCode, all AI tools**
|
||||
**FOR: Gemini-CLI, Claude, OpenCode, all AI tools working with CTO delegation template**
|
||||
|
||||
## 🚨 MANDATORY FIRST STEP - BOOTSTRAP PROCESS
|
||||
**EVERY AI AGENT MUST EXECUTE THIS EXACT SEQUENCE IMMEDIATELY:**
|
||||
|
||||
### Step 1: Git Repository Setup (REQUIRED)
|
||||
```bash
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Initial commit from CTO delegation template"
|
||||
git branch -M main
|
||||
git remote add origin YOUR_REPO_URL
|
||||
git push -u origin main
|
||||
```
|
||||
|
||||
### Step 2: Create Bootstrap Branch (REQUIRED)
|
||||
```bash
|
||||
git checkout -b bootstrap
|
||||
git push -u origin bootstrap
|
||||
```
|
||||
|
||||
### Step 3: Create Workflow Branches (REQUIRED)
|
||||
```bash
|
||||
git checkout -b INTEGRATION-WIP && git push -u origin INTEGRATION-WIP
|
||||
git checkout -b RELEASE && git push -u origin RELEASE
|
||||
git checkout bootstrap
|
||||
```
|
||||
|
||||
### Step 4: Update Template Files (REQUIRED)
|
||||
**You MUST update these template placeholders IMMEDIATELY:**
|
||||
1. Update `docs/WORKLOG-LLM.md` - Fill ALL `[BRACKETED_FIELDS]`
|
||||
2. Update `docs/CURRENTWORK-LLM.md` - Fill project info section
|
||||
3. Commit bootstrap setup:
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "Bootstrap: Initialize project with CTO delegation template"
|
||||
git push origin bootstrap
|
||||
```
|
||||
|
||||
### Step 5: Tag Bootstrap Milestone (REQUIRED)
|
||||
```bash
|
||||
git tag -a bootstrap-complete -m "CTO delegation template bootstrap completed - project ready for AI development"
|
||||
git push origin bootstrap-complete
|
||||
```
|
||||
|
||||
**⚠️ CRITICAL: You are now on `bootstrap` branch and MUST remain here for initial project setup work.**
|
||||
|
||||
## CRITICAL RULES
|
||||
1. NEVER work on `main` branch
|
||||
2. NEVER auto-delete feature branches
|
||||
3. ALWAYS push before switching branches
|
||||
4. Push every 10 commits max
|
||||
5. Tag milestones
|
||||
6. UPDATE WORKLOGS
|
||||
1. **NEVER TOUCH `main` BRANCH** - Main is HUMAN-ONLY, AI agents use `bootstrap` as base
|
||||
2. NEVER auto-delete feature branches - Preserve all branches permanently
|
||||
3. ALWAYS push before switching branches - Never lose work
|
||||
4. Push every 10 commits max - Keep work backed up
|
||||
5. Tag milestones - Mark completed stages/milestones
|
||||
6. UPDATE WORKLOGS - Maintain both worklog files
|
||||
|
||||
## COMMANDS
|
||||
## DETERMINISTIC COMMANDS
|
||||
|
||||
**New feature:**
|
||||
**Start new feature (EXACT sequence):**
|
||||
```bash
|
||||
git checkout main && git pull origin main
|
||||
git checkout -b feature/name
|
||||
git checkout bootstrap
|
||||
git pull origin bootstrap
|
||||
git checkout -b feature/TASK-NAME
|
||||
```
|
||||
|
||||
**Before switch:**
|
||||
**Save work before switching (MANDATORY):**
|
||||
```bash
|
||||
git add . && git commit -m "msg"
|
||||
git push origin current-branch
|
||||
git add .
|
||||
git commit -m "SPECIFIC_DESCRIPTION_OF_CHANGES"
|
||||
git push origin CURRENT-BRANCH-NAME
|
||||
```
|
||||
|
||||
**Tag milestone:**
|
||||
**Tag completed milestone (ALWAYS PUSH):**
|
||||
```bash
|
||||
git tag -a name -m "description"
|
||||
git push origin name
|
||||
git tag -a MILESTONE-NAME -m "DETAILED_DESCRIPTION_OF_COMPLETION"
|
||||
git push origin MILESTONE-NAME
|
||||
```
|
||||
|
||||
## BRANCHES
|
||||
- `main` - stable, protected
|
||||
- `LLMBOOTSTRAP` - initial setup
|
||||
- `INTEGRATION-WIP` - auto-merge target
|
||||
- `RELEASE` - manual PR target
|
||||
- `feature/*` - all development
|
||||
## BRANCH STRUCTURE (CREATED BY BOOTSTRAP)
|
||||
- **`main`** - **HUMAN-ONLY** - Never touched by AI agents (template baseline)
|
||||
- **`bootstrap`** - AI agents' base branch for all work (template setup and development)
|
||||
- **`INTEGRATION-WIP`** - Auto-merge target for testing features
|
||||
- **`RELEASE`** - Manual PR target for production releases
|
||||
- **`feature/TASK-NAME`** - All development work branches from bootstrap (descriptive names)
|
||||
|
||||
## WORKFLOW
|
||||
1. Create feature branch from main
|
||||
2. Frequent commits (small, logical)
|
||||
3. Push every ~10 commits or before switch
|
||||
4. Auto-merge to INTEGRATION-WIP
|
||||
5. Manual PR to RELEASE
|
||||
6. NEVER delete branches
|
||||
## DETERMINISTIC WORKFLOW
|
||||
|
||||
## TAGGING
|
||||
**When:** milestone/stage/feature complete
|
||||
**Format:** `bootstrap-complete`, `milestone-2025-09-05`, `auth-done`
|
||||
**Command:** `git tag -a name -m "desc"`
|
||||
### Phase 1: Bootstrap (FIRST SESSION ONLY)
|
||||
1. **Execute mandatory bootstrap process above** (Steps 1-5)
|
||||
2. **Work on bootstrap branch** for initial template setup
|
||||
3. **Add READYSET and template files** (future enhancement)
|
||||
4. **Tag bootstrap-complete** when setup finished
|
||||
|
||||
## WORKLOGS
|
||||
- **docs/WORKLOG-LLM.md** - status/progress
|
||||
- **docs/CURRENTWORK-LLM.md** - detailed notes
|
||||
**Pattern:** Start→update status, During→add notes, End→update completion
|
||||
### Phase 2: Feature Development (ONGOING)
|
||||
1. **Always start from bootstrap:** `git checkout bootstrap && git pull origin bootstrap`
|
||||
2. **Create specific branch:** `git checkout -b feature/EXACT-TASK-NAME`
|
||||
3. **Work in small chunks:** Commit every logical change
|
||||
4. **Push frequently:** Every 5-10 commits or before any branch switch
|
||||
5. **Never delete branches:** Preserve all feature branches permanently
|
||||
6. **Tag milestones:** When features/stages complete
|
||||
|
||||
## FILES
|
||||
- Human: docs/GIT_WORKFLOW.MD, docs/AGENT.MD, docs/WORKLOG.md, docs/CURRENTWORK.md
|
||||
- LLM: docs/*-LLM.MD (this file and others)
|
||||
### Phase 3: Integration & Release
|
||||
1. **Features auto-merge to INTEGRATION-WIP** (testing)
|
||||
2. **Manual PRs to RELEASE** (production)
|
||||
3. **Never delete any branches** (complete history preservation)
|
||||
|
||||
## MILESTONE TAGGING (DETERMINISTIC)
|
||||
**When to tag:**
|
||||
- Feature completely implemented and tested
|
||||
- Stage of project fully complete
|
||||
- Major milestone achieved
|
||||
|
||||
**Format (be specific):**
|
||||
- `feature-auth-complete` (feature done)
|
||||
- `milestone-YYYY-MM-DD-DESCRIPTION` (date+description)
|
||||
- `stage-NAME-done` (stage complete)
|
||||
|
||||
**ALWAYS push tags immediately:**
|
||||
```bash
|
||||
git tag -a TAG-NAME -m "DESCRIPTION"
|
||||
git push origin TAG-NAME
|
||||
```
|
||||
|
||||
## WORKLOG MAINTENANCE (MANDATORY)
|
||||
**Update these files every session:**
|
||||
- **docs/WORKLOG-LLM.md** - Current status, progress, next actions
|
||||
- **docs/CURRENTWORK-LLM.md** - Detailed notes, decisions, concerns
|
||||
|
||||
**Pattern (deterministic):**
|
||||
1. Session start → Update current status in WORKLOG-LLM.md
|
||||
2. During work → Add detailed notes to CURRENTWORK-LLM.md
|
||||
3. Session end → Update completion status and next actions
|
||||
|
||||
## CTO DELEGATION PRINCIPLES
|
||||
**Make outcomes deterministic:**
|
||||
- Use specific commit messages describing exact changes
|
||||
- Tag with descriptive names explaining what was accomplished
|
||||
- Document all decisions and concerns in CURRENTWORK-LLM.md
|
||||
- Follow exact command sequences above
|
||||
- Never deviate from branch protection rules
|
||||
|
||||
## CONTEXT
|
||||
- Platform: Gitea (not GitHub)
|
||||
- Repo: /home/localuser/UKSRS/CTO
|
||||
- Keep clean: docs in docs/ directory
|
||||
- **Purpose:** Template for CTO AI delegation framework
|
||||
- **Platform:** Any git hosting (GitHub, Gitea, GitLab)
|
||||
- **Structure:** Keep docs in docs/ directory for clean repos
|
||||
- **Philosophy:** Deterministic AI delegation with complete audit trail
|
@@ -1,67 +1,111 @@
|
||||
# CURRENTWORK - LLM OPTIMIZED
|
||||
# CURRENTWORK - TEMPLATE VERSION
|
||||
|
||||
**SESSION:** 2025-09-05 Bootstrap+Docs
|
||||
**AGENT:** Claude Code
|
||||
**BRANCH:** LLMBOOTSTRAP
|
||||
**SESSION:** [UPDATE_DATE] - [SESSION_DESCRIPTION]
|
||||
**AGENT:** [AI_AGENT_NAME]
|
||||
**BRANCH:** [CURRENT_BRANCH]
|
||||
|
||||
## CURRENT FOCUS
|
||||
Reorganizing docs to clean structure + LLM versions
|
||||
---
|
||||
|
||||
## COMPLETED
|
||||
**Branch Setup**
|
||||
- LLMBOOTSTRAP, INTEGRATION-WIP, RELEASE created
|
||||
- All from main, no issues
|
||||
## 🎯 CURRENT FOCUS: [MAIN_OBJECTIVE]
|
||||
|
||||
**Docs Created**
|
||||
- GIT_WORKFLOW.MD (147 lines, comprehensive)
|
||||
- AGENT.MD (LLM-optimized reference)
|
||||
- WORKLOG.md + CURRENTWORK.md (tracking system)
|
||||
- Moved all to docs/ directory
|
||||
- Created -LLM.md versions for AI tools
|
||||
### Objective
|
||||
[DETAILED_DESCRIPTION_OF_WHAT_YOURE_BUILDING]
|
||||
|
||||
**Milestones**
|
||||
- Tagged: bootstrap-complete
|
||||
- Pushed tag successfully
|
||||
### Progress Notes
|
||||
|
||||
## CURRENTLY WORKING
|
||||
- Creating LLM-optimized versions (-LLM.md files)
|
||||
- Updating cross-references for new paths
|
||||
- Preparing for final commit/push/tag
|
||||
#### ✅ Completed in This Session
|
||||
|
||||
## TECHNICAL NOTES
|
||||
**Commands used:**
|
||||
**[WORK_CATEGORY_1]**
|
||||
- [SPECIFIC_COMPLETION_1]
|
||||
- [SPECIFIC_COMPLETION_2]
|
||||
- [SPECIFIC_COMPLETION_3]
|
||||
|
||||
**[WORK_CATEGORY_2]**
|
||||
- [SPECIFIC_COMPLETION_4]
|
||||
- [SPECIFIC_COMPLETION_5]
|
||||
|
||||
#### 🔄 Currently Working On
|
||||
|
||||
**[CURRENT_WORK_ITEM]**
|
||||
- [SPECIFIC_DETAIL_1]
|
||||
- [SPECIFIC_DETAIL_2]
|
||||
- [CURRENT_STATUS_OR_CHALLENGE]
|
||||
|
||||
### Technical Decisions Made
|
||||
|
||||
1. **[DECISION_CATEGORY]:**
|
||||
- [DECISION_DESCRIPTION]
|
||||
- [RATIONALE]
|
||||
- [ALTERNATIVE_CONSIDERED]
|
||||
|
||||
2. **[ANOTHER_DECISION_CATEGORY]:**
|
||||
- [DECISION_DESCRIPTION]
|
||||
- [RATIONALE]
|
||||
|
||||
### Concerns & Questions
|
||||
|
||||
#### [CONCERN_CATEGORY]
|
||||
- **Concern:** [SPECIFIC_CONCERN]
|
||||
- **Question:** [SPECIFIC_QUESTION]
|
||||
- **Decision:** [HOW_ADDRESSED_OR_DEFERRED]
|
||||
|
||||
#### [ANOTHER_CONCERN_CATEGORY]
|
||||
- **Concern:** [SPECIFIC_CONCERN]
|
||||
- **Action:** [WHAT_NEEDS_TO_BE_DONE]
|
||||
|
||||
### Next Immediate Steps
|
||||
|
||||
1. **[NEXT_STEP_1]:**
|
||||
- [SPECIFIC_ACTION]
|
||||
- [EXPECTED_OUTCOME]
|
||||
|
||||
2. **[NEXT_STEP_2]:**
|
||||
- [SPECIFIC_ACTION]
|
||||
- [EXPECTED_OUTCOME]
|
||||
|
||||
3. **Future Sessions:**
|
||||
- [PLANNED_WORK]
|
||||
- [DEPENDENCIES_OR_BLOCKERS]
|
||||
|
||||
### Code/Configuration References
|
||||
|
||||
**Commands Used This Session:**
|
||||
```bash
|
||||
mkdir -p docs
|
||||
mv *.MD *.md docs/
|
||||
git tag -a bootstrap-complete -m "msg"
|
||||
git push origin bootstrap-complete
|
||||
[COMMAND_1]
|
||||
[COMMAND_2]
|
||||
[COMMAND_3]
|
||||
```
|
||||
|
||||
**Files structure:**
|
||||
```
|
||||
docs/
|
||||
├── GIT_WORKFLOW.MD (human readable)
|
||||
├── AGENT.MD (human readable)
|
||||
├── AGENT-LLM.MD (LLM optimized)
|
||||
├── WORKLOG.md (human readable)
|
||||
├── WORKLOG-LLM.md (LLM optimized)
|
||||
├── CURRENTWORK.md (human readable)
|
||||
└── CURRENTWORK-LLM.md (LLM optimized)
|
||||
```
|
||||
**Files Modified:**
|
||||
- [FILE_1] ([DESCRIPTION_OF_CHANGES])
|
||||
- [FILE_2] ([DESCRIPTION_OF_CHANGES])
|
||||
|
||||
## CONCERNS
|
||||
- Cross-references need updating for docs/ paths
|
||||
- All branches need to be pushed to remote
|
||||
- Need final milestone tag for docs reorganization
|
||||
**New Files Created:**
|
||||
- [FILE_1] ([PURPOSE_AND_CONTENTS])
|
||||
- [FILE_2] ([PURPOSE_AND_CONTENTS])
|
||||
|
||||
## NEXT STEPS
|
||||
1. Update all internal links for docs/ paths
|
||||
2. Commit current work
|
||||
3. Push LLMBOOTSTRAP branch
|
||||
4. Push other branches if needed
|
||||
5. Tag docs-reorganized milestone
|
||||
### Environment Context
|
||||
- **Platform:** [OS/ENVIRONMENT]
|
||||
- **Git Status:** [CLEAN/PENDING_CHANGES]
|
||||
- **Current Branch:** [BRANCH_NAME]
|
||||
- **Remote:** [REPOSITORY_URL]
|
||||
- **Agent:** [AI_AGENT_AND_VERSION]
|
||||
|
||||
## ENVIRONMENT
|
||||
- Platform: Linux, Gitea
|
||||
- Branch: LLMBOOTSTRAP (clean state)
|
||||
- Remote: ssh://git.knownelement.com:29418/UKRRS/CTO.git
|
||||
---
|
||||
|
||||
## 📋 CTO DELEGATION NOTES
|
||||
|
||||
**Deterministic Outcomes Achieved:**
|
||||
- [SPECIFIC_MEASURABLE_OUTCOME_1]
|
||||
- [SPECIFIC_MEASURABLE_OUTCOME_2]
|
||||
|
||||
**AI Decision Rationale:**
|
||||
- [EXPLAIN_WHY_SPECIFIC_APPROACH_CHOSEN]
|
||||
- [DOCUMENT_ALTERNATIVES_CONSIDERED]
|
||||
|
||||
**Handoff Information:**
|
||||
- [WHAT_NEXT_AGENT_NEEDS_TO_KNOW]
|
||||
- [ANY_CONTEXT_REQUIRED_FOR_CONTINUATION]
|
||||
|
||||
---
|
||||
*Detailed log maintained by AI agents for CTO delegation transparency*
|
@@ -1,35 +1,62 @@
|
||||
# WORKLOG - LLM OPTIMIZED
|
||||
# WORKLOG - TEMPLATE VERSION
|
||||
|
||||
**STATUS:** ✅ Bootstrap+Docs Complete
|
||||
**BRANCH:** LLMBOOTSTRAP
|
||||
**NEXT:** Commit/push/tag
|
||||
**STATUS:** 🚀 Ready for CTO AI Delegation
|
||||
**BRANCH:** main (template fresh state)
|
||||
**NEXT:** Setup git repo and create first feature branch
|
||||
|
||||
## CURRENT
|
||||
- **Time:** 2025-09-05 (active session)
|
||||
- **Working:** Reorganizing docs to docs/ directory
|
||||
- **Last:** Created worklog system
|
||||
- **Next:** Commit, push, tag milestone
|
||||
## CURRENT SESSION
|
||||
- **Time:** [UPDATE_DATE] (active session)
|
||||
- **Working:** [DESCRIBE_CURRENT_TASK]
|
||||
- **Last:** [LAST_COMPLETED_TASK]
|
||||
- **Next:** [NEXT_PLANNED_ACTION]
|
||||
|
||||
## COMPLETED TODAY
|
||||
✅ Branch structure (LLMBOOTSTRAP, INTEGRATION-WIP, RELEASE)
|
||||
✅ Git workflow docs (GIT_WORKFLOW.MD)
|
||||
✅ LLM-optimized agent reference (AGENT.MD)
|
||||
✅ Worklog system (WORKLOG.md, CURRENTWORK.md)
|
||||
✅ Moved to clean docs/ structure
|
||||
✅ Created LLM versions of all docs
|
||||
## INITIAL SETUP REQUIRED
|
||||
**FIRST TIME WITH TEMPLATE:**
|
||||
- [ ] Run `git init` in project directory
|
||||
- [ ] Create and push main branch
|
||||
- [ ] Create INTEGRATION-WIP and RELEASE branches
|
||||
- [ ] Update this worklog with project details
|
||||
|
||||
## MILESTONES
|
||||
| Tag | Date | Description |
|
||||
|-----|------|-------------|
|
||||
| bootstrap-complete | 2025-09-05 | Initial setup |
|
||||
## SESSION LOG
|
||||
|
||||
## TODO
|
||||
- [ ] Update cross-references
|
||||
- [ ] Commit LLMBOOTSTRAP branch
|
||||
- [ ] Push all branches
|
||||
- [ ] Tag docs-reorganized milestone
|
||||
### [DATE] - Initial Project Setup
|
||||
|
||||
**Time Range:** [START] → [END]
|
||||
**Branch:** [CURRENT_BRANCH]
|
||||
**Agent:** [AI_AGENT_NAME]
|
||||
|
||||
#### Completed Tasks ✅
|
||||
- [ ] [TASK_1_DESCRIPTION]
|
||||
- [ ] [TASK_2_DESCRIPTION]
|
||||
- [ ] [TASK_3_DESCRIPTION]
|
||||
|
||||
#### Currently Working On 🔄
|
||||
- [ ] [CURRENT_TASK_1]
|
||||
- [ ] [CURRENT_TASK_2]
|
||||
|
||||
#### Next Actions 📋
|
||||
- [ ] [NEXT_ACTION_1]
|
||||
- [ ] [NEXT_ACTION_2]
|
||||
- [ ] [NEXT_ACTION_3]
|
||||
|
||||
## MILESTONES COMPLETED
|
||||
|
||||
| Date | Tag | Description |
|
||||
|------|-----|-------------|
|
||||
| [DATE] | `[TAG_NAME]` | [MILESTONE_DESCRIPTION] |
|
||||
|
||||
## PROJECT INFO
|
||||
**Update these fields for your project:**
|
||||
- **Project Name:** [PROJECT_NAME]
|
||||
- **Repository:** [REPO_URL]
|
||||
- **Platform:** [GitHub/Gitea/GitLab]
|
||||
- **CTO:** [YOUR_NAME]
|
||||
- **AI Agents Used:** [LIST_AI_TOOLS]
|
||||
|
||||
## LINKS
|
||||
- Details: [CURRENTWORK-LLM.md](./CURRENTWORK-LLM.md)
|
||||
- Human versions: WORKLOG.md, CURRENTWORK.md
|
||||
- Agent ref: [AGENT-LLM.MD](./AGENT-LLM.MD)
|
||||
- Human versions: [WORKLOG.md](./WORKLOG.md), [CURRENTWORK.md](./CURRENTWORK.md)
|
||||
- Agent ref: [AGENT-LLM.MD](./AGENT-LLM.MD)
|
||||
|
||||
---
|
||||
*Template for CTO AI delegation - Update all bracketed fields for your project*
|
76
start-ai-delegation.sh
Executable file
76
start-ai-delegation.sh
Executable file
@@ -0,0 +1,76 @@
|
||||
#!/bin/bash
|
||||
|
||||
# CTO AI Delegation Automation Script
|
||||
# Automatically invokes Claude with the CTO delegation template instructions
|
||||
|
||||
set -e # Exit on any error
|
||||
|
||||
echo "🚀 CTO AI Delegation Template - Starting Claude with Instructions"
|
||||
echo "=================================================="
|
||||
|
||||
# Check if Claude CLI is installed
|
||||
if ! command -v claude &> /dev/null; then
|
||||
echo "❌ Error: Claude CLI not found!"
|
||||
echo "📦 Install with: npm install -g @anthropic-ai/claude-code"
|
||||
echo "📚 See: https://docs.anthropic.com/en/docs/claude-code/setup"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if we're in a directory with the template
|
||||
if [ ! -f "docs/AGENT-LLM.MD" ]; then
|
||||
echo "❌ Error: CTO delegation template not found!"
|
||||
echo "📁 Make sure you're in a directory with the extracted template"
|
||||
echo "📋 Expected: docs/AGENT-LLM.MD should exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if git is initialized
|
||||
if [ ! -d ".git" ]; then
|
||||
echo "⚠️ Git repository not initialized yet"
|
||||
echo "🔧 The AI agent will initialize it as part of the bootstrap process"
|
||||
else
|
||||
echo "✅ Git repository detected"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "🤖 Starting Claude with CTO delegation instructions..."
|
||||
echo "📋 Claude will read docs/AGENT-LLM.MD and execute the bootstrap process"
|
||||
echo "🚨 CRITICAL: Main branch is HUMAN-ONLY - AI will work on bootstrap branch"
|
||||
echo ""
|
||||
|
||||
# Prompt for repository URL if not already configured
|
||||
if [ ! -d ".git" ]; then
|
||||
echo "🔗 You'll need your repository URL for the bootstrap process"
|
||||
read -p "📥 Enter your repository URL (or press Enter to set later): " REPO_URL
|
||||
if [ ! -z "$REPO_URL" ]; then
|
||||
echo "📝 Repository URL: $REPO_URL"
|
||||
echo "💡 Tell Claude to use this URL when prompted"
|
||||
fi
|
||||
echo ""
|
||||
fi
|
||||
|
||||
# Create the prompt for Claude
|
||||
PROMPT="I am a CTO using the AI delegation template. Please read and execute the instructions in docs/AGENT-LLM.MD immediately.
|
||||
|
||||
Key requirements:
|
||||
1. Execute the MANDATORY BOOTSTRAP PROCESS first (Steps 1-5)
|
||||
2. NEVER touch the main branch - it's HUMAN-ONLY
|
||||
3. Work on the bootstrap branch for all AI development
|
||||
4. Follow the exact deterministic command sequences
|
||||
5. Update all template placeholders in the worklog files
|
||||
6. Be extremely strict about the git workflow
|
||||
|
||||
Start by reading docs/AGENT-LLM.MD and executing the bootstrap process now."
|
||||
|
||||
# Start Claude with the instructions
|
||||
echo "🎯 Invoking Claude with CTO delegation instructions..."
|
||||
echo "=================================================="
|
||||
claude -p "$PROMPT"
|
||||
|
||||
echo ""
|
||||
echo "✅ Claude session completed"
|
||||
echo "📋 Check your repository for the bootstrap branch and milestone tag"
|
||||
echo "🏷️ Look for: bootstrap-complete tag"
|
||||
echo "🌳 Verify branches: bootstrap, INTEGRATION-WIP, RELEASE"
|
||||
echo ""
|
||||
echo "🚀 Your CTO AI delegation framework is ready!"
|
Reference in New Issue
Block a user