Skip to content

refactor(core): return structured outcomes rather than emitting UI#158

Merged
indaco merged 1 commit intomainfrom
refactor/core-no-ui-emit
Apr 23, 2026
Merged

refactor(core): return structured outcomes rather than emitting UI#158
indaco merged 1 commit intomainfrom
refactor/core-no-ui-emit

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented Apr 23, 2026

Description

Stop emitting UI from core/*. core/bundle/runner.zig, core/bundle/brewfile.zig, core/ruby_subprocess.zig, and core/services/supervisor.zig now return structured outcomes (or no longer import UI at all). The CLI layer renders. core/dsl/builtins/ui.zig keeps its DSL-facing ohai/opoo/odie but routes them exclusively through ui/output.*, dropping the duplicate direct-stderr path.

Related Issue

  • None

Notes for Reviewers

  • None

Five core modules (bundle/runner, bundle/brewfile, services/supervisor,
ruby_subprocess, dsl/builtins/ui) no longer print to stderr or import
ui/output.zig directly. The CLI layer renders from structured Report /
Diagnostics / RubyError values, enabling a headless embedding story and
keeping test runs quiet.

Generated with Claude Code.
@indaco indaco merged commit d512d7d into main Apr 23, 2026
3 checks passed
@indaco indaco deleted the refactor/core-no-ui-emit branch April 23, 2026 10:05
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