refactor(monorepo): reorganización lógica + renames + SDDs + split CHANGELOG

Reorganización física de crates/:
- core/ (mezclaba 6 propósitos) se divide en protocol/, init/, runtime/, compat/
- shared/ (3 crates) se redistribuye en protocol/ e init/
- lapaloma (sub-módulo de ui_engine) se promueve a modules/pineal/

Renames de proyectos:
- shipote → shuma (runtime de sandboxes)
- nouser → akasha (explorador de Mónadas)
- yahweh → nahual (motor GPUI, antes ui_engine/)
- lapaloma → pineal (data-viz agnóstica)

Fraccionamiento UI → core agnóstico:
- vista-core (DeckState + snap, 175 LOC, 5 tests verdes)
- barra-core (Task + render_html + sanitize, 90 LOC, 5 tests verdes)
- vista-web y barra-web ahora son thin DOM bindings

Documentación nueva:
- 16 SDDs por subdirectorio (≤80 LOC c/u): protocol/init/runtime/compat
  + 10 módulos + apps/
- docs/STATUS.md con cifras reales por proyecto
- docs/ROADMAP.md con plan a finalización (6 hitos, ~6-8 semanas)
- CHANGELOG.md particionado en docs/changelog/<proyecto>.md (7 buckets)

Automatización:
- scripts/reorg.py — script idempotente que: git mv directorios, renombra
  package names, recomputa path = refs, reescribe imports rust, actualiza
  workspace Cargo.toml. Soporta --dry-run.
- scripts/split-changelog.py — particiona CHANGELOG por componente.

Validación:
- cargo check --workspace pasa (124 crates + 2 nuevos cores).
- 10 tests adicionales (5 en vista-core + 5 en barra-core) verdes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
sergio
2026-05-19 14:48:34 +00:00
parent 86fb6ae20b
commit 550c98f275
375 changed files with 8512 additions and 7155 deletions
+10 -10
View File
@@ -10,7 +10,7 @@
//! producción que va escribiendo). Sin discovery dinámico vía broker
//! brahman porque nakui hoy es CLI/library/demos, no daemon — cuando
//! se daemonice, sustituir el lector de archivo por un sidecar
//! consumer (mismo patrón que `nouser-explorer`).
//! consumer (mismo patrón que `akasha-explorer`).
//!
//! ## Uso
//!
@@ -29,12 +29,12 @@ use gpui::{
div, prelude::*, px, rgb, Context, IntoElement, Render, SharedString, Window,
};
use nakui_core::event_log::{EventLog, LogEntry};
use yahweh_launcher::launch_app;
use yahweh_meta_runtime::{preview_value, short_hash, short_uuid};
use yahweh_theme::Theme;
use yahweh_widget_app_header::app_header;
use yahweh_widget_banner::{banner_themed, Banner};
use yahweh_widget_card::card_themed;
use nahual_launcher::launch_app;
use nahual_meta_runtime::{preview_value, short_hash, short_uuid};
use nahual_theme::Theme;
use nahual_widget_app_header::app_header;
use nahual_widget_banner::{banner_themed, Banner};
use nahual_widget_card::card_themed;
const REFRESH_INTERVAL: Duration = Duration::from_secs(2);
@@ -149,7 +149,7 @@ impl Render for Explorer {
self.last_load_ms,
);
// Header standard via widget compartido yahweh-widget-app-header
// Header standard via widget compartido nahual-widget-app-header
// (label flex_grow + theme switcher derecha + bg panel + border
// bottom + text styling consistente).
let header = app_header(cx, header_text);
@@ -351,7 +351,7 @@ impl Render for Explorer {
}
// Helpers `short_uuid`, `short_hash`, `preview_value` viven en
// `yahweh_meta_runtime::format`. Se usan acá via el `use` de arriba.
// `nahual_meta_runtime::format`. Se usan acá via el `use` de arriba.
#[cfg(test)]
mod tests {
@@ -418,7 +418,7 @@ mod tests {
}
// Tests de `short_uuid` / `short_hash` / `preview_value` viven
// en `yahweh-meta-runtime::format` tras la migración. Si esos se
// en `nahual-meta-runtime::format` tras la migración. Si esos se
// vuelven a romper, los tests específicos del crate runtime los
// capturan; acá no duplicamos.
}