[EPIC] Build standalone AgentProlog on prolog-rlm #12
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
security
testing
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/agentProlog#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mission
Build
lost-rob0t/agentPrologas the canonical AgentProlog coding-agent product on top of the reusablelost-rob0t/prolog-rlmruntime.Canonical repository boundary — 2026-08-31
Dependency direction is strictly
agentProlog -> prolog-rlm.The upstream architectural authority is
lost-rob0t/prolog-rlm#141. The previous in-repo product decision inprolog-rlm#184is superseded; #184 is now closed as moved downstream.Current repository truth
agentPrologis the product repository.prolog-rlm/agentProlog/product harness was already removed upstream by mergedprolog-rlm#187; do not plan around restoring it.prolog_agent_ui_v1protocol/facade semantics remain upstream inprolog-rlmand should be consumed rather than forked.Product responsibilities
AgentProlog owns:
Upstream responsibilities
Use/fix
prolog-rlmfor generic reusable behavior only:When AgentProlog needs a missing generic runtime seam, open a focused upstream issue instead of duplicating it downstream.
DSH direction
Use official DeepSeek Harness as the workspace/presentation shell through an out-of-tree AgentProlog integration. DSH must not own a second provider, context compiler, tool runtime, history authority, planner, verifier, capability system, or effect ledger.
Current implementation track: #7 / PR #8.
Coding-agent target
One authoritative product workflow should eventually cover:
The same workflow should serve headless mode and interactive frontends.
Near-term priorities
prolog-rlmand AgentProlog itself.Non-goals
prolog-rlm;This issue is the canonical AgentProlog product epic.
Companion upstream runtime epic: lost-rob0t/prolog-rlm#141. When this loop encounters a missing generic runtime contract, work/cross-link #141 rather than implementing a downstream duplicate.
prolog-rlmis the flake/SWI-pack dependency;rlm_tool_loaderis only for concrete tool packs;config.prologis configuration/customization, not package embedding.New deferred research child: #2 defines an AgentProlog DeepSeek Harness/Cordis evolutionary plugin with thin TypeScript↔Prolog glue. Generic evolutionary-search mechanics live in companion lost-rob0t/prolog-rlm#142 as a reusable library usable with RLM. This is IDEA/WAIT research, not active migration scope yet.
Worker A progress: opened #4 for the first standalone flake-native packaging slice. It consumes
prolog-rlmstrictly as a flake/SWI runtime dependency, adds package/app/devShell/check outputs plus CI, and records an ownership-first migration matrix. The branch deliberately does not vendor/copy core or touch the legacy nested harness. Current blocker is upstream and concrete:prolog-rlm/mainhaspack.plbut noflake.nix/packages.${system}.default, so #4 stays draft until #141 lands that public package output and exact-head CI can go green. Upstream #144 separately owns the first-class subagent + terse-KB command binding, so this worker did not duplicate it downstream.Upstream packaging is now active in
prolog-rlmPR #145. It exposes the expectedpackages.${system}.default/prolog-rlmoutputs, packages the existing SWI pack, addsSWIPL_PACK_PATHintegration, and verifieslibrary(rlm)from outside the checkout. Keep AgentProlog PR #4 draft until #145's exact-head Nix + core CI are green and the upstream flake is locked; then refresh the downstream lock and re-run its clean runtime-load/app checks. #144 remains separately owned by the subagent/prompt worker.Hey GPT-5.6 here. Worker A recovery completed: PR #4 is now exact-head green on CI at
2eea5335bc8a8089bda70d81f021c5cd2f2ee1d6, mergeable, and had zero unresolved review threads. The downstream load defect was repaired by using upstream's packagedprolog-rlm-swiplwrapper soSWIPL_PACK_PATHreaches SWI outside the checkout. I promoted #4 and squash-merged it with expected-head protection as57496fb224712e9ab722be39f4892cda1199e36a.Standalone AgentProlog now has the merged flake-native package/app/devShell/check baseline consuming merged Prolog-RLM rather than copied core. Next non-conflicting #1 slice is the headless Spec -> Plan -> Execute -> Verify/public-runtime conformance path plus migration of reusable protocol/workflow fixtures; upstream owns unresolved->subagent delegation semantics and downstream must only consume/render that public contract.
Hey GPT-5.6 here. Worker A continued immediately after merged #4 and opened draft #5 for the headless public-runtime conformance slice. It adds a thin downstream
agentprolog_headlesscomposition over upstreamrlm_spec+rlm_spec_workflow, preserving Frozen Spec identity through Plan/Execute/Verify and adding a negative check that failed verification is not reported as passed. The new conformance is wired intonix flake checkthrough the packaged upstream SWI wrapper. No scheduler/authority/effect/verifier/subagent logic was duplicated downstream, and the legacy nested harness remains untouched. Exact-head CI has not appeared yet, so #5 remains draft pending real green evidence.New frontend/platform epic: #undefined — AgentProlog Workbench adds a full desktop UI, shared Android port, and safe Termux-backed local runtime while preserving the canonical
agentProlog -> prolog-rlmboundary andprolog_agent_ui_v1authority.