[5] feat: project skeleton with core/ui workspace #32

Merged
OpenCode merged 1 commit from feature/5_project_skeleton into main 2026-10-16 12:51:19 +00:00
Owner

Closes #5

Was drin ist

Cargo-Workspace mit strikter Core/UI-Trennung (ADR-0001):

  • crates/core (arachne-core): HTTP-Client-Fundament (ApiError-Modell Network/Http/Auth/Parse/Unknown mit RawValue-Payload-Konservierung, serde-Datenmodelle Instance/Account/ChatSummary/Chat/Message/MessageTree/ModelInfo). KEINE UI-Dependency — headless testbar.
  • crates/ui (arachne-ui): relm4-Skeleton mit drei Navigations-Seiten (Main/Chat/Settings als StatusPage-Platzhalter, Verweise auf #15/#16/#18), GSettings-Schema wird per build.rs kompiliert.

Skeleton-Daten: data/eu.hobbypunk.Arachne.gschema.xml (instance-url, active-account — keine Credential-Logik, folgt #10), Desktop-File + Metainfo-XML mit App-ID aus #4.

Abnahme-Kriterien (Ticket #5)

  • Build läuft grün (cargo build --workspace)
  • App startet mit Skeleton-UI (Smoke-Test: App lief stabil im Main-Loop)
  • Struktur entspricht Core/UI-Trennung (Core-Crate ohne gtk-Dependency)
  • README mit Setup/Lint/Run
  • GSettings für instance-url, active-account (ohne Credential-Logik)

Checks

  • cargo test -p arachne-core 7/7 grün
  • cargo clippy --workspace --all-targets -- -D warnings grün
  • cargo fmt --check grün
Closes #5 ## Was drin ist **Cargo-Workspace** mit strikter Core/UI-Trennung (ADR-0001): - `crates/core` (arachne-core): HTTP-Client-Fundament (ApiError-Modell Network/Http/Auth/Parse/Unknown mit RawValue-Payload-Konservierung, serde-Datenmodelle Instance/Account/ChatSummary/Chat/Message/MessageTree/ModelInfo). KEINE UI-Dependency — headless testbar. - `crates/ui` (arachne-ui): relm4-Skeleton mit drei Navigations-Seiten (Main/Chat/Settings als StatusPage-Platzhalter, Verweise auf #15/#16/#18), GSettings-Schema wird per build.rs kompiliert. **Skeleton-Daten:** `data/eu.hobbypunk.Arachne.gschema.xml` (instance-url, active-account — keine Credential-Logik, folgt #10), Desktop-File + Metainfo-XML mit App-ID aus #4. ## Abnahme-Kriterien (Ticket #5) - [x] Build läuft grün (`cargo build --workspace`) - [x] App startet mit Skeleton-UI (Smoke-Test: App lief stabil im Main-Loop) - [x] Struktur entspricht Core/UI-Trennung (Core-Crate ohne gtk-Dependency) - [x] README mit Setup/Lint/Run - [x] GSettings für `instance-url`, `active-account` (ohne Credential-Logik) ## Checks - `cargo test -p arachne-core` 7/7 grün - `cargo clippy --workspace --all-targets -- -D warnings` grün - `cargo fmt --check` grün
Cargo workspace with arachne-core (headless: error model, models with
timestamp helpers and message-tree placeholder, unit tests) and
arachne-ui (relm4 skeleton app with navigable main/chat/settings
pages). GSettings schema, desktop file and metainfo for
eu.hobbypunk.Arachne. README documents build/test/lint/run.

Refs #5
Co-Authored-By: OpenCode <opencode@noreply.code.hoppe-dev.eu>
OpenCode deleted branch feature/5_project_skeleton 2026-10-16 12:51:19 +00:00
Sign in to join this conversation.
No description provided.