[CANONICAL] Standalone AgentProlog downstream product boundary #333
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#333
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?
Companion upstream boundary for
lost-rob0t/agentProlog#1.Canonical architecture — restored 2026-08-31
lost-rob0t/agentPrologis the AgentProlog product repository.lost-rob0t/prolog-rlmis the reusable, domain-neutral SWI-Prolog RLM runtime/library consumed by AgentProlog. Product code does not move back intoprolog-rlm.Dependency direction is strict:
agentProlog -> prolog-rlm. Never the reverse.Current repository truth
The old nested
prolog-rlm/agentProlog/product harness was removed on main by merged PR #187. The reusable renderer-independentprolog_agent_ui_v1protocol/facade, fixtures, and conformance semantics were retained in core/test paths. That cleanup is the intended state.The standalone product repository contains the current product-side work, including the persistent DSH/Prolog bridge substrate and the DSH AgentFactory implementation track (
lost-rob0t/agentProlog#7, PR #8).Ownership rule
Edit
prolog-rlmonly for missing or incorrect generic reusable runtime contracts: providers, prompt/context compilation, async/cancellation, agents/subagents, capability/authority/effects, managed conversations, Spec/Plan/Verify/repair, project/source knowledge primitives, MCP, tracing/usage, generic frontend protocol/facade behavior, and generic external-tool loader/runtime contracts.Implement product-specific behavior in
lost-rob0t/agentProlog: DSH/Cordis integration, AgentFactory, coding workflow composition, filesystem/Git/process/test packs, product config/defaults, frontend/editor UX, and product-specific skill/evolution integrations.If AgentProlog exposes a missing generic seam, fix it upstream with a focused issue rather than duplicating runtime behavior downstream.
Frontend boundary
prolog_agent_ui_v1remains generic core protocol infrastructure. AgentProlog/DSH consumes that public boundary. Frontends must not become a second provider, tool runtime, authority system, history owner, planner, context compiler, or verifier.Current downstream authority
lost-rob0t/agentProlog#1— product epic.lost-rob0t/agentProlog#7— DSH AgentFactory integration.lost-rob0t/agentPrologPR #8 — current executable DSH AgentFactory slice.Superseded decisions
Do not reintroduce:
prolog-rlm;prolog-rlmPR #132 as an implementation base;This issue is the upstream architectural authority for the repository boundary. Product implementation authority lives in
lost-rob0t/agentProlog.New research child: #142 defines the reusable evolutionary-search library side. The paired downstream AgentProlog work is lost-rob0t/agentProlog#2, implemented as a DeepSeek Harness/Cordis plugin with a thin Prolog bridge. Keep generic evolution mechanics here; keep DeepSeek/product glue downstream.
Subagent/prompt audit on current
main(f21df8ea5bf89c85d0d516f170e1f157c553d800) found a real generic-runtime gap and is now tracked as #144.Executable truth:
rlm_agentalready supplies supervised spawn, capability/authority narrowing, bounded mailboxes/workers, cancellation propagation and traces;rlm_planroutesspawn_agentthrough the ordinary tool boundary;rlm_completionsupplies bounded recursive model calls. Butspawn_agentonly yields a child handle, not a bounded RLM subagent result/evidence envelope, and there is no canonical unknown/unresolved -> delegate -> resume/replan path. Successful child result correlation is likewise not an end-to-end first-class fallback contract.Prompt compiler truth: the substantial compiler is still on diverged
agent/prompt-context-compiler(18 ahead / 14 behind current main). It already has bounded deterministic capability/context selection, but no typed KB short-prompt -> loop-command binding that resolvesunknown -> delegateto the RLM subagent tool. #144 scopes the smallest coherent upstream slice and explicitly avoids #122/#125/#132 surfaces and any AgentProlog-specific TypeScript behavior.OLD HARNESS REMOVAL GATE — LIFTED
The user has now explicitly authorized cleaning the repository first by removing the old harnesses.
This supersedes the previous
DO NOT REMOVE prolog-rlm/agentProlog/ yetgate in this issue.Cleanup is tracked in #186. The required behavior is:
prolog-rlm;prolog-rlmruntime-only and downstream-consumable;No future worker should treat the old removal gate as active.
Architecture update — 2026-08-27
The current operator direction supersedes the earlier standalone-product repository boundary in this issue.
AgentProlog now belongs in the
prolog-rlmrepository as a separately packaged application layer whileprolog/remains an independently consumable library.Canonical dependency direction:
Rules:
packages.defaultstays the reusableprolog-rlmlibrary;prolog/;Treat earlier “standalone
lost-rob0t/agentPrologonly” prose as historical, not the current repository boundary.