chore: rename markitect_project to markitect-main across project

Finishes the in-progress rename so docs, configs, tests, and capability
manifests all reference the current repo name consistently. Fixes two
tests (test_roundtrip_consolidated.py, test_issue_140_roundtrip_simplified.py)
whose hardcoded cwd paths would have broken under the renamed directory.

Archival content under history/, reports/, and roadmap/eat-the-frog/, plus
derived artifacts (.venv_old/, node_modules/, asset_registry.json) are
intentionally left untouched.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 01:57:35 +02:00
parent 3966814868
commit b7e11461f4
19 changed files with 39 additions and 39 deletions

View File

@@ -8,7 +8,7 @@
```bash
# ❌ WRONG - Don't edit capability files from main repo
cd /home/worsch/markitect_project/capabilities/testdrive-jsui
cd /home/worsch/markitect-main/capabilities/testdrive-jsui
vim src/testdrive_jsui/core.py # DON'T DO THIS!
# ✅ CORRECT - Use separate Claude instance/session
@@ -29,7 +29,7 @@ cd /path/to/work/testdrive-jsui
| Session | Purpose | Location |
|---------|---------|----------|
| **Main Repo** | Integration, configuration | `/home/worsch/markitect_project` |
| **Main Repo** | Integration, configuration | `/home/worsch/markitect-main` |
| **Capability** | Feature development, bugs | Separate clone or `capabilities/capability-name` |
**Why?** Prevents accidental cross-contamination and respects repository boundaries.
@@ -40,7 +40,7 @@ cd /path/to/work/testdrive-jsui
```bash
# After pushing changes to capability repo
cd /home/worsch/markitect_project
cd /home/worsch/markitect-main
git submodule update --remote capabilities/testdrive-jsui
git add capabilities/testdrive-jsui
git commit -m "chore: update testdrive-jsui to latest"
@@ -50,7 +50,7 @@ git push
### Add New Capability
```bash
cd /home/worsch/markitect_project
cd /home/worsch/markitect-main
# Add as submodule
git submodule add http://gitea/coulomb/new-capability.git capabilities/new-capability
@@ -67,7 +67,7 @@ git commit -m "feat: add new-capability submodule"
```bash
# Option 1: In submodule directory (careful!)
cd /home/worsch/markitect_project/capabilities/testdrive-jsui
cd /home/worsch/markitect-main/capabilities/testdrive-jsui
git checkout -b feature-branch
# make changes
git commit -m "feat: new feature"
@@ -86,7 +86,7 @@ git push origin feature-branch
### Check Capability Status
```bash
cd /home/worsch/markitect_project
cd /home/worsch/markitect-main
# List all capabilities
make capabilities-list

View File

@@ -9,7 +9,7 @@ MarkiTect is a markdown processing toolkit with transclusion, schema validation,
## Current Directory Structure
```
markitect_project/
markitect-main/
├── markitect/ # Main package
│ ├── [34 root-level .py files] # Core functionality (see below)
│ ├── assets/ # Asset discovery, management, caching (21 files)

View File

@@ -8,7 +8,7 @@ MarkiTect uses a **capabilities-based architecture** where functionality is orga
### 1. **Separation of Concerns**
**Critical Rule:** The main repository (`markitect_project`) **MUST NOT** directly modify capability code.
**Critical Rule:** The main repository (`markitect-main`) **MUST NOT** directly modify capability code.
-**DO**: Use capabilities as dependencies
-**DO**: Configure capabilities through documented interfaces
@@ -28,7 +28,7 @@ MarkiTect uses a **capabilities-based architecture** where functionality is orga
Capabilities are integrated as **git submodules**, not regular directories:
```
markitect_project/
markitect-main/
├── .gitmodules # Submodule configuration
├── capabilities/
│ ├── testdrive-jsui/ # Git submodule → separate repo
@@ -80,8 +80,8 @@ engine.render_document(content, mode='edit', config=config)
#### Main Repository Session
```bash
# In markitect_project/
cd /home/worsch/markitect_project
# In markitect-main/
cd /home/worsch/markitect-main
# Main repo tasks:
# - Integrate capabilities
@@ -93,7 +93,7 @@ cd /home/worsch/markitect_project
#### Capability Session
```bash
# In capability repository
cd /home/worsch/markitect_project/capabilities/testdrive-jsui
cd /home/worsch/markitect-main/capabilities/testdrive-jsui
# OR clone separately
git clone http://gitea/coulomb/testdrive-jsui.git
@@ -122,7 +122,7 @@ cd testdrive-jsui
2. **Update main project** (different Claude instance)
```bash
cd /home/worsch/markitect_project
cd /home/worsch/markitect-main
git submodule update --remote capabilities/testdrive-jsui
git commit -m "chore: update testdrive-jsui submodule"
```
@@ -139,7 +139,7 @@ When a capability releases a new version:
```bash
# In main repo
cd /home/worsch/markitect_project
cd /home/worsch/markitect-main
# Update specific capability
cd capabilities/testdrive-jsui
@@ -160,7 +160,7 @@ git commit -am "chore: update all capabilities"
# http://gitea/coulomb/new-capability
# 2. Add as submodule to main repo
cd /home/worsch/markitect_project
cd /home/worsch/markitect-main
git submodule add http://gitea/coulomb/new-capability.git capabilities/new-capability
# 3. Add dependency to pyproject.toml
@@ -324,7 +324,7 @@ def test_testdrive_jsui_integration():
1. **Create separate git repo**
```bash
cd /tmp
cp -r markitect_project/capabilities/capability-name capability-name
cp -r markitect-main/capabilities/capability-name capability-name
cd capability-name
git init
git add .
@@ -335,7 +335,7 @@ def test_testdrive_jsui_integration():
2. **Remove from main repo**
```bash
cd markitect_project
cd markitect-main
git rm -rf capabilities/capability-name
git commit -m "chore: remove capability-name for submodule conversion"
```