Build Cadmus on Linux and macOS hosts using xtask. Use when asked how to compile, test, lint, or run the project locally.
日本語の概要は準備中です。原文の説明を表示しています。
Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance. Use when a dependency bump PR fails CI, Cargo cannot select versions, or a crate update requires code migration.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Resolve failed dependency update PRs from Renovate or Dependabot by diagnosing version constraints and API breaks, then verifying with the project skills.
Read the PR description to understand:
rand_core 0.9.3 -> 0.10.0)Check CI logs for:
failed to select a version for the requirement)Examine the commit diff to see exactly what changed in Cargo.toml
Confirm you are on the PR branch, then:
cargo update
cargo xtask test --features emulator
If cargo update fails with version constraints, note which packages conflict
before changing manifests.
When you see errors like:
error: failed to select a version for the requirement `rand_core = "^0.9.0"`
candidate versions found which didn't match: 0.10.0
required by package `rand_xoshiro v0.7.0`
Resolution strategy:
Identify the dependency chain: rand_xoshiro requires rand_core ^0.9.0
Check if dependent packages have updates: Look for versions compatible with the new requirement
Update related dependencies together:
cargo search rand_xoshiro
Edit Cargo.toml (and workspace deps in the root manifest when
applicable) so related packages move to compatible versions together
After constraints resolve, build/test to surface API changes:
cargo xtask test --features emulator
To understand new APIs:
cargo doc -p <crate_name>
Docs land under target/doc/{crate_name}/. Prefer the crate's CHANGELOG or
migration guide when one exists.
For each error:
After Cargo.toml or dependency-related code changes, complete every step in
AGENTS.md Testing:
fmt skillclippy-diff-report or build-cadmus-native skillbuild-cadmus-native skill (--features emulator; a device feature
is required)build-kobo skill (required)chore(deps): resolve {package} {old_version} -> {new_version} update
- Update {related_package} to {version} for compatibility
- Migrate from {old_api} to {new_api}
- {other changes}
Resolves version constraint conflict with {explanation}
+metadata version stringsAffects: Packages that use build metadata in their version (e.g.
toml@1.1.0+spec-1.1.0), when those packages are declared in multiple
Cargo.toml files within the same workspace.
Symptom: Renovate runs
cargo update --manifest-path <crate>/Cargo.toml --package pkg@old+meta --precise new
once per manifest file. The first run succeeds and rewrites Cargo.lock. The
second run then fails:
error: package ID specification `pkg@old+meta` did not match any packages
because old+meta no longer exists after the first run.
See: https://github.com/renovatebot/renovate/discussions/42208
Fix: Run cargo update from the workspace root, targeting the new
version already written into Cargo.lock by the first run:
cargo update -p pkg@<new-version>+<meta> --precise <new-version>
Also bump the minimum version constraint in every affected Cargo.toml to the
new version so the intent is explicit, e.g.:
toml = "1.1.2"
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Build Cadmus on Linux and macOS hosts using xtask. Use when asked how to compile, test, lint, or run the project locally.
日本語の概要は準備中です。原文の説明を表示しています。
Build, test, and lint Cadmus from a jj sibling workspace that has no .git (non-colocated checkout). Use when jj workspace root is a sibling tmp/agent workspace and builds fail with git submodule or .gitmodules errors, empty thirdparty/ sources, cache-marker misses, or missing sqlite.
日本語の概要は準備中です。原文の説明を表示しています。
Cross-compile Cadmus for Kobo e-reader devices (ARM Linux). Use this when asked to build a Kobo release, cross-compile for ARM, or prepare a device binary.
日本語の概要は準備中です。原文の説明を表示しています。
Run clippy locally and report only issues in the current diff, matching the CI reviewdog flow. Use when asked how to lint changed code or get clippy feedback on a branch before pushing.
日本語の概要は準備中です。原文の説明を表示しています。
Build the full Cadmus documentation website (mdBook + cargo doc + Storybook + Next.js). Use this when asked to build, preview, or update the documentation site.
日本語の概要は準備中です。原文の説明を表示しています。
Fetch Cadmus application logs from Loki by run ID. Use when asked to look up logs for a specific run, debug a device session, or find log output for a given run ID.
日本語の概要は準備中です。原文の説明を表示しています。