Skip to content

Patch Traversal guard Wayland set-up#37

Merged
adeptofvoltron merged 32 commits into
mainfrom
dev
May 17, 2026
Merged

Patch Traversal guard Wayland set-up#37
adeptofvoltron merged 32 commits into
mainfrom
dev

Conversation

@Kotmin
Copy link
Copy Markdown
Collaborator

@Kotmin Kotmin commented May 11, 2026

No description provided.

Kotmin and others added 22 commits May 7, 2026 23:22
Ambiguous parameter name allowed skill authors to accidentally pass
user-controlled data into the system role. Explicit name makes the
security boundary clear at the call site.
validate_skill_paths only checked existence, not confinement. A skill
config with ../relative/path could reference files outside the repo root.
Now resolves and asserts relative_to(base_root), matching parser.py.
Allow register() to be called after start() by acquiring _lock instead
of raising RuntimeError, and snapshot _hotkeys under _lock in _run_loop
to prevent dictionary-changed-size errors during concurrent iteration.
Comment thread skills/greet/manifest.yaml Outdated
Kotmin and others added 7 commits May 11, 2026 12:00
On Wayland+XWayland sessions (both WAYLAND_DISPLAY and DISPLAY set),
route to X11HotkeyAdapter instead of EvdevAdapter so the daemon starts
without requiring input group membership. EvdevAdapter is now only
selected for pure Wayland (no DISPLAY) and headless sessions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- _load_dotenv() reads KEY=VALUE pairs from .env at daemon startup,
  making them available to skill workers via inherited os.environ
- Existing env vars are never overridden (.env provides defaults only)
- anthropic and openai added as core dependencies so skills can use
  tools.ai without declaring them in manifest.yaml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Kotmin and others added 3 commits May 17, 2026 10:28
… fixes

Resolved conflicts: keep anthropic+openai deps alongside evdev; fix ai.py
to use correct system_prompt variable (was broken as prompt in HEAD).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@adeptofvoltron adeptofvoltron merged commit 81d6891 into main May 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants