{"id":48248240,"url":"https://github.com/agentjido/jido_lib","last_synced_at":"2026-04-04T20:42:58.302Z","repository":{"id":339238293,"uuid":"1161065036","full_name":"agentjido/jido_lib","owner":"agentjido","description":"GitHub issue triage and PR bot workflows for the Jido ecosystem.","archived":false,"fork":false,"pushed_at":"2026-02-28T21:37:24.000Z","size":429,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-28T23:35:33.576Z","etag":null,"topics":["ai-agents","automation","bots","elixir","github","jido"],"latest_commit_sha":null,"homepage":"https://github.com/agentjido/jido_lib#readme","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agentjido.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-18T17:36:22.000Z","updated_at":"2026-02-28T20:17:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/agentjido/jido_lib","commit_stats":null,"previous_names":["agentjido/jido_lib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agentjido/jido_lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentjido%2Fjido_lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentjido%2Fjido_lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentjido%2Fjido_lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentjido%2Fjido_lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentjido","download_url":"https://codeload.github.com/agentjido/jido_lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentjido%2Fjido_lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","automation","bots","elixir","github","jido"],"created_at":"2026-04-04T20:42:58.132Z","updated_at":"2026-04-04T20:42:58.295Z","avatar_url":"https://github.com/agentjido.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jido.Lib\n\nStandard library modules for the Jido ecosystem, including six canonical GitHub bot workflows:\n\n- Issue Triage Bot\n- Documentation Writer Bot\n- PR Bot\n- Quality Bot\n- Release Bot\n- Roadmap Bot\n\n## Package Purpose\n\n`jido_lib` owns GitHub-domain workflow orchestration:\n\n- issue triage in Sprite workspaces\n- documentation generation via persistent multi-repo sprite context\n- provider-swappable coding agent execution (`:claude | :amp | :codex | :gemini`)\n- branch/commit/check/push/PR/comment lifecycle for issue-to-PR automation\n- policy-driven repository quality evaluation and safe-fix flows\n- release orchestration (versioning/changelog/quality gate/publish)\n- dependency-aware roadmap queue execution\n\nLower-level runtime concerns stay in `jido_harness`, `jido_shell`, and `jido_vfs`.\n\n## Canonical APIs\n\n### GitHub PR Bot\n\n- `Jido.Lib.Github.Agents.PrBot.run_issue/2`\n- `Jido.Lib.Github.Agents.PrBot.build_intake/2`\n- `Jido.Lib.Github.Agents.PrBot.intake_signal/1`\n\n```elixir\nJido.Lib.Github.Agents.PrBot.run_issue(\n  \"https://github.com/owner/repo/issues/42\",\n  jido: Jido.Default,\n  timeout: 900_000\n)\n```\n\n### GitHub Issue Triage Bot\n\n- `Jido.Lib.Github.Agents.IssueTriageBot.triage/2`\n- `Jido.Lib.Github.Agents.IssueTriageBot.intake_signal/2`\n\n```elixir\nJido.Lib.Github.Agents.IssueTriageBot.triage(\n  \"https://github.com/owner/repo/issues/42\",\n  jido: Jido.Default,\n  timeout: 600_000\n)\n```\n\n### GitHub Documentation Writer Bot\n\n- `Jido.Lib.Github.Agents.DocumentationWriterBot.run_brief/2`\n\n```elixir\nJido.Lib.Github.Agents.DocumentationWriterBot.run_brief(\n  File.read!(\"brief.md\"),\n  repos: [\"owner/repo:primary\", \"owner/context_repo:context\"],\n  output_repo: \"primary\",\n  sprite_name: \"docs-sprite-1\",\n  jido: Jido.Default\n)\n```\n\n### GitHub Quality Bot\n\n- `Jido.Lib.Github.Agents.QualityBot.run_target/2`\n\n```elixir\nJido.Lib.Github.Agents.QualityBot.run_target(\n  \"owner/repo\",\n  apply: false,\n  jido: Jido.Default\n)\n```\n\n### GitHub Release Bot\n\n- `Jido.Lib.Github.Agents.ReleaseBot.run_repo/2`\n\n```elixir\nJido.Lib.Github.Agents.ReleaseBot.run_repo(\n  \"owner/repo\",\n  publish: false,\n  jido: Jido.Default\n)\n```\n\n### GitHub Roadmap Bot\n\n- `Jido.Lib.Github.Agents.RoadmapBot.run_plan/2`\n\n```elixir\nJido.Lib.Github.Agents.RoadmapBot.run_plan(\n  \"owner/repo\",\n  apply: false,\n  push: false,\n  open_pr: false,\n  jido: Jido.Default\n)\n```\n\n## Mix Tasks\n\n```bash\nmix jido_lib.github.triage https://github.com/owner/repo/issues/42\nmix jido_lib.github.docs path/to/brief.md --repo owner/repo:primary --output-repo primary --sprite-name docs-sprite-1\nmix jido_lib.github.pr https://github.com/owner/repo/issues/42\nmix jido_lib.github.quality owner/repo --yes\nmix jido_lib.github.release owner/repo --yes\nmix jido_lib.github.roadmap owner/repo --yes\n```\n\nMutation defaults for the new tasks are intentionally aggressive and require `--yes`:\n\n- `mix jido_lib.github.quality` defaults to `--apply true`\n- `mix jido_lib.github.release` defaults to `--publish true --dry-run false`\n- `mix jido_lib.github.roadmap` defaults to `--apply true --push true --open-pr true`\n\nTo run non-mutating mode without `--yes`, explicitly disable mutation flags:\n\n```bash\nmix jido_lib.github.quality owner/repo --apply false\nmix jido_lib.github.release owner/repo --publish false\nmix jido_lib.github.roadmap owner/repo --apply false --push false --open-pr false\n```\n\n## Testing Paths\n\n### 1) Deterministic local test suite\n\n```bash\nmix test\nmix quality\n```\n\nBot-focused suite:\n\n```bash\nmix test test/jido_lib/github/agents test/jido_lib/github/actions test/mix/tasks\n```\n\n### 2) Live Issue Triage bot smoke test\n\n```bash\nmix jido_lib.github.triage \\\n  https://github.com/owner/repo/issues/42 \\\n  --provider claude \\\n  --timeout 600 \\\n  --setup-cmd \"mix deps.get\"\n```\n\n### 3) Live PR bot smoke test\n\nFor orchestration-only validation (skip project checks):\n\n```bash\nmix jido_lib.github.pr \\\n  https://github.com/owner/repo/issues/42 \\\n  --provider claude \\\n  --timeout 600 \\\n  --setup-cmd \"mix deps.get\" \\\n  --check-cmd \"true\"\n```\n\nFor full gating with project checks:\n\n```bash\nmix jido_lib.github.pr \\\n  https://github.com/owner/repo/issues/42 \\\n  --provider claude \\\n  --timeout 600 \\\n  --setup-cmd \"mix deps.get\" \\\n  --check-cmd \"mix test --exclude integration\"\n```\n\nNote: when `--check-cmd` is omitted, PR bot defaults to `mix test --exclude integration`.\n\n### 4) Live Quality/Release/Roadmap smoke commands\n\n```bash\nmix jido_lib.github.quality owner/repo --yes\nmix jido_lib.github.release owner/repo --yes\nmix jido_lib.github.roadmap owner/repo --yes\n```\n\n## Credentials Required for Successful Live Runs\n\n### Core required\n\n- `SPRITES_TOKEN`\n- `GH_TOKEN` or `GITHUB_TOKEN`\n\n### Provider-specific required\n\n- `claude`: one of `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, `CLAUDE_CODE_API_KEY`\n- `amp`: `AMP_API_KEY`\n- `codex`: `OPENAI_API_KEY`\n- `gemini`: one of `GEMINI_API_KEY`, `GOOGLE_API_KEY`, `GOOGLE_GENAI_USE_VERTEXAI`, `GOOGLE_GENAI_USE_GCA`\n\n### Optional but common\n\n- `ANTHROPIC_BASE_URL` (for Claude-compatible proxy endpoints such as Z.AI)\n\n## Workflow Docs\n\n- `docs/github_issue_triage_workflow.md`\n- `docs/github_documentation_writer_workflow.md`\n- `docs/github_pr_bot_workflow.md`\n- `docs/github_quality_bot_workflow.md`\n- `docs/github_release_bot_workflow.md`\n- `docs/github_roadmap_bot_workflow.md`\n\n## Development\n\n```bash\nmix setup\nmix test\nmix quality\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentjido%2Fjido_lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentjido%2Fjido_lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentjido%2Fjido_lib/lists"}