Fix: Invest/ERP under org myvexx, not ligbox
This commit is contained in:
parent
732c2b2eb4
commit
f018dfa49a
2 changed files with 25 additions and 49 deletions
|
|
@ -1,60 +1,36 @@
|
|||
# RULE — SPECs por projecto (Vault + Forgejo)
|
||||
# RULE — SPECs por projecto e por organização
|
||||
|
||||
**Data:** 2026-08-05
|
||||
**Data:** 2026-08-05 (corrigido)
|
||||
**Para:** Roger
|
||||
**Obrigatório:** sim
|
||||
|
||||
---
|
||||
|
||||
## Regra de ouro
|
||||
|
||||
**Cada SPEC vive no projecto respectivo**, em **dois** sítios:
|
||||
Cada SPEC → pasta do **projecto** no vault **e** repo Git na **organização correcta**.
|
||||
|
||||
| Camada | Onde |
|
||||
|--------|------|
|
||||
| 1. Vault Obsidian (CT130) | `/opt/ligbox-spec-hub/obsidian-vault/<Projecto>/` |
|
||||
| 2. Git Forgejo | `https://git.spec.ligbox.com.br/ligbox/<projecto>` |
|
||||
**Invest / ERP ≠ Ligbox.** Não alojar SPECs MyVexx sob a org `ligbox`.
|
||||
|
||||
Espelho de trabalho no disco do hub: `/opt/ligbox-spec-hub/repos/<projecto>/`
|
||||
## Organizações
|
||||
|
||||
**Proibido:** deixar SPEC solta na raiz do vault, ou meter SPEC de um projecto dentro de `ligbox-ops-platform` (salvo SPECs nativas desse monorepo).
|
||||
### Forgejo — https://git.spec.ligbox.com.br/
|
||||
|
||||
---
|
||||
| Org | Projectos / repos |
|
||||
|-----|-------------------|
|
||||
| **ligbox** | `ligbox-ops-platform`, `obsidian-vault`, `infra-network` |
|
||||
| **myvexx** | `invest-myvexx`, `erp-odoo-ligit-myvexx` |
|
||||
|
||||
## Mapa projecto → paths
|
||||
### GitHub.com
|
||||
|
||||
| Projecto | Pasta vault | Repo Forgejo |
|
||||
|----------|-------------|--------------|
|
||||
| Ligbox Ops | `ligbox-ops-platform/` | https://git.spec.ligbox.com.br/ligbox/ligbox-ops-platform |
|
||||
| Obsidian Vault (índice) | (raiz + sidebars) | https://git.spec.ligbox.com.br/ligbox/obsidian-vault |
|
||||
| **Invest MyVexx** | `Invest-MyVexx/` | https://git.spec.ligbox.com.br/ligbox/invest-myvexx |
|
||||
| **ERP Odoo** | `ERP-Odoo-Ligit-MyVexx/` | https://git.spec.ligbox.com.br/ligbox/erp-odoo-ligit-myvexx |
|
||||
| **Infra / Network** | `Infra-Network/` | https://git.spec.ligbox.com.br/ligbox/infra-network |
|
||||
| Org / user | Notas |
|
||||
|------------|--------|
|
||||
| **itecnologys-tech** | hubs Fintech, Ligit, Workspace, Archive…; espelho `invest-myvexx` |
|
||||
| **Cobreaqui-Plataform** | Cobreaqui |
|
||||
| user **itecnologys** | repos pessoais / mirrors |
|
||||
|
||||
GitHub público/org (`itecnologys-tech/...`) é **espelho opcional**; a fonte Spec Hub é o **Forgejo**.
|
||||
## Mapa vault → Forgejo
|
||||
|
||||
---
|
||||
|
||||
## Checklist ao criar / gravar uma SPEC
|
||||
|
||||
1. Escolher o **projecto** (não “raiz do vault”).
|
||||
2. Escrever em `repos/<projecto>/specs/<id>-<slug>/` (e espelho Obsidian na pasta do projecto).
|
||||
3. `git add && commit && push` para `git.spec.ligbox.com.br/ligbox/<projecto>`.
|
||||
4. Actualizar vault `obsidian-vault/<Projecto>/` + commit `obsidian-vault` se o portal/Obsidian depender disso.
|
||||
5. Regenerar menu: `bash /opt/ligbox-spec-hub/portal/generate-sidebars.sh` (+ refresh portal).
|
||||
6. Confirmar link no Vault UI e no Forgejo.
|
||||
|
||||
---
|
||||
|
||||
## Naming
|
||||
|
||||
- Pasta Forgejo/repos: `kebab-case` (`invest-myvexx`)
|
||||
- Pasta vault: `Title-Case` ou nome estável do projecto (`Invest-MyVexx`)
|
||||
- Ficheiro SPEC: `SPEC-NNN-TITLE.md` ou Spec Kit `specs/NNN-slug/spec.md`
|
||||
|
||||
---
|
||||
|
||||
## Excepções
|
||||
|
||||
- SPECs **Ligbox Ops** (001–045…) ficam em `ligbox-ops-platform` (vault copy + repo).
|
||||
- Documentos transversais de índice podem estar no README do vault, com **links** para o projecto — não substituem o alojamento no projecto.
|
||||
| Pasta vault | Org Forgejo | Repo |
|
||||
|-------------|-------------|------|
|
||||
| `Invest-MyVexx/` | **myvexx** | https://git.spec.ligbox.com.br/myvexx/invest-myvexx |
|
||||
| `ERP-Odoo-Ligit-MyVexx/` | **myvexx** | https://git.spec.ligbox.com.br/myvexx/erp-odoo-ligit-myvexx |
|
||||
| `ligbox-ops-platform/` | **ligbox** | https://git.spec.ligbox.com.br/ligbox/ligbox-ops-platform |
|
||||
| `Infra-Network/` | **ligbox** | https://git.spec.ligbox.com.br/ligbox/infra-network |
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Vault central CT130 · Forgejo `https://git.spec.ligbox.com.br/ligbox/`
|
|||
|
||||
| Pasta vault | Forgejo |
|
||||
|-------------|---------|
|
||||
| `Invest-MyVexx/` | [invest-myvexx](https://git.spec.ligbox.com.br/ligbox/invest-myvexx) — SPEC-050, **SPEC-051** |
|
||||
| `ERP-Odoo-Ligit-MyVexx/` | [erp-odoo-ligit-myvexx](https://git.spec.ligbox.com.br/ligbox/erp-odoo-ligit-myvexx) |
|
||||
| `Invest-MyVexx/` | [invest-myvexx](https://git.spec.ligbox.com.br/myvexx/invest-myvexx) — SPEC-050, **SPEC-051** |
|
||||
| `ERP-Odoo-Ligit-MyVexx/` | [erp-odoo-ligit-myvexx](https://git.spec.ligbox.com.br/myvexx/erp-odoo-ligit-myvexx) |
|
||||
| `Infra-Network/` | [infra-network](https://git.spec.ligbox.com.br/ligbox/infra-network) |
|
||||
| `ligbox-ops-platform/` | [ligbox-ops-platform](https://git.spec.ligbox.com.br/ligbox/ligbox-ops-platform) |
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue