Cargo workspace scaffolding & CI setup #1
Labels
No labels
area:config
area:contracts
area:engine
area:eventsourcing
area:frontend
area:git
area:ipc
area:persistence
area:provider
area:scaffold
area:terminal
type:user-story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/peon#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a developer starting on forge-agent, I want a properly structured Cargo workspace with all four crates (
app,backend,frontend,contracts) and a working CI pipeline, so that all subsequent stories can be implemented on a solid foundation.Acceptance criteria
Workspace structure
Cargo.tomlat repo root defines a[workspace]with memberscrates/app,crates/backend,crates/frontend,crates/contractslib.rs/main.rsstubs that compile[workspace.dependencies]section lists all target dependencies from spec §16 (tokio, serde, sqlx, git2, gtk4, libadwaita, relm4, vte4, sourceview5, etc.)backenddoes not depend onfrontendor GTK;frontenddoes not depend onsqlxorgit2;contractsonly depends onserde,uuid,chronocargo buildandcargo checksucceed on a clean checkoutCI pipeline
justfilewith recipes:qa(fmt check + clippy + test),ci-setup,ci-build,ci-package.forgejo/workflows/qa.ymlfollowing the standard job naming convention (singleqajob)just qaon every pushProject files
CLAUDE.mdwith workspace layout, build commands, inter-crate rules, and coding conventions.gitignorefor Rust (target/, etc.)Out of scope
release.yml) — deferred until closer to v0.1.0References