Repository navigation
Make embedded Console a frontend using GUI-independent text-command processor - #2419
Merged
PeramatoG merged 2 commits intoOct 1, 2026
Merged
Conversation
PeramatoG
deleted the
codex/implement-front-500-embedded-console-frontend
branch
October 2, 2026 08:41
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.
Motivation
core/command/without creating a registry/dispatch framework or adding CLI mutation/IPC features.Description
core/command/command_text_processor.handcore/command/command_text_processor.cppimplementProcessCommandLine()andLineExecutionResultwith orderedExecutionRecorditems, per-stepselectionAftersnapshots, parser diagnostics, aggregateMutationSummary, and stop status.ConsolePanel::ProcessCommand()to frontend responsibilities by invoking the new processor once per entered line and mapping returned structured results to presentation and targeted table/viewer refresh (no semantic execution is done inconsolepanel.cpp).selection::ExecuteClear,text::ExecuteSelection, andtransform::Executeservices and continues to useGuiProjectMutationHostthrough the neutralProjectMutationHost).perastage_command_text_processorincore/CMakeLists.txt, updategui/CMakeLists.txtto link the new processor target, add processor test and policy guard entries intests/CMakeLists.txt.tests/command_text_processor_test.cppexercising ordered selection/transform sequences, clear, parser diagnostics, validation and execution error behavior, transaction/publication observations, and addtests/check_command_text_processor_boundary.shto prevent GUI/app/viewer/ConfigManager coupling or Console regaining direct executor ownership.docs/developer/architecture.mdto describe the new Console→parser→processor→Core→results boundary and add a short entry todocs/release-notes-draft.mddescribing the internal Console frontend migration.Testing
CommandTextProcessortest,CommandSelection,CommandTransform, andConsoleCommandParsertests all passed when run against the changed code.tests/check_perastage_tree_modules.sh,tests/check_no_configmanager_get_in_gui.sh,python3 tests/check_source_file_size.py,python3 tests/check_repository_hygiene.py,tests/check_command_text_parser_boundary.sh, and the newtests/check_command_text_processor_boundary.shall passed locally.git diff --checkand other repository checks ran clean locally.Codex Task