feat(skills): pack assets, scripts, non-standard folders, and safe_mode into skill packages #165
Labels
No labels
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#160 Epic: Agent Skills — Full Resource Support and Safe Execution
cleveragents/cleveractors-core
#161 feat(skills): add skill-local safe_mode and resource classification
cleveragents/cleveractors-core
Reference
cleveragents/cleveractors-core#165
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?
Metadata
feat(skills): pack assets, scripts, non-standard folders, and safe_mode into skill packagesfeature/m1-skill-directory-packingBackground and context
ADR-2034 D-1/D-2 define a skill package as one content-addressed YAML mapping,
and D-6 identified directory-to-package packing as required follow-up tooling.
The revision adds assets, scripts, non-standard folders, and the skill-local
safe_modefield. Today there is nopack_skill_directoryutility, so anauthorskills.io-style directory cannot be published as a
pkg_skl_packagewithout hand-writing the mapping.
Current behavior
local:skill references require a pre-built single.yaml/.ymlfile.folders in a package, and no rule for emitting
safe_mode.Expected behavior
pack_skill_directoryutility (or an equivalentLocalPackageStoreextension) that reads an on-disk skill directory andproduces a Skill Package mapping.
references/,assets/,scripts/, and non-standard foldersrecursively; normalize keys to relative POSIX paths with no
./..segments or leading slash.
encoding: utf-8; store non-UTF-8 filesas base64 with
encoding: base64.SKILL.mdfrontmatter into the schema fields and the body intoinstructions.safe_modeonly when it is explicitlyfalse; omit it when true so thecanonical default and existing Package IDs are preserved.
SkillValidatorandcompute the Package ID through the existing canonicalizer.
SKILL.md, invalid frontmatter, a namethat does not match the directory name, invalid resource paths, or invalid
base64/UTF-8 classification.
Acceptance criteria
SKILL.md,references/,assets/,scripts/, anda non-standard folder produces a mapping that validates successfully.
pkg_skl_Package ID.base64.
safe_modein its source produces a mapping without the field;an explicit
safe_mode: falseis preserved and changes the Package ID.SKILL.mdname does not match thedirectory name.
safe_modeemission rule; a Robot integration scenario publishes a packedskill through a
local:or mocked registry reference and loads it.nox -s coverage_report.Supporting information
cleveractors.agents.skill_schema,cleveractors.registry.local_store,cleveractors.registry.canonicalSubtasks
pack_skill_directorywith frontmatter/body parsingnox -s coverage_reportnox(all default sessions), fix any errorsDefinition of Done
This issue is complete when:
Metadata exactly.
master, reviewed, and merged.