author-durable-domain
Sub-skill of `compose-domain`. Writes the sandboxed Durable runtime artifacts selected by the parent artifact plan and returns pack-scoped graduation fragments. Generated agent paths use canonical run_agent_session; generated HITL paths preserve identity and recovery context. The parent compose-domain skill writes GRADUATION.md and graduate.sh.
- License 许可
- MIT
- 最近更新
- 2026-09-28
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- author-durable-domain
- audience
- design-time-only
- description
- Sub-skill of `compose-domain`. Writes the sandboxed Durable runtime artifacts selected by the parent artifact plan and returns pack-scoped graduation fragments. Generated agent paths use canonical run_agent_session; generated HITL paths preserve identity and recovery context. The parent compose-domain skill writes GRADUATION.md and graduate.sh.
- forbidden-runtime
- true
03 SKILL.md 正文
author-durable-domain
Generate the Durable artifacts selected by the parent compose-domain plan.
Do not derive a second architecture or graduation procedure.
Authority
Follow:
docs/superpowers/contracts/VERTICAL-BUILD-CONTRACT.md;- the parent
compose-domainpath table and artifact plan; - the current templates selected by that plan;
- canonical examples only when the parent or template names one.
The parent path table and artifact plan are authoritative.
Inputs
output_root- absolute sandbox run path.vertical- selected installed pack name.brief- validated current brief.artifact_plan- exact Step 2 artifact list, including phase kind, output path, and selected template.canonical_paths- only current examples named by the parent invocation.
Reject an input when an output escapes output_root, a phase kind is unknown,
a selected template is missing, or a planned path conflicts with another
artifact.
Outputs
Write only files named by artifact_plan. Return:
- the generated-file copy map;
- imports and registrations for the selected pack's
durable.py; - graph exports when graph artifacts are planned;
- selected-pack spawner registration;
- selected-pack domain declaration;
- selected-pack function membership.
These are pack-scoped graduation fragments. The parent compose-domain writes
GRADUATION.md and graduate.sh.
Procedure
Step 1 - Validate the plan
Validate all inputs before creating a file. Do not infer missing artifacts.
Step 2 - Read on demand
Read each selected template. Read only the canonical example needed to resolve a byte-shape not covered by the parent contract or template.
Step 3 - Generate planned runtime artifacts
Use the parent-selected template for every output:
kind: agentuses its planned segment by default;kind: graphuses its planned graph, executor, and in-graph validator;kind: deterministicuses only its planned deterministic artifacts;kind: hitladds no graph or agent executor;kind: sub_orchestratoradds no per-phase execution file.
Do not convert one phase kind into another.
Step 4 - Preserve execution truth
Every planned agent path calls canonical run_agent_session and forwards
workflow, orchestration, and phase provenance. Generate an in-graph executor
only for a planned kind: graph phase; a planned segment does not receive a
duplicate graph executor.
Generate only validators named by artifact_plan. Segment validation is a
Durable activity boundary; graph validation remains inside the planned graph.
Step 5 - Preserve identity and HITL recovery
Every checkpoint carries canonical workflow and orchestration identity. Every planned HITL suspend carries persona, external event, phase, and reconstructable decision context. Event names match the persona contract byte-for-byte.
Step 6 - Return graduation fragments
Return only fragments represented by artifact_plan. Every append fragment
uses the exact compose-domain sentinel format and is idempotent.
Global compatibility adapters, function_app.py, Blueprint inventory, global
simulator routes, and another vertical are never targets.
Self-check
- Generated paths exactly equal
artifact_plan. - No file escapes
output_root. - Agent paths use canonical
run_agent_session. - Planned validators use the parent-selected validation boundary.
- Workflow and orchestration identity are forwarded.
- HITL suspend payloads preserve recovery context.
- Pack-scoped fragments target only the selected pack's
durable.py,spawners.py,domains.py, andfunctions.py. - No placeholder or unplanned artifact remains.
If a check fails, report the failing artifact and stop. Fix the owning parent contract or template rather than inventing a local exception.
Forbidden
- Re-deriving the artifact list from the brief.
- Generating one graph per phase regardless of
kind. - Returning a global-registration fragment.
- Calling a model outside canonical
run_agent_session. - Writing
GRADUATION.md,graduate.sh, or a live-tree file. - Claiming success when a planned artifact or fragment is missing.
04 同仓库更多 Skills
proactive-customer-care
Proactively notifies and, where warranted, extends a small bounded goodwill gesture to a customer whose itinerary materially changed.
payment-exception
Resolves a failed balance payment by retrying it to complete the booking, or releasing the booking's inventory when retry is not viable.
hotel-supplier-recovery
Restores accommodation for a shortfall-hit hotel allotment by moving contracted rooms from a donor allotment with headroom, resolving the reported supplier shortfall.
holiday-sales-booking
暂无简介
flight-disruption-recovery
暂无简介
destination-operations
Dispatches a replacement resort transfer when an arrival is at risk, rebinding any travellers on the at-risk transfer to the replacement.