Skip to content

feat(jarvis): run Jarvis through its CLI and restrict Jarvis threads to read and propose - #18

Merged
mayberuk merged 11 commits into
mainfrom
rucode-jarvis-1-restrictions
Dec 3, 2026
Merged

mayberuk merged 11 commits into
mainfrom
rucode-jarvis-1-restrictions

Conversation

@mayberuk

@mayberuk mayberuk commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Problem

Jarvis (my personal work assistant, mayberuk/jarvis) needs a home inside RuCode at /jarvis: a pinned thread each morning that can read my work and propose actions I confirm or cancel. RuCode had no way to run Jarvis, restrict a thread to read-and-propose, or show a Jarvis proposal card.

Scope

Owner-requested feature (the jarvis-in-rucode initiative). One of six stacked PRs; merge in order. The Jarvis side is mayberuk/jarvis #31–#38. Everything is off unless jarvis.enabled is set.

Change

1 of 6: contracts, CLI bridge and restrictions.

  • packages/contracts/src/jarvis.ts defines the Jarvis settings (jarvis.enabled, bunPath, repoPath) and the CLI envelopes.
  • JarvisCli runs bun <repo>/src/confirm/cli.ts <verb> with only HOME, PATH and JARVIS_COPY in its environment (new inheritEnv: false on the process runner).
  • Jarvis-tagged threads are restricted. McpToolAccess routes writes away, and the Claude adapter starts them read-only with Jarvis's MCP child and an allowlist.

Verification

Server checks on this branch: vp run check:changed (format, lint, knip, graphql, typecheck, react compiler) passed across the stack. 18 server tests fail only on a machine whose global gitignore hides *.md, because the test helper git add README.md fails there. With that ignore rule off, all 550 tests in those files pass. GitHub CI is the gate.

Built with Claude Code (Opus 5.5 supervising, Sonnet 5.5 and Codex gpt-6.2-sol executing through dispatch).

🤖 Generated with Claude Code

birukmengistu-eng and others added 6 commits December 2, 2026 13:06
…the Jarvis RPCs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-Tool: claude_code
AI-Token: AQGiOCZeEnwpt6WOXcQS4treFrXGI9SvmHZRlSaIuKc
…d-propose restrictions on Jarvis threads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-Tool: claude_code
AI-Token: AQGiOCZax3VYv2VBWPOiXY7TNTxKXfndIHfugQ6Knlw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-Tool: claude_code
AI-Token: AQGiOCZhH3DYsCQDscl67oeuCOVsUTlWobCM8SzHj4E
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-Tool: claude_code
AI-Token: AQGiOCZk7n2sq_lu7Jmcuq6gmbXRLhgbTfOHnANiyIY
…unt in the sidebar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-Tool: claude_code
AI-Token: AQGiOCZoVnm0gqZJ4eackfv9XZJi6CijxHHMa0LISzw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-Tool: claude_code
AI-Token: AQGiOCZsI3vsqFIcGN08dG4M1DSJ6qlwschSrRlnJ6s
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL labels Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

This PR changes the test suite by +76 test cases (browser 0, unit +19, server +57).

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

@mayberuk
mayberuk marked this pull request as ready for review December 3, 2026 15:48
feat(mobile): Jarvis entry on the home screen
feat(jarvis): /jarvis route and the pinned Jarvis row with its count
feat(jarvis): Jarvis proposal card and read-and-propose composer
feat(jarvis): turn Jarvis desk proposals into thread cards
feat(jarvis): open today's pinned Jarvis thread each morning
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Explain Change →

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@mayberuk
mayberuk merged commit 6c6250e into main Dec 3, 2026
7 of 8 checks passed
@mayberuk
mayberuk deleted the rucode-jarvis-1-restrictions branch December 3, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants