Agent Mode: add trusted local skills support#644
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds per-project Maple Skills trust decisions, restricted handling for untrusted folders, transient SkillsClient lifecycle management, argument-aware ChangesProject skills trust and Maple Skills
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant AgentMode
participant agentRuntimeService
participant TauriAgent
participant AgentConfig
AgentMode->>agentRuntimeService: request project skills trust
agentRuntimeService->>TauriAgent: invoke trust command
TauriAgent->>AgentConfig: read or persist canonical path decision
AgentConfig-->>TauriAgent: return trust status
TauriAgent-->>agentRuntimeService: return status
agentRuntimeService-->>AgentMode: display or close trust dialog
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Deploying maple with
|
| Latest commit: |
e2c34d1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://71e1de8b.maple-ca8.pages.dev |
| Branch Preview URL: | https://codex-maple-agent-skills-mvp.maple-ca8.pages.dev |
Summary
SkillsClientin every Agent Mode session, exposing the exactload_skilltool and personal skills from~/.agents/skills.agents/skillsonly after a one-time, account-scoped Trust this folder? decision; persist both trust and decline decisions by canonical folder pathload_skillcalls, withLoading,Loaded, andCouldn’t loadoutcome-aware titlesload_skillcall is always allowedTrust and compatibility
skillscoexists with Maple’s unprefixed Skills clientValidation
cargo test --all-targets --locked— 128 passedcargo clippy --lib -- -D warningscargo fmt --checkbun run format:checkbun run lint— 0 errors; 12 existing warnings outside this changebun run typecheckbun test— 131 passedbun run buildnix flake checkMaple.appand exercised Agent Mode against the local OpenSecret/billing/Continuum stackPackaged-app coverage included trusting a project, loading a project skill, declining a different project, confirming a declined project skill is unavailable, loading a personal skill from the declined project, verifying decisions survive new sessions and app restarts, and checking successful and failed skill timeline cards.
Three independent review passes covered backend security/trust boundaries, Goose integration and persistence, and frontend UX/accessibility. All validated findings were fixed and the reviewers reported no remaining actionable issues.
Summary by CodeRabbit
New Features
Bug Fixes
load_skillargument in the displayed titles (including success/failure states).load_skillpermission defaults.