Skip to content

Expose KOSLI_FLOW and KOSLI_TRAIL as workflow outputs#26

Merged
gsavage merged 2 commits into
mainfrom
trail-and-flow-as-outputs
Jun 29, 2026
Merged

Expose KOSLI_FLOW and KOSLI_TRAIL as workflow outputs#26
gsavage merged 2 commits into
mainfrom
trail-and-flow-as-outputs

Conversation

@gsavage

@gsavage gsavage commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

The base workflow computes the Kosli flow and trail used for attestations, but callers had no way to read them. Callers of the apply and plan workflows sometimes need to do further work after the call and must know where to send their own attestations.

Emit KOSLI_FLOW and KOSLI_TRAIL as step outputs in base.yml, surface them as job and workflow_call outputs, and bubble them up through plan.yml and apply.yml. Also update apply.yml's reset-drift-detection job to consume these outputs instead of recalculating the flow and trail, removing the duplicated values.

gsavage and others added 2 commits June 29, 2026 13:07
The base workflow computes the Kosli flow and trail used for
attestations, but callers had no way to read them. Callers of the
apply and plan workflows sometimes need to do further work after the
call and must know where to send their own attestations.

Emit KOSLI_FLOW and KOSLI_TRAIL as step outputs in base.yml, surface
them as job and workflow_call outputs, and bubble them up through
plan.yml and apply.yml. Also update apply.yml's reset-drift-detection
job to consume these outputs instead of recalculating the flow and
trail, removing the duplicated values.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
actionlint flagged the unquoted $COMMIT_ARG in several kosli `run:`
steps. The word-splitting is intentional: COMMIT_ARG expands to either
nothing or `--commit <ref>`, so quoting it would break the empty case.
Mark the intent explicitly with a `# shellcheck disable=SC2086`
directive, converting the affected single-line steps to block form.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gsavage gsavage merged commit ab738cc into main Jun 29, 2026
1 check passed
@gsavage gsavage deleted the trail-and-flow-as-outputs branch June 29, 2026 12:55
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