Deterministic package-map inference engine for Logion.
Project description
logion-skillmap
Deterministic package-map inference engine for Logion.
This package depends on PyYAML as its
single runtime dependency. It infers a PackageMap from repository trees
by checking for:
- An explicit
logion-package-map.yamlat the repo root (author map). - A
.claude-plugin/plugin.jsonor.claude-plugin/marketplace.jsonmanifest (plugin manifest). SKILL.md/skill.mdfiles (skill scan).
Installation
pip install logion-skillmap
Package map schema
The map is nested (package + components); capabilities is a mapping
keyed by capability name:
version: 1
package:
slug: my-package
components:
capabilities:
pr-review:
entrypoint: skills/pr-review/SKILL.md
capabilities_manifest: skills/pr-review/course/capabilities.yaml
dependencies:
- capability: diff-reading
reason: "delegates hunk parsing"
diff-reading:
entrypoint: skills/diff-reading/SKILL.md
runtime:
include: ["skills/**"]
entrypoint: skills/pr-review/SKILL.md
source:
include: ["src/**"]
exclude: ["**/node_modules/**"]
evals:
commands:
verify: "npm test" # stored, never executed by this package
Usage
from logion_skillmap import (
check_unknown_keys_raw,
infer,
parse_package_map,
validate_package_map,
)
# Parse an author-provided map (raises TypeError only for non-mapping YAML).
pm = parse_package_map(yaml_text)
# Validate: check_unknown_keys_raw needs the raw mapping; validate_package_map
# covers everything derivable from the parsed model. Both return MapWarnings.
import yaml
warnings = check_unknown_keys_raw(yaml.safe_load(yaml_text))
warnings += validate_package_map(pm)
# Or infer a map deterministically from a repository tree.
result = infer(tree_entries, read_blob_callback) # optional: slug=...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logion_skillmap-0.1.0.tar.gz.
File metadata
- Download URL: logion_skillmap-0.1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54d4d5c7239ce094ed72c74636ce697981860d30818c4c8ba2e75387cfd7ba80
|
|
| MD5 |
4afd1f3b022c941cad7e856685aaf693
|
|
| BLAKE2b-256 |
3476148dfa0f478b19d0eafe799ce893b8ff9722edd67b280e2126e8f97d80a0
|
Provenance
The following attestation bundles were made for logion_skillmap-0.1.0.tar.gz:
Publisher:
release-skillmap.yml on nicolasmelo1/logion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
logion_skillmap-0.1.0.tar.gz -
Subject digest:
54d4d5c7239ce094ed72c74636ce697981860d30818c4c8ba2e75387cfd7ba80 - Sigstore transparency entry: 2217891519
- Sigstore integration time:
-
Permalink:
nicolasmelo1/logion@3824c72c46eadcb15e81ef46c4c685a7d094f00f -
Branch / Tag:
refs/tags/logion-skillmap-v0.1.0 - Owner: https://github.com/nicolasmelo1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-skillmap.yml@3824c72c46eadcb15e81ef46c4c685a7d094f00f -
Trigger Event:
push
-
Statement type:
File details
Details for the file logion_skillmap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: logion_skillmap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b64ebd4af75d76991e8da9a97daac4d38fbfbc4af4c33ac839136c71c3ff0c14
|
|
| MD5 |
ae318672b41e63e95a8569fb7bfcb237
|
|
| BLAKE2b-256 |
4769f82d0f3a753a46f9bf14002e3806acbd9f48a19705080ca2d92a0cecc61b
|
Provenance
The following attestation bundles were made for logion_skillmap-0.1.0-py3-none-any.whl:
Publisher:
release-skillmap.yml on nicolasmelo1/logion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
logion_skillmap-0.1.0-py3-none-any.whl -
Subject digest:
b64ebd4af75d76991e8da9a97daac4d38fbfbc4af4c33ac839136c71c3ff0c14 - Sigstore transparency entry: 2217891588
- Sigstore integration time:
-
Permalink:
nicolasmelo1/logion@3824c72c46eadcb15e81ef46c4c685a7d094f00f -
Branch / Tag:
refs/tags/logion-skillmap-v0.1.0 - Owner: https://github.com/nicolasmelo1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-skillmap.yml@3824c72c46eadcb15e81ef46c4c685a7d094f00f -
Trigger Event:
push
-
Statement type: