Skip to content

chore: sweep deprecated needs.activation.outputs.* references from authoring examples - #47968

Merged
pelikhan merged 2 commits into
mainfrom
copilot/hippo-sweep-deprecated-references
Jul 25, 2026
Merged

chore: sweep deprecated needs.activation.outputs.* references from authoring examples#47968
pelikhan merged 2 commits into
mainfrom
copilot/hippo-sweep-deprecated-references

Conversation

Copilot AI commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Hippo flagged needs.activation.outputs.{text,title,body} as a maintenance tail — the compiler still accepts and auto-rewrites these deprecated expressions to steps.sanitized.outputs.* (with a deprecation warning), but new authoring should use the modern form directly.

Findings

  • .github/workflows/ — already clean; no deprecated references in any compiled workflow source
  • docs/src/ — already clean; templating.md already documents steps.sanitized.outputs.* exclusively
  • .github/aw/ — already clean
  • Go tests / .skill-optimizer/ — deprecated form retained intentionally: tests exercise the transformation and backward-compat layer; skill-optimizer cases simulate a user asking how to migrate

Change

scratchpad/activation-output-transformations.md — the "Runtime-Import Compatibility" section contained an example workflow using the deprecated form. Updated to steps.sanitized.outputs.text and revised the surrounding note to clarify both forms are handled at runtime (for backward compat) but the modern form is preferred:

-Analyze: "${{ needs.activation.outputs.text }}"
+Analyze: "${{ steps.sanitized.outputs.text }}"

…s.text form

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Sweep workflow markdown and docs for deprecated needs.activation.outputs references chore: sweep deprecated needs.activation.outputs.* references from authoring examples Jul 25, 2026
Copilot AI requested a review from pelikhan July 25, 2026 10:00
@pelikhan
pelikhan marked this pull request as ready for review July 25, 2026 10:01
Copilot AI review requested due to automatic review settings July 25, 2026 10:01
@pelikhan
pelikhan merged commit cdff181 into main Jul 25, 2026
@pelikhan
pelikhan deleted the copilot/hippo-sweep-deprecated-references branch July 25, 2026 10:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates an authoring example to use the modern activation-output expression.

Changes:

  • Replaces the deprecated expression in a runtime-import example.
  • Revises compatibility guidance, though the deprecated runtime-import claim is inaccurate.
Show a summary per file
File Description
scratchpad/activation-output-transformations.md Modernizes the activation-output example and compatibility note.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Medium

```

Even if `instructions.md` is edited to include new references to `needs.activation.outputs.text`, the transformation ensures these work correctly.
Even if `instructions.md` is edited at runtime to include new references (using either the modern `steps.sanitized.outputs.text` or the deprecated `needs.activation.outputs.text` form), the compiler-generated substitution table handles both correctly.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.3

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.

[hippo] Sweep workflow markdown and docs for deprecated needs.activation.outputs.text/title/body references

3 participants