Skip to content

Rephrase aw_context input description#22614

Merged
pelikhan merged 1 commit intomainfrom
copilot/rephrase-json-context-description
Mar 24, 2026
Merged

Rephrase aw_context input description#22614
pelikhan merged 1 commit intomainfrom
copilot/rephrase-json-context-description

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 24, 2026

Rephrases the awContextInputDescription constant in pkg/workflow/compiler_aw_context.go from:

(Internal) JSON context injected by the calling agentic workflow. Not intended for direct user input.

to:

Agent caller context (used internally by Agentic Workflows).

All 177 workflow lock files were regenerated via make recompile.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/8d17358b-a92c-45df-8cbd-f0f45c966c06
Copilot AI requested a review from pelikhan March 24, 2026 05:56
@pelikhan pelikhan marked this pull request as ready for review March 24, 2026 05:57
Copilot AI review requested due to automatic review settings March 24, 2026 05:57
@pelikhan pelikhan merged commit e6dc5d0 into main Mar 24, 2026
47 of 49 checks passed
@pelikhan pelikhan deleted the copilot/rephrase-json-context-description branch March 24, 2026 05:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the user-facing description for the aw_context workflow_dispatch input and regenerates compiled workflow lockfiles to reflect that change.

Changes:

  • Rephrased awContextInputDescription in the workflow compiler.
  • Regenerated workflow .lock.yml files via make recompile to apply the updated description across compiled workflows.

Reviewed changes

Copilot reviewed 164 out of 164 changed files in this pull request and generated 2 comments.

File Description
pkg/workflow/compiler_aw_context.go Updates the source-of-truth description string used when injecting the aw_context input into workflow_dispatch.
.github/workflows/*.lock.yml Regenerated compiled workflow lockfiles to carry the updated aw_context input description into workflow YAML.

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

Comment on lines 7 to +9
// awContextInputDescription is the description for the aw_context workflow_dispatch input.
// It signals to users that this input is managed internally by the agentic workflow system.
const awContextInputDescription = "(Internal) JSON context injected by the calling agentic workflow. Not intended for direct user input."
const awContextInputDescription = "Agent caller context (used internally by Agentic Workflows)."
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

The new aw_context input description is less explicit than the doc comment above it: it no longer indicates that the value is JSON and that users should not set it manually. Consider rephrasing to retain an explicit “internal / not intended for manual input” warning (and mentioning JSON if that’s still accurate) so the workflow_dispatch UI doesn’t encourage misuse.

Copilot uses AI. Check for mistakes.
Comment on lines 29 to 33
inputs:
aw_context:
default: ""
description: (Internal) JSON context injected by the calling agentic workflow. Not intended for direct user input.
description: Agent caller context (used internally by Agentic Workflows).
required: false
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

This lock file updates the workflow_dispatch input description, but the embedded Safe Outputs tool schema later in the same file still contains the old aw_context description (in the tools_meta.json content around line ~356). That leaves inconsistent user-facing metadata within one compiled artifact; please ensure the lock regeneration updates that embedded schema too (or that it sources the description from the same constant) and re-run the generator.

Copilot uses AI. Check for mistakes.
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.

3 participants