@danmoisan/drm-copilot-mcp 0.0.1 → 0.0.5

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.
Files changed (156) hide show
  1. package/out/mcp-server.js +5 -1
  2. package/package.json +21 -5
  3. package/resources/claude-customizations/.claude/agent-memory/orchestrator/MEMORY.md +15 -3
  4. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_branch_base_check_unmerged_pr_deps.md +16 -0
  5. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_every_change_through_lifecycle.md +15 -0
  6. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_policy_compliance_not_optional.md +18 -0
  7. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_potential_to_issue_creates_github_issue.md +13 -0
  8. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_remediation_plan_em_dash_required.md +13 -0
  9. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_small_bug_uses_minor_audit.md +13 -0
  10. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_test_files_count_against_500_cap.md +13 -0
  11. package/resources/claude-customizations/.claude/agents/atomic-executor.md +7 -7
  12. package/resources/claude-customizations/.claude/agents/csharp-typed-engineer.md +4 -5
  13. package/resources/claude-customizations/.claude/agents/feature-review.md +7 -3
  14. package/resources/claude-customizations/.claude/agents/orchestrator.md +16 -1
  15. package/resources/claude-customizations/.claude/agents/powershell-typed-engineer.md +1 -1
  16. package/resources/claude-customizations/.claude/hooks/enforce-checkpoint-monotonic.ps1 +245 -0
  17. package/resources/claude-customizations/.claude/hooks/enforce-completion-consistency.ps1 +273 -0
  18. package/resources/claude-customizations/.claude/hooks/enforce-feature-folder-order.ps1 +148 -0
  19. package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.ps1 +190 -0
  20. package/resources/claude-customizations/.claude/hooks/enforce-prd-feature-before-planner.ps1 +216 -0
  21. package/resources/claude-customizations/.claude/hooks/enforce-promotion-mcp-only.ps1 +84 -15
  22. package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +1 -1
  23. package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage.ps1 +75 -5
  24. package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +93 -0
  25. package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +68 -0
  26. package/resources/claude-customizations/.claude/rules/architecture-boundaries.md +46 -0
  27. package/resources/claude-customizations/.claude/rules/benchmark-baselines.md +35 -0
  28. package/resources/claude-customizations/.claude/rules/ci-workflows.md +36 -0
  29. package/resources/claude-customizations/.claude/rules/csharp.md +62 -16
  30. package/resources/claude-customizations/.claude/rules/general-code-change.md +12 -3
  31. package/resources/claude-customizations/.claude/rules/general-unit-test.md +47 -2
  32. package/resources/claude-customizations/.claude/rules/orchestrator-state.md +39 -0
  33. package/resources/claude-customizations/.claude/rules/powershell.md +5 -5
  34. package/resources/claude-customizations/.claude/rules/python.md +4 -3
  35. package/resources/claude-customizations/.claude/rules/quality-tiers.md +51 -0
  36. package/resources/claude-customizations/.claude/rules/typescript.md +37 -8
  37. package/resources/claude-customizations/.claude/settings.json +37 -12
  38. package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +2 -2
  39. package/resources/claude-customizations/.claude/skills/csharp-qa-gate/SKILL.md +25 -10
  40. package/resources/claude-customizations/.claude/skills/execute-hard-lock/SKILL.md +6 -6
  41. package/resources/claude-customizations/.claude/skills/feature-promotion-lifecycle/SKILL.md +8 -8
  42. package/resources/claude-customizations/.claude/skills/feature-review-workflow/SKILL.md +17 -6
  43. package/resources/claude-customizations/.claude/skills/human-exception-runbook/SKILL.md +52 -0
  44. package/resources/claude-customizations/.claude/skills/human-exception-runbook/example.runbook.md +36 -0
  45. package/resources/claude-customizations/.claude/skills/invoke-csharp-engineer/SKILL.md +4 -4
  46. package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +96 -3
  47. package/resources/claude-customizations/.claude/skills/policy-audit-template-usage/SKILL.md +3 -3
  48. package/resources/claude-customizations/.claude/skills/powershell-qa-gate/SKILL.md +4 -4
  49. package/resources/claude-customizations/.claude/skills/pr-base-branch-merge-base/SKILL.md +3 -3
  50. package/resources/claude-customizations/.claude/skills/python-qa-gate/SKILL.md +1 -1
  51. package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +90 -17
  52. package/resources/claude-dir-customizations/.mcp.json +3 -3
  53. package/resources/codex-and-agents-customizations/.agents/README.md +1 -1
  54. package/resources/codex-and-agents-customizations/.agents/skills/acceptance-criteria-tracking/SKILL.md +0 -5
  55. package/resources/codex-and-agents-customizations/.agents/skills/architecture-boundaries/SKILL.md +52 -0
  56. package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +16 -8
  57. package/resources/codex-and-agents-customizations/.agents/skills/benchmark-baselines/SKILL.md +44 -0
  58. package/resources/codex-and-agents-customizations/.agents/skills/ci-workflows/SKILL.md +45 -0
  59. package/resources/codex-and-agents-customizations/.agents/skills/commit-message/SKILL.md +3 -11
  60. package/resources/codex-and-agents-customizations/.agents/skills/csharp/SKILL.md +1 -5
  61. package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +1 -6
  62. package/resources/codex-and-agents-customizations/.agents/skills/csharp-orchestration-state-machine/SKILL.md +0 -5
  63. package/resources/codex-and-agents-customizations/.agents/skills/csharp-qa-gate/SKILL.md +0 -5
  64. package/resources/codex-and-agents-customizations/.agents/skills/evidence-and-timestamp-conventions/SKILL.md +0 -5
  65. package/resources/codex-and-agents-customizations/.agents/skills/execute-hard-lock/SKILL.md +8 -17
  66. package/resources/codex-and-agents-customizations/.agents/skills/feature-promotion-lifecycle/SKILL.md +13 -14
  67. package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md +1 -6
  68. package/resources/codex-and-agents-customizations/.agents/skills/fill-feature-docs/SKILL.md +0 -5
  69. package/resources/codex-and-agents-customizations/.agents/skills/general-code-change/SKILL.md +86 -0
  70. package/resources/codex-and-agents-customizations/.agents/skills/general-unit-test/SKILL.md +111 -0
  71. package/resources/codex-and-agents-customizations/.agents/skills/human-exception-runbook/SKILL.md +57 -0
  72. package/resources/codex-and-agents-customizations/.agents/skills/human-exception-runbook/example.runbook.md +36 -0
  73. package/resources/codex-and-agents-customizations/.agents/skills/invoke-csharp-engineer/SKILL.md +0 -9
  74. package/resources/codex-and-agents-customizations/.agents/skills/invoke-powershell-engineer/SKILL.md +0 -9
  75. package/resources/codex-and-agents-customizations/.agents/skills/invoke-python-engineer/SKILL.md +0 -9
  76. package/resources/codex-and-agents-customizations/.agents/skills/make-skill-template/SKILL.md +0 -5
  77. package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +93 -8
  78. package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-state/SKILL.md +48 -0
  79. package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +61 -2
  80. package/resources/codex-and-agents-customizations/.agents/skills/policy-audit-template-usage/SKILL.md +3 -8
  81. package/resources/codex-and-agents-customizations/.agents/skills/policy-compliance-order/SKILL.md +0 -10
  82. package/resources/codex-and-agents-customizations/.agents/skills/powershell/SKILL.md +4 -8
  83. package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +1 -6
  84. package/resources/codex-and-agents-customizations/.agents/skills/powershell-orchestration-state-machine/SKILL.md +0 -5
  85. package/resources/codex-and-agents-customizations/.agents/skills/powershell-qa-gate/SKILL.md +3 -9
  86. package/resources/codex-and-agents-customizations/.agents/skills/pr-author/SKILL.md +1 -9
  87. package/resources/codex-and-agents-customizations/.agents/skills/pr-base-branch-merge-base/SKILL.md +4 -9
  88. package/resources/codex-and-agents-customizations/.agents/skills/pr-context-artifacts/SKILL.md +0 -5
  89. package/resources/codex-and-agents-customizations/.agents/skills/python/SKILL.md +1 -5
  90. package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +1 -6
  91. package/resources/codex-and-agents-customizations/.agents/skills/python-qa-gate/SKILL.md +0 -5
  92. package/resources/codex-and-agents-customizations/.agents/skills/python-suppressions/SKILL.md +2 -6
  93. package/resources/codex-and-agents-customizations/.agents/skills/quality-tiers/SKILL.md +57 -0
  94. package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +0 -5
  95. package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/SKILL.md +91 -72
  96. package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/agents/openai.yaml +1 -1
  97. package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +0 -10
  98. package/resources/codex-and-agents-customizations/.agents/skills/review-epic/SKILL.md +0 -5
  99. package/resources/codex-and-agents-customizations/.agents/skills/review-feature/SKILL.md +0 -5
  100. package/resources/codex-and-agents-customizations/.agents/skills/review-staged/SKILL.md +0 -5
  101. package/resources/codex-and-agents-customizations/.agents/skills/self-explanatory-code-commenting/SKILL.md +2 -6
  102. package/resources/codex-and-agents-customizations/.agents/skills/skill-canonical-location-audit/SKILL.md +0 -5
  103. package/resources/codex-and-agents-customizations/.agents/skills/tonality/SKILL.md +86 -0
  104. package/resources/codex-and-agents-customizations/.agents/skills/translate-claude-to-codex/SKILL.md +297 -0
  105. package/resources/codex-and-agents-customizations/.agents/skills/translate-copilot-to-claude/SKILL.md +0 -22
  106. package/resources/codex-and-agents-customizations/.agents/skills/typescript/SKILL.md +1 -5
  107. package/resources/codex-and-agents-customizations/.agents/skills/typescript-suppressions/SKILL.md +2 -6
  108. package/resources/codex-and-agents-customizations/.agents/skills/update-status/SKILL.md +0 -5
  109. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +5 -5
  110. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +91 -63
  111. package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-executor.toml +1 -1
  112. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer.toml +1 -1
  113. package/resources/codex-and-agents-customizations/.codex/config.toml +51 -136
  114. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-promotion-mcp-only.ps1 +1 -1
  115. package/resources/codex-and-agents-customizations/.codex/prompts/orchestrate-work.md +4 -3
  116. package/resources/codex-and-agents-customizations/.codex/scripts/post-codex-worktree-session.ps1 +5 -0
  117. package/resources/codex-and-agents-customizations/.github/workflows/_validate-orchestrator-state.yml +68 -0
  118. package/resources/codex-and-agents-customizations/.github/workflows/validate-orchestrator-state.yml +15 -0
  119. package/resources/config/orchestration-routing.json +84 -0
  120. package/resources/customizations/.github/agents/Powershell DI Unit Test Engineer.agent.md +1 -1
  121. package/resources/customizations/.github/agents/atomic_executor.agent.md +1 -1
  122. package/resources/customizations/.github/agents/atomic_planning.agent.md +10 -10
  123. package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +6 -2
  124. package/resources/customizations/.github/agents/feature-review.agent.md +2 -2
  125. package/resources/customizations/.github/agents/orchestrator.agent.md +6 -2
  126. package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +4 -4
  127. package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +10 -10
  128. package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +6 -2
  129. package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +2 -2
  130. package/resources/customizations/.github/agents/python-orchestrator.agent.md +6 -2
  131. package/resources/customizations/.github/agents/staged-review.agent.md +1 -1
  132. package/resources/customizations/.github/instructions/powershell-code-change.instructions.md +6 -6
  133. package/resources/customizations/.github/prompts/generate-commit-message-repo.prompt.md +1 -1
  134. package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +5 -3
  135. package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +5 -3
  136. package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +14 -1
  137. package/resources/customizations/.github/skills/feature-promotion-lifecycle/SKILL.md +11 -7
  138. package/resources/customizations/.github/skills/feature-review-workflow/SKILL.md +10 -1
  139. package/resources/customizations/.github/skills/pr-base-branch-merge-base/SKILL.md +2 -2
  140. package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +5 -0
  141. package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +7 -0
  142. package/resources/scripts/dev_tools/_orchestrator_state_human_interaction.py +127 -0
  143. package/resources/scripts/dev_tools/_orchestrator_state_routing.py +216 -0
  144. package/resources/scripts/dev_tools/push_down_claude_customizations.py +191 -5
  145. package/resources/scripts/dev_tools/validate_orchestration_artifacts.py +103 -411
  146. package/resources/scripts/dev_tools/validate_orchestration_review_artifacts.py +107 -0
  147. package/resources/scripts/dev_tools/validate_orchestrator_state.py +428 -0
  148. package/resources/scripts/dev_tools/validate_policy_audit_artifact.py +448 -0
  149. package/resources/templates/push_down_claude_customizations.py +227 -6
  150. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_repo_root_is_source_of_truth.md +0 -11
  151. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_vsce_verify_package_location.md +0 -19
  152. package/resources/claude-customizations/.claude/agent-memory/orchestrator/project_extension_location.md +0 -11
  153. package/resources/claude-customizations/.claude/agent-memory/prd-feature/MEMORY.md +0 -1
  154. package/resources/claude-customizations/.claude/agent-memory/prd-feature/project_push_down_pattern.md +0 -13
  155. package/resources/claude-customizations/.claude/agent-memory/task-researcher/MEMORY.md +0 -3
  156. package/resources/claude-customizations/.claude/agent-memory/task-researcher/project_push_down_claude_dir.md +0 -11
@@ -1,49 +1,39 @@
1
1
  ---
2
2
  name: repo-automation-adapter
3
- description: 'Centralize host-surface and repo-automation differences for Codex. Use when a migrated workflow previously depended on GitHub Copilot or VS Code extension commands and needs a single Codex-compatible execution or fallback rule.'
3
+ description: 'Centralize required drm-copilot MCP execution for Codex repo automation. Use when a workflow needs promotion, PR context, commit context, customization publishing, hard-lock resolution, or orchestration validation.'
4
4
  ---
5
5
 
6
6
  # Repo Automation Adapter
7
7
 
8
- Use this skill to keep host-specific workflow translation in one place.
8
+ Use this skill to keep host-specific workflow execution rules in one place.
9
9
 
10
- ## When to Use This Skill
10
+ ## Canonical Rule
11
11
 
12
- Use this skill when:
13
- - a migrated skill previously depended on `drmCopilotExtension.*` commands,
14
- - a workflow needs PR-context collection, issue promotion, or feature-folder creation,
15
- - the same fallback behavior would otherwise be repeated across multiple skills.
12
+ The `drm-copilot` MCP server is the only approved execution surface for canonical repository automation covered by this skill.
16
13
 
17
- ## Canonical Rule
14
+ There is no fallback. If the server is unavailable, the required tool is unavailable, or the MCP call fails, the workflow must stop, persist blocked state when an orchestrator checkpoint is active, and report the missing dependency or failed MCP operation.
18
15
 
19
- Do not encode host-specific execution details in multiple workflow skills. Put them here and have the calling skills reference this skill.
16
+ Do not replace a required MCP operation with local scripts, git reconstruction, direct filesystem synthesis, VS Code command IDs, or best-effort behavior.
20
17
 
21
- ## Published Codex Automation Surface
18
+ ## When to Use This Skill
22
19
 
23
- The canonical Codex automation dependency for this repo is the published MCP server:
24
- - `drmCopilotExtension`
20
+ Use this skill when:
25
21
 
26
- Downstream Codex skills should depend on the MCP server name `drmCopilotExtension`, not on raw VS Code command IDs.
22
+ - a migrated workflow previously depended on `drmCopilotExtension.*` commands,
23
+ - a workflow needs PR-context collection, issue promotion, feature-folder creation, commit-context collection, customization publishing, hard-lock prompt resolution, or orchestration-artifact validation,
24
+ - multiple skills need the same MCP-required execution rule.
27
25
 
28
- Declare that dependency once on this skill via `agents/openai.yaml`.
26
+ ## Published Codex Automation Surface
29
27
 
30
- ## Codex Capability Model
28
+ The required Codex automation dependency for this repo is the published MCP server:
31
29
 
32
- Codex in this repo can reliably use:
33
- - repository files,
34
- - shell commands,
35
- - git,
36
- - local scripts that already exist in the repository,
37
- - configured MCP tools when available.
30
+ - `drm-copilot`
38
31
 
39
- Codex in this repo should not assume direct access to:
40
- - `vscode/runCommand`,
41
- - `drmCopilotExtension.*` command execution,
42
- - GitHub issue or PR mutation unless an explicit connector or script is available.
32
+ Downstream Codex skills must depend on the MCP server name `drm-copilot`, not on raw VS Code command IDs.
43
33
 
44
34
  ## Published MCP Tool Surface
45
35
 
46
- Prefer these semantic MCP tools when the server is configured:
36
+ Use these semantic MCP tools when the corresponding operation is required:
47
37
 
48
38
  - `collect_commit_context`
49
39
  - `collect_pr_context`
@@ -54,8 +44,14 @@ Prefer these semantic MCP tools when the server is configured:
54
44
  - `potential_to_issue`
55
45
  - `new_active_feature_folder`
56
46
  - `resolve_execute_hard_lock_prompt`
47
+ - `resolve_atomic_plan_prompt`
48
+ - `validate_orchestration_artifacts`
49
+ - `run_poshqc_format`
50
+ - `run_poshqc_analyze`
51
+ - `run_poshqc_analyze_autofix`
52
+ - `run_poshqc_test`
57
53
 
58
- Legacy VS Code command IDs remain historical source material only:
54
+ Legacy VS Code command IDs are historical source material only and must not be invoked:
59
55
 
60
56
  - `drmCopilotExtension.collectCommitContext`
61
57
  - `drmCopilotExtension.collectPrContext`
@@ -69,74 +65,97 @@ Legacy VS Code command IDs remain historical source material only:
69
65
 
70
66
  ## Adapter Preconditions
71
67
 
72
- Before treating the MCP path as available, assume these prerequisites:
68
+ Before starting any workflow that depends on this skill, the orchestrator must assume these prerequisites are mandatory:
73
69
 
74
- - the Codex client is configured with MCP server name `drmCopilotExtension`
75
- - the published extension or bridge is installed and built
76
- - an open workspace folder exists for workspace-targeted operations
77
- - `python` is on `PATH`
78
- - `pwsh` is preferred, with Windows PowerShell fallback when applicable
70
+ - the Codex project is trusted so project `.codex/config.toml` loads,
71
+ - the Codex client is configured with MCP server name `drm-copilot`,
72
+ - the `drm-copilot` MCP server is active,
73
+ - the required MCP tool is exposed by the active server,
74
+ - an open workspace folder exists for workspace-targeted operations.
75
+
76
+ If any prerequisite is missing, stop before mutating workflow state.
79
77
 
80
78
  ## Execution Order
81
79
 
82
80
  For any host-specific workflow step:
83
81
 
84
- 1. Prefer the published `drmCopilotExtension` MCP tool when it covers the requested operation.
85
- 2. If the MCP server is unavailable, determine whether a deterministic git or filesystem fallback is sufficient.
86
- 3. If a deterministic fallback is sufficient, use it and record that the result is a fallback artifact rather than a canonical tool-produced artifact.
87
- 4. If no MCP path or safe fallback exists, stop and report the missing automation dependency instead of inventing behavior.
82
+ 1. Identify the required `drm-copilot` MCP tool.
83
+ 2. Call that MCP tool.
84
+ 3. Validate the MCP response according to the calling workflow's contract.
85
+ 4. If the tool is unavailable, the call fails, or the response does not satisfy the contract, stop and record blocked state. Do not execute a replacement path.
88
86
 
89
87
  ## Current Adapter Guidance
90
88
 
91
89
  ### PR context collection
92
90
 
93
- - Preferred: call tool `collect_pr_context` on MCP server `drmCopilotExtension`.
91
+ - Required tool: `collect_pr_context`.
94
92
  - When the caller already resolved a base branch, pass that base explicitly.
95
- - Current fallback: use deterministic git commands to reconstruct equivalent context when review workflows only need base/head, merge-base, commits, and changed files.
96
- - When using fallback, record the provenance in the generated review artifact.
97
93
  - For orchestrator remediation loops, PR-context refresh is mandatory after each remediation commit and before each re-review.
98
- - When the caller explicitly requires MCP tooling for PR-context refresh, do not silently downgrade to fallback; stop and report the dependency gap instead.
94
+ - If the tool is unavailable or fails, stop. Do not reconstruct PR context from local git commands.
99
95
 
100
96
  ### Commit context collection
101
97
 
102
- - Preferred: call tool `collect_commit_context` on MCP server `drmCopilotExtension`.
103
- - If the MCP server is unavailable and the workflow only needs staged-diff summary, use non-destructive git inspection as fallback and record that provenance.
98
+ - Required tool: `collect_commit_context`.
104
99
  - For orchestrator remediation loops, collect commit context only after `git add -A` and only when staged changes exist.
105
- - For orchestrator remediation loops, do not continue to commit-message generation without an on-disk commit-context artifact path produced by the selected adapter path.
106
- - When the caller explicitly requires MCP tooling for commit-context collection, do not silently downgrade to fallback; stop and report the dependency gap instead.
100
+ - Do not continue to commit-message generation without an on-disk commit-context artifact path produced by the MCP tool.
101
+ - If the tool is unavailable or fails, stop. Do not replace it with staged-diff inspection.
107
102
 
108
103
  ### Feature promotion and active feature folder creation
109
104
 
110
- - Preferred MCP tools:
111
- - `new_potential_entry`
112
- - `new_potential_bug_entry`
113
- - `potential_to_issue`
114
- - `new_active_feature_folder`
115
- - Current rule: use the MCP tools as the canonical path.
116
- - Execute these lifecycle operations as one ordered chain:
117
- - create potential entry
118
- - promote with `potential_to_issue`
119
- - capture numeric issue number from promotion output
120
- - create or check out `${promotion-type}/${short-name}-${issue-num}`
121
- - create active feature folder with `new_active_feature_folder`
122
- - `new_active_feature_folder` is not an allowed bootstrap substitute for missing promotion state.
123
- - If `${issue-num}` is missing, non-numeric, or placeholder text, stop instead of continuing.
124
- - If the MCP server is unavailable, surface a precise dependency gap unless the caller explicitly requests a best-effort local-only fallback.
125
- - Do not synthesize GitHub issue state, active-folder scaffolding, or placeholder lifecycle variables unless the user explicitly requests a best-effort local-only fallback.
126
- - When a local-only fallback is explicitly approved, preserve the same ordered lifecycle and verification gates; do not skip directly to folder creation.
105
+ Required tools:
106
+
107
+ - `new_potential_entry`
108
+ - `new_potential_bug_entry`
109
+ - `potential_to_issue`
110
+ - `new_active_feature_folder`
111
+
112
+ Execute these lifecycle operations as one ordered chain:
113
+
114
+ 1. Create the potential entry.
115
+ 2. Promote with `potential_to_issue`.
116
+ 3. Capture numeric issue number from promotion output.
117
+ 4. Create or check out `${promotion-type}/${short-name}-${issue-num}`.
118
+ 5. Create the active feature folder with `new_active_feature_folder`.
119
+
120
+ `new_active_feature_folder` is not an allowed bootstrap substitute for missing promotion state. If `${issue-num}` is missing, non-numeric, or placeholder text, stop. Do not synthesize GitHub issue state, active-folder scaffolding, or placeholder lifecycle variables.
127
121
 
128
122
  ### Customization publishing and hard-lock resolution
129
123
 
130
- - Preferred MCP tools:
131
- - `push_down_copilot_customizations`
132
- - `push_down_codex_and_agents_customizations`
133
- - `resolve_execute_hard_lock_prompt`
134
- - If the MCP server is unavailable, stop unless the caller explicitly provides an approved alternate path.
124
+ Required tools:
125
+
126
+ - `push_down_copilot_customizations`
127
+ - `push_down_codex_and_agents_customizations`
128
+ - `resolve_execute_hard_lock_prompt`
129
+ - `resolve_atomic_plan_prompt`
130
+
131
+ If the required tool is unavailable or fails, stop.
132
+
133
+ ### Orchestration artifact validation
134
+
135
+ Required tool:
136
+
137
+ - `validate_orchestration_artifacts`
138
+
139
+ Use this tool for canonical validation of plans, policy audits, code reviews, feature audits, and orchestrator state. For orchestrator completion, call it with `artifact_type: "orchestrator-state"` and `require_complete: true`.
140
+
141
+ If the tool is unavailable or fails, stop. Do not substitute direct CLI validation for canonical orchestrator completion.
142
+
143
+ ### PowerShell quality gates
144
+
145
+ Required tools:
146
+
147
+ - `run_poshqc_format`
148
+ - `run_poshqc_analyze`
149
+ - `run_poshqc_analyze_autofix`
150
+ - `run_poshqc_test`
151
+
152
+ When a workflow requires PoshQC execution through MCP, use only these tools. If the required tool is unavailable or fails, stop.
135
153
 
136
154
  ## Output Requirements
137
155
 
138
- When this skill is used, the calling workflow should report:
139
- - which operation required host adaptation,
140
- - which direct adapter or fallback path was selected,
141
- - whether the result is canonical or fallback-only,
142
- - what dependency is missing when the step is blocked.
156
+ When this skill is used, the calling workflow must report:
157
+
158
+ - which MCP operation was required,
159
+ - which `drm-copilot` tool was called,
160
+ - whether the MCP response satisfied the calling contract,
161
+ - the blocked-state reason when the MCP dependency is unavailable or fails.
@@ -1,5 +1,5 @@
1
1
  dependencies:
2
2
  tools:
3
3
  - type: "mcp"
4
- value: "drmCopilotExtension"
4
+ value: "drm-copilot"
5
5
  description: "Published drm-copilot stdio MCP bridge for repository automation"
@@ -1,16 +1,6 @@
1
- # Converted skill
2
-
3
- Applied rewrites:
4
- - None
5
-
6
1
  ---
7
2
  name: research-issue
8
3
  description: Investigate the best implementation approach for a feature or bug by analyzing the codebase and external references, then writing structured findings to artifacts/research/.
9
- allowed-tools:
10
- - Read
11
- - Grep
12
- - Glob
13
- - WebFetch
14
4
  ---
15
5
 
16
6
  # Research Issue Skill
@@ -1,8 +1,3 @@
1
- # Converted skill
2
-
3
- Applied rewrites:
4
- - None
5
-
6
1
  ---
7
2
  name: review-epic
8
3
  description: Invoke the epic-review worker to produce epic-audit artifacts for an epic folder.
@@ -1,8 +1,3 @@
1
- # Converted skill
2
-
3
- Applied rewrites:
4
- - None
5
-
6
1
  ---
7
2
  name: review-feature
8
3
  description: Invoke the feature-review worker to produce feature-audit artifacts for an active feature folder.
@@ -1,8 +1,3 @@
1
- # Converted skill
2
-
3
- Applied rewrites:
4
- - None
5
-
6
1
  ---
7
2
  name: review-staged
8
3
  description: Invoke the staged-review worker to produce staged-review artifacts from the staged diff.
@@ -1,12 +1,8 @@
1
- # Converted skill
2
-
3
- Applied rewrites:
4
- - None
5
-
6
1
  ---
2
+ name: self-explanatory-code-commenting
7
3
  paths:
8
4
  - "**/*.py"
9
- description: Intent-first docstring and commenting standards. Applies to Python files.
5
+ description: Intent-first docstring and commenting standards.
10
6
  ---
11
7
 
12
8
  # Code Commenting and Docstring Policy
@@ -1,8 +1,3 @@
1
- # Converted skill
2
-
3
- Applied rewrites:
4
- - Rewrite Claude skill-directory references to the native skill root.
5
-
6
1
  ---
7
2
  name: skill-canonical-location-audit
8
3
  description: 'Audit skills for canonical-location duplication. Use when ensuring a canonical location for a given item is defined in exactly one skill and duplicates are flagged.'
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: tonality
3
+ description: Required communication tone policy for all files and responses.
4
+ paths:
5
+ - "**"
6
+ description: Required communication tone policy. Applies to all files and responses.
7
+ ---
8
+
9
+ # Converted rule
10
+
11
+ Source: legacy Claude rule `tonality`.
12
+
13
+ # Tonality Policy
14
+
15
+ This rule file summarizes the required tone policy for all agent-authored content in this repository.
16
+
17
+ ## Required Professional Tone
18
+
19
+ All written output must use a professional tone. Professional tone means:
20
+
21
+ - Clear, direct, and factual language.
22
+ - Neutral businesslike phrasing.
23
+ - Measured statements that match the available evidence.
24
+ - Concise explanations that prioritize clarity over personality.
25
+ - Respectful wording, even when reporting defects, regressions, or disagreements.
26
+
27
+ Preferred characteristics: specific rather than vague; literal rather than theatrical; calm rather than excited; precise rather than promotional.
28
+
29
+ ## Humor and Joking — Prohibited
30
+
31
+ Do not use jokes, banter, playful remarks, sarcasm, puns, or comedic phrasing.
32
+
33
+ This prohibition includes:
34
+ - Lighthearted commentary intended to entertain.
35
+ - Winking or self-aware jokes about tools, code, bugs, or the development process.
36
+ - Casual filler that weakens a formal or operational message.
37
+ - Mocking, teasing, or exaggerated "fun" framing, even when mild.
38
+
39
+ When deciding between a playful sentence and a plain sentence, use the plain sentence.
40
+
41
+ ## Hyperbole — Prohibited
42
+
43
+ Do not use hyperbolic, inflated, or sensational language. Avoid:
44
+
45
+ - Claims that something is perfect, flawless, amazing, incredible, revolutionary, or world-class (unless directly quoting an authoritative source and clearly marking it as a quotation).
46
+ - Overstated certainty that goes beyond the verified evidence.
47
+ - Dramatic framing that overstates urgency, difficulty, simplicity, risk, or impact.
48
+
49
+ Use measured alternatives: replace absolute praise with evidence-based descriptions; replace dramatic warnings with specific risks and consequences; replace sweeping claims with concrete observations.
50
+
51
+ ## Metaphors — Tightly Restricted
52
+
53
+ Metaphor, analogy, and figurative language are not the default style. They may be used only when ALL of the following are true:
54
+
55
+ 1. The metaphor is strictly utilitarian.
56
+ 2. It is required to explain a technical concept that would otherwise be less clear.
57
+ 3. It improves accuracy or comprehension for the intended audience.
58
+ 4. It is brief, literal in effect, and not decorative.
59
+
60
+ If a concept can be explained clearly without metaphor, do not use metaphor.
61
+
62
+ ## Evidence-First Wording
63
+
64
+ Match the strength of the wording to the strength of the evidence:
65
+
66
+ - If something was verified, say it was verified and state how.
67
+ - If something is likely but unconfirmed, say that it is likely or appears to be the case.
68
+ - If something is unknown, say that it is unknown.
69
+ - Do not imply certainty, completion, safety, or correctness without support.
70
+
71
+ ## Difficult Messages
72
+
73
+ When reporting failures, defects, or policy violations:
74
+ - State the issue directly.
75
+ - Describe the impact without dramatizing it.
76
+ - Identify the next corrective action when available.
77
+ - Avoid blame-oriented or emotionally charged wording.
78
+
79
+ When giving recommendations:
80
+ - Prefer imperative, concrete language.
81
+ - Explain the rationale briefly when it is not obvious.
82
+ - Avoid motivational language, sales language, or celebratory phrasing.
83
+
84
+ ## Final Rule
85
+
86
+ When tone is uncertain, choose the more restrained phrasing. The repository default is professionalism, clarity, and accuracy — not entertainment, flourish, or hype.