Skip to content

Refactor/v0.2.0#2

Open
galaddirie wants to merge 135 commits into
masterfrom
refactor/v0.2.0
Open

Refactor/v0.2.0#2
galaddirie wants to merge 135 commits into
masterfrom
refactor/v0.2.0

Conversation

@galaddirie
Copy link
Copy Markdown
Owner

No description provided.

galaddirie added 30 commits May 10, 2026 20:25
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.
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