Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .agents/skills/develop-maple-agent/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ shell when Agent files are staged; set `MAPLE_HOOK_FULL=1` for the complete
contracts when CI, Nix, or routing changes.

Agent has its own Cargo and Nix lockfiles. CI selects Agent for proxy runtime
changes (a path dependency) but not for SDK-only changes; the Agent builds the
SDK source its own manifest selects. Component-only
changes and for Rust SDK build inputs, both path dependencies it builds from
the tree, but not for TypeScript SDK changes. Component-only
changes should not unnecessarily select Research packaging. Maintain the root
selectors, their tests, `.github/workflows/agent-ci.yml`, and unsigned PR
selection in `.github/workflows/agent-desktop-build.yml` together. The desktop
Expand Down
6 changes: 3 additions & 3 deletions .agents/skills/develop-maple-proxy/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Root workflows own proxy Rust, daily supply-chain, non-publishing container,
and native-release rehearsal checks. `proxy/src/**`, `proxy/Cargo.toml`, and
unknown proxy build inputs are desktop application inputs; tests, examples,
docs, the standalone lockfile, and container-only files do not by themselves
route expensive Maple app builds. `sdk/rust` changes do not select proxy or
desktop checks; the proxy and apps build the SDK source their manifests select,
so verify that source yourself when testing an SDK edit against them. When a new
route expensive Maple app builds. Rust SDK build inputs (`sdk/rust/Cargo.toml`,
`src/`, `build.rs`, `assets/`) select proxy and desktop checks too, because the
proxy and both desktops build `sdk/rust` from the tree. When a new
input changes either graph, update
`scripts/ci/change_detection.py`, its table-driven tests, and workflow paths in
the same change.
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/proxy-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- ".dockerignore"
- "proxy/Dockerfile"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "sdk/rust/build.rs"
- "sdk/rust/src/**"
- "sdk/rust/assets/**"
- "proxy/Cargo.lock"
- "proxy/src/**"
pull_request:
Expand All @@ -21,6 +25,10 @@ on:
- ".dockerignore"
- "proxy/Dockerfile"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "sdk/rust/build.rs"
- "sdk/rust/src/**"
- "sdk/rust/assets/**"
- "proxy/Cargo.lock"
- "proxy/src/**"

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/proxy-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
paths:
- ".github/workflows/proxy-rust.yml"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "sdk/rust/build.rs"
- "sdk/rust/src/**"
- "sdk/rust/assets/**"
- "proxy/Cargo.lock"
- "proxy/clippy.toml"
- "proxy/flake.nix"
Expand All @@ -23,6 +27,10 @@ on:
paths:
- ".github/workflows/proxy-rust.yml"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "sdk/rust/build.rs"
- "sdk/rust/src/**"
- "sdk/rust/assets/**"
- "proxy/Cargo.lock"
- "proxy/clippy.toml"
- "proxy/flake.nix"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/proxy-supply-chain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
- ".github/workflows/proxy-supply-chain.yml"
- "proxy/deny.toml"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "proxy/Cargo.lock"
push:
branches: [master]
paths:
- ".github/workflows/proxy-supply-chain.yml"
- "proxy/deny.toml"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "proxy/Cargo.lock"
schedule:
- cron: "29 7 * * *"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rust-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- ".github/workflows/rust-tests.yml"
- "apps/maple-research/frontend/src-tauri/**"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "sdk/rust/build.rs"
- "sdk/rust/src/**"
- "sdk/rust/assets/**"
- "proxy/src/**"
- "scripts/ci/_common.sh"
- "scripts/ci/rust.sh"
Expand All @@ -24,6 +28,10 @@ on:
- ".github/workflows/rust-tests.yml"
- "apps/maple-research/frontend/src-tauri/**"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
- "sdk/rust/build.rs"
- "sdk/rust/src/**"
- "sdk/rust/assets/**"
- "proxy/src/**"
- "scripts/ci/_common.sh"
- "scripts/ci/rust.sh"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/supply-chain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "apps/maple-research/frontend/src-tauri/Cargo.toml"
- "apps/maple-research/frontend/src-tauri/Cargo.lock"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
push:
branches: [master]
paths:
Expand All @@ -16,6 +17,7 @@ on:
- "apps/maple-research/frontend/src-tauri/Cargo.toml"
- "apps/maple-research/frontend/src-tauri/Cargo.lock"
- "proxy/Cargo.toml"
- "sdk/rust/Cargo.toml"
schedule:
- cron: "41 6 * * *"
workflow_dispatch:
Expand Down
34 changes: 16 additions & 18 deletions apps/maple-agent/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion apps/maple-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ once_cell = "1.18.0"
http = "1"
reqwest = { version = "0.13", features = ["stream"] }
# Shared monorepo crates retain their independent package names and versions.
maple-sdk = "=4.0.1"
maple-sdk = { path = "../../sdk/rust" }
Comment thread
AnthonyRonning marked this conversation as resolved.
maple-proxy = { version = "0.4.0", path = "../../proxy" }

[profile.dev]
Expand All @@ -30,3 +30,8 @@ opt-level = 1
lto = "fat"
codegen-units = 1
strip = true

# The embedded proxy requires `maple-sdk` from the registry; resolve it to the same
# in-tree source as the workspace dependency above (docs/sdk-publishing.md).
[patch.crates-io]
maple-sdk = { path = "../../sdk/rust" }
26 changes: 12 additions & 14 deletions apps/maple-research/frontend/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading