feat: autonomous docs compiler workflow and perfected content plan#23
feat: autonomous docs compiler workflow and perfected content plan#23jmanhype wants to merge 1 commit intoagentjido:mainfrom
Conversation
- GitHub Actions workflow triggers on content plan push, nightly cron, and manual dispatch. Processes changed plans incrementally or does full regeneration. Auto-opens compiler-verified PRs. - Content plan updated with correct repo specs, ecosystem_packages including kino for interactive embedder, DemoAgent visualizer assignment, and corrected cmd/2 API references. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3def307977
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| run: | | ||
| if [ "${{ github.event_name }}" = "schedule" ] || [ "${{ github.event.inputs.force_regen }}" = "true" ]; then | ||
| echo "Running full regeneration of all content plans..." | ||
| mix jido_lib.github.docs.generate_all priv/content_plan/docs \ |
There was a problem hiding this comment.
Replace undefined Mix task namespace in workflow
This workflow invokes mix jido_lib.github.docs.generate_all/mix jido_lib.github.docs.pipeline, but this repository defines its Mix tasks under lib/mix/tasks/*.ex (e.g. content.plan.generate) and has no jido_lib dependency in mix.exs/mix.lock; in CI that means the docs step will fail with “task could not be found” before any generation happens. As written, every scheduled or push run is likely to fail at this command.
Useful? React with 👍 / 👎.
| CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} \ | ||
| | grep '^priv/content_plan/docs/.*\.md$' || true) |
There was a problem hiding this comment.
Handle workflow_dispatch diff base before filtering changes
When this workflow is started via workflow_dispatch with the default force_regen: false, the else branch runs git diff --name-only ${{ github.event.before }} ${{ github.sha }} even though workflow_dispatch events do not provide a before SHA; that collapses to a single-commit diff against the checked-out HEAD and returns no files, so the job exits early with “No content plan changes detected.” In practice, manual runs are a no-op unless users remember to force full regeneration.
Useful? React with 👍 / 👎.
Summary
.github/workflows/autonomous_docs_compiler.yml) that triggers on content plan push, nightly cron, and manual dispatchagentjido/jido:jido,agentjido/jido_action:jido_action), addkinoto ecosystem packages for interactive embedder, addDemoAgentvisualizer assignment, and fixcmd/2API references to useYourModule.cmd/2What this enables
When merged, pushing any
.mdfile topriv/content_plan/docs/will automatically:.livemdThe nightly cron run catches API drift when upstream source code changes.
Test plan
priv/content_plan/docs/**/*.mdworkflow_dispatchwithforce_regen: trueruns full regenerationContentPlan.parse_file!/1🤖 Generated with Claude Code