feat(workflow): add Workflow 1.0 protocol over DIDComm v2#1
Open
vinaysingh8866 wants to merge 20 commits intomainfrom
Open
feat(workflow): add Workflow 1.0 protocol over DIDComm v2#1vinaysingh8866 wants to merge 20 commits intomainfrom
vinaysingh8866 wants to merge 20 commits intomainfrom
Conversation
Add package.json, tsconfig.json, tsconfig.build.json, jest.config.ts to initialize the workflow package. Signed-off-by: Vinay Singh <vinay@verid.id>
Introduce WorkflowModule, WorkflowModuleConfig, WorkflowEvents, and public exports via index. Signed-off-by: Vinay Singh <vinay@verid.id>
Add core model types and template validation helpers. Signed-off-by: Vinay Singh <vinay@verid.id>
Provide planning and guard evaluation utilities for workflow execution. Signed-off-by: Vinay Singh <vinay@verid.id>
Introduce records and repositories for workflow templates and instances. Signed-off-by: Vinay Singh <vinay@verid.id>
Add WorkflowMessageTypes and protocol message classes: PublishTemplate, Start, Advance, StatusRequest/Status, ProblemReport, Cancel, Pause, Resume, Complete. Signed-off-by: Vinay Singh <vinay@verid.id>
Implement handlers for publish, start, advance, status, pause/resume, complete, cancel, and problem-report. Signed-off-by: Vinay Singh <vinay@verid.id>
Add ActionRegistry, WorkflowService, and WorkflowApi to orchestrate and expose workflow operations. Signed-off-by: Vinay Singh <vinay@verid.id>
Add tests covering engine utilities, protocol handlers, repositories, and service workflows. Signed-off-by: Vinay Singh <vinay@verid.id>
Add E2E test exercising anoncreds flow using the new workflow module. Signed-off-by: Vinay Singh <vinay@verid.id>
Update lockfile to capture workflow package dependencies. Signed-off-by: Vinay Singh <vinay@verid.id>
Remove JS eval fallback in GuardEvaluator and ignore configurable guard engine in service. This enforces side-effect-free guard evaluation. Signed-off-by: Vinay Singh <vinay@verid.id>
Remove JS-based compute evaluator and run compute over a pure JMESPath environment with {context, participants, artifacts, now}. Updates tests to use join() instead of concat().
Signed-off-by: Vinay Singh <vinay@verid.id>
Replace '../src' with '..' in package tests so ts-jest resolves package exports correctly. Signed-off-by: Vinay Singh <vinay@verid.id>
test types and assertions - Use precise types for UI checks and message context; format long assertions. Signed-off-by: Vinay Singh <vinay@verid.id>
listener callbacks, formatting - Remove explicit any and tighten mock signatures. - Resolve ctor names safely; accept payload args in listener mocks. - Import ordering and formatting aligned with Biome. Signed-off-by: Vinay Singh <vinay@verid.id>
only class lint in engine - Add targeted biome-ignore to GuardEvaluator and AttributePlanner utility classes (no logic change). Signed-off-by: Vinay Singh <vinay@verid.id>
profile_ref; action message-id resolution - Reject invalid action.profile_ref values (must be cp.* or pp.*). - Prefer found.message.id, fallback to found.id or record id. Signed-off-by: Vinay Singh <vinay@verid.id>
dced4a9 to
c64bd95
Compare
protocol over DIDComm v2 Signed-off-by: Vinay Singh <vinay@verid.id>
c64bd95 to
4e93f29
Compare
Signed-off-by: Vinay Singh <vinay@verid.id>
cccddd8 to
dc6339a
Compare
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.