Repository navigation
Step-Based Launch Workflows (Hooks) Engine - #1
Merged
Merged
Conversation
Owner
Author
Merge Request: Step-Based Launch Workflows (Hooks) Engine🎯 OverviewThis merge request introduces the new step-based YAML workflow engine for ProFiles launch hooks, completely replacing the legacy ✨ Key Features & Additions
🛠️ Internal Rebuilds (Architecture)
📚 Documentation
🧪 Testing State
💡 Notes for ReviewerThe codebase migration effectively removes and cleans up older legacy pipeline INI hooks implementation patterns and moves entirely onto highly scalable data-driven execution. All subagent and design plans have been cleaned out post-implementation. |
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.
Step-Based Launch Workflows (Hooks) Engine
🎯 Overview
This merge request introduces the new step-based YAML workflow engine for ProFiles launch hooks, completely replacing the legacy
[HOOKS]INI pipeline. It allows configuring fine-grained actions (e.g.,notify,run,replace,check,run_after), Markdown styling, variable token expansion, and yes/skip/no user prompts before allowing or replacing file launches.✨ Key Features & Additions
.profilesconfiguration underhooks.entries. File launches seamlessly intercept with pre-defined or custom actions.notify: Markdown-styled interactive alerts/prompts (supports**,*,#, and ```) with auto-close or blocking windows.run: Blocking OS Shell commands.run_after: Async / background shell commands.check: Validates shell return codes and strictly handles fail conditions.replace: Completely bypasses the native OS opener allowing custom launchers.{path},{filename},{dir},{ext},{stem}, and crucially{content}directly into execution steps andask:user alerts.askprompt feature supporting yes/skip/no logical branches preventing accidents cleanly.loggertracing emitting outputs and user decisions step-by-step to theINFO/DEBUG/ERRORtelemetry layers.🛠️ Internal Rebuilds (Architecture)
WorkflowStep&WorkflowStepSchemaPydantic models.matcher.pyfor glob priority extraction logic.message_dialog.pyencapsulating the rich Tkinter rendering text widget UI dialogs mapping pure headless print modes.workflow.pynatively orchestrates the lifecycle bypassing the older generic hooking functions located inexecution.py.run_workfloweffectively back tolaunch_selected_file()inactions.py.📚 Documentation
README.mdto reference the Launch Workflows (Hooks) mechanism.hooks-guide.en.mdandhooks-guide.fr.mdconverting legacy documentation to represent configuring the new YAML setup accurately.docs/column-library.mdrewritten successfully showing dynamic column YAML.STARTER_CONFIG_TEMPLATE.🧪 Testing State
pytestframework coverage checks over all domain abstractions before completion.💡 Notes for Reviewer
The codebase migration effectively removes and cleans up older legacy pipeline INI hooks implementation patterns and moves entirely onto highly scalable data-driven execution.
All subagent and design plans have been cleaned out post-implementation.