Preserve query projection on shadowed composite actions #231
Labels
No labels
burndown-2026-06
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/cli-guard#231
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The aos fix for agentic-os#575 had to shadow the generated Forgejo action-run list leaf with a composite action so calls always include page=1 when --limit is used. That prevents Forgejo from returning the whole Actions run history, but it also drops the generated leaf's universal --query flag because composite actions currently expose --output but not --query.
Needed follow-up: either let composite actions accept the same response projection flag as generated leaves, or add a specverb way to pin fixed query arguments on a generated leaf while preserving the leaf's normal flags. The concrete motivating command was:
ward ops forgejo action-run list coilyco-flight-deck ward --limit 3 --output json --query 'workflow_runs[].{id:id,status:status,commit_sha:commit_sha,html_url:html_url,updated:updated,started:started,stopped:stopped}'
With the safe shadow, the command no longer risks unbounded listing, but --query is rejected.