From 117c09f4cdf92e30398cd8575c1768dfa2866802 Mon Sep 17 00:00:00 2001 From: fabiorafaelcoutada Date: Sat, 11 Jul 2026 23:43:18 +0100 Subject: [PATCH] chore: convert aurelio-theia and aurelio-vscode to git submodules - Both repos migrated and pushed to code.portugalfuturista.org (Forgejo): - aurelio-theia @ b4d6532: full port of replica research/chat/knowledge/brain features into @aurelio/* packages + ACP/backend WIP committed - aurelio-vscode @ 28d4a7f: React escola scaffold + services layer merged into main alongside Svelte webviews - .gitignore: drop extensions/aurelio-vscode ignore rules (now a submodule) - CI: build workflow triggers on submodule pointer + checks out submodules - AGENTS.md: document submodule layout --- .github/workflows/build.yml | 5 ++++- .gitignore | 17 ----------------- .gitmodules | 6 ++++++ AGENTS.md | 7 ++++--- aurelio-theia | 1 + extensions/aurelio-vscode | 1 + 6 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 .gitmodules create mode 160000 aurelio-theia create mode 160000 extensions/aurelio-vscode diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a58f707e..a01fdcd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,8 @@ on: push: branches: [ main ] paths: - - 'extensions/aurelio-vscode/**' + - 'extensions/aurelio-vscode' + - '.gitmodules' workflow_dispatch: jobs: @@ -14,6 +15,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + submodules: true - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/.gitignore b/.gitignore index 9e671153..c70176d2 100644 --- a/.gitignore +++ b/.gitignore @@ -30,9 +30,6 @@ Thumbs.db *.swp *.swo -# Local extension workspace copies -extensions/aurelio-vscode/ - # Aurelio runtime .aurelio/brain/*/scratch/ .aurelio/swarm/__pycache__/ @@ -40,14 +37,6 @@ extensions/aurelio-vscode/ .aurelio/mcp/*/servers/*/.venv/ .aurelio/mcp/**/node_modules/ -# Scratch / debugging scripts -extensions/aurelio-vscode/check_backticks.py -extensions/aurelio-vscode/fix_backticks.py -extensions/aurelio-vscode/fix_template_strings.js -extensions/aurelio-vscode/fix_template_strings.py -extensions/aurelio-vscode/fix_template_strings_2.js -extensions/aurelio-vscode/test.js - # Dashboard runtime dashboards/*/package-lock.json @@ -56,11 +45,5 @@ chroma_data/ knowledge/chroma/ *.db .proxmox-credentials.md -extensions/aurelio-vscode/build.log -extensions/aurelio-vscode/build_err.log -extensions/aurelio-vscode/test_output.log - -# VS Code test downloads -extensions/aurelio-vscode/.vscode-test/ Libero_SoC_2025.2_offline_lin/ libero_soc_2025.2_offline_lin.zip diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..c3859842 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "aurelio-theia"] + path = aurelio-theia + url = https://code.portugalfuturista.org/portugalfuturista/aurelio-theia.git +[submodule "extensions/aurelio-vscode"] + path = extensions/aurelio-vscode + url = https://code.portugalfuturista.org/portugalfuturista/aurelio-vscode.git diff --git a/AGENTS.md b/AGENTS.md index 6473bc51..b8fb91f1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,7 +12,8 @@ Centralized brain of the Portugal Futurista agent fleet + monorepo of tools. | `tilth/` | Code intelligence MCP server (tree-sitter, AST-aware search) | Rust, Cargo | | `toon/` | Toon format library (monorepo) | TypeScript, pnpm | | `shared/` | Shared protobuf library (`@aurelio/shared`) | TypeScript, buf | -| `extensions/` | JetBrains extension, Kimi interceptor | TypeScript | +| `extensions/` | JetBrains extension, Kimi interceptor; `extensions/aurelio-vscode/` is a **git submodule** → `code.portugalfuturista.org/portugalfuturista/aurelio-vscode` | TypeScript | +| `aurelio-theia/` | Theia IDE monorepo — **git submodule** → `code.portugalfuturista.org/portugalfuturista/aurelio-theia` | TypeScript, lerna | | `dashboards/` | Media explorer dashboard | TypeScript | | `infra/` | CDP bridge, lab gateway | TypeScript | | `scripts/` | Operational scripts (sync, conscience upgrade, Kimi import) | Python | @@ -154,7 +155,7 @@ Savearth parent workspaces (`aws-iot-core-poc`, `hardware-devicesFirmwareTest`, | System | Workflow | Trigger | |--------|----------|---------| -| GitHub Actions | `extensions/aurelio-vscode` build + deploy to CT 205 | Push to `main` touching `extensions/aurelio-vscode/**` | +| GitHub Actions | `extensions/aurelio-vscode` build + deploy to CT 205 | Push to `main` touching `extensions/aurelio-vscode` (submodule pointer) or `.gitmodules`; checkout uses `submodules: true` | | Forgejo | `aurelio-sync.yml` — conscience upgrade + brain push to CT 206 | Push to `main` | ## MCP servers @@ -171,7 +172,7 @@ Defined in `.aurelio/mcp_config.json`. All are remote (`mcp-remote` to `*.portug ## Gotchas -- `extensions/aurelio-vscode/` is gitignored — don't expect to find it here. +- `extensions/aurelio-vscode/` and `aurelio-theia/` are git submodules — run `git submodule update --init` after clone; edit them in their own repos (`~/portugalfuturista/aurelio-vscode`, `~/portugalfuturista/aurelio-theia`) and push to Forgejo. - `dirac/src/generated/` and `src/shared/proto/` are protobuf-generated — don't edit by hand. - `.env` is gitignored; copy `.env.example` for API key setup. - Brain sync is one-directional per call: `--push` uploads, `--pull` downloads. There's no merge — last push wins. diff --git a/aurelio-theia b/aurelio-theia new file mode 160000 index 00000000..b4d6532e --- /dev/null +++ b/aurelio-theia @@ -0,0 +1 @@ +Subproject commit b4d6532eaa48dbe0234ea62cf6218afe61c0c17c diff --git a/extensions/aurelio-vscode b/extensions/aurelio-vscode new file mode 160000 index 00000000..28d4a7fa --- /dev/null +++ b/extensions/aurelio-vscode @@ -0,0 +1 @@ +Subproject commit 28d4a7fa18b0f53d781d5627219e903cc8153290