Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 30, 2026

Complete: Merged Main and Recompiled ✅

Merge Status

  • Merged origin/main successfully
  • Resolved merge conflicts in 2 lock files
  • Rebuilt binary with latest changes
  • Recompiled all 144 workflows successfully

Merge Details

Conflicts Resolved:

  • .github/workflows/dependabot-burner.lock.yml
  • .github/workflows/test-project-url-default.lock.yml

Both files were regenerated during recompilation, so conflicts were resolved by accepting current version and recompiling.

Recompilation Results

✓ Successfully compiled 144 out of 144 workflow files
✓ All workflows use runtime-import for main markdown body
✓ Frontmatter imports still inlined at compile time

Implementation Status

All features complete and working:

  1. Frontmatter imports → Inlined at compile time ✅
  2. Main workflow markdown → Runtime-import macro ✅
  3. Recursive processing → Supported with caching ✅
  4. Circular dependency detection → Implemented ✅
  5. All tests pass → 120/120 runtime_import tests ✅

Ready for Review

The branch is now up-to-date with main and all workflows have been recompiled with the latest changes.

Original prompt

Update the compiler and the step and renders the agentic workflow markdown body to the prompt.

Instead of inlining the text of the markdown body, use the same javascript helper as runtime-imports to import/render the markdown body into the prompt file.

This allows the user to edit the body without needing requiring compilation.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Changeset

  • Type: patch
  • Description: Start using runtime-import macros for the main workflow markdown so lock files only inline imported content, adding runtime import recursion/caching and expression handling updates so prompts and tests work with the new flow.

Ahoy! This treasure was crafted by 🏴‍☠️ Changeset Generator

…ort helper

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor

@copilot do not write markdown body to a separate file, parse the body from the existing workflow file on disk.

Copilot AI and others added 4 commits January 30, 2026 06:35
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ontent

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update compiler to render agentic workflow markdown body Use runtime-import for markdown body instead of inlining Jan 30, 2026
Copilot AI requested a review from pelikhan January 30, 2026 06:46
…eparate body files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 30, 2026

@copilot do not write markdown body to a separate file, parse the body from the existing workflow file on disk.

Done in commit 245da37. The compiler now uses {{#runtime-import workflows/{workflow-name}.md}} to reference the original workflow file on disk. The runtime helper parses the markdown body (extracting content after frontmatter) and processes it at runtime. No separate .body.md files are created.

@pelikhan pelikhan added the smoke label Jan 30, 2026
…mplate wrapping support

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review January 30, 2026 07:04
@pelikhan
Copy link
Contributor

@copilot merge main and recompile

…e for workflows with imports

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor

@copilot merge main and recompile

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor

@copilot the imports should be inlined as it was before. The only file that changes treatment is the main agentic workflow

…bitrary conditionals

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor

@copilot make sure that runtime-import calls are processed recursively and only imported once

@pelikhan
Copy link
Contributor

@copilot merge main and recompile

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 30, 2026

@copilot make sure that runtime-import calls are processed recursively and only imported once

Done in commit 7a551a5.

Runtime-import macros are now:

  • Processed recursively - imported files can contain more runtime-import macros that are automatically processed
  • Cached and reused - each file is only imported once, subsequent references use cached content
  • Protected from circular dependencies - detects and throws clear errors for circular references (e.g., "Circular dependency detected: a.md -> b.md -> a.md")

All 120 tests pass, including 11 new tests covering recursive imports, caching, and circular dependency detection.

…ive processing)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Use runtime-import for markdown body instead of inlining Use runtime-import for markdown body instead of inlining (with recursive processing) Jan 30, 2026
Copilot AI and others added 2 commits January 30, 2026 14:09
…er-markdown-rendering

# Conflicts:
#	.github/workflows/dependabot-burner.lock.yml
#	.github/workflows/test-project-url-default.lock.yml
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 30, 2026

@copilot merge main and recompile

Done in merge commit 4d9e588 and recompile commit a5ae6d6. Merged origin/main successfully and recompiled all 144 workflows.

Resolved merge conflicts in 2 lock files by regenerating them during recompilation.

@github-actions
Copy link
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

@github-actions
Copy link
Contributor

Agent Container Tool Check ✅

Tool Status Version
bash 5.2.21
sh available
git 2.52.0
jq 1.7
yq 4.50.1
curl 8.5.0
gh 2.86.0
node 24.13.0
python3 3.13.11
go 1.24.12
java not found
dotnet not found

Result: 10/12 tools available ⚠️

Missing Tools:

  • java - Java runtime not installed
  • dotnet - .NET runtime not installed

Core Development Tools: All essential tools (bash, git, jq, yq, curl, gh, node, python3, go) are available and working correctly.

AI generated by Agent Container Smoke Test

@github-actions
Copy link
Contributor

Smoke Test Results: ✅ PASS

PR Titles Reviewed:

Tests:
✅ GitHub MCP | ✅ Safe Inputs GH CLI | ✅ Serena MCP | ✅ Playwright | ✅ File Writing | ✅ Bash Tool | ✅ Discussion Interaction | ✅ Build gh-aw

Status: All tests passed

@pelikhan @Copilot

AI generated by Smoke Copilot

@github-actions
Copy link
Contributor

Fix test capturing stdout when version output moved to stderr
[docs] Consolidate developer specifications into instructions file
[WIP] Fix error in action job execution
Document GH_AW_AGENT_TOKEN in campaign getting started
GitHub MCP merged PRs ✅ | safeinputs-gh PR list ✅ | Serena activate ✅
Playwright title ✅ | Tavily search ✅ | File write+cat ✅
Discussion query+comment ✅ | Build ✅
Overall status: PASS

AI generated by Smoke Codex

@github-actions
Copy link
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@pelikhan pelikhan merged commit 124067f into main Jan 30, 2026
81 of 84 checks passed
@pelikhan pelikhan deleted the copilot/update-compiler-markdown-rendering branch January 30, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants