Add Visual Companion as a visual decision I/O plugin#131
Open
Mineru98 wants to merge 1 commit into
Open
Conversation
Add visual-companion as an Ouroboros plugin so UI/UX choices can be shown as local browser screens and recovered as structured event evidence before implementation work continues. Constraint: Plugin runtime artifacts must stay outside trusted installed plugin homes. Rejected: Referencing the external Codex skill path | plugin installs need a self-contained copied asset package. Rejected: Text-only design questions | visual UI/UX terms are often ambiguous without an inspectable interaction surface. Confidence: high Scope-risk: moderate Directive: Keep visual-companion as an I/O bridge; do not turn it into a UI generator or browser automation framework without a new design issue. Tested: py -3 -m unittest tests.test_visual_companion_plugin; py -3 scripts\\validate_contract.py; git diff --check; py -3 -m py_compile plugins\\visual-companion\\visual_companion_plugin\\__main__.py plugins\\visual-companion\\visual_companion_plugin\\__init__.py Not-tested: Manual GitHub UI review after PR creation.
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.
Add Visual Companion as a visual decision I/O plugin
Fixes #130
Summary
Adds
visual-companion, an Ouroboros-native plugin for browser-backed UI/UX decision prompts.The plugin lets a workflow start a local browser session, publish an agent-authored HTML screen, wait for a user click/form event, recover that answer as JSON, and attach handoff/audit evidence for downstream agents.
Problem
Text-only UI/UX questions are often ambiguous for people who do not already share frontend vocabulary with the agent. Terms like layout density, interaction state, selection behavior, or visual hierarchy can sound acceptable in prose while behaving differently once implemented.
This is especially common for non-designers, frontend beginners, and vibe coders. The wrong decision often becomes visible only after code has already been written.
Changes
plugins/visual-companionwith a validouroboros.plugin.json.startshowwaitreadstopcatalog/index.json.Validation
Also smoke-tested isolated plugin installation with a temporary plugin home:
Notes
The local
python/pipshim in this environment points at a brokenE:\SourceCode\ai-workflow\.venv, so validation used the Windowspy -3launcher.