Flowchart · Kandev · doc-inline · balanced
Sync reconciles valid files safely
Each file is parsed independently. Valid definitions reconcile by exact source path and workflow name; an invalid file freezes its existing workflows and reports a warning.
Sync reconciles valid files safely
A workflow sync flowchart fetches a repository directory, parses each file, branches on validation, reconciles valid workflows by source path and name, freezes invalid-file workflows with a warning, applies safe changes, and returns a sync result.
FETCH
PARSE
VALID
INVALID
RECONCILE
FREEZE
Workflow files
Git source of truth
READ
Fetch branch + directory
immediate files only
VALIDATE
Parse each file
YAML / JSON envelope
File valid?
per-file decision
MATCH
Reconcile workflows
exact path + name key
SAFEGUARD
Freeze + warn
existing sync-owned state
APPLY
Apply safe changes
create · update · remove
Sync result
counts + warnings
VALID SET
INVALID FILES DO NOT DELETE EXISTING WORKFLOWS