Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .continuum/genome/SETUP-COMPLETE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
### 2. TypeScript Integration

**Modified Files:**
- `src/debug/jtag/system/genome/fine-tuning/server/adapters/UnslothLoRAAdapter.ts`
- `src/system/genome/fine-tuning/server/adapters/UnslothLoRAAdapter.ts`
- `supportsFineTuning()`: Checks if environment bootstrapped
- `executeUnslothTraining()`: Uses wrapper script (auto-activates conda)
- Clear error messages if environment missing
Expand Down Expand Up @@ -299,7 +299,7 @@ If Unsloth import fails, training falls back to standard PyTorch (slower but wor

.gitignore # MODIFIED - Added genome paths

src/debug/jtag/system/genome/fine-tuning/server/adapters/
src/system/genome/fine-tuning/server/adapters/
└── UnslothLoRAAdapter.ts # MODIFIED - Uses wrapper script
```

Expand All @@ -319,7 +319,7 @@ src/debug/jtag/system/genome/fine-tuning/server/adapters/
## Questions?

**Setup issues:** See `.continuum/genome/python/README.md`
**Architecture questions:** See `src/debug/jtag/system/user/server/modules/PERSONA-CONVERGENCE-ROADMAP.md`
**Architecture questions:** See `src/system/user/server/modules/PERSONA-CONVERGENCE-ROADMAP.md`
**Training errors:** Run test script first to verify environment

**Philosophy:** "Test the shit out of it" - Every piece is validated before integration.
6 changes: 3 additions & 3 deletions .continuum/genome/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ python3 -c "import unsloth; print(unsloth.__version__)"

```bash
.continuum/genome/python/train-wrapper.sh \
src/debug/jtag/system/genome/fine-tuning/server/adapters/scripts/peft-train.py \
src/system/genome/fine-tuning/server/adapters/scripts/peft-train.py \
--config config.json \
--output output/
```
Expand Down Expand Up @@ -245,5 +245,5 @@ If training fails with unclear errors:
4. Check logs in temporary test directory

For architecture questions, see:
- `src/debug/jtag/system/user/server/modules/PERSONA-CONVERGENCE-ROADMAP.md`
- `src/debug/jtag/system/user/server/modules/LORA-GENOME-PAGING.md`
- `src/system/user/server/modules/PERSONA-CONVERGENCE-ROADMAP.md`
- `src/system/user/server/modules/LORA-GENOME-PAGING.md`
2 changes: 1 addition & 1 deletion .continuum/genome/python/test-training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ echo ""
mkdir -p "$TEST_DIR/output"

if "$SCRIPT_DIR/train-wrapper.sh" \
"$(dirname "$SCRIPT_DIR")/../../src/debug/jtag/system/genome/fine-tuning/server/adapters/scripts/unsloth-train.py" \
"$(dirname "$SCRIPT_DIR")/../../src/system/genome/fine-tuning/server/adapters/scripts/unsloth-train.py" \
--config "$TEST_DIR/config.json" \
--output "$TEST_DIR/output"; then

Expand Down
17 changes: 0 additions & 17 deletions .eslintignore

This file was deleted.

27 changes: 0 additions & 27 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/debug/jtag
working-directory: src

steps:
- uses: actions/checkout@v4
Expand All @@ -21,7 +21,7 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: src/debug/jtag/package-lock.json
cache-dependency-path: src/package-lock.json

- name: Install dependencies
run: npm ci
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:
branches: [ main ]
paths:
- 'src/debug/jtag/package.json'
- 'src/debug/jtag/package-lock.json'
- 'src/package.json'
- 'src/package-lock.json'
pull_request:
branches: [ main ]
paths:
- 'src/debug/jtag/package.json'
- 'src/debug/jtag/package-lock.json'
- 'src/package.json'
- 'src/package-lock.json'
schedule:
- cron: '0 0 * * 0' # Run weekly on Sunday at midnight

Expand All @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/debug/jtag
working-directory: src

steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: src/debug/jtag/package-lock.json
cache-dependency-path: src/package-lock.json

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate-continuum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Validate Continuum Config
on:
pull_request:
paths:
- 'src/debug/jtag/**'
- 'src/**'

jobs:
validate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/debug/jtag
working-directory: src

steps:
- uses: actions/checkout@v4
Expand All @@ -20,7 +20,7 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: src/debug/jtag/package-lock.json
cache-dependency-path: src/package-lock.json

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build/
continuum-jtag-*.tgz

# Generated manifest files (use generated.ts instead)
src/debug/jtag/manifests/
src/manifests/

# Generated test files
test-config.md
Expand Down Expand Up @@ -162,7 +162,7 @@ src/ui/**/*.d.ts
src/commands/**/*.js
src/commands/**/*.js.map
src/commands/**/*.d.ts
/src/debug/jtag/.archive
/src/.archive
.tgz

# Runtime directories (session data, logs, temp files)
Expand All @@ -178,4 +178,4 @@ src/commands/**/*.d.ts
!CLAUDE.md
!test*output.txt
_archive/
src/debug/jtag/.continuum/sessions/validation/
src/.continuum/sessions/validation/
16 changes: 8 additions & 8 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ let results = algo.execute(&input);
4. **Repeat**

```bash
cd src/debug/jtag
cd src
npm start # DEPLOYS code changes, takes 130s or so

./jtag ping #check for server and browser connection
Expand Down Expand Up @@ -970,7 +970,7 @@ npm start

### Documentation

**Full Architecture**: `src/debug/jtag/system/user/server/modules/`
**Full Architecture**: `src/system/user/server/modules/`
- `AUTONOMOUS-LOOP-ROADMAP.md` - RTOS-inspired servicing
- `SELF-MANAGED-QUEUE-DESIGN.md` - AI autonomy through tasks
- `LORA-GENOME-PAGING.md` - Virtual memory for skills
Expand Down Expand Up @@ -1144,7 +1144,7 @@ The AIs will:
**Fix**: Always take screenshot after deployment

### 3. WRONG WORKING DIRECTORY
**Always work from**: `src/debug/jtag`
**Always work from**: `src`
**Commands**: `./jtag` NOT `./continuum`

### 4. IGNORE EXISTING TYPES
Expand Down Expand Up @@ -1433,20 +1433,20 @@ grep -r "UserEntity\|ChatMessageEntity" daemons/data-daemon/ | grep -v EntityReg
# Should return zero results (except EntityRegistry.ts)
```

### **[UNIVERSAL-PRIMITIVES.md](src/debug/jtag/docs/UNIVERSAL-PRIMITIVES.md)**
### **[UNIVERSAL-PRIMITIVES.md](src/docs/UNIVERSAL-PRIMITIVES.md)**
Commands.execute() and Events.subscribe()/emit() - the two primitives everything is built on.

### **[GENERATOR-OOP-PHILOSOPHY.md](src/debug/jtag/docs/GENERATOR-OOP-PHILOSOPHY.md)** - CORE PHILOSOPHY
### **[GENERATOR-OOP-PHILOSOPHY.md](src/docs/GENERATOR-OOP-PHILOSOPHY.md)** - CORE PHILOSOPHY
Generators and OOP are intertwined parallel forces:
- Generators ensure structural correctness at creation time
- OOP/type system ensures behavioral correctness at runtime
- AIs should strive to create generators for any repeatable pattern
- This enables tree-based delegation of ability with compounding capability

### **PersonaUser Convergence Docs**
- `src/debug/jtag/system/user/server/modules/PERSONA-CONVERGENCE-ROADMAP.md`
- `src/debug/jtag/system/user/server/modules/AUTONOMOUS-LOOP-ROADMAP.md`
- `src/debug/jtag/system/user/server/modules/LORA-GENOME-PAGING.md`
- `src/system/user/server/modules/PERSONA-CONVERGENCE-ROADMAP.md`
- `src/system/user/server/modules/AUTONOMOUS-LOOP-ROADMAP.md`
- `src/system/user/server/modules/LORA-GENOME-PAGING.md`

**Quick tip**: If you're about to write code that duplicates patterns or violates architecture rules, STOP and read ARCHITECTURE-RULES.md first. Then apply the aggressive refactoring principle from this guide.

Expand Down
Loading
Loading