Refactor/v0.2.0#2
Open
galaddirie wants to merge 135 commits into
Open
Conversation
Introduce validated append-only provider and step manifests plus a supervised integration catalog that can serve operation definitions alongside legacy executors. Route Google Sheets append/read operations through the generic operation executor, add typed workflow execution context, and make credential forms render from credential schemas while preserving legacy API key compatibility.
Introduce a credentials-first model by renaming and replacing the previous "slot" concept with "credential" throughout the codebase. Key changes: - Frontend: rename RunLaunchModal -> CredentialLaunchModal, SlotField -> CredentialField, update FieldWrapper, WorkflowEditor and step config hooks to use component='credential' and new payload/emit keys (`credential_bindings`, `credential_bindings_needed`, etc.). Update types in assets/vue to reflect requirement_key/provider/auth_type. - Backend: rename Fizz.Slots => Fizz.Credentials and migrate APIs to handle credential requirements. Replace SlotBinding usages with CredentialBinding, update resolver/auto-bind/validation logic, and adapt runtime resolver interfaces. - Declarations: rename and rework slot declaration helpers into Fizz.Credentials.Declaration and add Fizz.Credentials.Field and requirement semantics (provider + auth_type + requirement_key). - Persistence/migrations: add migration to replace slot_bindings with credential_bindings and remove legacy slot modules/registry/resolver files. - Tests: update and rename tests to reflect credential terminology and new modules. This refactor centralizes credential handling (provider + auth_type + requirement_key), simplifies option/resolution code paths, and updates UI/emit contracts to match the new model.
Move contracts, steps, catalog, auth, resolvers, and concrete library integrations into responsibility-based namespaces. Split GitHub and OpenAI service clients from auth providers and add catalog guardrails around manifests and step execution. BREAKING CHANGE: old Fizz.Integrations.* module names and integration root paths were removed without compatibility aliases.
Move scope planning and runtime callback support out of the assembler, trim connection plans to the indexes still needed by assembly, and share Switch matching and expression detection from their owning modules. Add workflow runtime refactor plans & spec updates Enforce fenced writes and fact immutability Add FK + cascade for workflow run leases Centralize terminal finalization & passivation Add bounded delivery timeout for events and timers refactor(workflows): extract runtime boundary modules refactor(workflows): improve draft boundries refactor(workflows): share durable row claim handling Extract common claim, recovery, release, lookup, and status update mechanics for durable timer and signal rows while keeping timer and signal creation and delivery orchestration domain-specific. refactor(workflows): remove dead workflow scaffolding Drop the forwarding-only draft facade and unused process/lease APIs, then centralize repeated embed validation and store option construction. This keeps caller-visible workflow behavior intact while reducing the workflow surface area documented in the audit.
This reverts commit 95e308ce4659832e1ac2aa203b07edfa258b7a92.
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.
No description provided.