Implement Prolog-owned automatic SKILL.md activation #117
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#117
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?
Goal
Implement the first skill side of the symbolic prompt compiler so Prolog, not the model, automatically selects relevant skills and injects only their instructions into the model-visible planner context.
Related: #101 prompt-compiler accounting follow-up and
research/RLM-RESEARCH-010-symbolic-prompt-compiler.org.Runtime invariant
The model never receives a skill-selection tool or a flat skill catalog and never decides which skill to activate. Trusted host/user/runtime signals are compiled by Prolog into selected skill units. Skill activation does not grant tool capabilities or authority.
Slice
SKILL.mdloader;name,description, explicit-user-only /disable-model-invocation) while treating Markdown bodies as inert instruction data;rlm_completionplanner context automatically;skillscollection as a third-party skill distribution with upstream license/provenance and README thanks;Non-goals
Skill(...)tool;needs(skill(...))authority path;Acceptance
do not use Xsuppresses ordinary lexical activation of X;RAGE/design dependency update: #173 now freezes the standard-compatible
SKILL.md-> normalized Prolog IR + internal skill graph contract. Loader implementation here should consume #173 rather than define another format. Key decisions: ordinary standard Agent Skills remain valid; canonical Prolog enrichment lives in string-valuedmetadata.prolog-rlmJSON (not a required top-levelprolog:block); recognized Claude/OpenCode variants are import adapters;allowed-toolsnever grants runtime authority; graph edges derive from normalized metadata only; host owns provenance, precedence, fingerprint, authority, provider visibility, and mandatory-context policy. No coding performed in this RAGE slice.ADARD reconciliation: #183 is now the decision record for default/permanent RLM skills. Per #173, keep this issue's SKILL.md loader/package/security/resource work, but do not preserve a second independent skill routing/scoring/packing engine. Normalize loaded skills into
prompt_unit{unit:skill(...), ...}and let the existingrlm_prompt_compilerown activation, dependency closure, packing, explanations, and provider projection. Permanent/mandatory/provider-visible policy is host-owned, not SKILL.md-authored. No code was performed in the ADARD slice.Completed through replacement PR #197. The linear candidate passed all exact-head checks and merged to
mainasb82b975d9ba86c4bd8443aaafe43d15af4cfe88c; issue #117 is now closed as completed.