feat(logic): add SWI-Prolog MQI worker adapter #46
No reviewers
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/star-lang!46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/swi-mqi-worker-adapter"
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?
Closes #45.
Implements STAR-LANG-011 Slice 1 only: the final Common Lisp SWI-Prolog MQI worker boundary.
Implemented
star-logic-adapter-swiASDF system, independent ofstarlang-prototypeswiplexecutable ownership with resolved path, version triplet, and SHA-256 executablebackendBuildIdstar-process-port, including proper finite argv validation, separate stdout/stderr, termination escalation, and unconditional reap/disposalopen-logic-session,close-logic-session, andlogic-backend-healthflake.lockReal SWI MQI adapterGitHub Actions gatenc/socat, caller-loadable Prolog files, arbitrarycall/1, and SWI leakage intostar-process-portVerified real runtime evidence
Latest verified head:
deea9e1b0092261da12d9895ac63bd31a52ad27e.10.0.2/nix/store/976km9j9ibslx8pm0bl72ga9n3amwbq4-swi-prolog-10.0.2/lib/swipl/bin/x86_64-linux/swiplbackendBuildId:sha256:5a6ea44930fbe8f63f2e97f9f7f4f7adf33614b633e6d7a3f04bd9d9962efc641.0star-process-port: 4/4 checks green-f none -F none --no-packs --no-pce mqi --write_connection_values=true --pending_connections=1Latest-head GitHub workflows:
star-lang CI— greenstar-lang Nix— greenSWI logic adapter— greenstar-lang logic IR— greenstar-lang verification certificate— greenNot implemented
solve,solutions, orexists?Capability honesty
The descriptor intentionally advertises no semantic profiles and no semantic capabilities. It identifies
backendId = swi-prolog, exact engine/build metadata, andisolation = process, but remains ineligible for general:autosemantic selection until later fixture-backed conformance slices.Trust boundary
The portable/public package exports no arbitrary Prolog execution API. Caller-controlled Prolog source, native predicate indicators, arbitrary
call/1, and caller-selectedconsult/load_filespaths remain outside the contract. The only native package load in this slice is the adapter-private, repository-owned, digest-locked bootstrap.Design authority: STAR-LANG-007, approved STAR-LANG-009, and STAR-LANG-011 Slice 1.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.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.