@danmoisan/drm-copilot-mcp 1.1.23 → 1.1.25
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
|
@@ -1,80 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-repo-inventory
|
|
3
|
-
description: '
|
|
4
|
-
allowed-tools: Bash Read Glob Grep
|
|
3
|
+
description: 'Dispatch repository inventory to the canonical legacy inventory workflow. Use when invoking the existing discovery repo-inventory alias.'
|
|
5
4
|
---
|
|
6
5
|
|
|
7
|
-
# Discovery
|
|
8
|
-
|
|
9
|
-
Runs the inventory stage of the discovery and parity-definition workflow. It
|
|
10
|
-
drives the language-neutral repository/project inventory analyzer against the
|
|
11
|
-
roots declared in the domain profile, records outputs under the profile's
|
|
12
|
-
artifact root, and then runs any stack-specific analyzers generically, without
|
|
13
|
-
naming any concrete technology. All domain specificity is read from the domain
|
|
14
|
-
profile at runtime.
|
|
6
|
+
# Discovery Repository Inventory Alias
|
|
15
7
|
|
|
16
8
|
## When to Use This Skill
|
|
17
9
|
|
|
18
|
-
|
|
19
|
-
source and the modern target.
|
|
20
|
-
- You need analyzer outputs recorded as evidence for the coverage stage.
|
|
21
|
-
|
|
22
|
-
## Prerequisites
|
|
23
|
-
|
|
24
|
-
- The domain profile loads via `dev.discovery.profile`.
|
|
25
|
-
- The analyzer framework CLI is available (referenced by name only; the full
|
|
26
|
-
registry lives in `discovery-workflow`).
|
|
27
|
-
|
|
28
|
-
## Workflow
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
29
11
|
|
|
30
|
-
|
|
31
|
-
consumer repository's `discovery-profile.yaml`. Read the following keys and
|
|
32
|
-
use them for every subsequent step; do not hard-code any of them:
|
|
33
|
-
- `legacy_source.root` — the legacy application source root.
|
|
34
|
-
- `target.root` — the modern target root.
|
|
35
|
-
- `artifacts.root` — where analyzer outputs and discovery artifacts are
|
|
36
|
-
recorded.
|
|
37
|
-
- `technology_stack` — the declared stack, used to select stack-specific
|
|
38
|
-
analyzers generically.
|
|
12
|
+
## Inputs
|
|
39
13
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
`artifacts.root` following the profile's artifact conventions.
|
|
14
|
+
| Input | Required contract |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| inputs | Required inputs of the linked canonical workflow, forwarded unchanged. |
|
|
44
17
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
are the only two locations to reconcile; the canonical entry lives in
|
|
49
|
-
`discovery-workflow`.
|
|
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`.
|
|
50
21
|
|
|
51
|
-
|
|
52
|
-
`technology_stack`, run any stack-specific analyzer commands documented by the
|
|
53
|
-
analyzer framework. Do not name a concrete analyzer or technology here; the
|
|
54
|
-
profile's `technology_stack` value selects the applicable analyzers at
|
|
55
|
-
runtime. Record their outputs under `artifacts.root` as well.
|
|
22
|
+
## Dispatch
|
|
56
23
|
|
|
57
|
-
|
|
58
|
-
|
|
24
|
+
| Selector | Canonical skill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| fixed | inventory-legacy-system |
|
|
59
27
|
|
|
60
|
-
|
|
28
|
+
Dispatch directly to `inventory-legacy-system`. Its prepared Legacy Parity Analyst owns inventory and selected coverage dispositions; this alias grants no role or tool.
|
|
61
29
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
- An empty error list is a pass. On any error, follow the direction in
|
|
67
|
-
`discovery-validate-artifacts`, which owns the canonical validation-gate
|
|
68
|
-
mechanics.
|
|
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.
|
|
69
34
|
|
|
70
|
-
##
|
|
35
|
+
## Stop and result
|
|
71
36
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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.
|
|
75
43
|
|
|
76
|
-
##
|
|
44
|
+
## References
|
|
77
45
|
|
|
78
|
-
-
|
|
79
|
-
artifact root, and stack are all read from the domain profile at runtime.
|
|
80
|
-
- Outputs from this stage feed `discovery-coverage-ledger`.
|
|
46
|
+
- [inventory-legacy-system](../inventory-legacy-system/SKILL.md)
|
package/resources/claude-customizations/.claude/skills/discovery-runtime-characterization/SKILL.md
CHANGED
|
@@ -1,63 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-runtime-characterization
|
|
3
|
-
description: '
|
|
3
|
+
description: 'Dispatch runtime characterization to its canonical supplied-evidence workflow. Use when invoking the existing runtime-characterization alias.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Discovery Runtime Characterization
|
|
7
|
-
|
|
8
|
-
Runs the runtime characterization stage of the discovery and parity-definition
|
|
9
|
-
workflow. It captures observed runtime behavior of the legacy application as
|
|
10
|
-
characterization scenarios, each backed by evidence references, so that parity
|
|
11
|
-
analysis can compare intended contracts against observed behavior. All domain
|
|
12
|
-
specificity is read from the domain profile at runtime.
|
|
6
|
+
# Discovery Runtime Characterization Alias
|
|
13
7
|
|
|
14
8
|
## When to Use This Skill
|
|
15
9
|
|
|
16
|
-
|
|
17
|
-
- You need documented runtime behavior scenarios before building the parity
|
|
18
|
-
matrix.
|
|
19
|
-
|
|
20
|
-
## Prerequisites
|
|
21
|
-
|
|
22
|
-
- `discovery-coverage-ledger` has completed.
|
|
23
|
-
- The domain profile is loaded and valid.
|
|
24
|
-
|
|
25
|
-
## Workflow
|
|
26
|
-
|
|
27
|
-
1. **Produce characterization scenarios.** For each behavior requiring runtime
|
|
28
|
-
observation, produce a scenario conforming to the schema
|
|
29
|
-
`schemas/discovery/v1/runtime-characterization-scenario.schema.json`. Each
|
|
30
|
-
scenario records the observed runtime behavior in a domain-neutral form.
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
31
11
|
|
|
32
|
-
|
|
33
|
-
evidence-reference instances conforming to the schema
|
|
34
|
-
`schemas/discovery/v1/evidence-reference.schema.json`, so the provenance of
|
|
35
|
-
each observation is traceable.
|
|
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 | characterize-runtime-behavior |
|
|
46
27
|
|
|
47
|
-
|
|
28
|
+
Dispatch directly to `characterize-runtime-behavior`. The canonical workflow preserves supplied evidence and honest manual, not-run or blocked states; the alias does not execute applications.
|
|
48
29
|
|
|
49
|
-
|
|
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-parity-matrix`.
|
|
46
|
+
- [characterize-runtime-behavior](../characterize-runtime-behavior/SKILL.md)
|
package/resources/claude-customizations/.claude/skills/discovery-validate-artifacts/SKILL.md
CHANGED
|
@@ -1,79 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-validate-artifacts
|
|
3
|
-
description: '
|
|
4
|
-
allowed-tools: Bash Read
|
|
3
|
+
description: 'Dispatch artifact validation to the canonical explicit-kind and mode workflow. Use when invoking the existing validate-artifacts alias.'
|
|
5
4
|
---
|
|
6
5
|
|
|
7
|
-
# Discovery
|
|
8
|
-
|
|
9
|
-
Owns the canonical validation-gate mechanics for the discovery and
|
|
10
|
-
parity-definition workflow. Each discovery artifact is validated against its
|
|
11
|
-
schema by a `dev.discovery.validate-*` console script after its owning stage,
|
|
12
|
-
and `dev.discovery.validate-all` runs as the workflow completion gate. This skill
|
|
13
|
-
is the single canonical location for the pass/fail semantics; stage skills defer
|
|
14
|
-
to it by name.
|
|
6
|
+
# Discovery Artifact Validation Alias
|
|
15
7
|
|
|
16
8
|
## When to Use This Skill
|
|
17
9
|
|
|
18
|
-
|
|
19
|
-
stage proceeds.
|
|
20
|
-
- You have completed all stages and need to run the workflow completion gate.
|
|
21
|
-
- A validator reported errors and you need the routing rule back to the owning
|
|
22
|
-
stage skill.
|
|
23
|
-
|
|
24
|
-
## Prerequisites
|
|
25
|
-
|
|
26
|
-
- The relevant discovery artifacts exist under the profile's artifact root.
|
|
27
|
-
- The validator console scripts are available (registry in `discovery-workflow`).
|
|
28
|
-
|
|
29
|
-
## Pass/Fail Semantics
|
|
30
|
-
|
|
31
|
-
Every `dev.discovery.validate-*` invocation yields a `list[str]` of error
|
|
32
|
-
messages. An empty list is a pass; a non-empty list is a failure whose entries
|
|
33
|
-
name the exact problems. The validators never mutate the artifacts they check.
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
34
11
|
|
|
35
|
-
##
|
|
12
|
+
## Inputs
|
|
36
13
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
14
|
+
| Input | Required contract |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| inputs | Required inputs of the linked canonical workflow, forwarded unchanged. |
|
|
40
17
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
| `dev.discovery.validate-evidence-reference` | `schemas/discovery/v1/evidence-reference.schema.json` | `discovery-repo-inventory`, `discovery-runtime-characterization` |
|
|
45
|
-
| `dev.discovery.validate-feature-contract` | `schemas/discovery/v1/feature-contract.schema.json` | `discovery-coverage-ledger` |
|
|
46
|
-
| `dev.discovery.validate-coverage-ledger` | `schemas/discovery/v1/coverage-ledger.schema.json` | `discovery-coverage-ledger` |
|
|
47
|
-
| `dev.discovery.validate-runtime-scenario` | `schemas/discovery/v1/runtime-characterization-scenario.schema.json` | `discovery-runtime-characterization` |
|
|
48
|
-
| `dev.discovery.validate-parity-matrix` | `schemas/discovery/v1/parity-matrix.schema.json` | `discovery-parity-matrix` |
|
|
49
|
-
| `dev.discovery.validate-unspecified-behavior` | `schemas/discovery/v1/unspecified-behavior-record.schema.json` | `discovery-behavior-reconciliation` |
|
|
50
|
-
| `dev.discovery.validate-product-decision` | `schemas/discovery/v1/product-decision-record.schema.json` | `discovery-behavior-reconciliation` |
|
|
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`.
|
|
51
21
|
|
|
52
|
-
##
|
|
22
|
+
## Dispatch
|
|
53
23
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
24
|
+
| Selector | Canonical skill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| fixed | validate-discovery-artifacts |
|
|
57
27
|
|
|
58
|
-
|
|
59
|
-
- `schemas/discovery/v1/coverage-ledger.schema.json`
|
|
60
|
-
- `schemas/discovery/v1/runtime-characterization-scenario.schema.json`
|
|
61
|
-
- `schemas/discovery/v1/parity-matrix.schema.json`
|
|
62
|
-
- `schemas/discovery/v1/unspecified-behavior-record.schema.json`
|
|
63
|
-
- `schemas/discovery/v1/product-decision-record.schema.json`
|
|
64
|
-
- `schemas/discovery/v1/evidence-reference.schema.json`
|
|
28
|
+
Dispatch directly to `validate-discovery-artifacts`. Forward its exact artifact kind/selection and explicit mode without type probing or substituting a different gate.
|
|
65
29
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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.
|
|
70
34
|
|
|
71
|
-
##
|
|
35
|
+
## Stop and result
|
|
72
36
|
|
|
73
|
-
|
|
74
|
-
|
|
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.
|
|
75
43
|
|
|
76
|
-
##
|
|
44
|
+
## References
|
|
77
45
|
|
|
78
|
-
-
|
|
79
|
-
from the domain profile at runtime.
|
|
46
|
+
- [validate-discovery-artifacts](../validate-discovery-artifacts/SKILL.md)
|
|
@@ -1,146 +1,62 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discovery-workflow
|
|
3
|
-
description: '
|
|
3
|
+
description: 'Dispatch an explicit canonical discovery workflow without adding authority. Use when invoking the legacy discovery umbrella with a selected skill_id.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Discovery Workflow
|
|
7
|
-
|
|
8
|
-
Sequences the reusable, domain-neutral discovery and parity-definition workflow
|
|
9
|
-
end to end. This skill is the entry point: it establishes the stage order,
|
|
10
|
-
directs each stage to its owning skill, and holds the single canonical registry
|
|
11
|
-
of upstream contract names (analyzer CLI commands, agent slugs, schema paths,
|
|
12
|
-
and validators).
|
|
13
|
-
|
|
14
|
-
All domain specificity is read at runtime from the consumer repository's domain
|
|
15
|
-
profile (`discovery-profile.yaml`) via `dev.discovery.profile`. This skill names
|
|
16
|
-
no concrete repository, path, or technology stack.
|
|
6
|
+
# Discovery Workflow Alias
|
|
17
7
|
|
|
18
8
|
## When to Use This Skill
|
|
19
9
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
the
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Domain profile (config contract, issue #360 / epic #9001)
|
|
74
|
-
|
|
75
|
-
- Config artifact: `discovery-profile.yaml`.
|
|
76
|
-
- CLI: `dev.discovery.profile`.
|
|
77
|
-
|
|
78
|
-
### Schemas (issue #359 / epic #9002)
|
|
79
|
-
|
|
80
|
-
Seven schemas under `schemas/discovery/v1/`:
|
|
81
|
-
|
|
82
|
-
- `schemas/discovery/v1/feature-contract.schema.json`
|
|
83
|
-
- `schemas/discovery/v1/coverage-ledger.schema.json`
|
|
84
|
-
- `schemas/discovery/v1/runtime-characterization-scenario.schema.json`
|
|
85
|
-
- `schemas/discovery/v1/parity-matrix.schema.json`
|
|
86
|
-
- `schemas/discovery/v1/unspecified-behavior-record.schema.json`
|
|
87
|
-
- `schemas/discovery/v1/product-decision-record.schema.json`
|
|
88
|
-
- `schemas/discovery/v1/evidence-reference.schema.json`
|
|
89
|
-
|
|
90
|
-
### Validators (issue #361 / epic #9003)
|
|
91
|
-
|
|
92
|
-
Nine `dev.discovery.validate-*` console scripts. Each yields a `list[str]` of
|
|
93
|
-
errors; an empty list is a pass.
|
|
94
|
-
|
|
95
|
-
- `dev.discovery.validate-profile`
|
|
96
|
-
- `dev.discovery.validate-feature-contract`
|
|
97
|
-
- `dev.discovery.validate-coverage-ledger`
|
|
98
|
-
- `dev.discovery.validate-runtime-scenario`
|
|
99
|
-
- `dev.discovery.validate-parity-matrix`
|
|
100
|
-
- `dev.discovery.validate-unspecified-behavior`
|
|
101
|
-
- `dev.discovery.validate-product-decision`
|
|
102
|
-
- `dev.discovery.validate-evidence-reference`
|
|
103
|
-
- `dev.discovery.validate-all`
|
|
104
|
-
|
|
105
|
-
### Analyzer framework (epic #9006, in preparation)
|
|
106
|
-
|
|
107
|
-
- Language-neutral repository/project inventory command: `dev.discovery.inventory`.
|
|
108
|
-
|
|
109
|
-
**Fan-in reconciliation assumption:** the inventory command name
|
|
110
|
-
`dev.discovery.inventory` is assumed. It is not fixed by the prepared upstream
|
|
111
|
-
summaries and is the epic #9006 owner's decision. This assumption is isolated
|
|
112
|
-
to this single registry line plus one fragment in `discovery-repo-inventory`.
|
|
113
|
-
If #9006 lands a different command name, update those two locations only.
|
|
114
|
-
|
|
115
|
-
### Agent roles (epic #9007, in preparation)
|
|
116
|
-
|
|
117
|
-
Four generic agent personas, referenced by slug in the Worker Routing table
|
|
118
|
-
above:
|
|
119
|
-
|
|
120
|
-
- `legacy-parity-analyst`
|
|
121
|
-
- `runtime-characterization-analyst`
|
|
122
|
-
- `requirements-reconciler`
|
|
123
|
-
- `migration-coverage-reviewer`
|
|
124
|
-
|
|
125
|
-
**Fan-in reconciliation assumption:** the four agent slugs are assumed to be
|
|
126
|
-
the kebab-case of the persona titles. Final slugs are the epic #9007 owner's
|
|
127
|
-
decision. The assumption is isolated to this registry and the per-stage
|
|
128
|
-
`## Worker Routing` fragments; reconciling a renamed slug at fan-in is a
|
|
129
|
-
bounded edit.
|
|
130
|
-
|
|
131
|
-
## Referenced Skills
|
|
132
|
-
|
|
133
|
-
- `discovery-repo-inventory` — inventory stage mechanics.
|
|
134
|
-
- `discovery-coverage-ledger` — coverage stage mechanics.
|
|
135
|
-
- `discovery-runtime-characterization` — runtime stage mechanics.
|
|
136
|
-
- `discovery-parity-matrix` — parity stage mechanics.
|
|
137
|
-
- `discovery-behavior-reconciliation` — reconciliation stage mechanics.
|
|
138
|
-
- `discovery-validate-artifacts` — canonical validation-gate mechanics.
|
|
139
|
-
|
|
140
|
-
## Notes
|
|
141
|
-
|
|
142
|
-
- No skill in this workflow asserts the existence of upstream analyzer or agent
|
|
143
|
-
files; upstream contracts are referenced by name only, so this workflow stays
|
|
144
|
-
correct regardless of upstream merge order.
|
|
145
|
-
- Domain specificity (source and target roots, technology stack, artifact
|
|
146
|
-
conventions) is read from the domain profile at runtime, never hard-coded.
|
|
10
|
+
Use this compatibility name only to dispatch to its canonical workflow.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
| Input | Required contract |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| skill_id | Required exact one of the nine canonical skill IDs listed below; unknown or missing values fail with no fallback. |
|
|
17
|
+
|
|
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`.
|
|
21
|
+
|
|
22
|
+
## Dispatch
|
|
23
|
+
|
|
24
|
+
| Selector | Canonical skill |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| inventory-legacy-system | inventory-legacy-system |
|
|
27
|
+
| extract-feature-contract | extract-feature-contract |
|
|
28
|
+
| characterize-runtime-behavior | characterize-runtime-behavior |
|
|
29
|
+
| reconcile-parity-matrix | reconcile-parity-matrix |
|
|
30
|
+
| review-discovery-coverage | review-discovery-coverage |
|
|
31
|
+
| adjudicate-unspecified-behavior | adjudicate-unspecified-behavior |
|
|
32
|
+
| generate-acceptance-scenarios | generate-acceptance-scenarios |
|
|
33
|
+
| initialize-discovery-workspace | initialize-discovery-workspace |
|
|
34
|
+
| validate-discovery-artifacts | validate-discovery-artifacts |
|
|
35
|
+
|
|
36
|
+
Select exactly one canonical workflow using `skill_id`. Forward its supplied inputs without inventing defaults or reinterpreting source identity. Each target owns its root prepare, exact launch, granted operations, finalize, native stop and root result; this umbrella adds no scheduler.
|
|
37
|
+
|
|
38
|
+
This alias has no independent output or write authority. Do not duplicate
|
|
39
|
+
business validation, call tools independently, create a receipt, change a model
|
|
40
|
+
or auto-launch a role. Use only the linked canonical workflow's lifecycle and
|
|
41
|
+
exact grants; no alias chain or filesystem fallback is permitted.
|
|
42
|
+
|
|
43
|
+
## Stop and result
|
|
44
|
+
|
|
45
|
+
Return the selected canonical workflow's explicit result and references without
|
|
46
|
+
changing failed, blocked, pending or incremental outcomes into completion.
|
|
47
|
+
An unknown selector fails with no fallback. Missing configuration or native
|
|
48
|
+
capability is handled by the canonical workflow, including initialization's
|
|
49
|
+
explicit root bootstrap exception. The alias cannot bypass prepare/finalize or
|
|
50
|
+
native start/stop requirements.
|
|
51
|
+
|
|
52
|
+
## References
|
|
53
|
+
|
|
54
|
+
- [inventory-legacy-system](../inventory-legacy-system/SKILL.md)
|
|
55
|
+
- [extract-feature-contract](../extract-feature-contract/SKILL.md)
|
|
56
|
+
- [characterize-runtime-behavior](../characterize-runtime-behavior/SKILL.md)
|
|
57
|
+
- [reconcile-parity-matrix](../reconcile-parity-matrix/SKILL.md)
|
|
58
|
+
- [review-discovery-coverage](../review-discovery-coverage/SKILL.md)
|
|
59
|
+
- [adjudicate-unspecified-behavior](../adjudicate-unspecified-behavior/SKILL.md)
|
|
60
|
+
- [generate-acceptance-scenarios](../generate-acceptance-scenarios/SKILL.md)
|
|
61
|
+
- [initialize-discovery-workspace](../initialize-discovery-workspace/SKILL.md)
|
|
62
|
+
- [validate-discovery-artifacts](../validate-discovery-artifacts/SKILL.md)
|