deuk-agent-flow 4.2.7 → 5.0.4

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 (170) hide show
  1. package/CHANGELOG.ko.md +277 -0
  2. package/CHANGELOG.md +794 -124
  3. package/LICENSE +0 -0
  4. package/README.ko.md +97 -17
  5. package/README.md +108 -25
  6. package/bin/deuk-agent-flow.js +11 -13
  7. package/bin/deuk-agent-rule.js +1 -1
  8. package/bundled/README.md +3 -0
  9. package/bundled/deuk-agent-flow.vsix +0 -0
  10. package/core-rules/AGENTS.md +30 -120
  11. package/docs/architecture.ko.md +155 -2
  12. package/docs/architecture.md +155 -2
  13. package/docs/assets/agentflow-panel-skills.png +0 -0
  14. package/docs/assets/agentflow-panel.png +0 -0
  15. package/docs/how-it-works.ko.md +109 -52
  16. package/docs/how-it-works.md +128 -71
  17. package/docs/principles.ko.md +68 -68
  18. package/docs/principles.md +68 -68
  19. package/docs/usage-guide.ko.md +251 -212
  20. package/package.json +60 -45
  21. package/scripts/bundle-vscode-vsix.ts +67 -0
  22. package/scripts/{cli-args.mjs → cli-args.ts} +49 -12
  23. package/scripts/cli-context-commands.ts +35 -0
  24. package/scripts/cli-init-claude.ts +179 -0
  25. package/scripts/cli-init-commands.ts +99 -0
  26. package/scripts/cli-init-core.ts +89 -0
  27. package/scripts/cli-init-instructions.ts +489 -0
  28. package/scripts/cli-init-logic.ts +46 -0
  29. package/scripts/cli-init-migrate.ts +504 -0
  30. package/scripts/cli-init-workspace.ts +63 -0
  31. package/scripts/cli-locales.ts +85 -0
  32. package/scripts/{cli-prompts.mjs → cli-prompts.ts} +19 -34
  33. package/scripts/{cli-rule-compiler.mjs → cli-rule-compiler.ts} +128 -112
  34. package/scripts/cli-skill-commands.ts +709 -0
  35. package/scripts/{cli-telemetry-commands.mjs → cli-telemetry-commands.ts} +25 -22
  36. package/scripts/cli-ticket-command-shared.ts +4 -0
  37. package/scripts/cli-ticket-commands.ts +3781 -0
  38. package/scripts/cli-ticket-docmeta.ts +103 -0
  39. package/scripts/cli-ticket-document.ts +153 -0
  40. package/scripts/cli-ticket-evidence.ts +312 -0
  41. package/scripts/cli-ticket-home.ts +449 -0
  42. package/scripts/cli-ticket-index.ts +283 -0
  43. package/scripts/{cli-ticket-migration.mjs → cli-ticket-migration.ts} +44 -68
  44. package/scripts/cli-ticket-parser.ts +100 -0
  45. package/scripts/cli-ticket-scan.ts +102 -0
  46. package/scripts/cli-ticket-surface.ts +56 -0
  47. package/scripts/{cli-usage-commands.mjs → cli-usage-commands.ts} +325 -326
  48. package/scripts/cli-utils.ts +1560 -0
  49. package/scripts/cli.ts +695 -0
  50. package/scripts/{lint-md.mjs → lint-md.ts} +32 -42
  51. package/scripts/lint-rules.ts +203 -0
  52. package/scripts/{merge-logic.mjs → merge-logic.ts} +44 -44
  53. package/scripts/oss-prepack.js +32 -0
  54. package/scripts/out/scripts/bundle-vscode-vsix.js +68 -0
  55. package/scripts/out/scripts/bundle-vscode-vsix.js.map +1 -0
  56. package/scripts/out/scripts/cli-args.js +374 -0
  57. package/scripts/out/scripts/cli-args.js.map +1 -0
  58. package/scripts/out/scripts/cli-context-commands.js +31 -0
  59. package/scripts/out/scripts/cli-context-commands.js.map +1 -0
  60. package/scripts/out/scripts/cli-init-claude.js +176 -0
  61. package/scripts/out/scripts/cli-init-claude.js.map +1 -0
  62. package/scripts/out/scripts/cli-init-commands.js +87 -0
  63. package/scripts/out/scripts/cli-init-commands.js.map +1 -0
  64. package/scripts/out/scripts/cli-init-core.js +89 -0
  65. package/scripts/out/scripts/cli-init-core.js.map +1 -0
  66. package/scripts/out/scripts/cli-init-instructions.js +460 -0
  67. package/scripts/out/scripts/cli-init-instructions.js.map +1 -0
  68. package/scripts/out/scripts/cli-init-logic.js +41 -0
  69. package/scripts/out/scripts/cli-init-logic.js.map +1 -0
  70. package/scripts/out/scripts/cli-init-migrate.js +497 -0
  71. package/scripts/out/scripts/cli-init-migrate.js.map +1 -0
  72. package/scripts/out/scripts/cli-init-workspace.js +57 -0
  73. package/scripts/out/scripts/cli-init-workspace.js.map +1 -0
  74. package/scripts/out/scripts/cli-locales.js +83 -0
  75. package/scripts/out/scripts/cli-locales.js.map +1 -0
  76. package/scripts/out/scripts/cli-prompts.js +101 -0
  77. package/scripts/out/scripts/cli-prompts.js.map +1 -0
  78. package/scripts/out/scripts/cli-rule-compiler.js +121 -0
  79. package/scripts/out/scripts/cli-rule-compiler.js.map +1 -0
  80. package/scripts/out/scripts/cli-skill-commands.js +708 -0
  81. package/scripts/out/scripts/cli-skill-commands.js.map +1 -0
  82. package/scripts/out/scripts/cli-telemetry-commands.js +604 -0
  83. package/scripts/out/scripts/cli-telemetry-commands.js.map +1 -0
  84. package/scripts/out/scripts/cli-ticket-command-shared.js +2 -0
  85. package/scripts/out/scripts/cli-ticket-command-shared.js.map +1 -0
  86. package/scripts/out/scripts/cli-ticket-commands.js +3530 -0
  87. package/scripts/out/scripts/cli-ticket-commands.js.map +1 -0
  88. package/scripts/out/scripts/cli-ticket-docmeta.js +90 -0
  89. package/scripts/out/scripts/cli-ticket-docmeta.js.map +1 -0
  90. package/scripts/out/scripts/cli-ticket-document.js +121 -0
  91. package/scripts/out/scripts/cli-ticket-document.js.map +1 -0
  92. package/scripts/out/scripts/cli-ticket-evidence.js +286 -0
  93. package/scripts/out/scripts/cli-ticket-evidence.js.map +1 -0
  94. package/scripts/out/scripts/cli-ticket-home.js +440 -0
  95. package/scripts/out/scripts/cli-ticket-home.js.map +1 -0
  96. package/scripts/out/scripts/cli-ticket-index.js +272 -0
  97. package/scripts/out/scripts/cli-ticket-index.js.map +1 -0
  98. package/scripts/out/scripts/cli-ticket-migration.js +261 -0
  99. package/scripts/out/scripts/cli-ticket-migration.js.map +1 -0
  100. package/scripts/out/scripts/cli-ticket-parser.js +90 -0
  101. package/scripts/out/scripts/cli-ticket-parser.js.map +1 -0
  102. package/scripts/out/scripts/cli-ticket-scan.js +93 -0
  103. package/scripts/out/scripts/cli-ticket-scan.js.map +1 -0
  104. package/scripts/out/scripts/cli-ticket-surface.js +53 -0
  105. package/scripts/out/scripts/cli-ticket-surface.js.map +1 -0
  106. package/scripts/out/scripts/cli-usage-commands.js +310 -0
  107. package/scripts/out/scripts/cli-usage-commands.js.map +1 -0
  108. package/scripts/out/scripts/cli-utils.js +1544 -0
  109. package/scripts/out/scripts/cli-utils.js.map +1 -0
  110. package/scripts/out/scripts/cli.js +696 -0
  111. package/scripts/out/scripts/cli.js.map +1 -0
  112. package/scripts/out/scripts/lint-md.js +238 -0
  113. package/scripts/out/scripts/lint-md.js.map +1 -0
  114. package/scripts/out/scripts/lint-rules.js +193 -0
  115. package/scripts/out/scripts/lint-rules.js.map +1 -0
  116. package/scripts/out/scripts/merge-logic.js +38 -0
  117. package/scripts/out/scripts/merge-logic.js.map +1 -0
  118. package/scripts/out/scripts/plan-parser.js +52 -0
  119. package/scripts/out/scripts/plan-parser.js.map +1 -0
  120. package/scripts/out/scripts/ticket-machine.js +94 -0
  121. package/scripts/out/scripts/ticket-machine.js.map +1 -0
  122. package/scripts/out/scripts/ticket-workflow.js +498 -0
  123. package/scripts/out/scripts/ticket-workflow.js.map +1 -0
  124. package/scripts/{plan-parser.mjs → plan-parser.ts} +53 -53
  125. package/scripts/ticket-machine.ts +99 -0
  126. package/scripts/ticket-workflow.ts +544 -0
  127. package/templates/MODULE_RULE_TEMPLATE.md +11 -11
  128. package/templates/PROJECT_RULE.md +46 -47
  129. package/templates/TICKET_TEMPLATE.ko.md +48 -44
  130. package/templates/TICKET_TEMPLATE.md +48 -44
  131. package/templates/project-memory.md +19 -0
  132. package/templates/project-pilot/CONFORMANCE_GATE_TEMPLATE.md +25 -25
  133. package/templates/project-pilot/DRIFT_CHECKLIST.md +27 -27
  134. package/templates/project-pilot/FLOW_CONTRACT_TEMPLATE.md +26 -26
  135. package/templates/project-pilot/IMPLEMENTATION_MATRIX_TEMPLATE.md +30 -30
  136. package/templates/project-pilot/INTEGRATION_CONTRACT_TEMPLATE.md +26 -26
  137. package/templates/project-pilot/OWNER_MAP_TEMPLATE.md +15 -15
  138. package/templates/project-pilot/PROJECT_PILOT_RULE_TEMPLATE.md +34 -34
  139. package/templates/project-pilot/REFACTOR_CONTRACT_TEMPLATE.md +32 -32
  140. package/templates/project-pilot/REMEDIATION_PLAN_TEMPLATE.md +33 -33
  141. package/templates/rules.d/deukcontext-mcp.md +31 -31
  142. package/templates/rules.d/platform-coexistence.md +29 -29
  143. package/templates/skills/context-recall/SKILL.md +3 -1
  144. package/templates/skills/doc-sync/SKILL.md +111 -0
  145. package/templates/skills/generated-file-guard/SKILL.md +3 -1
  146. package/templates/skills/persona-maid/SKILL.md +65 -0
  147. package/templates/skills/project-pilot/SKILL.md +14 -63
  148. package/templates/skills/role-closer/SKILL.md +27 -0
  149. package/templates/skills/role-implementer/SKILL.md +30 -0
  150. package/templates/skills/role-planner/SKILL.md +29 -0
  151. package/templates/skills/role-qa-verifier/SKILL.md +30 -0
  152. package/templates/skills/safe-refactor/SKILL.md +3 -1
  153. package/templates/skills/ticket-status-surface/SKILL.md +17 -0
  154. package/NOTICE.md +0 -19
  155. package/core-rules/GEMINI.md +0 -7
  156. package/docs/npm-publish-guide.ko.md +0 -70
  157. package/scripts/cli-init-commands.mjs +0 -1759
  158. package/scripts/cli-init-logic.mjs +0 -64
  159. package/scripts/cli-skill-commands.mjs +0 -212
  160. package/scripts/cli-ticket-command-shared.mjs +0 -60
  161. package/scripts/cli-ticket-commands.mjs +0 -2474
  162. package/scripts/cli-ticket-index.mjs +0 -322
  163. package/scripts/cli-ticket-parser.mjs +0 -210
  164. package/scripts/cli-utils.mjs +0 -602
  165. package/scripts/cli.mjs +0 -256
  166. package/scripts/lint-rules.mjs +0 -197
  167. package/scripts/publish-dual-npm.mjs +0 -141
  168. package/scripts/smoke-npm-docker.mjs +0 -102
  169. package/scripts/smoke-npm-local.mjs +0 -110
  170. package/scripts/update-download-badge.mjs +0 -103
@@ -1,44 +1,48 @@
1
- ---
2
- <%- frontmatter %>
3
- ---
4
- # <%= meta.title %>
5
-
6
- ## Agent Permission Contract (APC)
7
-
8
- ### [BOUNDARY]
9
- - 확인된 범위를 기준으로 정확한 수정 가능 모듈을 적습니다.
10
- - 생성물, 무관한 공용 영역, 외부 루트처럼 건드리면 안 되는 범위를 적습니다.
11
- - 범위를 지배하는 프로젝트 규칙과 코어 규칙을 적습니다.
12
-
13
- ### [CONTRACT]
14
- - 이 티켓이 의존하는 실제 입력, 근거, 아티팩트를 적습니다.
15
- - 티켓이 만들어야 하는 실제 결과를 적습니다.
16
- - 허용되는 부작용과 명시적으로 제외할 항목을 적습니다.
17
- - 사용자가 명시적으로 요청한 경우가 아니면 테스트 작성/확장은 넣지 않습니다.
18
-
19
- ### [PATCH PLAN]
20
- - 확인된 로컬 맥락을 기준으로 정확한 구현 경로를 적습니다.
21
-
22
- ## Compact Plan
23
-
24
- - 실제로 확인한 문제, 선택한 접근, 가장 작은 검증 대상을 적습니다.
25
-
26
- ## Problem Analysis
27
-
28
- - 확인된 관측을 바탕으로 실제 불일치, 실패, 요청 내용을 적습니다.
29
-
30
- ## Source Observations
31
-
32
- - 파일, 명령, diff, 문서, 이전 티켓 기록에서 확인한 실제 근거를 적습니다.
33
-
34
- ## Cause Hypotheses
35
-
36
- - 현재 가장 유력한 설명과 아직 경쟁 중인 다른 가설을 적습니다.
37
-
38
- ## Improvement Direction
39
-
40
- - 선택한 방향, 범위 경계, 이 경로를 택한 이유를 적습니다.
41
-
42
- ## Audit Evidence
43
-
44
- - 승인 전과 실행 전까지 확인한 사실과 명령을 적습니다.
1
+ ---
2
+ <%- frontmatter %>
3
+ ---
4
+ # <%= meta.title %>
5
+
6
+ ## Agent Permission Contract (APC)
7
+
8
+ ### [BOUNDARY]
9
+ - 수정 가능:
10
+ - 보호 범위:
11
+ - 적용 규칙:
12
+
13
+ ### [CONTRACT]
14
+ - 입력/근거:
15
+ - 기대 결과:
16
+ - 허용 부작용:
17
+ - 제외:
18
+
19
+ ### [PATCH PLAN]
20
+ - 구현 경로:
21
+
22
+ ## Compact Plan
23
+
24
+ - Problem:
25
+ - Approach:
26
+ - Verification:
27
+
28
+ ## Problem Analysis
29
+
30
+ -
31
+
32
+ ## Source Observations
33
+
34
+ -
35
+
36
+ ## Cause Hypotheses
37
+
38
+ -
39
+
40
+ ## Improvement Direction
41
+
42
+ -
43
+
44
+ ## Audit Evidence
45
+
46
+ - Core rules:
47
+ - Project rules:
48
+ - Commands/evidence:
@@ -1,44 +1,48 @@
1
- ---
2
- <%- frontmatter %>
3
- ---
4
- # <%= meta.title %>
5
-
6
- ## Agent Permission Contract (APC)
7
-
8
- ### [BOUNDARY]
9
- - Record the exact editable modules for this ticket using confirmed scope.
10
- - Record forbidden/generated/unrelated areas that must stay untouched.
11
- - Cite the governing project/core rule set that defines the boundary.
12
-
13
- ### [CONTRACT]
14
- - Record the concrete inputs, artifacts, or local evidence this ticket depends on.
15
- - Record the concrete output expected from this ticket.
16
- - Record allowed side effects and anything explicitly excluded.
17
- - Do not include test creation or test expansion unless the user explicitly requested tests.
18
-
19
- ### [PATCH PLAN]
20
- - Record the exact implementation path for this ticket using confirmed local context.
21
-
22
- ## Compact Plan
23
-
24
- - Record the concrete finding, chosen approach, and smallest verification target.
25
-
26
- ## Problem Analysis
27
-
28
- - Record the actual mismatch, failure, or request using confirmed observations.
29
-
30
- ## Source Observations
31
-
32
- - Record concrete local evidence from files, commands, diffs, docs, or prior ticket history.
33
-
34
- ## Cause Hypotheses
35
-
36
- - Record the current best explanation and the alternatives still under consideration.
37
-
38
- ## Improvement Direction
39
-
40
- - Record the chosen direction, scope boundaries, and why this path is being taken.
41
-
42
- ## Audit Evidence
43
-
44
- - Record the confirmed facts and commands gathered before approval and execution.
1
+ ---
2
+ <%- frontmatter %>
3
+ ---
4
+ # <%= meta.title %>
5
+
6
+ ## Agent Permission Contract (APC)
7
+
8
+ ### [BOUNDARY]
9
+ - Editable:
10
+ - Protected:
11
+ - Governing rules:
12
+
13
+ ### [CONTRACT]
14
+ - Inputs/evidence:
15
+ - Expected output:
16
+ - Allowed side effects:
17
+ - Excluded:
18
+
19
+ ### [PATCH PLAN]
20
+ - Implementation path:
21
+
22
+ ## Compact Plan
23
+
24
+ - Problem:
25
+ - Approach:
26
+ - Verification:
27
+
28
+ ## Problem Analysis
29
+
30
+ -
31
+
32
+ ## Source Observations
33
+
34
+ -
35
+
36
+ ## Cause Hypotheses
37
+
38
+ -
39
+
40
+ ## Improvement Direction
41
+
42
+ -
43
+
44
+ ## Audit Evidence
45
+
46
+ - Core rules:
47
+ - Project rules:
48
+ - Commands/evidence:
@@ -0,0 +1,19 @@
1
+ # Project Memory
2
+
3
+ > 이 파일은 에이전트가 매 세션마다 컨텍스트를 재수집하지 않도록 프로젝트 맥락을 기록합니다.
4
+ > `deuk-agent-flow rules` 출력에 자동 포함됩니다.
5
+ > 큰 결정이 있을 때 이 파일(project-memory.md)만 직접 편집해 갱신하세요. 티켓 자체(.md·프론트매터·docmeta·INDEX.json)는 절대 손으로 고치지 말고 deuk-agent-flow CLI로만 변경하세요 — 승인 게이트 우회 금지.
6
+
7
+ ## Current Architecture State
8
+ <!-- 지금 코드베이스가 어떤 모양인지 — 주요 모듈, 레이어, 인터페이스 요약 -->
9
+
10
+ ## Active Refactoring Direction
11
+ <!-- 진행 중인 큰 방향 — 예: "syntax.ts → YAML 전환 중", "agentd TS 단일화" -->
12
+
13
+ ## Key Decisions Log
14
+ | 날짜 | 결정 | 이유 |
15
+ |------|------|------|
16
+ | <!-- YYYY-MM-DD --> | <!-- 결정 내용 --> | <!-- 이유 --> |
17
+
18
+ ## Milestones
19
+ - [ ] <!-- 진행 중인 것 -->
@@ -1,25 +1,25 @@
1
- # Conformance Gate Template
2
-
3
- ## Pre-Implementation
4
-
5
- - Implementation matrix exists:
6
- - Refactor contract exists:
7
- - Owner map exists:
8
- - Drift checklist completed:
9
-
10
- ## Verification Commands
11
-
12
- | Stage | Command | Expected Result | Actual Result |
13
- | --- | --- | --- | --- |
14
- | structure | | | |
15
- | metadata/manifest bypass | | | |
16
- | build/test | | | |
17
- | runtime/report | | | |
18
-
19
- ## Exit Criteria
20
-
21
- - Contract and implementation agree.
22
- - Unsupported paths are explicit.
23
- - Generated/runtime/report outputs match the intended owner path.
24
- - Metadata/manifest/schema bypass findings are absent or recorded as blocking remediation.
25
- - Residual risks are recorded.
1
+ # Conformance Gate Template
2
+
3
+ ## Pre-Implementation
4
+
5
+ - Implementation matrix exists:
6
+ - Refactor contract exists:
7
+ - Owner map exists:
8
+ - Drift checklist completed:
9
+
10
+ ## Verification Commands
11
+
12
+ | Stage | Command | Expected Result | Actual Result |
13
+ | --- | --- | --- | --- |
14
+ | structure | | | |
15
+ | metadata/manifest bypass | | | |
16
+ | build/test | | | |
17
+ | runtime/report | | | |
18
+
19
+ ## Exit Criteria
20
+
21
+ - Contract and implementation agree.
22
+ - Unsupported paths are explicit.
23
+ - Generated/runtime/report outputs match the intended owner path.
24
+ - Metadata/manifest/schema bypass findings are absent or recorded as blocking remediation.
25
+ - Residual risks are recorded.
@@ -1,27 +1,27 @@
1
- # Drift Checklist
2
-
3
- Mark each line before implementation.
4
-
5
- - [ ] No silent fallback remains in the touched path.
6
- - [ ] No alias-only path is being treated as a real contract.
7
- - [ ] No no-op or placeholder path is being counted as support.
8
- - [ ] No generated artifact is being edited directly.
9
- - [ ] No single-language patch is being presented as a shared fix.
10
- - [ ] No provider/generator/template/report path hardcodes metadata-owned
11
- protocol method spellings.
12
- - [ ] No generated record format surface is hardcoded outside protocol contract
13
- or generated-artifact manifest ownership.
14
- - [ ] No schema JSON is embedded directly where schema metadata or manifest
15
- ownership is required.
16
- - [ ] No DpField-style helper is selected directly where shared runtime contract
17
- ownership is required.
18
- - [ ] No unsupported-by-contract path is being mislabeled as broken.
19
- - [ ] No broken-entrypoint is being hidden as unsupported.
20
- - [ ] Error behavior is explicit and testable.
21
- - [ ] Verification covers the actual owner path.
22
-
23
- ## Known Exceptions
24
-
25
- | Exception | Reason | Guard |
26
- | --- | --- | --- |
27
- | | | |
1
+ # Drift Checklist
2
+
3
+ Mark each line before implementation.
4
+
5
+ - [ ] No silent fallback remains in the touched path.
6
+ - [ ] No alias-only path is being treated as a real contract.
7
+ - [ ] No no-op or placeholder path is being counted as support.
8
+ - [ ] No generated artifact is being edited directly.
9
+ - [ ] No single-language patch is being presented as a shared fix.
10
+ - [ ] No provider/generator/template/report path hardcodes metadata-owned
11
+ protocol method spellings.
12
+ - [ ] No generated record format surface is hardcoded outside protocol contract
13
+ or generated-artifact manifest ownership.
14
+ - [ ] No schema JSON is embedded directly where schema metadata or manifest
15
+ ownership is required.
16
+ - [ ] No DpField-style helper is selected directly where shared runtime contract
17
+ ownership is required.
18
+ - [ ] No unsupported-by-contract path is being mislabeled as broken.
19
+ - [ ] No broken-entrypoint is being hidden as unsupported.
20
+ - [ ] Error behavior is explicit and testable.
21
+ - [ ] Verification covers the actual owner path.
22
+
23
+ ## Known Exceptions
24
+
25
+ | Exception | Reason | Guard |
26
+ | --- | --- | --- |
27
+ | | | |
@@ -1,26 +1,26 @@
1
- # Flow Contract Template
2
-
3
- ## Flow Identity
4
-
5
- - Workflow or call path:
6
- - Trigger:
7
- - Expected owner:
8
-
9
- ## Steps
10
-
11
- | Step | Surface | Contract | Evidence |
12
- | --- | --- | --- | --- |
13
- | | | | |
14
-
15
- ## Flow Rules
16
-
17
- - Required order:
18
- - Required handoff:
19
- - Forbidden shortcut:
20
- - Verification point:
21
-
22
- ## Exceptions
23
-
24
- | Exception | Scope | Required guard |
25
- | --- | --- | --- |
26
- | | | |
1
+ # Flow Contract Template
2
+
3
+ ## Flow Identity
4
+
5
+ - Workflow or call path:
6
+ - Trigger:
7
+ - Expected owner:
8
+
9
+ ## Steps
10
+
11
+ | Step | Surface | Contract | Evidence |
12
+ | --- | --- | --- | --- |
13
+ | | | | |
14
+
15
+ ## Flow Rules
16
+
17
+ - Required order:
18
+ - Required handoff:
19
+ - Forbidden shortcut:
20
+ - Verification point:
21
+
22
+ ## Exceptions
23
+
24
+ | Exception | Scope | Required guard |
25
+ | --- | --- | --- |
26
+ | | | |
@@ -1,30 +1,30 @@
1
- # Implementation Matrix Template
2
-
3
- ## Target
4
-
5
- - Feature or contract family:
6
- - Matrix axis A:
7
- - Matrix axis B:
8
-
9
- ## Status Codes
10
-
11
- | Code | Meaning |
12
- | --- | --- |
13
- | `C` | complete |
14
- | `P` | partial |
15
- | `S` | stub |
16
- | `B` | broken-entrypoint |
17
- | `U` | unsupported-by-contract |
18
- | `D` | documented exception |
19
-
20
- ## Matrix
21
-
22
- | Axis A | Axis B | Status | Evidence | Owner | Action |
23
- | --- | --- | --- | --- | --- | --- |
24
- | | | | | | |
25
-
26
- ## Notes
27
-
28
- - Hidden shortcut candidates:
29
- - Split candidates:
30
- - Explicit unsupported paths:
1
+ # Implementation Matrix Template
2
+
3
+ ## Target
4
+
5
+ - Feature or contract family:
6
+ - Matrix axis A:
7
+ - Matrix axis B:
8
+
9
+ ## Status Codes
10
+
11
+ | Code | Meaning |
12
+ | --- | --- |
13
+ | `C` | complete |
14
+ | `P` | partial |
15
+ | `S` | stub |
16
+ | `B` | broken-entrypoint |
17
+ | `U` | unsupported-by-contract |
18
+ | `D` | documented exception |
19
+
20
+ ## Matrix
21
+
22
+ | Axis A | Axis B | Status | Evidence | Owner | Action |
23
+ | --- | --- | --- | --- | --- | --- |
24
+ | | | | | | |
25
+
26
+ ## Notes
27
+
28
+ - Hidden shortcut candidates:
29
+ - Split candidates:
30
+ - Explicit unsupported paths:
@@ -1,26 +1,26 @@
1
- # Integration Contract Template
2
-
3
- ## Integration Identity
4
-
5
- - Connected surfaces:
6
- - Shared contract:
7
- - Expected direction:
8
-
9
- ## Surface Rules
10
-
11
- | Surface | Responsibility | Input | Output | Owner |
12
- | --- | --- | --- | --- | --- |
13
- | | | | | |
14
-
15
- ## Drift Risks
16
-
17
- - Alias risk:
18
- - Fallback risk:
19
- - Generated/source mismatch risk:
20
- - Report/test mismatch risk:
21
-
22
- ## Verification
23
-
24
- - Minimum command:
25
- - Expected proof:
26
- - Residual risk:
1
+ # Integration Contract Template
2
+
3
+ ## Integration Identity
4
+
5
+ - Connected surfaces:
6
+ - Shared contract:
7
+ - Expected direction:
8
+
9
+ ## Surface Rules
10
+
11
+ | Surface | Responsibility | Input | Output | Owner |
12
+ | --- | --- | --- | --- | --- |
13
+ | | | | | |
14
+
15
+ ## Drift Risks
16
+
17
+ - Alias risk:
18
+ - Fallback risk:
19
+ - Generated/source mismatch risk:
20
+ - Report/test mismatch risk:
21
+
22
+ ## Verification
23
+
24
+ - Minimum command:
25
+ - Expected proof:
26
+ - Residual risk:
@@ -1,15 +1,15 @@
1
- # Owner Map Template
2
-
3
- | Symptom Surface | Source of Truth | Editable Here | Regeneration or Sync Command | Notes |
4
- | --- | --- | --- | --- | --- |
5
- | generated file | | yes/no | | |
6
- | runtime implementation | | yes/no | | |
7
- | report output | | yes/no | | |
8
- | template | | yes/no | | |
9
- | contract data | | yes/no | | |
10
-
11
- ## Owner Decision
12
-
13
- - Primary owner:
14
- - Secondary owner:
15
- - Do-not-edit surfaces:
1
+ # Owner Map Template
2
+
3
+ | Symptom Surface | Source of Truth | Editable Here | Regeneration or Sync Command | Notes |
4
+ | --- | --- | --- | --- | --- |
5
+ | generated file | | yes/no | | |
6
+ | runtime implementation | | yes/no | | |
7
+ | report output | | yes/no | | |
8
+ | template | | yes/no | | |
9
+ | contract data | | yes/no | | |
10
+
11
+ ## Owner Decision
12
+
13
+ - Primary owner:
14
+ - Secondary owner:
15
+ - Do-not-edit surfaces:
@@ -1,34 +1,34 @@
1
- # ProjectPilot Rule Template
2
-
3
- ## Scope
4
-
5
- - Product:
6
- - Shared refactor contract:
7
- - Generated/source/runtime boundaries:
8
-
9
- ## Mandatory Gates
10
-
11
- 1. Build an implementation matrix before cross-surface edits.
12
- 2. Classify `B`, `S`, `P`, `U`, and documented exceptions separately.
13
- 3. Identify the source owner before touching any generated or report artifact.
14
- 4. Define the conformance gate before implementation.
15
-
16
- ## Prohibited Shortcuts
17
-
18
- - Silent fallback
19
- - Alias-only compatibility patch
20
- - No-op implementation presented as support
21
- - Generated artifact direct edit
22
- - Single-language patch presented as shared fix
23
-
24
- ## Required Evidence
25
-
26
- - File and line references:
27
- - Verification commands:
28
- - Contract references:
29
-
30
- ## Project Exceptions
31
-
32
- | Exception | Why allowed | Guard |
33
- | --- | --- | --- |
34
- | | | |
1
+ # ProjectPilot Rule Template
2
+
3
+ ## Scope
4
+
5
+ - Product:
6
+ - Shared refactor contract:
7
+ - Generated/source/runtime boundaries:
8
+
9
+ ## Mandatory Gates
10
+
11
+ 1. Build an implementation matrix before cross-surface edits.
12
+ 2. Classify `B`, `S`, `P`, `U`, and documented exceptions separately.
13
+ 3. Identify the source owner before touching any generated or report artifact.
14
+ 4. Define the conformance gate before implementation.
15
+
16
+ ## Prohibited Shortcuts
17
+
18
+ - Silent fallback
19
+ - Alias-only compatibility patch
20
+ - No-op implementation presented as support
21
+ - Generated artifact direct edit
22
+ - Single-language patch presented as shared fix
23
+
24
+ ## Required Evidence
25
+
26
+ - File and line references:
27
+ - Verification commands:
28
+ - Contract references:
29
+
30
+ ## Project Exceptions
31
+
32
+ | Exception | Why allowed | Guard |
33
+ | --- | --- | --- |
34
+ | | | |
@@ -1,32 +1,32 @@
1
- # Refactor Contract Template
2
-
3
- ## Contract Identity
4
-
5
- - Feature or protocol:
6
- - Canonical entrypoint:
7
- - Supported callers:
8
-
9
- ## Input Shape
10
-
11
- - Required inputs:
12
- - Optional inputs:
13
- - Invalid inputs:
14
-
15
- ## Result Shape
16
-
17
- - Success result:
18
- - Error result:
19
- - Unsupported result:
20
-
21
- ## Shared Guarantees
22
-
23
- - Naming rule:
24
- - Ownership rule:
25
- - Fail-fast rule:
26
- - Generated/runtime alignment rule:
27
-
28
- ## Exceptions
29
-
30
- | Exception | Scope | Required evidence |
31
- | --- | --- | --- |
32
- | | | |
1
+ # Refactor Contract Template
2
+
3
+ ## Contract Identity
4
+
5
+ - Feature or protocol:
6
+ - Canonical entrypoint:
7
+ - Supported callers:
8
+
9
+ ## Input Shape
10
+
11
+ - Required inputs:
12
+ - Optional inputs:
13
+ - Invalid inputs:
14
+
15
+ ## Result Shape
16
+
17
+ - Success result:
18
+ - Error result:
19
+ - Unsupported result:
20
+
21
+ ## Shared Guarantees
22
+
23
+ - Naming rule:
24
+ - Ownership rule:
25
+ - Fail-fast rule:
26
+ - Generated/runtime alignment rule:
27
+
28
+ ## Exceptions
29
+
30
+ | Exception | Scope | Required evidence |
31
+ | --- | --- | --- |
32
+ | | | |