[codex] add workflow aliases and root steps - #21
Draft
thisrohangupta wants to merge 2 commits into
Draft
thisrohangupta wants to merge 2 commits into
thisrohangupta wants to merge 2 commits into
Conversation
thisrohangupta
force-pushed
the
codex/workflow-alias-scope
branch
from
July 6, 2026 20:08
fce835b to
995f15f
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.
Summary
workflowandagentas root aliases alongside existingpipelineidandnameactive because scoped workflows need first-class identitystepsand Go normalization into an implicit default stagedist/schema.jsonand update checked-in Go structs/testsWhy
Jyoti clarified that
pipeline = workflow = agent: they are interchangeable names for the same underlying schema and concept. She also called out the need for a fourth reusable level (global,marketplace, orsystem) that can host workflows/agents/pipelines available across customer accounts.Brad clarified that placement/scope should be platform resource metadata, not YAML schema metadata. This PR therefore does not add workflow
scope,org, orprojectfields.Scoped workflows still need stable identity on the workflow object itself. This PR removes the deprecated markers from workflow
idandnameinstead of moving identity exclusively into a resource envelope.Follow-up
workflow-connector-inputValidation
npm run schemanpm run golangafter creatingdist/gofor generator output validationgo test ./yaml -run 'TestParseWorkflowAliases|TestParseWorkflowAliasConflict|TestNormalizedWorkflowRootSteps'git diff --checkNote:
go test ./yamlcurrently fails on clean upstreammasterdue to an existing golden mismatch aroundenvironment.sequential; the same failure reproduces without this branch.