chore: convert aurelio-theia and aurelio-vscode to git submodules
Some checks are pending
Aurélio Sync & Conscience Upgrade / Upgrade Réplica Conscience (push) Waiting to run

- 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
This commit is contained in:
fabiorafaelcoutada 2026-07-11 23:43:18 +01:00
parent 1b7cd7f599
commit 117c09f4cd
6 changed files with 16 additions and 21 deletions

View file

@ -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

17
.gitignore vendored
View file

@ -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

6
.gitmodules vendored Normal file
View file

@ -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

View file

@ -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.

1
aurelio-theia Submodule

@ -0,0 +1 @@
Subproject commit b4d6532eaa48dbe0234ea62cf6218afe61c0c17c

@ -0,0 +1 @@
Subproject commit 28d4a7fa18b0f53d781d5627219e903cc8153290