Skip to content

feat(conditions): AskUserQuestion answering driver (PR-5) - #330

Merged
Juliusolsson05 merged 2 commits into
integration/conditions-frameworkfrom
feat/conditions-auq-driver
Jun 22, 2026
Merged

Juliusolsson05 merged 2 commits into
integration/conditions-frameworkfrom
feat/conditions-auq-driver

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

Summary

Verification

  • npx tsc --noEmit in packages/claude-code-headless
  • npx tsc --noEmit in packages/codex-headless fails on pre-existing src/channels/SemanticChannel.ts(283,26) unrelated to generated conditions-core
  • npx tsc -b tsconfig.web.json tsconfig.node.json still fails on known unrelated repo typecheck noise plus the pre-existing Codex SemanticChannel.ts(283,26) error; no reported errors are in the PR-5 touched app files

Notes

  • Rendering remains transcript-gated via the unresolved AskUserQuestion semantic block. The screen-derived condition only gates controls and drives answers.
  • Do not squash/rebase this with the submodule PRs; merge submodule PRs first, then repoint gitlinks if merge SHAs differ.

🤖 Generated with Claude Code

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>
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