feat(skills): add skill-local safe_mode and resource classification #161
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
#162 feat(skills): expose assets and gated non-standard resources through the skill tool
cleveragents/cleveractors-core
#163 feat(skills): execute skill scripts behind the double-safety gate
cleveragents/cleveractors-core
#165 feat(skills): pack assets, scripts, non-standard folders, and safe_mode into skill packages
cleveragents/cleveractors-core
#164 docs(spec): document skill safe_mode, resource taxonomy, and script execution gate
cleveragents/cleveractors-core
#166 feat(skills): add skill-local safe_mode and resource classification
cleveragents/cleveractors-core
Reference
cleveragents/cleveractors-core#161
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): add skill-local safe_mode and resource classificationfeature/m1-skill-safe-mode-resource-classificationBackground and context
ADR-2034 D-8 and D-9 extend the Skill Package Schema. The current
cleveractors.agents.skill_schemamodule validates the original fields and ageneric
resourcesmapping but knows nothing about a skill-local safety switchor about the standard directory classes. Without this foundation the loader and
the skill tool cannot enforce the new policy.
Current behavior
Skillhas nosafe_modefield.SkillValidatoraccepts any well-formed relative resource path and does notclassify it.
SkillLoaderstores only a flat path-to-resource mapping.their Package ID.
Expected behavior
safe_modewith defaulttrue.safe_moderaises the existing registryValidationError.true;safe_mode: falseisretained through validation and is part of the content-addressed identity.
references/,assets/,scripts/, non-standard top-level directory, orroot-level file.
skill catalogue so the skill tool can enforce D-8/D-10 without re-parsing
paths.
Acceptance criteria
safe_modevalidates with effectivesafe_mode: trueand an unchanged Package ID.safe_mode: falsevalidates and produces a differentPackage ID from the same document without the field.
safe_modefails validation.references/REFERENCE.mdclassifies as reference,assets/logo.pngas asset,scripts/run.pyas script,fixtures/sample.pdfas non-standard, andLICENSE.txtas root file.Scripts/run.pyis non-standard.scenario verifies the loaded catalogue exposes the class and safety state.
nox -s coverage_report.Supporting information
safe_mode)cleveractors.agents.skill_schema,cleveractors.agents.skillsfeatures/agent_skills.feature,features/steps/agent_skills_steps.py,robot/agent_skills.robotSubtasks
safe_modetoSkillandSkillValidatorwith canonical absencesafe_modethroughSkillLoader's cataloguesafe_modevalidation and each resource classnox -s coverage_reportnox(all default sessions), fix any errorsDefinition of Done
This issue is complete when:
Metadata exactly.
master, reviewed, and merged.