[P0] Bootstrap SWI-Prolog project structure, tests, and CI #4

Closed
opened 2026-08-12 01:17:34 +00:00 by lost-rob0t · 0 comments
lost-rob0t commented 2026-08-12 01:17:34 +00:00 (Migrated from github.com)

Goal

Create the executable SWI-Prolog foundation for the runtime described in the merged research.

Scope

  • choose/document supported SWI-Prolog baseline;
  • add module/package layout for rlm, rlm_chain, rlm_agent, rlm_graph, and rlm_mcp;
  • add PlUnit test layout and fixtures;
  • add deterministic fake-provider test support only as a test double;
  • add formatting/static-load checks;
  • add GitHub Actions CI that loads all modules and runs unit tests;
  • document local test commands.

Acceptance criteria

  • swipl can load the project from a clean checkout;
  • one trivial PlUnit test runs in CI;
  • CI fails on syntax/load errors;
  • fake provider code is isolated under test/support code and is not the default runtime backend;
  • README points to the actual executable entrypoint.

Dependency

Parent: #3

Research

Foundation for RLM-RESEARCH-002-agentic-harness.org and the P0 runtime in TODO.md.

## Goal Create the executable SWI-Prolog foundation for the runtime described in the merged research. ## Scope - choose/document supported SWI-Prolog baseline; - add module/package layout for `rlm`, `rlm_chain`, `rlm_agent`, `rlm_graph`, and `rlm_mcp`; - add PlUnit test layout and fixtures; - add deterministic fake-provider test support only as a test double; - add formatting/static-load checks; - add GitHub Actions CI that loads all modules and runs unit tests; - document local test commands. ## Acceptance criteria - `swipl` can load the project from a clean checkout; - one trivial PlUnit test runs in CI; - CI fails on syntax/load errors; - fake provider code is isolated under test/support code and is not the default runtime backend; - README points to the actual executable entrypoint. ## Dependency Parent: #3 ## Research Foundation for `RLM-RESEARCH-002-agentic-harness.org` and the P0 runtime in `TODO.md`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/prolog-rlm#4
No description provided.