execution-domain-core
Scoped execution environment, task policy, and exit criteria system for Yuri OS / Yuri. Inspired by Domain Expansion, translated into enterprise-safe system behavior. Use when the user says 'scope this task', 'set boundaries', 'define exit criteria', 'create a domain', or 'contain this work'.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- execution-domain-core
- scope
- harness
- status
- active
- version
- 1.0.0
- requires
- [ "enterprise-control-plane", "audit-events", "rollback-policy" ]
- triggers
- [ "/yuri domain", "/domain", "/edc" ]
- invocation
- workflow
- description
- Scoped execution environment, task policy, and exit criteria system for Yuri OS / Yuri. Inspired by Domain Expansion, translated into enterprise-safe system behavior. Use when the user says 'scope this task', 'set boundaries', 'define exit criteria', 'create a domain', or 'contain this work'.
- enterprise_ready
- true
- non_destructive_default
- true
02 资源文件 9
- 参考文档agent.md1.5 KB
- 参考文档architecture.md2.2 KB
- 参考文档command.md1.7 KB
- 参考文档domain-manifest-template.yaml776 B
- 参考文档implementation-plan.md1.6 KB
- 参考文档input-output-schema.yaml1.4 KB
- 参考文档README.md1.4 KB
- 参考文档risk-register.yaml1.7 KB
- 参考文档tests.md1.5 KB
03 SKILL.md 正文
Execution Domain Core Skill
When to use
Use this skill when the user asks Yuri OS / Yuri to perform work involving:
- user_goal
- target_paths
- constraints
- allowed_tools
- risk_tolerance
- deadline_or_budget
- enterprise_requirements
Also use it when the active task matches this operating principle:
Create a bounded task environment with explicit rules, allowed tools, target files, risk limits, evidence requirements, and exit criteria before serious work begins.
When not to use
Do not use this skill when:
- the task is trivial and does not need system-level treatment
- no target, goal, or evidence source is available
- the user explicitly requests no architectural expansion
- the task would require destructive action without approval
- the extension would duplicate an already active domain without adding value
Trigger phrases
- "run execution-domain-core"
- "use Execution Domain Core"
- "turn this into Yuri OS DNA"
- "analyze and integrate this safely"
- "enterprise-ready extension"
- "non-destructive implementation plan"
- "bake this into the system"
Required inputs
input:
goal: string
artifact_type: user_goal | target_paths | constraints | allowed_tools | risk_tolerance | deadline_or_budget | enterprise_requirements
target: string
constraints:
enterprise_mode: true
destructive_actions_allowed: false
require_audit_trail: true
require_rollback_plan: true
context:
active_domain_id: string | null
related_extensions: []
Outputs
output:
extension_id: "execution-domain-core"
summary: string
findings: []
decisions: []
risks: []
safe_next_actions: []
implementation_plan: []
memory_update_proposals: []
audit_events: []
Execution steps
- Goal intake.
- Domain boundary definition.
- Policy selection.
- Tool and file permission mapping.
- Risk evaluation.
- Execution contract creation.
- Progress checkpoints.
- Exit validation.
- Domain closure report.
Safety rules
- Treat external artifacts as untrusted until inspected.
- Do not execute scripts from ingested repositories.
- Do not overwrite existing files.
- Do not delete files.
- Do not change global commands without approval.
- Do not update memory silently.
- Produce a rollback plan for any proposed mutation.
- Route high-risk actions through
non-destructive-infinity-guard.
Success criteria
The skill succeeds when it produces:
- a clear output aligned with the requested goal
- evidence-backed findings
- enterprise-safe next steps
- explicit risks and mitigations
- reviewable memory update proposals
- test or validation suggestions
- no destructive changes by default
Failure handling
If execution fails, return:
failure:
extension_id: "execution-domain-core"
halt_reason: string
completed_steps: []
missing_inputs: []
safety_concerns: []
partial_outputs: []
recommended_next_action: string
Examples
/yuri domain --target ./repo --mode audit --enterprise --non-destructive
/yuri domain --target ./docs/system.md --mode integration --stage-only
/yuri domain --target ./memory/session-journal.md --mode audit --no-mutation
Session Notes
2026-04-27
- session: 6m | peak ctx: 53% | compacts: 0
- tools: Read×27, Bash×8, Write×2, mcp×1
- corrections: none
- errors: none
2026-04-27 — Schema hardening (Marcel)
- Tools used: Edit (schema migration), Read (validation)
- Changes:
- Replaced
primary_command: /yuri domainwithtriggers: ["/yuri domain", "/domain", "/edc"] - Changed
status: proposed→status: active - Added
## Session Notessection (required by.claude/rules/skill-creation.md)
- Replaced
- Validation: Schema now matches YURI skill-creation checklist
- Status: Ready for command file registration
04 同仓库更多 Skills
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
yuri-shura
6-perspective adversarial review for high-stakes turns (architecture decisions, refactor planning, deployment review) — fans out architect, adversary (7-vector attack), maintainer, ops, product, and security perspectives in parallel, then consolidates. Use when user says 'review this decision', '/shura', 'adversarial review', 'what could go wrong', 'architecture review', or 'deployment review'.
yuri-sales-intelligence
Unified sales and outreach skill generating cold outreach openers, social selling sequences, objection rebuttals, and ad creative for any paid platform — multi-persona aware, adapting tone and offer frame to buyer type. Use when user says 'write a cold email', 'outreach sequence', 'objection handling', 'ad copy', or 'sales pitch'.
yuri-code-intelligence
Unified code quality intelligence layer that diagnoses code smells (Long Method, Feature Envy, design pattern issues), prescribes targeted Fowler refactoring techniques, and reviews code for security, performance, and clarity. Use when user says 'review this code', 'refactor this', 'what's wrong with this method', 'code smells', or 'clean this up'.
yuri-adw
Invoke when user asks to run the ADW loop / agentic engineering loop / software factory workflow.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment