Repository navigation
feat(conditions): AskUserQuestion answering driver (PR-5) - #330
Merged
Juliusolsson05 merged 2 commits intoJun 22, 2026
Merged
Conversation
Wire the first custom condition resolver end to end: custom actions can now carry structured payloads, renderer dispatch can call session:resolveCondition, main routes the action to the owning Claude headless instance, and the feed row sends semantic answer labels/text instead of guessing terminal keystrokes. AskUserQuestion rendering remains transcript-gated. The live claude.ask-user-question condition only gates clickability, so a missing screen parse can disable controls but cannot flicker the row in or out. This preserves the modular conditions design and avoids the rejected screen-snapshot render shortcut. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The PR-5 app branch must reference the merge commits now present on claude-code-headless and codex-headless main, not the topic branch heads. This keeps the superproject gitlinks on durable integrated SHAs before merging into integration. Co-Authored-By: Claude Opus 4.8 <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.
Summary
session:resolveConditionfor custom condition actions from renderer → main → Claude headlessclaude.ask-user-questioncondition without changing semantic render/dismissalVerification
npx tsc --noEmitinpackages/claude-code-headlessnpx tsc --noEmitinpackages/codex-headlessfails on pre-existingsrc/channels/SemanticChannel.ts(283,26)unrelated to generated conditions-corenpx tsc -b tsconfig.web.json tsconfig.node.jsonstill fails on known unrelated repo typecheck noise plus the pre-existing CodexSemanticChannel.ts(283,26)error; no reported errors are in the PR-5 touched app filesNotes
🤖 Generated with Claude Code