Repository navigation
Idea: additional_context on workflow command steps for curated context provisioning
#5528
markuswondrak
started this conversation in
Ideas
Replies: 1 comment
|
Go for it! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Today, workflow
commandsteps only forwardinput.args($ARGUMENTS). When a workflow (or an overlay) wants to provision curated, step-specific context—such as upstream check outputs, architecture constraints, or team guardrails—authors have to either pollute$ARGUMENTS(mixing domain input with instructions) or drop down totype: promptand lose the structured Spec Kit command.Idea
Add an optional, expression-evaluated
additional_contextfield tocommandsteps that injects out-of-band context into the agent turn while keeping$ARGUMENTSand installed command templates untouched:Rough Implementation Plan
CommandStepschema & evaluation: Accept optional stringadditional_contextinCommandStep.validate()/execute()and resolve{{ ... }}expressions.SPECKIT_ADDITIONAL_CONTEXT) insidedispatch_command()so parallelfan-outruns stay isolated..specify/events.pyemitSPECKIT_ADDITIONAL_CONTEXTonce on agent startup (session_start/user_prompt_submit) using each integration's native context envelope (additionalContext,hookSpecificOutput, etc.), or0 byteswhen unset.reasoning_effort/context_sizein #5248) instead of silently dropping context.Does this direction make sense for workflows? Happy to prototype a PR if there's interest.
AI Disclosure (per CONTRIBUTING.md): Drafted on behalf of @markuswondrak with GitHub Copilot CLI (model: Gemini 4 Carbon /
gemini-4-carbon, supervised).All reactions