feat: bridge Agent Zero to prolog-rlm #1

Open
lost-rob0t wants to merge 1 commit from feat/prolog-rlm-bridge into main
lost-rob0t commented 2026-08-22 07:48:29 +00:00 (Migrated from github.com)

What

Adds plugins/prolog_rlm, a structured Agent Zero bridge to the public prolog-rlm CLI.

Architecture

  • Agent Zero remains the orchestrator / external effect executor.
  • prolog-rlm handles bounded recursive reasoning via rlm ... --json.
  • The tool accepts structured query/context/provider options only.
  • No arbitrary Prolog goals, raw SWI flags, shell passthrough, or mutation authority.
  • Provider credentials remain environment-only.

Included

  • persistent setup/update checkout under /a0/usr/state/prolog_rlm/repo
  • status / reason Agent Zero tool
  • matching agent prompt
  • runtime argument validation and bounds
  • unit tests for the fixed CLI boundary and provider options
  • CI matrix expanded to cover both github_cli and prolog_rlm
  • README / plugin docs

Next slices

  1. selective lifecycle hook for automatic RLM consultation on complex/uncertain tasks
  2. typed effect proposals from RLM to Agent Zero
  3. exact RAGE-gated effect execution
  4. long-lived daemon/stdio transport when the prolog-rlm protocol is stable

This PR intentionally starts read/reason-only so the execution boundary is reviewable before wiring effects.

## What Adds `plugins/prolog_rlm`, a structured Agent Zero bridge to the public `prolog-rlm` CLI. ## Architecture - Agent Zero remains the orchestrator / external effect executor. - `prolog-rlm` handles bounded recursive reasoning via `rlm ... --json`. - The tool accepts structured query/context/provider options only. - No arbitrary Prolog goals, raw SWI flags, shell passthrough, or mutation authority. - Provider credentials remain environment-only. ## Included - persistent setup/update checkout under `/a0/usr/state/prolog_rlm/repo` - `status` / `reason` Agent Zero tool - matching agent prompt - runtime argument validation and bounds - unit tests for the fixed CLI boundary and provider options - CI matrix expanded to cover both `github_cli` and `prolog_rlm` - README / plugin docs ## Next slices 1. selective lifecycle hook for automatic RLM consultation on complex/uncertain tasks 2. typed effect proposals from RLM to Agent Zero 3. exact RAGE-gated effect execution 4. long-lived daemon/stdio transport when the prolog-rlm protocol is stable This PR intentionally starts read/reason-only so the execution boundary is reviewable before wiring effects.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/prolog-rlm-bridge:feat/prolog-rlm-bridge
git switch feat/prolog-rlm-bridge

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/prolog-rlm-bridge
git switch feat/prolog-rlm-bridge
git rebase main
git switch main
git merge --ff-only feat/prolog-rlm-bridge
git switch feat/prolog-rlm-bridge
git rebase main
git switch main
git merge --no-ff feat/prolog-rlm-bridge
git switch main
git merge --squash feat/prolog-rlm-bridge
git switch main
git merge --ff-only feat/prolog-rlm-bridge
git switch main
git merge feat/prolog-rlm-bridge
git push origin main
Sign in to join this conversation.
No description provided.