@danmoisan/drm-copilot-mcp 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/mcp-server.js +13347 -7926
- package/package.json +1 -1
- package/resources/claude-customizations/.claude/agents/discovery-capability-sentinel.md +34 -0
- package/resources/claude-customizations/.claude/agents/legacy-parity-analyst.md +101 -43
- package/resources/claude-customizations/.claude/agents/migration-coverage-reviewer.md +107 -43
- package/resources/claude-customizations/.claude/agents/parallel-orchestrator.md +14 -0
- package/resources/claude-customizations/.claude/agents/parallel-planner.md +21 -1
- package/resources/claude-customizations/.claude/agents/pr-author.md +17 -1
- package/resources/claude-customizations/.claude/agents/requirements-reconciler.md +117 -42
- package/resources/claude-customizations/.claude/agents/runtime-characterization-analyst.md +103 -43
- package/resources/claude-customizations/.claude/hooks/discovery-capability-probe.ps1 +102 -0
- package/resources/claude-customizations/.claude/hooks/enforce-discovery-artifact-gate.ps1 +69 -194
- package/resources/claude-customizations/.claude/hooks/enforce-discovery-planning-gate.ps1 +87 -0
- package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/enforce-model-routing-receipt.ps1 +6 -3
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1 +168 -48
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate.ps1 +1 -1
- package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +59 -20
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-command-allowlist.ps1 +44 -3
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill-helpers.ps1 +60 -4
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.epic-base-branch.ps1 +4 -2
- package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +59 -20
- package/resources/claude-customizations/.claude/hooks/record-discovery-agent-start.ps1 +132 -0
- package/resources/claude-customizations/.claude/hooks/validate-discovery-artifact-gate.ps1 +56 -212
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output-rejection.ps1 +172 -0
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +9 -1
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadius.psm1 +9 -3
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusAggregate.psm1 +154 -0
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusCombination.psm1 +228 -0
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusExtraction.psm1 +1 -0
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusNormalization.psm1 +4 -2
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusScheduling.psm1 +63 -16
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusTokenShape.psm1 +56 -1
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusWriteIntent.psm1 +4 -1
- package/resources/claude-customizations/.claude/lib/codex-routing/CodexDeployment.psm1 +5 -1
- package/resources/claude-customizations/.claude/lib/codex-routing/CodexDiscoveryRouting.psm1 +161 -0
- package/resources/claude-customizations/.claude/lib/codex-routing/CodexTopology.psm1 +25 -2
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryAuthority.psd1 +90 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryAuthority.psm1 +493 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryAuthorization.psm1 +479 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryCapability.psm1 +468 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryEncoding.psm1 +156 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryManifest.psm1 +384 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryObservation.psm1 +217 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryPayload.psm1 +276 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryPlanning.psm1 +336 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryRootGrant.psm1 +164 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryStart.psm1 +440 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryStartRecord.psm1 +296 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryStop.psm1 +336 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryToolRouting.psm1 +228 -0
- package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryValidation.psm1 +188 -341
- package/resources/claude-customizations/.claude/lib/worktree-resolution/HookTargetWorktree.psm1 +391 -0
- package/resources/claude-customizations/.claude/rules/orchestrator-state.md +1 -0
- package/resources/claude-customizations/.claude/rules/parallel-orchestration.md +150 -18
- package/resources/claude-customizations/.claude/settings.json +32 -3
- package/resources/claude-customizations/.claude/skills/adjudicate-unspecified-behavior/SKILL.md +135 -0
- package/resources/claude-customizations/.claude/skills/characterize-runtime-behavior/SKILL.md +134 -0
- package/resources/claude-customizations/.claude/skills/discovery-behavior-reconciliation/SKILL.md +28 -47
- package/resources/claude-customizations/.claude/skills/discovery-coverage-ledger/SKILL.md +32 -48
- package/resources/claude-customizations/.claude/skills/discovery-parity-matrix/SKILL.md +28 -45
- package/resources/claude-customizations/.claude/skills/discovery-repo-inventory/SKILL.md +28 -62
- package/resources/claude-customizations/.claude/skills/discovery-runtime-characterization/SKILL.md +28 -45
- package/resources/claude-customizations/.claude/skills/discovery-validate-artifacts/SKILL.md +28 -61
- package/resources/claude-customizations/.claude/skills/discovery-workflow/SKILL.md +55 -139
- package/resources/claude-customizations/.claude/skills/execution-environment/SKILL.md +24 -9
- package/resources/claude-customizations/.claude/skills/extract-feature-contract/SKILL.md +133 -0
- package/resources/claude-customizations/.claude/skills/generate-acceptance-scenarios/SKILL.md +132 -0
- package/resources/claude-customizations/.claude/skills/initialize-discovery-workspace/SKILL.md +131 -0
- package/resources/claude-customizations/.claude/skills/inventory-legacy-system/SKILL.md +131 -0
- package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +5 -4
- package/resources/claude-customizations/.claude/skills/parallel-add/SKILL.md +21 -1
- package/resources/claude-customizations/.claude/skills/parallel-close/SKILL.md +11 -1
- package/resources/claude-customizations/.claude/skills/parallel-orchestrate/SKILL.md +34 -0
- package/resources/claude-customizations/.claude/skills/parallel-plan/SKILL.md +69 -6
- package/resources/claude-customizations/.claude/skills/parallel-remove/SKILL.md +15 -0
- package/resources/claude-customizations/.claude/skills/parallel-run/SKILL.md +6 -0
- package/resources/claude-customizations/.claude/skills/pr-author/SKILL.md +21 -4
- package/resources/claude-customizations/.claude/skills/reconcile-parity-matrix/SKILL.md +131 -0
- package/resources/claude-customizations/.claude/skills/review-discovery-coverage/SKILL.md +129 -0
- package/resources/claude-customizations/.claude/skills/validate-discovery-artifacts/SKILL.md +127 -0
- package/resources/claude-customizations/config/blast-radius.json +6 -5
- package/resources/claude-customizations/config/orchestration-routing.json +61 -1
- package/resources/claude-customizations/pack-manifests/core.json +33 -1
- package/resources/codex-and-agents-customizations/.agents/skills/adjudicate-unspecified-behavior/SKILL.md +135 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +7 -0
- package/resources/codex-and-agents-customizations/.agents/skills/characterize-runtime-behavior/SKILL.md +134 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-behavior-reconciliation/SKILL.md +46 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-coverage-ledger/SKILL.md +50 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-parity-matrix/SKILL.md +46 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-repo-inventory/SKILL.md +46 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-runtime-characterization/SKILL.md +46 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-validate-artifacts/SKILL.md +46 -0
- package/resources/codex-and-agents-customizations/.agents/skills/discovery-workflow/SKILL.md +62 -0
- package/resources/codex-and-agents-customizations/.agents/skills/execution-environment/SKILL.md +24 -9
- package/resources/codex-and-agents-customizations/.agents/skills/extract-feature-contract/SKILL.md +133 -0
- package/resources/codex-and-agents-customizations/.agents/skills/generate-acceptance-scenarios/SKILL.md +132 -0
- package/resources/codex-and-agents-customizations/.agents/skills/initialize-discovery-workspace/SKILL.md +131 -0
- package/resources/codex-and-agents-customizations/.agents/skills/inventory-legacy-system/SKILL.md +131 -0
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +8 -0
- package/resources/codex-and-agents-customizations/.agents/skills/reconcile-parity-matrix/SKILL.md +131 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-discovery-coverage/SKILL.md +129 -0
- package/resources/codex-and-agents-customizations/.agents/skills/validate-discovery-artifacts/SKILL.md +127 -0
- package/resources/codex-and-agents-customizations/.codex/agents/discovery-capability-sentinel.toml +51 -0
- package/resources/codex-and-agents-customizations/.codex/agents/legacy-parity-analyst-c1.toml +148 -0
- package/resources/codex-and-agents-customizations/.codex/agents/legacy-parity-analyst-c2.toml +148 -0
- package/resources/codex-and-agents-customizations/.codex/agents/legacy-parity-analyst-c3-elevated.toml +148 -0
- package/resources/codex-and-agents-customizations/.codex/agents/legacy-parity-analyst-c3.toml +148 -0
- package/resources/codex-and-agents-customizations/.codex/agents/legacy-parity-analyst-c4.toml +148 -0
- package/resources/codex-and-agents-customizations/.codex/agents/legacy-parity-analyst.toml +148 -0
- package/resources/codex-and-agents-customizations/.codex/agents/migration-coverage-reviewer-c1.toml +154 -0
- package/resources/codex-and-agents-customizations/.codex/agents/migration-coverage-reviewer-c2.toml +154 -0
- package/resources/codex-and-agents-customizations/.codex/agents/migration-coverage-reviewer-c3-elevated.toml +154 -0
- package/resources/codex-and-agents-customizations/.codex/agents/migration-coverage-reviewer-c3.toml +154 -0
- package/resources/codex-and-agents-customizations/.codex/agents/migration-coverage-reviewer-c4.toml +154 -0
- package/resources/codex-and-agents-customizations/.codex/agents/migration-coverage-reviewer.toml +154 -0
- package/resources/codex-and-agents-customizations/.codex/agents/requirements-reconciler-c1.toml +164 -0
- package/resources/codex-and-agents-customizations/.codex/agents/requirements-reconciler-c2.toml +164 -0
- package/resources/codex-and-agents-customizations/.codex/agents/requirements-reconciler-c3-elevated.toml +164 -0
- package/resources/codex-and-agents-customizations/.codex/agents/requirements-reconciler-c3.toml +164 -0
- package/resources/codex-and-agents-customizations/.codex/agents/requirements-reconciler-c4.toml +164 -0
- package/resources/codex-and-agents-customizations/.codex/agents/requirements-reconciler.toml +164 -0
- package/resources/codex-and-agents-customizations/.codex/agents/runtime-characterization-analyst-c1.toml +150 -0
- package/resources/codex-and-agents-customizations/.codex/agents/runtime-characterization-analyst-c2.toml +150 -0
- package/resources/codex-and-agents-customizations/.codex/agents/runtime-characterization-analyst-c3-elevated.toml +150 -0
- package/resources/codex-and-agents-customizations/.codex/agents/runtime-characterization-analyst-c3.toml +150 -0
- package/resources/codex-and-agents-customizations/.codex/agents/runtime-characterization-analyst-c4.toml +150 -0
- package/resources/codex-and-agents-customizations/.codex/agents/runtime-characterization-analyst.toml +150 -0
- package/resources/codex-and-agents-customizations/.codex/config.toml +33 -3
- package/resources/codex-and-agents-customizations/.codex/hooks/codex-agent-profile-attestation.ps1 +22 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/discovery-capability-probe.ps1 +97 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/discovery-start-attestation.ps1 +171 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-codex-model-routing.ps1 +4 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-discovery-artifact-gate.ps1 +187 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-discovery-planning-gate.ps1 +149 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1 +239 -2
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate.ps1 +6 -15
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-powershell-batch-budget.ps1 +54 -15
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-python-batch-budget.ps1 +54 -15
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-target-worktree.ps1 +369 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/record-subagent-routing-attestation.ps1 +8 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-codex-subagent-routing.ps1 +22 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-discovery-agent-output.ps1 +178 -0
- package/resources/codex-and-agents-customizations/.codex/scripts/Resolve-CodexTopology.ps1 +11 -1
- package/resources/codex-and-agents-customizations/pack-manifests/core.json +63 -1
- package/resources/config/orchestration-routing.json +61 -1
- package/resources/customizations/.github/agents/discovery-capability-sentinel.agent.md +34 -0
- package/resources/customizations/.github/agents/legacy-parity-analyst.agent.md +122 -0
- package/resources/customizations/.github/agents/migration-coverage-reviewer.agent.md +128 -0
- package/resources/customizations/.github/agents/requirements-reconciler.agent.md +138 -0
- package/resources/customizations/.github/agents/runtime-characterization-analyst.agent.md +124 -0
- package/resources/customizations/.github/hooks/discovery-agent-start.ps1 +139 -0
- package/resources/customizations/.github/hooks/discovery-agent-stop.ps1 +123 -0
- package/resources/customizations/.github/hooks/discovery-capability-probe.ps1 +98 -0
- package/resources/customizations/.github/hooks/discovery-planning.ps1 +91 -0
- package/resources/customizations/.github/hooks/discovery-pre-tool.ps1 +123 -0
- package/resources/customizations/.github/hooks/discovery.json +35 -0
- package/resources/customizations/.github/instructions/mermaid.instructions.md +85 -0
- package/resources/customizations/.github/prompts/execute-hard-lock.prompt.md +105 -0
- package/resources/customizations/.github/skills/adjudicate-unspecified-behavior/SKILL.md +135 -0
- package/resources/customizations/.github/skills/characterize-runtime-behavior/SKILL.md +134 -0
- package/resources/customizations/.github/skills/discovery-behavior-reconciliation/SKILL.md +46 -0
- package/resources/customizations/.github/skills/discovery-coverage-ledger/SKILL.md +50 -0
- package/resources/customizations/.github/skills/discovery-parity-matrix/SKILL.md +46 -0
- package/resources/customizations/.github/skills/discovery-repo-inventory/SKILL.md +46 -0
- package/resources/customizations/.github/skills/discovery-runtime-characterization/SKILL.md +46 -0
- package/resources/customizations/.github/skills/discovery-validate-artifacts/SKILL.md +46 -0
- package/resources/customizations/.github/skills/discovery-workflow/SKILL.md +62 -0
- package/resources/customizations/.github/skills/execution-environment/SKILL.md +24 -9
- package/resources/customizations/.github/skills/extract-feature-contract/SKILL.md +133 -0
- package/resources/customizations/.github/skills/generate-acceptance-scenarios/SKILL.md +132 -0
- package/resources/customizations/.github/skills/initialize-discovery-workspace/SKILL.md +131 -0
- package/resources/customizations/.github/skills/inventory-legacy-system/SKILL.md +131 -0
- package/resources/customizations/.github/skills/reconcile-parity-matrix/SKILL.md +131 -0
- package/resources/customizations/.github/skills/review-discovery-coverage/SKILL.md +129 -0
- package/resources/customizations/.github/skills/validate-discovery-artifacts/SKILL.md +127 -0
- package/resources/lib/codex-routing/CodexDeployment.psm1 +5 -1
- package/resources/lib/codex-routing/CodexDiscoveryRouting.psm1 +161 -0
- package/resources/lib/codex-routing/CodexTopology.psm1 +25 -2
- package/resources/lib/discovery-validation/DiscoveryAuthority.psd1 +90 -0
- package/resources/lib/discovery-validation/DiscoveryAuthority.psm1 +493 -0
- package/resources/lib/discovery-validation/DiscoveryAuthorization.psm1 +479 -0
- package/resources/lib/discovery-validation/DiscoveryCapability.psm1 +468 -0
- package/resources/lib/discovery-validation/DiscoveryEncoding.psm1 +156 -0
- package/resources/lib/discovery-validation/DiscoveryManifest.psm1 +384 -0
- package/resources/lib/discovery-validation/DiscoveryObservation.psm1 +217 -0
- package/resources/lib/discovery-validation/DiscoveryPayload.psm1 +276 -0
- package/resources/lib/discovery-validation/DiscoveryPlanning.psm1 +336 -0
- package/resources/lib/discovery-validation/DiscoveryRootGrant.psm1 +164 -0
- package/resources/lib/discovery-validation/DiscoveryStart.psm1 +440 -0
- package/resources/lib/discovery-validation/DiscoveryStartRecord.psm1 +296 -0
- package/resources/lib/discovery-validation/DiscoveryStop.psm1 +336 -0
- package/resources/lib/discovery-validation/DiscoveryToolRouting.psm1 +228 -0
- package/resources/powershell/PoshQC/PoshQC.Parallel.psm1 +452 -0
- package/resources/powershell/PoshQC/PoshQC.Shard.psm1 +106 -8
- package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +12 -0
- package/resources/powershell/PoshQC/PoshQC.psd1 +6 -1
- package/resources/powershell/PoshQC/PoshQC.psm1 +7 -1
- package/resources/powershell/PoshQC/README.md +20 -1
|
@@ -172,11 +172,16 @@
|
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"type": "command",
|
|
175
|
-
"command": "pwsh -NoProfile -File .claude/hooks/enforce-
|
|
176
|
-
}
|
|
175
|
+
"command": "pwsh -NoProfile -File .claude/hooks/enforce-mermaid-validation.ps1"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"matcher": "Bash|Write|Edit|MultiEdit|NotebookEdit|Agent|Task|WebFetch|WebSearch|mcp__.*",
|
|
181
|
+
"hooks": [
|
|
177
182
|
{
|
|
178
183
|
"type": "command",
|
|
179
|
-
"command": "pwsh -NoProfile -File .claude/hooks/enforce-
|
|
184
|
+
"command": "pwsh -NoProfile -File .claude/hooks/enforce-discovery-artifact-gate.ps1"
|
|
180
185
|
}
|
|
181
186
|
]
|
|
182
187
|
},
|
|
@@ -187,6 +192,10 @@
|
|
|
187
192
|
"type": "command",
|
|
188
193
|
"command": "pwsh -NoProfile -File .claude/hooks/enforce-prd-feature-before-planner.ps1"
|
|
189
194
|
},
|
|
195
|
+
{
|
|
196
|
+
"type": "command",
|
|
197
|
+
"command": "pwsh -NoProfile -File .claude/hooks/enforce-discovery-planning-gate.ps1"
|
|
198
|
+
},
|
|
190
199
|
{
|
|
191
200
|
"type": "command",
|
|
192
201
|
"command": "pwsh -NoProfile -File .claude/hooks/enforce-orchestration-preimplementation-gate.ps1"
|
|
@@ -214,6 +223,17 @@
|
|
|
214
223
|
]
|
|
215
224
|
}
|
|
216
225
|
],
|
|
226
|
+
"SubagentStart": [
|
|
227
|
+
{
|
|
228
|
+
"matcher": "legacy-parity-analyst|runtime-characterization-analyst|requirements-reconciler|migration-coverage-reviewer",
|
|
229
|
+
"hooks": [
|
|
230
|
+
{
|
|
231
|
+
"type": "command",
|
|
232
|
+
"command": "pwsh -NoProfile -File .claude/hooks/record-discovery-agent-start.ps1"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
],
|
|
217
237
|
"SubagentStop": [
|
|
218
238
|
{
|
|
219
239
|
"matcher": "atomic-planner|atomic-executor|feature-review|task-researcher|prd-feature|staged-review|epic-review|status-updater|python-typed-engineer|powershell-typed-engineer|csharp-typed-engineer|typescript-engineer|orchestrator|epic-orchestrator|epic-planner",
|
|
@@ -224,6 +244,15 @@
|
|
|
224
244
|
}
|
|
225
245
|
]
|
|
226
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"matcher": "legacy-parity-analyst|runtime-characterization-analyst|requirements-reconciler|migration-coverage-reviewer",
|
|
249
|
+
"hooks": [
|
|
250
|
+
{
|
|
251
|
+
"type": "command",
|
|
252
|
+
"command": "pwsh -NoProfile -File .claude/hooks/validate-discovery-artifact-gate.ps1"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
227
256
|
{
|
|
228
257
|
"matcher": "feature-review",
|
|
229
258
|
"hooks": [
|
package/resources/claude-customizations/.claude/skills/adjudicate-unspecified-behavior/SKILL.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: adjudicate-unspecified-behavior
|
|
3
|
+
description: 'Draft traceable proposals for unresolved behavior and separate them from root-owned approval. Use when asked to adjudicate contradictory or undocumented behavior and derive explicitly requested acceptance criteria.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Adjudicate Unspecified Behavior
|
|
7
|
+
|
|
8
|
+
## When to Use This Skill
|
|
9
|
+
|
|
10
|
+
Use for selected unresolved records with competing interpretations and a named decision owner. A request to adjudicate does not let the specialist approve its own proposal.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
These are human-facing workflow selections, not additional service-request fields.
|
|
15
|
+
Supply explicit selections; neither omitted inputs nor profile roots create authority.
|
|
16
|
+
|
|
17
|
+
| Input | Required contract |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| profile | Required validated profile and trusted workspace binding. |
|
|
20
|
+
| unresolved_ids | Required explicit unresolved record selection. |
|
|
21
|
+
| interpretations | Required competing interpretations and unknowns. |
|
|
22
|
+
| evidence_refs | Required selected evidence supporting or contradicting each interpretation. |
|
|
23
|
+
| decision_owner | Required explicit owner for a proposed decision. |
|
|
24
|
+
| approval_record | Optional explicitly supplied approval evidence; only the authorized root may apply it. |
|
|
25
|
+
| derived_acceptance | Optional explicit selection of derived acceptance records/views; it adds no feature-contract authority. |
|
|
26
|
+
|
|
27
|
+
## Routing
|
|
28
|
+
|
|
29
|
+
Logical role: `requirements-reconciler`.
|
|
30
|
+
The root owns preparation and launch; this skill never auto-launches a logical
|
|
31
|
+
role through frontmatter. The existing resolver selects the exact deployment,
|
|
32
|
+
model, effort and profile hash under the existing C1-C4 ceiling and execution
|
|
33
|
+
context. Do not choose a model, self-launch, create another scheduler or promote
|
|
34
|
+
an ordinary discovery action into an issue. The production-write count is zero.
|
|
35
|
+
|
|
36
|
+
## Exact output boundary
|
|
37
|
+
|
|
38
|
+
These rows are maximum workflow caps, not instructions to create every kind.
|
|
39
|
+
Only the prepared required outputs may be created or replaced.
|
|
40
|
+
|
|
41
|
+
| Artifact kind | Profile key | Constraint |
|
|
42
|
+
| --- | --- | --- |
|
|
43
|
+
| product-decision | product_decisions | Selected proposed decision IDs only |
|
|
44
|
+
| product-decision-collection | product_decisions | Selected proposed decision members only |
|
|
45
|
+
| unspecified-behavior | unspecified_behaviors | Selected unresolved IDs only |
|
|
46
|
+
| unspecified-behavior-collection | unspecified_behaviors | Selected unresolved members only |
|
|
47
|
+
| acceptance-specification | acceptance | Explicitly requested derived criteria only |
|
|
48
|
+
| acceptance-view | acceptance | Explicitly requested eligible views or pending material |
|
|
49
|
+
| required-output-manifest | reports | Exact invocation manifest only |
|
|
50
|
+
|
|
51
|
+
The profile keys are maximum configured locations, not write grants. Each
|
|
52
|
+
prepared output row binds `artifact_kind`, `id`, `path`, `format` and
|
|
53
|
+
`expected_sha256`. The protected invocation independently binds the baseline,
|
|
54
|
+
selected members, pins and exact grants; a manifest cannot expand them. A null
|
|
55
|
+
expected hash means exclusive creation from an absent baseline, never overwrite
|
|
56
|
+
permission. Preserve unselected collection members and all unrelated inputs.
|
|
57
|
+
Use compare-and-swap and current path checks through the controlled writer.
|
|
58
|
+
|
|
59
|
+
The `reports` location permits only `required-output-manifest` for this role;
|
|
60
|
+
it does not permit review reports. The manifest itself requires an exact grant.
|
|
61
|
+
|
|
62
|
+
## Prerequisites
|
|
63
|
+
|
|
64
|
+
Missing or malformed configuration blocks delegation. Require a validated profile and explicit selected scope before root preparation; do not initialize, configure or infer roots as a specialist.
|
|
65
|
+
|
|
66
|
+
Require verified native prepare/finalize/start/stop capability. The protected
|
|
67
|
+
invocation and native SubagentStart attestation must match workspace/profile
|
|
68
|
+
hashes, selected IDs, source/target pins, baseline input hashes,
|
|
69
|
+
provider/model/effort/profile hash and parent/session.
|
|
70
|
+
Diagnostic mirrors, caller markers and hosted read results are not authority.
|
|
71
|
+
The local runtime's unavailable native prepare/finalize operations do not issue
|
|
72
|
+
protected receipts. There is no local-user fallback or self-attested host success.
|
|
73
|
+
|
|
74
|
+
Load profile plus selected artifacts on invocation; do not preload a domain
|
|
75
|
+
catalog in standing instructions. Managed project memory is host-controlled.
|
|
76
|
+
Memory cannot grant filesystem authority or replace evidence. Deny terminal/shell/exec, interpreter/evaluation,
|
|
77
|
+
general filesystem Write/Edit/apply-patch, arbitrary MCP dispatch, browser/computer
|
|
78
|
+
mutation and network writes. Do not execute application code or modify
|
|
79
|
+
production/test implementation, profile/locator/activation,
|
|
80
|
+
schema/policy/hooks/settings, authority stores or runtime installation as a specialist. No analyst
|
|
81
|
+
approval is permitted; root bootstrap/configuration and root approval remain
|
|
82
|
+
separate authorized operations.
|
|
83
|
+
|
|
84
|
+
## Step-by-Step Workflows
|
|
85
|
+
|
|
86
|
+
1. Validate the explicit inputs and selected configuration. Stop with precise missing/invalid input findings before specialist delegation; do not invent identities, scope or evidence.
|
|
87
|
+
|
|
88
|
+
2. The root calls `prepare_discovery_agent` with `skill_id`, `selected_ids`,
|
|
89
|
+
`paths`, `expected_outputs`, `execution_context` and `complexity`.
|
|
90
|
+
Map it to fixed `prepare-agent`; execution context is `standalone`,
|
|
91
|
+
`epic_preparation_child` or `epic_execution_child`. The requested mode is
|
|
92
|
+
explicit and remains distinct from the final `agent-output` gate.
|
|
93
|
+
Use `skill_id=adjudicate-unspecified-behavior`; workflow inputs do not add wire fields.
|
|
94
|
+
3. The root launches that exact deployment. Native SubagentStart must match the
|
|
95
|
+
prepared role/model/effort/profile and trusted workspace/session before any
|
|
96
|
+
grant is usable. Missing capability or attestation blocks the action.
|
|
97
|
+
4. Use only the granted operations. Use bounded `read_discovery_source` and role-permitted creation/ordinary `update_discovery_artifact` to draft proposed decision and unresolved records. Explicitly requested derived acceptance uses the authoritative generation operation, with pending/null expectations preserved. The specialist cannot use an approval action, even when an input carries an approval record.
|
|
98
|
+
5. Preserve observed source facts, competing interpretations and approved history. Draft proposed decisions only. Do not approve/reject/supersede product decisions or alter approval history. Pending questions cannot become approved requirements. Derived criteria do not authorize `feature_contracts` writes. Without root approval, a proposal remains a proposal.
|
|
99
|
+
6. Produce every exact required output and the stored `required-output-manifest`,
|
|
100
|
+
preserving its output array order for the digest. Validate claims, references,
|
|
101
|
+
pins and selected-ID accounting. Purpose-built tools supply authorized proposal
|
|
102
|
+
inputs for `input_path`/`evidence_path`; never invent a generic Write staging
|
|
103
|
+
step. Server-side role checks, exact one-use authorization and prospective
|
|
104
|
+
validation remain mandatory. Bounded source reads preserve content identity
|
|
105
|
+
and line ranges; truncation requires a narrower selection, not a completeness
|
|
106
|
+
claim or filesystem fallback.
|
|
107
|
+
7. Call `finalize_discovery_agent` as the specialist, mapped to `finalize-agent`
|
|
108
|
+
with `mode=agent-output`, non-null `invocation_ref` and no operation inputs.
|
|
109
|
+
It validates the protected invocation's outputs, not final-message paths.
|
|
110
|
+
Native SubagentStop then verifies current output authority.
|
|
111
|
+
Missing final text cannot skip native stop validation.
|
|
112
|
+
8. After proposal finalization and native stop, the authorized root may separately call `update_discovery_artifact`, mapped to `update-artifact` with `update_action=approve-decision`, exact product-decision identity, whole-document `input_path`, `expected_sha256`, `approval_owner` and nonempty `approval_evidence_refs`. Ordinary replacement cannot set approval-only fields. Root approval is a separate authorized operation from reconciler proposal validity; it invalidates prior completion receipts and requires fresh validation before any later gate.
|
|
113
|
+
9. After the separate root operation, the root records the explicit result, content-addressed artifact references,
|
|
114
|
+
selected-ID accounting and all findings. A successful tool call or generated
|
|
115
|
+
path alone is not evidence of completed discovery.
|
|
116
|
+
|
|
117
|
+
## Stop and result
|
|
118
|
+
|
|
119
|
+
Return proposal findings and any separate root approval result explicitly. Do not report a proposed or pending decision as approved; omit approval when the required authorization or evidence is absent.
|
|
120
|
+
|
|
121
|
+
Structural success is not discovery, parity or planning completion.
|
|
122
|
+
Missing prepare/finalize/start/stop capability, missing outputs, invalid claims,
|
|
123
|
+
unresolved required work, wrong role/model/start context or a stale/missing
|
|
124
|
+
receipt blocks successful completion. Return explicit
|
|
125
|
+
PASS, FAIL or BLOCKED, distinguishing valid incremental outputs from a passing
|
|
126
|
+
completion gate. Missing native enforcement remains BLOCKED even when ordinary
|
|
127
|
+
local-user operations can run; do not substitute CLI success for native authority.
|
|
128
|
+
|
|
129
|
+
## References
|
|
130
|
+
|
|
131
|
+
- [Canonical requirements-reconciler contract](../../../.claude/agents/requirements-reconciler.md)
|
|
132
|
+
- Installed v2 `service-request` and `required-output-manifest` schema contracts;
|
|
133
|
+
consume them through the authoritative runtime, with no checkout-schema fallback.
|
|
134
|
+
- The selected profile and pinned local artifacts supplied for this invocation;
|
|
135
|
+
references do not preload catalogs or grant access to unselected paths.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: characterize-runtime-behavior
|
|
3
|
+
description: 'Describe selected runtime scenarios from supplied captures or honest manual plans. Use when asked to characterize legacy behavior, record runtime evidence or prepare not-run and blocked scenarios.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Characterize Runtime Behavior
|
|
7
|
+
|
|
8
|
+
## When to Use This Skill
|
|
9
|
+
|
|
10
|
+
Use for explicit runtime scenarios with supplied environment and capability information. The specialist documents observations or manual plans; it does not execute applications.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
These are human-facing workflow selections, not additional service-request fields.
|
|
15
|
+
Supply explicit selections; neither omitted inputs nor profile roots create authority.
|
|
16
|
+
|
|
17
|
+
| Input | Required contract |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| profile | Required validated profile and trusted workspace binding. |
|
|
20
|
+
| feature_ids | Required selected features and relevant contracts. |
|
|
21
|
+
| environment | Required recorded environment identity or explicit unavailable state. |
|
|
22
|
+
| fixtures | Required supplied fixture references or explicit absent/manual requirements. |
|
|
23
|
+
| preconditions | Required stated scenario preconditions; unknown facts remain unresolved. |
|
|
24
|
+
| actions | Required ordered manual actions or supplied action descriptions. |
|
|
25
|
+
| capability_mode | Required declared runtime capability and whether observations are supplied, manual, unavailable or blocked. |
|
|
26
|
+
| supplied_captures | Optional supplied captures and provenance; absence cannot become a passed result. |
|
|
27
|
+
|
|
28
|
+
## Routing
|
|
29
|
+
|
|
30
|
+
Logical role: `runtime-characterization-analyst`.
|
|
31
|
+
The root owns preparation and launch; this skill never auto-launches a logical
|
|
32
|
+
role through frontmatter. The existing resolver selects the exact deployment,
|
|
33
|
+
model, effort and profile hash under the existing C1-C4 ceiling and execution
|
|
34
|
+
context. Do not choose a model, self-launch, create another scheduler or promote
|
|
35
|
+
an ordinary discovery action into an issue. The production-write count is zero.
|
|
36
|
+
|
|
37
|
+
## Exact output boundary
|
|
38
|
+
|
|
39
|
+
These rows are maximum workflow caps, not instructions to create every kind.
|
|
40
|
+
Only the prepared required outputs may be created or replaced.
|
|
41
|
+
|
|
42
|
+
| Artifact kind | Profile key | Constraint |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| runtime-characterization-scenario | characterization | Selected feature/scenario IDs only |
|
|
45
|
+
| evidence-reference | evidence | Explicitly supplied and granted evidence only |
|
|
46
|
+
| evidence-payload | evidence | Explicitly supplied and granted payloads only |
|
|
47
|
+
| unspecified-behavior | unspecified_behaviors | Selected unresolved IDs only |
|
|
48
|
+
| unspecified-behavior-collection | unspecified_behaviors | Selected unresolved members only |
|
|
49
|
+
| required-output-manifest | reports | Exact invocation manifest only |
|
|
50
|
+
|
|
51
|
+
The profile keys are maximum configured locations, not write grants. Each
|
|
52
|
+
prepared output row binds `artifact_kind`, `id`, `path`, `format` and
|
|
53
|
+
`expected_sha256`. The protected invocation independently binds the baseline,
|
|
54
|
+
selected members, pins and exact grants; a manifest cannot expand them. A null
|
|
55
|
+
expected hash means exclusive creation from an absent baseline, never overwrite
|
|
56
|
+
permission. Preserve unselected collection members and all unrelated inputs.
|
|
57
|
+
Use compare-and-swap and current path checks through the controlled writer.
|
|
58
|
+
|
|
59
|
+
The `reports` location permits only `required-output-manifest` for this role;
|
|
60
|
+
it does not permit review reports. The manifest itself requires an exact grant.
|
|
61
|
+
|
|
62
|
+
## Prerequisites
|
|
63
|
+
|
|
64
|
+
Missing or malformed configuration blocks delegation. Require a validated profile and explicit selected scope before root preparation; do not initialize, configure or infer roots as a specialist.
|
|
65
|
+
|
|
66
|
+
Require verified native prepare/finalize/start/stop capability. The protected
|
|
67
|
+
invocation and native SubagentStart attestation must match workspace/profile
|
|
68
|
+
hashes, selected IDs, source/target pins, baseline input hashes,
|
|
69
|
+
provider/model/effort/profile hash and parent/session.
|
|
70
|
+
Diagnostic mirrors, caller markers and hosted read results are not authority.
|
|
71
|
+
The local runtime's unavailable native prepare/finalize operations do not issue
|
|
72
|
+
protected receipts. There is no local-user fallback or self-attested host success.
|
|
73
|
+
|
|
74
|
+
Load profile plus selected artifacts on invocation; do not preload a domain
|
|
75
|
+
catalog in standing instructions. Managed project memory is host-controlled.
|
|
76
|
+
Memory cannot grant filesystem authority or replace evidence. Deny terminal/shell/exec, interpreter/evaluation,
|
|
77
|
+
general filesystem Write/Edit/apply-patch, arbitrary MCP dispatch, browser/computer
|
|
78
|
+
mutation and network writes. Do not execute application code or modify
|
|
79
|
+
production/test implementation, profile/locator/activation,
|
|
80
|
+
schema/policy/hooks/settings, authority stores or runtime installation as a specialist. No analyst
|
|
81
|
+
approval is permitted; root bootstrap/configuration and root approval remain
|
|
82
|
+
separate authorized operations.
|
|
83
|
+
|
|
84
|
+
## Step-by-Step Workflows
|
|
85
|
+
|
|
86
|
+
1. Validate the explicit inputs and selected configuration. Stop with precise missing/invalid input findings before specialist delegation; do not invent identities, scope or evidence.
|
|
87
|
+
|
|
88
|
+
2. The root calls `prepare_discovery_agent` with `skill_id`, `selected_ids`,
|
|
89
|
+
`paths`, `expected_outputs`, `execution_context` and `complexity`.
|
|
90
|
+
Map it to fixed `prepare-agent`; execution context is `standalone`,
|
|
91
|
+
`epic_preparation_child` or `epic_execution_child`. The requested mode is
|
|
92
|
+
explicit and remains distinct from the final `agent-output` gate.
|
|
93
|
+
Use `skill_id=characterize-runtime-behavior`; workflow inputs do not add wire fields.
|
|
94
|
+
3. The root launches that exact deployment. Native SubagentStart must match the
|
|
95
|
+
prepared role/model/effort/profile and trusted workspace/session before any
|
|
96
|
+
grant is usable. Missing capability or attestation blocks the action.
|
|
97
|
+
4. Use only the granted operations. Use bounded `read_discovery_source` for selected contracts, documentation, fixtures and supplied captures. Use `create_discovery_artifact` for fixed `new-scenario`, ordinary `update_discovery_artifact` and `link_discovery_evidence` for exact granted records. Register supplied metadata/payloads through controlled tools; never manufacture or collect new runtime captures by launching an application.
|
|
98
|
+
5. Every requested scenario needs a plan/result state. Known expectations stay separate from unknown expectations; unknown expectations stay null with unresolved references. A passed runtime result needs qualifying runtime evidence. Source inspection, static inference and a scenario plan are not runtime execution evidence. Valid manual/no-runtime tasks may end in not-run or blocked plans when those are the prepared outputs, without claiming behavior passed.
|
|
99
|
+
6. Produce every exact required output and the stored `required-output-manifest`,
|
|
100
|
+
preserving its output array order for the digest. Validate claims, references,
|
|
101
|
+
pins and selected-ID accounting. Purpose-built tools supply authorized proposal
|
|
102
|
+
inputs for `input_path`/`evidence_path`; never invent a generic Write staging
|
|
103
|
+
step. Server-side role checks, exact one-use authorization and prospective
|
|
104
|
+
validation remain mandatory. Bounded source reads preserve content identity
|
|
105
|
+
and line ranges; truncation requires a narrower selection, not a completeness
|
|
106
|
+
claim or filesystem fallback.
|
|
107
|
+
7. Call `finalize_discovery_agent` as the specialist, mapped to `finalize-agent`
|
|
108
|
+
with `mode=agent-output`, non-null `invocation_ref` and no operation inputs.
|
|
109
|
+
It validates the protected invocation's outputs, not final-message paths.
|
|
110
|
+
Native SubagentStop then verifies current output authority.
|
|
111
|
+
Missing final text cannot skip native stop validation.
|
|
112
|
+
8. After native stop, the root records the explicit result, content-addressed artifact references,
|
|
113
|
+
selected-ID accounting and all findings. A successful tool call or generated
|
|
114
|
+
path alone is not evidence of completed discovery.
|
|
115
|
+
|
|
116
|
+
## Stop and result
|
|
117
|
+
|
|
118
|
+
Account for each selected feature/scenario, supplied capture and missing capability. Output-valid manual plans do not prove runtime success or completion readiness.
|
|
119
|
+
|
|
120
|
+
Structural success is not discovery, parity or planning completion.
|
|
121
|
+
Missing prepare/finalize/start/stop capability, missing outputs, invalid claims,
|
|
122
|
+
unresolved required work, wrong role/model/start context or a stale/missing
|
|
123
|
+
receipt blocks successful completion. Return explicit
|
|
124
|
+
PASS, FAIL or BLOCKED, distinguishing valid incremental outputs from a passing
|
|
125
|
+
completion gate. Missing native enforcement remains BLOCKED even when ordinary
|
|
126
|
+
local-user operations can run; do not substitute CLI success for native authority.
|
|
127
|
+
|
|
128
|
+
## References
|
|
129
|
+
|
|
130
|
+
- [Canonical runtime-characterization-analyst contract](../../../.claude/agents/runtime-characterization-analyst.md)
|
|
131
|
+
- Installed v2 `service-request` and `required-output-manifest` schema contracts;
|
|
132
|
+
consume them through the authoritative runtime, with no checkout-schema fallback.
|
|
133
|
+
- The selected profile and pinned local artifacts supplied for this invocation;
|
|
134
|
+
references do not preload catalogs or grant access to unselected paths.
|
package/resources/claude-customizations/.claude/skills/discovery-behavior-reconciliation/SKILL.md
CHANGED
|
@@ -1,65 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-behavior-reconciliation
|
|
3
|
-
description: '
|
|
3
|
+
description: 'Dispatch unresolved behavior to canonical proposal and root-approval handling. Use when invoking the existing behavior-reconciliation alias.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Discovery Behavior Reconciliation
|
|
7
|
-
|
|
8
|
-
Runs the reconciliation stage of the discovery and parity-definition workflow.
|
|
9
|
-
It captures behavior that is unspecified or contradictory across the legacy
|
|
10
|
-
source, the runtime observations, and the parity matrix, then reconciles each
|
|
11
|
-
finding into a product decision. All domain specificity is read from the domain
|
|
12
|
-
profile at runtime.
|
|
6
|
+
# Discovery Behavior Reconciliation Alias
|
|
13
7
|
|
|
14
8
|
## When to Use This Skill
|
|
15
9
|
|
|
16
|
-
|
|
17
|
-
resolution.
|
|
18
|
-
- You need product-decision records before the final validation gate.
|
|
19
|
-
|
|
20
|
-
## Prerequisites
|
|
21
|
-
|
|
22
|
-
- `discovery-parity-matrix` has completed.
|
|
23
|
-
- The domain profile is loaded and valid.
|
|
24
|
-
|
|
25
|
-
## Workflow
|
|
26
|
-
|
|
27
|
-
1. **Capture unspecified behavior.** Record each unspecified or contradictory
|
|
28
|
-
behavior as a record conforming to the schema
|
|
29
|
-
`schemas/discovery/v1/unspecified-behavior-record.schema.json`, citing the
|
|
30
|
-
parity-matrix entry and evidence that surfaced it.
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
31
11
|
|
|
32
|
-
|
|
33
|
-
product-decision record conforming to the schema
|
|
34
|
-
`schemas/discovery/v1/product-decision-record.schema.json`, stating the
|
|
35
|
-
decision and its rationale.
|
|
12
|
+
## Inputs
|
|
36
13
|
|
|
37
|
-
|
|
38
|
-
|
|
14
|
+
| Input | Required contract |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| inputs | Required inputs of the linked canonical workflow, forwarded unchanged. |
|
|
39
17
|
|
|
40
|
-
|
|
18
|
+
Forward all other supplied canonical inputs to the selected target. These
|
|
19
|
+
alias selectors are not service-request fields. A fixed mapping requires no
|
|
20
|
+
additional selector; it does not add fields to `prepare-agent`.
|
|
41
21
|
|
|
42
|
-
|
|
22
|
+
## Dispatch
|
|
43
23
|
|
|
44
|
-
|
|
45
|
-
|
|
24
|
+
| Selector | Canonical skill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| fixed | adjudicate-unspecified-behavior |
|
|
46
27
|
|
|
47
|
-
|
|
28
|
+
Dispatch directly to `adjudicate-unspecified-behavior`. The target separates specialist proposals from authorized root approval; this alias does not approve decisions.
|
|
48
29
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
- An empty error list is a pass. On any error, follow the direction in
|
|
54
|
-
`discovery-validate-artifacts`.
|
|
30
|
+
This alias has no independent output or write authority. Do not duplicate
|
|
31
|
+
business validation, call tools independently, create a receipt, change a model
|
|
32
|
+
or auto-launch a role. Use only the linked canonical workflow's lifecycle and
|
|
33
|
+
exact grants; no alias chain or filesystem fallback is permitted.
|
|
55
34
|
|
|
56
|
-
##
|
|
35
|
+
## Stop and result
|
|
57
36
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
37
|
+
Return the selected canonical workflow's explicit result and references without
|
|
38
|
+
changing failed, blocked, pending or incremental outcomes into completion.
|
|
39
|
+
An unknown selector fails with no fallback. Missing configuration or native
|
|
40
|
+
capability is handled by the canonical workflow, including initialization's
|
|
41
|
+
explicit root bootstrap exception. The alias cannot bypass prepare/finalize or
|
|
42
|
+
native start/stop requirements.
|
|
61
43
|
|
|
62
|
-
##
|
|
44
|
+
## References
|
|
63
45
|
|
|
64
|
-
-
|
|
65
|
-
validation gate in `discovery-validate-artifacts`.
|
|
46
|
+
- [adjudicate-unspecified-behavior](../adjudicate-unspecified-behavior/SKILL.md)
|
|
@@ -1,66 +1,50 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-coverage-ledger
|
|
3
|
-
description: '
|
|
3
|
+
description: 'Dispatch explicit inventory, extraction or review without mixing coverage ownership. Use when invoking the existing coverage-ledger alias with action=inventory, extract or review.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Discovery Coverage Ledger
|
|
7
|
-
|
|
8
|
-
Runs the coverage stage of the discovery and parity-definition workflow. It
|
|
9
|
-
derives feature contracts and the coverage ledger from the inventory output, so
|
|
10
|
-
that every inventoried unit of behavior has a contract and a tracked coverage
|
|
11
|
-
state. All domain specificity is read from the domain profile at runtime.
|
|
6
|
+
# Discovery Coverage Ledger Alias
|
|
12
7
|
|
|
13
8
|
## When to Use This Skill
|
|
14
9
|
|
|
15
|
-
|
|
16
|
-
root.
|
|
17
|
-
- You need the feature contract set and the coverage ledger before runtime
|
|
18
|
-
characterization and parity analysis.
|
|
19
|
-
|
|
20
|
-
## Prerequisites
|
|
21
|
-
|
|
22
|
-
- `discovery-repo-inventory` has completed and recorded its outputs.
|
|
23
|
-
- The domain profile is loaded and valid.
|
|
24
|
-
|
|
25
|
-
## Workflow
|
|
26
|
-
|
|
27
|
-
1. **Derive feature contracts.** From the inventory output, produce one feature
|
|
28
|
-
contract per inventoried unit of behavior, conforming to the schema
|
|
29
|
-
`schemas/discovery/v1/feature-contract.schema.json`.
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
30
11
|
|
|
31
|
-
|
|
32
|
-
coverage ledger, conforming to the schema
|
|
33
|
-
`schemas/discovery/v1/coverage-ledger.schema.json`. The ledger records the
|
|
34
|
-
coverage state of each contract so later stages can measure parity progress.
|
|
12
|
+
## Inputs
|
|
35
13
|
|
|
36
|
-
|
|
37
|
-
|
|
14
|
+
| Input | Required contract |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| action | Required inventory, extract or review; reject missing, mixed or unknown actions with no fallback. |
|
|
38
17
|
|
|
39
|
-
|
|
18
|
+
Forward all other supplied canonical inputs to the selected target. These
|
|
19
|
+
alias selectors are not service-request fields. A fixed mapping requires no
|
|
20
|
+
additional selector; it does not add fields to `prepare-agent`.
|
|
40
21
|
|
|
41
|
-
|
|
22
|
+
## Dispatch
|
|
42
23
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
24
|
+
| Selector | Canonical skill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| inventory | inventory-legacy-system |
|
|
27
|
+
| extract | extract-feature-contract |
|
|
28
|
+
| review | review-discovery-coverage |
|
|
46
29
|
|
|
47
|
-
|
|
30
|
+
`action=inventory|extract|review` selects the corresponding canonical workflow. Inventory and extraction use `legacy-parity-analyst`; review uses `migration-coverage-reviewer` with no reviewer ledger writes. These names describe the target's mapping and never authorize an unprepared logical-role launch.
|
|
48
31
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
32
|
+
This alias has no independent output or write authority. Do not duplicate
|
|
33
|
+
business validation, call tools independently, create a receipt, change a model
|
|
34
|
+
or auto-launch a role. Use only the linked canonical workflow's lifecycle and
|
|
35
|
+
exact grants; no alias chain or filesystem fallback is permitted.
|
|
53
36
|
|
|
54
|
-
##
|
|
37
|
+
## Stop and result
|
|
55
38
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
39
|
+
Return the selected canonical workflow's explicit result and references without
|
|
40
|
+
changing failed, blocked, pending or incremental outcomes into completion.
|
|
41
|
+
An unknown selector fails with no fallback. Missing configuration or native
|
|
42
|
+
capability is handled by the canonical workflow, including initialization's
|
|
43
|
+
explicit root bootstrap exception. The alias cannot bypass prepare/finalize or
|
|
44
|
+
native start/stop requirements.
|
|
59
45
|
|
|
60
|
-
##
|
|
46
|
+
## References
|
|
61
47
|
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
- Outputs from this stage feed `discovery-runtime-characterization` and
|
|
66
|
-
`discovery-parity-matrix`.
|
|
48
|
+
- [inventory-legacy-system](../inventory-legacy-system/SKILL.md)
|
|
49
|
+
- [extract-feature-contract](../extract-feature-contract/SKILL.md)
|
|
50
|
+
- [review-discovery-coverage](../review-discovery-coverage/SKILL.md)
|
|
@@ -1,63 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-parity-matrix
|
|
3
|
-
description: '
|
|
3
|
+
description: 'Dispatch parity reconciliation to the canonical Requirements Reconciler workflow. Use when invoking the existing discovery parity-matrix alias.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Discovery Parity Matrix
|
|
7
|
-
|
|
8
|
-
Runs the parity stage of the discovery and parity-definition workflow. It
|
|
9
|
-
produces or refreshes the parity matrix by comparing the feature contracts
|
|
10
|
-
against the runtime characterization scenarios, so the workflow can measure how
|
|
11
|
-
closely the modern target reproduces the legacy behavior. All domain specificity
|
|
12
|
-
is read from the domain profile at runtime.
|
|
6
|
+
# Discovery Parity Matrix Alias
|
|
13
7
|
|
|
14
8
|
## When to Use This Skill
|
|
15
9
|
|
|
16
|
-
|
|
17
|
-
- You need a current parity matrix before reconciling unspecified behavior.
|
|
18
|
-
|
|
19
|
-
## Prerequisites
|
|
20
|
-
|
|
21
|
-
- `discovery-coverage-ledger` and `discovery-runtime-characterization` have
|
|
22
|
-
completed.
|
|
23
|
-
- The domain profile is loaded and valid.
|
|
24
|
-
|
|
25
|
-
## Workflow
|
|
26
|
-
|
|
27
|
-
1. **Consume upstream artifacts.** Read the feature contracts (schema
|
|
28
|
-
`schemas/discovery/v1/feature-contract.schema.json`) and the runtime
|
|
29
|
-
characterization scenarios (schema
|
|
30
|
-
`schemas/discovery/v1/runtime-characterization-scenario.schema.json`).
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
31
11
|
|
|
32
|
-
|
|
33
|
-
to the schema `schemas/discovery/v1/parity-matrix.schema.json`, mapping each
|
|
34
|
-
feature contract to its characterized behavior and its current parity state.
|
|
35
|
-
When the matrix already exists, refresh it in place from the latest upstream
|
|
36
|
-
artifacts.
|
|
12
|
+
## Inputs
|
|
37
13
|
|
|
38
|
-
|
|
39
|
-
|
|
14
|
+
| Input | Required contract |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| inputs | Required inputs of the linked canonical workflow, forwarded unchanged. |
|
|
40
17
|
|
|
41
|
-
|
|
18
|
+
Forward all other supplied canonical inputs to the selected target. These
|
|
19
|
+
alias selectors are not service-request fields. A fixed mapping requires no
|
|
20
|
+
additional selector; it does not add fields to `prepare-agent`.
|
|
42
21
|
|
|
43
|
-
|
|
22
|
+
## Dispatch
|
|
44
23
|
|
|
45
|
-
|
|
46
|
-
|
|
24
|
+
| Selector | Canonical skill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| fixed | reconcile-parity-matrix |
|
|
47
27
|
|
|
48
|
-
|
|
28
|
+
Dispatch directly to `reconcile-parity-matrix`, whose logical role is `requirements-reconciler`. Do not route parity ownership to Legacy Parity Analyst or bypass the canonical root preparation.
|
|
49
29
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
30
|
+
This alias has no independent output or write authority. Do not duplicate
|
|
31
|
+
business validation, call tools independently, create a receipt, change a model
|
|
32
|
+
or auto-launch a role. Use only the linked canonical workflow's lifecycle and
|
|
33
|
+
exact grants; no alias chain or filesystem fallback is permitted.
|
|
53
34
|
|
|
54
|
-
##
|
|
35
|
+
## Stop and result
|
|
55
36
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
37
|
+
Return the selected canonical workflow's explicit result and references without
|
|
38
|
+
changing failed, blocked, pending or incremental outcomes into completion.
|
|
39
|
+
An unknown selector fails with no fallback. Missing configuration or native
|
|
40
|
+
capability is handled by the canonical workflow, including initialization's
|
|
41
|
+
explicit root bootstrap exception. The alias cannot bypass prepare/finalize or
|
|
42
|
+
native start/stop requirements.
|
|
59
43
|
|
|
60
|
-
##
|
|
44
|
+
## References
|
|
61
45
|
|
|
62
|
-
-
|
|
63
|
-
`discovery-behavior-reconciliation`.
|
|
46
|
+
- [reconcile-parity-matrix](../reconcile-parity-matrix/SKILL.md)
|