Add Prolog-owned automatic skill activation (linear replacement) #197
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/prolog-rlm!197
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/117-prolog-skill-activation-linear"
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 #117.
This is the linear-history replacement for #122. It carries the same reviewed
tree as #122 at
7840e7a8a9f1dc784eb9592f572133a94154cc8a; #122 remains openbecause the repository QA ruleset permits rebase merges only and its history
contains merge commits.
Runtime invariant
SKILL.mdis confined inert package data. It normalizes into the existingprompt_unit{unit:skill(...)}IR; the onerlm_prompt_compilerowns routing,dependency closure, conflicts, packing, explanations, and fingerprints. Skill
content never grants capabilities, authority, handlers, or execution rights.
What changed
SKILL.mddiscovery and a closedmetadata.prolog-rlmJSON adapter;disable-model-invocationcompatibility without treatingpackage metadata as host policy;
resources, oversized files/catalogs, excessive depth, and excessive visited
entries;
skill_compile/4selector, prompt renderer, andcompletion predicate wrapper from the old branch;
activation:alwaystorlm_prompt_compiler, outsidecandidate limits and resistant to user-text negation;
errors while preserving trusted host denial;
rlm-operate,rlm-recurse,rlm-facts, andrlm-constraints;planner request, reused without duplication across planner retries;
closed on unknown or rejected explicit skills;
llm_query/3unchanged;catalog rather than ambient core behavior.
Host policy boundary
Only trusted host options may assign
activation(always), mandatory context,provider visibility, availability overrides, or capability requirements.
Natural-language instructions and package-authored metadata cannot pin, unpin,
authorize, or execute a skill.
Verification
git diff --check.GitHub Actions on exact head
563d298f291840e295431ef093b16a8c61024703is the authoritative merge gate.
Non-goals and follow-up
observability;
compaction reconstitution;
request evidence.