Skip to content

Relaxed desktop mode with worked-round dojo substitute - #13

Draft
PiotrCzapla wants to merge 2 commits into
mainfrom
pc/desktop-harness
Draft

Relaxed desktop mode with worked-round dojo substitute#13
PiotrCzapla wants to merge 2 commits into
mainfrom
pc/desktop-harness

Conversation

@PiotrCzapla

Copy link
Copy Markdown

The desktop app has no launch flags: no sysp replacement, no dojo-preloaded start (claude -r $(claudedojo)). Until now the harness either broke desktop sessions (native tools denied with no supports in place) or was kept off them entirely.

Hooks now detect a desktop session (CLAUDE_CODE_ENTRYPOINT = claude-desktop) and substitute rather than enforce, keeping registrations identical in both frontends:

  • SessionStart prints prompts/core.md as the behavioral layer
  • native-edit blocking and the bootstrap gate stay off
  • new claude-dojo-sample (PreToolUse on mcp__clikernel__execute): the first kernel call in a Python project is denied once with the worked round plus a registered completion id, so dojo_start(id) skips the live round - study replaces play, the same substitute codex uses on compaction

SETUP.md: documents the desktop behavior, registers the new hook, and notes that the step 4 deny list cannot branch by frontend - desktop users carry it via --settings on a CLI alias.

Stand-ins to discuss: the sample shown is codexdojo_sample.md (a Claude-flavored render from claude_store would be an llmdojo follow-up), and whether desktop relaxation should be default or opt-in.

Tests: pytest tests/test_harness.py - 9 passed, 1 skipped (slopometer not installed).

🤖 Generated with Claude Code

PiotrCzapla and others added 2 commits August 14, 2026 10:07
The desktop app has no launch flags, so no sysp replacement and no
dojo-preloaded start. Hooks now detect it (CLAUDE_CODE_ENTRYPOINT) and
substitute rather than enforce: SessionStart prints core.md, native-edit
blocking and the bootstrap gate stay off, and claude-dojo-sample denies
the first kernel call once with the worked round plus a completion id so
dojo_start(id) skips the live round - study replaces play, as in the
codex sample.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant