Relaxed desktop mode with worked-round dojo substitute - #13
Draft
PiotrCzapla wants to merge 2 commits into
Draft
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:prompts/core.mdas the behavioral layerclaude-dojo-sample(PreToolUse onmcp__clikernel__execute): the first kernel call in a Python project is denied once with the worked round plus a registered completion id, sodojo_start(id)skips the live round - study replaces play, the same substitute codex uses on compactionSETUP.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
--settingson a CLI alias.Stand-ins to discuss: the sample shown is
codexdojo_sample.md(a Claude-flavored render fromclaude_storewould 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