Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.09 KB

File metadata and controls

39 lines (29 loc) · 1.09 KB

Corin — AGENTS.md

Codecora Corin Desktop. Tauri 2 + Svelte 5 + Rust + Uteke.

Pre-push Checklist (MANDATORY)

Run ALL checks locally before pushing. Never rely on CI to catch issues.

# Rust
cargo fmt --all -- --check      # format
cargo clippy -- -D warnings     # lint (from src-tauri/)
cargo test                      # tests (from src-tauri/)

# Frontend
npx svelte-check --tsconfig ./tsconfig.json  # type check
npm run test -- --run           # vitest
npm run build                   # production build

If ANY check fails — do NOT push. Fix locally first.

Repo Structure

src/                  # Svelte 5 frontend (SvelteKit)
src-tauri/            # Rust backend (Tauri)
  src/
    commands.rs       # Tauri commands (IPC handlers)
    uteke_client.rs   # Uteke API client
    connection.rs     # Connection management

Conventions

  • Default branch: develop (protected — PR + checks required)
  • Rust edition: 2024
  • Commit style: conventional commits (feat:, fix:, perf:, etc.)
  • Always format with cargo fmt --all — do not manually style Rust code