Add ace-understand: analyze audio via local path or URL, dogfood in CI#14
Merged
Add ace-understand: analyze audio via local path or URL, dogfood in CI#14
Conversation
Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add action to run ace-understand for audio analysis
Add ace-understand mode: analyze audio URLs and return structured JSON metadata
Mar 14, 2026
Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
…io directly Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot
AI
changed the title
Add ace-understand mode: analyze audio URLs and return structured JSON metadata
Add ace-understand: analyze audio via local path or URL, dogfood in CI
Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the action with a reverse-pipeline mode using
ace-understand— given an audio file, the action extracts caption, lyrics, BPM, key, duration, and language as JSON. Theunderstandinput accepts either a local file path (used directly) or a URL (http/https/ftp/file://, downloaded via curl).Action interface
understandinput (string, default empty) — activates understand mode, skips generationunderstand_resultoutput — multiline JSON fromace-understandEntrypoint (
src/entrypoint.sh)INPUT_UNDERSTANDis set; detects URL vs local path via scheme prefix--src-audiocurl -fsSL --max-time 300, validated, then passed to--src-audio$GITHUB_OUTPUTusing a bash-native heredoc delimiter ($$_${RANDOM})Dockerfile
ace-undestand→ace-understand(binary was never being copied)curlto apt dependenciesCI (
test.yml)test-understandjob depends ontest(needs: test), downloads the generated WAV artifact into$GITHUB_WORKSPACE, and passes the container-side path/github/workspace/output.wavdirectly — no external audio, nofile://workaroundcaption,lyrics, andbpmfieldsUsage
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.