cc-codeconductor 1.4.1 → 1.5.0

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 (219) hide show
  1. package/README.md +61 -13
  2. package/dist/core/verification/rdd-receipt.d.ts +39 -0
  3. package/dist/core/verification/verification-runner.d.ts +8 -2
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +1257 -330
  6. package/dist/library.js +267 -26
  7. package/dist/validation/schemas.d.ts +521 -26
  8. package/docs/generated/cli.md +20 -0
  9. package/package.json +1 -1
  10. package/presets/agy/AGENTS.md +6 -0
  11. package/presets/agy/README.md +1 -1
  12. package/presets/agy/hooks.json +1 -1
  13. package/presets/agy/scripts/invoke-hook.cjs +20 -5
  14. package/presets/agy/settings.json +1 -1
  15. package/presets/agy/skills/api-versioning/SKILL.md +394 -0
  16. package/presets/agy/skills/astro/SKILL.md +318 -0
  17. package/presets/agy/skills/auth-token-inspector/SKILL.md +30 -0
  18. package/presets/agy/skills/cc-pagespeed/SKILL.md +2 -3
  19. package/presets/agy/skills/code-review/SKILL.md +207 -0
  20. package/presets/agy/skills/django-orm/SKILL.md +460 -0
  21. package/presets/agy/skills/django-uv/SKILL.md +405 -0
  22. package/presets/agy/skills/drizzle-schema-architect/SKILL.md +50 -0
  23. package/presets/agy/skills/fastapi-pydantic-strict/SKILL.md +43 -0
  24. package/presets/agy/skills/jpa-nplusone-detector/SKILL.md +45 -0
  25. package/presets/agy/skills/jpa-postgres/SKILL.md +623 -0
  26. package/presets/agy/skills/livewire-alpine-bridge/SKILL.md +35 -0
  27. package/presets/agy/skills/nextjs-typescript/SKILL.md +390 -0
  28. package/presets/agy/skills/python/SKILL.md +611 -0
  29. package/presets/agy/skills/seo-analytics-injector/SKILL.md +43 -0
  30. package/presets/agy/skills/spring-auth-auditor/SKILL.md +29 -0
  31. package/presets/agy/skills/spring-boot-feature/SKILL.md +563 -0
  32. package/presets/agy/skills/spring-boot-testing-strategy/SKILL.md +475 -0
  33. package/presets/agy/skills/tailwind-responsive-auditor/SKILL.md +29 -0
  34. package/presets/agy/skills/tdd-mutation-tester/SKILL.md +27 -0
  35. package/presets/agy/workflows/cc-handoff.md +2 -1
  36. package/presets/agy/workflows/cc-odd.md +15 -0
  37. package/presets/agy/workflows/cc-pagespeed.md +2 -3
  38. package/presets/agy/workflows/cc-review.md +31 -0
  39. package/presets/agy/workflows/cc-security.md +1 -1
  40. package/presets/claude/CLAUDE.md +6 -0
  41. package/presets/claude/commands/cc/handoff.md +2 -1
  42. package/presets/claude/commands/cc/odd.md +15 -0
  43. package/presets/claude/commands/cc/review.md +33 -0
  44. package/presets/claude/settings.json +2 -2
  45. package/presets/claude/skills/android/SKILL.md +1 -1
  46. package/presets/claude/skills/api-versioning/SKILL.md +1 -1
  47. package/presets/claude/skills/astro/SKILL.md +318 -0
  48. package/presets/claude/skills/auth-token-inspector/SKILL.md +30 -0
  49. package/presets/claude/skills/code-review/SKILL.md +207 -0
  50. package/presets/claude/skills/django-orm/SKILL.md +1 -1
  51. package/presets/claude/skills/django-testing/SKILL.md +1 -1
  52. package/presets/claude/skills/django-uv/SKILL.md +405 -0
  53. package/presets/claude/skills/drizzle-schema-architect/SKILL.md +50 -0
  54. package/presets/claude/skills/fastapi-pydantic-strict/SKILL.md +43 -0
  55. package/presets/claude/skills/jpa-nplusone-detector/SKILL.md +45 -0
  56. package/presets/claude/skills/jpa-postgres/SKILL.md +1 -1
  57. package/presets/claude/skills/livewire-alpine-bridge/SKILL.md +35 -0
  58. package/presets/claude/skills/nextjs-typescript/SKILL.md +390 -0
  59. package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -1
  60. package/presets/claude/skills/python/SKILL.md +1 -1
  61. package/presets/claude/skills/python-django-stack/SKILL.md +1 -1
  62. package/presets/claude/skills/python-fastapi-stack/SKILL.md +1 -1
  63. package/presets/claude/skills/security/SKILL.md +1 -1
  64. package/presets/claude/skills/seo-analytics-injector/SKILL.md +43 -0
  65. package/presets/claude/skills/spring-auth-auditor/SKILL.md +29 -0
  66. package/presets/claude/skills/spring-boot-feature/SKILL.md +1 -1
  67. package/presets/claude/skills/spring-boot-kotlin/SKILL.md +1 -1
  68. package/presets/claude/skills/spring-boot-testing-strategy/SKILL.md +475 -0
  69. package/presets/claude/skills/sqlalchemy/SKILL.md +1 -1
  70. package/presets/claude/skills/tailwind-responsive-auditor/SKILL.md +29 -0
  71. package/presets/claude/skills/tdd-mutation-tester/SKILL.md +27 -0
  72. package/presets/claude/skills/testing-strategy/SKILL.md +1 -1
  73. package/presets/codex/AGENTS.md +6 -0
  74. package/presets/codex/skills/android/SKILL.md +1 -1
  75. package/presets/codex/skills/api-versioning/SKILL.md +1 -1
  76. package/presets/codex/skills/astro/SKILL.md +318 -0
  77. package/presets/codex/skills/auth-token-inspector/SKILL.md +30 -0
  78. package/presets/codex/skills/cc-handoff/SKILL.md +3 -1
  79. package/presets/codex/skills/cc-odd/SKILL.md +25 -0
  80. package/presets/codex/skills/cc-openspec/SKILL.md +5 -1
  81. package/presets/codex/skills/cc-pagespeed/SKILL.md +2 -3
  82. package/presets/codex/skills/cc-review/SKILL.md +31 -0
  83. package/presets/codex/skills/cc-security/SKILL.md +1 -1
  84. package/presets/codex/skills/cc-spec-mutation/SKILL.md +5 -0
  85. package/presets/codex/skills/cc-tdd-cycle/SKILL.md +8 -0
  86. package/presets/codex/skills/code-review/SKILL.md +207 -0
  87. package/presets/codex/skills/django-orm/SKILL.md +1 -1
  88. package/presets/codex/skills/django-testing/SKILL.md +1 -1
  89. package/presets/codex/skills/django-uv/SKILL.md +405 -0
  90. package/presets/codex/skills/drizzle-schema-architect/SKILL.md +50 -0
  91. package/presets/codex/skills/fastapi-pydantic-strict/SKILL.md +43 -0
  92. package/presets/codex/skills/jpa-nplusone-detector/SKILL.md +45 -0
  93. package/presets/codex/skills/jpa-postgres/SKILL.md +1 -1
  94. package/presets/codex/skills/livewire-alpine-bridge/SKILL.md +35 -0
  95. package/presets/codex/skills/nextjs-typescript/SKILL.md +390 -0
  96. package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -1
  97. package/presets/codex/skills/python/SKILL.md +1 -1
  98. package/presets/codex/skills/python-django-stack/SKILL.md +1 -1
  99. package/presets/codex/skills/python-fastapi-stack/SKILL.md +1 -1
  100. package/presets/codex/skills/security-ai-llm/SKILL.md +43 -0
  101. package/presets/codex/skills/security-blue-team/SKILL.md +43 -0
  102. package/presets/codex/skills/security-cloud/SKILL.md +43 -0
  103. package/presets/codex/skills/security-crypto/SKILL.md +43 -0
  104. package/presets/codex/skills/security-exploit-dev/SKILL.md +45 -0
  105. package/presets/codex/skills/security-grc/SKILL.md +43 -0
  106. package/presets/codex/skills/security-incident-response/SKILL.md +45 -0
  107. package/presets/codex/skills/security-log-analysis/SKILL.md +43 -0
  108. package/presets/codex/skills/security-malware-analysis/SKILL.md +44 -0
  109. package/presets/codex/skills/security-mobile/SKILL.md +43 -0
  110. package/presets/codex/skills/security-network/SKILL.md +43 -0
  111. package/presets/codex/skills/security-ot-ics/SKILL.md +43 -0
  112. package/presets/codex/skills/security-recon/SKILL.md +45 -0
  113. package/presets/codex/skills/security-red-team/SKILL.md +44 -0
  114. package/presets/codex/skills/security-reverse-engineering/SKILL.md +44 -0
  115. package/presets/codex/skills/security-soc-automation/SKILL.md +43 -0
  116. package/presets/codex/skills/security-threat-hunting/SKILL.md +43 -0
  117. package/presets/codex/skills/security-vuln-assessment/SKILL.md +45 -0
  118. package/presets/codex/skills/security-web/SKILL.md +44 -0
  119. package/presets/codex/skills/seo-analytics-injector/SKILL.md +43 -0
  120. package/presets/codex/skills/spring-auth-auditor/SKILL.md +29 -0
  121. package/presets/codex/skills/spring-boot-feature/SKILL.md +2 -2
  122. package/presets/codex/skills/spring-boot-kotlin/SKILL.md +1 -1
  123. package/presets/codex/skills/spring-boot-testing-strategy/SKILL.md +475 -0
  124. package/presets/codex/skills/sqlalchemy/SKILL.md +1 -1
  125. package/presets/codex/skills/tailwind-responsive-auditor/SKILL.md +29 -0
  126. package/presets/codex/skills/tdd-mutation-tester/SKILL.md +27 -0
  127. package/presets/codex/skills/testing-strategy/SKILL.md +1 -1
  128. package/presets/cursor/AGENTS.md +6 -0
  129. package/presets/cursor/commands/cc/handoff.md +3 -1
  130. package/presets/cursor/commands/cc/odd.md +20 -0
  131. package/presets/cursor/commands/cc/openspec.md +5 -1
  132. package/presets/cursor/commands/cc/pagespeed.md +2 -3
  133. package/presets/cursor/commands/cc/review.md +31 -0
  134. package/presets/cursor/commands/cc/security.md +1 -1
  135. package/presets/cursor/commands/cc/spec-mutation.md +5 -0
  136. package/presets/cursor/commands/cc/tdd-cycle.md +8 -0
  137. package/presets/cursor/skills/android/SKILL.md +1 -1
  138. package/presets/cursor/skills/api-versioning/SKILL.md +2 -1
  139. package/presets/cursor/skills/astro/SKILL.md +1 -1
  140. package/presets/cursor/skills/auth-token-inspector/SKILL.md +1 -1
  141. package/presets/cursor/skills/code-review/SKILL.md +1 -1
  142. package/presets/cursor/skills/django-orm/SKILL.md +3 -5
  143. package/presets/cursor/skills/django-testing/SKILL.md +1 -1
  144. package/presets/cursor/skills/django-uv/SKILL.md +1 -1
  145. package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +1 -1
  146. package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +1 -1
  147. package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +1 -1
  148. package/presets/cursor/skills/jpa-postgres/SKILL.md +2 -4
  149. package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +1 -1
  150. package/presets/cursor/skills/nextjs-typescript/SKILL.md +1 -1
  151. package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -1
  152. package/presets/cursor/skills/python/SKILL.md +6 -7
  153. package/presets/cursor/skills/python-django-stack/SKILL.md +1 -1
  154. package/presets/cursor/skills/python-fastapi-stack/SKILL.md +1 -1
  155. package/presets/cursor/skills/security/SKILL.md +1 -1
  156. package/presets/cursor/skills/seo-analytics-injector/SKILL.md +1 -1
  157. package/presets/cursor/skills/spring-auth-auditor/SKILL.md +1 -1
  158. package/presets/cursor/skills/spring-boot-feature/SKILL.md +2 -4
  159. package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +1 -1
  160. package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +1 -1
  161. package/presets/cursor/skills/sqlalchemy/SKILL.md +1 -1
  162. package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +1 -1
  163. package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +1 -1
  164. package/presets/gemini/GEMINI.md +6 -0
  165. package/presets/gemini/commands/cc/handoff.toml +3 -1
  166. package/presets/gemini/commands/cc/odd.toml +20 -0
  167. package/presets/gemini/commands/cc/openspec.toml +5 -1
  168. package/presets/gemini/commands/cc/pagespeed.toml +2 -3
  169. package/presets/gemini/commands/cc/review.toml +31 -0
  170. package/presets/gemini/commands/cc/security.toml +1 -1
  171. package/presets/gemini/commands/cc/spec-mutation.toml +5 -0
  172. package/presets/gemini/commands/cc/tdd-cycle.toml +8 -0
  173. package/presets/opencode/README.md +45 -52
  174. package/presets/opencode/agents/implementer.md +2 -0
  175. package/presets/opencode/agents/reviewer.md +2 -0
  176. package/presets/opencode/agents/tester.md +2 -0
  177. package/presets/opencode/commands/cc-handoff.md +2 -1
  178. package/presets/opencode/commands/cc-odd.md +15 -0
  179. package/presets/opencode/commands/cc-pagespeed.md +2 -3
  180. package/presets/opencode/commands/cc-review.md +31 -0
  181. package/presets/opencode/commands/cc-security.md +1 -1
  182. package/presets/opencode/opencode.jsonc +1 -1
  183. package/presets/opencode/skills/android/SKILL.md +1 -1
  184. package/presets/opencode/skills/api-versioning/SKILL.md +2 -1
  185. package/presets/opencode/skills/astro/SKILL.md +1 -1
  186. package/presets/opencode/skills/auth-token-inspector/SKILL.md +1 -1
  187. package/presets/opencode/skills/code-review/SKILL.md +1 -1
  188. package/presets/opencode/skills/django-orm/SKILL.md +3 -3
  189. package/presets/opencode/skills/django-testing/SKILL.md +1 -1
  190. package/presets/opencode/skills/django-uv/SKILL.md +1 -1
  191. package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +1 -1
  192. package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +1 -1
  193. package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +1 -1
  194. package/presets/opencode/skills/jpa-postgres/SKILL.md +2 -1
  195. package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +1 -1
  196. package/presets/opencode/skills/nextjs-typescript/SKILL.md +1 -1
  197. package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -1
  198. package/presets/opencode/skills/python/SKILL.md +6 -5
  199. package/presets/opencode/skills/python-django-stack/SKILL.md +1 -1
  200. package/presets/opencode/skills/python-fastapi-stack/SKILL.md +1 -1
  201. package/presets/opencode/skills/security/SKILL.md +1 -1
  202. package/presets/opencode/skills/seo-analytics-injector/SKILL.md +1 -1
  203. package/presets/opencode/skills/spring-auth-auditor/SKILL.md +1 -1
  204. package/presets/opencode/skills/spring-boot-feature/SKILL.md +2 -1
  205. package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +1 -1
  206. package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +1 -1
  207. package/presets/opencode/skills/sqlalchemy/SKILL.md +1 -1
  208. package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +1 -1
  209. package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +1 -1
  210. package/presets/pi/AGENTS.md +6 -0
  211. package/presets/seo-hotel/skills/astro-seo/SKILL.md +1 -1
  212. package/presets/seo-hotel/skills/geo-readiness/SKILL.md +1 -1
  213. package/presets/seo-hotel/skills/off-page/SKILL.md +1 -1
  214. package/presets/seo-hotel/skills/schema-validator/SKILL.md +1 -1
  215. package/presets/seo-hotel/skills/seo-audit/SKILL.md +1 -1
  216. package/presets/shared/invoke-hook.cjs +20 -5
  217. package/src/presets/models/roles.yml +28 -28
  218. package/src/presets/shared-skills.yml +58 -22
  219. package/src/presets/targets/pi.yml +1 -0
@@ -68,6 +68,14 @@ runner) — do not hand-edit JSON under `.codeconductor/evidence/`.
68
68
 
69
69
  Do not advance phases until that evidence exists.
70
70
 
71
+ ### Receipt-Driven Development
72
+
73
+ Run the verification runner with the matching `phase` (`red`, `green`, or
74
+ `refactor`). It records an RDD receipt for the complete candidate. Before a
75
+ handoff, phase transition, or final review, verify that receipt. A changed
76
+ source, test, contract, lockfile, or runner configuration invalidates it and
77
+ requires the affected phase to run again.
78
+
71
79
  ---
72
80
 
73
81
  ## Phase 1 — RED (Tester role)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: android
3
- name: Android + Kotlin (Jetpack Compose & Media3)
3
+ name: android
4
4
  description: >
5
5
  Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: api-versioning
3
- name: API Versioning
3
+ name: api-versioning
4
4
  description: >
5
5
  Provides expert knowledge for designing, implementing, and managing REST API
6
6
  versioning strategies with deprecation workflows.
@@ -39,6 +39,7 @@ quality:
39
39
  reviewed_by: codeconductor-core
40
40
  version: 0.1.0
41
41
  ---
42
+
42
43
  # API Versioning
43
44
 
44
45
  ## Versioning Strategies
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: astro
3
- name: Astro
3
+ name: astro
4
4
  description: >
5
5
  Provides expert knowledge for building Astro 5+ sites with Islands Architecture, Content Collections, TypeScript, and performance-first rendering strategies.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: auth-token-inspector
3
- name: Auth Token Inspector
3
+ name: auth-token-inspector
4
4
  description: >
5
5
  Audits token storage mechanisms to prevent XSS-based JWT theft.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: code-review
3
- name: Code Review
3
+ name: code-review
4
4
  description: >
5
5
  Provides a structured framework for conducting thorough code reviews covering correctness, security, architecture alignment, performance, and technical debt.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: django-orm
3
- name: Django ORM
3
+ name: django-orm
4
4
  description: >
5
5
  Django ORM patterns for multi-tenant POS projects: efficient queries,
6
6
  bulk operations, transactions, and multi-schema upload paths.
@@ -40,9 +40,8 @@ outputs:
40
40
  quality:
41
41
  reviewed_by: codeconductor-core
42
42
  version: 0.1.0
43
- paths:
44
- - "**/*.py"
45
43
  ---
44
+
46
45
  ## When to Use
47
46
 
48
47
  - Writing or reviewing queryset code in any `apps/*/`
@@ -458,5 +457,4 @@ def on_order_save(sender, instance, created, **kwargs):
458
457
  - **Annotation examples**: `apps/pos/views.py` lines 59-75
459
458
  - **Exists usage**: `apps/catalog/views.py` line 112
460
459
  - **Upload paths**: `apps/catalog/models.py`
461
- - **Django ORM docs**:
462
- <https://docs.djangoproject.com/en/5.2/topics/db/queries/>
460
+ - **Django ORM docs**: https://docs.djangoproject.com/en/5.2/topics/db/queries/
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: django-testing
3
- name: Django Testing
3
+ name: django-testing
4
4
  description: >
5
5
  Testing patterns for multi-tenant Django POS projects using pytest-django,
6
6
  RequestFactory, and mocks. No factories, no complex conftest.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: django-uv
3
- name: Django + UV
3
+ name: django-uv
4
4
  description: >
5
5
  Provides expert knowledge for building Django 5+ projects with UV as the package manager, domain-driven app structure, ruff for linting, and pytest-django for testing.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: drizzle-schema-architect
3
- name: Drizzle Schema Architect
3
+ name: drizzle-schema-architect
4
4
  description: >
5
5
  Generates strictly typed Drizzle ORM schemas for PostgreSQL with indexes,
6
6
  foreign keys, and Zod schema deduction.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: fastapi-pydantic-strict
3
- name: FastAPI Pydantic Strict
3
+ name: fastapi-pydantic-strict
4
4
  description: >
5
5
  Enforces Pydantic v2 strict models, asynchronous dependency generators, and uv environment setup.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: jpa-nplusone-detector
3
- name: JPA N+1 Query Detector
3
+ name: jpa-nplusone-detector
4
4
  description: >
5
5
  Audits Hibernate database interactions to prevent N+1 query problems in JVM apps.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: jpa-postgres
3
- name: JPA + PostgreSQL
3
+ name: jpa-postgres
4
4
  description: >
5
5
  Provides expert knowledge of JPA entity design, relationship mapping, Flyway
6
6
  migrations, and PostgreSQL-specific optimizations.
@@ -40,10 +40,8 @@ outputs:
40
40
  quality:
41
41
  reviewed_by: codeconductor-core
42
42
  version: 0.1.0
43
- paths:
44
- - "**/*.kt"
45
- - "**/*.java"
46
43
  ---
44
+
47
45
  # JPA + PostgreSQL
48
46
 
49
47
  ## Entity Design
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: livewire-alpine-bridge
3
- name: Livewire Alpine Bridge
3
+ name: livewire-alpine-bridge
4
4
  description: >
5
5
  Schedules reactive frontend states cleanly using entangle directives in PHP and JS.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: nextjs-typescript
3
- name: Next.js + TypeScript
3
+ name: nextjs-typescript
4
4
  description: >
5
5
  Provides expert knowledge for building Next.js 15+ applications with the App Router, TypeScript, Server Components, Server Actions, and TanStack Query.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: pagespeed-perf
3
- name: PageSpeed Performance Audit
3
+ name: pagespeed-perf
4
4
  description: >
5
5
  Web Performance Engineering — analyzes Core Web Vitals using the PageSpeed
6
6
  Insights API (PSI v5) and applies the 80/20 principle: identify the 20% of
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: python
3
- name: Python
3
+ name: python
4
4
  description: >
5
5
  Python development best practices: clean code, patterns,
6
6
  type hints, decorators, context managers, and architecture.
@@ -39,9 +39,8 @@ outputs:
39
39
  quality:
40
40
  reviewed_by: codeconductor-core
41
41
  version: 0.1.0
42
- paths:
43
- - "**/*.py"
44
42
  ---
43
+
45
44
  ## When to Use
46
45
 
47
46
  - Writing any Python code in the project
@@ -606,7 +605,7 @@ items = items_to_keep
606
605
 
607
606
  ## Resources
608
607
 
609
- - **PEP 8** — Style Guide: <https://peps.python.org/pep-0008/>
610
- - **PEP 484** — Type Hints: <https://peps.python.org/pep-0484/>
611
- - **Real Python**: <https://realpython.com/>
612
- - **Python Docs**: <https://docs.python.org/3/>
608
+ - **PEP 8** — Style Guide: https://peps.python.org/pep-0008/
609
+ - **PEP 484** — Type Hints: https://peps.python.org/pep-0484/
610
+ - **Real Python**: https://realpython.com/
611
+ - **Python Docs**: https://docs.python.org/3/
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: python-django-stack
3
- name: Python Django Stack
3
+ name: python-django-stack
4
4
  description: >
5
5
  Python and Django conventions for multi-tenant SaaS POS projects:
6
6
  views, services, naming, JSON APIs, PDFs, and cart patterns.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: python-fastapi-stack
3
- name: Python FastAPI Stack
3
+ name: python-fastapi-stack
4
4
  description: >
5
5
  FastAPI conventions for REST APIs: routers, Pydantic v2 schemas, dependency
6
6
  injection, error handling, pagination, and project structure.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: security
3
- name: Security
3
+ name: security
4
4
  description: >
5
5
  Provides expert knowledge for implementing and reviewing application security following OWASP Top 10 (2021), with stack-specific patterns for Spring Boot, Django, Next.js, and Astro.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: seo-analytics-injector
3
- name: SEO Analytics Injector
3
+ name: seo-analytics-injector
4
4
  description: >
5
5
  Verifies and injects Google Tag Manager (GTM), GA4 event triggers, and optimized meta tags.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-auth-auditor
3
- name: Spring Auth Auditor
3
+ name: spring-auth-auditor
4
4
  description: >
5
5
  Secures Spring Security filters, JWT validations, OAuth2 setups, and CORS/CSRF headers.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-boot-feature
3
- name: Spring Boot Feature Creation
3
+ name: spring-boot-feature
4
4
  description: >
5
5
  Guides the creation of complete Spring Boot features following a structured,
6
6
  layer-by-layer workflow: entity, repository, service, controller, and tests.
@@ -43,10 +43,8 @@ outputs:
43
43
  quality:
44
44
  reviewed_by: codeconductor-core
45
45
  version: 0.1.0
46
- paths:
47
- - "**/*.kt"
48
- - "**/build.gradle.kts"
49
46
  ---
47
+
50
48
  # Spring Boot Feature Creation
51
49
 
52
50
  When asked to create a feature, follow these steps **in order**. Do not skip
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-boot-kotlin
3
- name: Spring Boot + Kotlin
3
+ name: spring-boot-kotlin
4
4
  description: >
5
5
  Provides expert knowledge of Spring Boot conventions, Kotlin idioms, and MVC
6
6
  patterns for backend API development.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-boot-testing-strategy
3
- name: Spring Boot Testing Strategy
3
+ name: spring-boot-testing-strategy
4
4
  description: >
5
5
  Provides expert knowledge of the testing pyramid, test design principles, MockK patterns, and integration testing conventions for Spring Boot + Kotlin projects.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: sqlalchemy
3
- name: SQLAlchemy
3
+ name: sqlalchemy
4
4
  description: >
5
5
  SQLAlchemy 2.x patterns for async FastAPI projects: models, sessions, queries,
6
6
  bulk operations, transactions, and Alembic migrations.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: tailwind-responsive-auditor
3
- name: Tailwind Responsive Auditor
3
+ name: tailwind-responsive-auditor
4
4
  description: >
5
5
  Audits Tailwind CSS usage ensuring mobile-first responsive utilities and clean classes.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: tdd-mutation-tester
3
- name: TDD Mutation Tester
3
+ name: tdd-mutation-tester
4
4
  description: >
5
5
  Performs simple mutation testing to verify test coverage and assertions.
6
6
  user-invokable: true
@@ -35,4 +35,10 @@ intent to the right slash command.
35
35
  - Do not skip the Reviewer step for medium- or high-risk changes.
36
36
  - Do not store secrets in any file loaded by Gemini CLI.
37
37
 
38
+ ## Receipt integrity
39
+
40
+ - For any implementation, test, review, handoff, or delivery decision, capture or verify the current RDD receipt with `bun run dev rdd`.
41
+ - A receipt is valid only for its exact candidate. If code, tests, contracts, or runner configuration changed, repeat the affected verification.
42
+ - TDD and Mutation Testing retain their existing gates; RDD verifies that their observed evidence still belongs to the current candidate.
43
+
38
44
  <!-- CODECONDUCTOR:END managed -->
@@ -28,7 +28,9 @@ errors instead of pasting dumps. If unresolved credential material remains, stop
28
28
  and wait for a human (CCEP `stopOnHighRisk`).
29
29
 
30
30
  Include: goal, Task Card status (no secret fields), files touched, test
31
- pass/fail (not log dumps), open questions, and the next `/cc:` command.
31
+ pass/fail (not log dumps), open questions, the next `/cc:` command, plus links
32
+ to the Delivery Ledger and verification evidence when they exist. Do not repeat
33
+ the original request or transcript.
32
34
 
33
35
  Do not edit source or tests.
34
36
 
@@ -0,0 +1,20 @@
1
+ description = "Create or resume an opt-in Delivery Ledger for substantial authorized work."
2
+
3
+ prompt = """
4
+ # /cc:odd
5
+
6
+ ## Step 0 — CCEP Bootstrap
7
+
8
+ ```bash
9
+ bun run dev ccep parse --command odd "{{args}}"
10
+ bun run dev ccep resolve --command odd "{{args}}"
11
+ bun run dev ccep profile --command odd
12
+ ```
13
+
14
+ Create a ledger only after authorization and tracked coordination. Read-only and small work do not create state.
15
+
16
+ When ODD has verification evidence, include its RDD receipt in the ledger
17
+ handoff. On resume, verify it against the workspace before relying on a prior
18
+ test or review result. If it is stale, keep the ledger and repeat only the
19
+ invalidated verification.
20
+ """
@@ -132,6 +132,10 @@ npx cc-codeconductor openspec archive <itemId>
132
132
 
133
133
  `start` moves the card `pending → doing` and the item `PLANNED → IN_PROGRESS`. `done` marks the card complete, updates Progress, and moves the item to `REVIEW` when every card is done and review is required. `archive` requires all cards done (and review evidence when Global review is required) and moves `openspec/changes/<slug>` to `archive/`.
134
134
 
135
+ For test and implementation cards, `done` also requires a current RDD-backed
136
+ RED or GREEN receipt respectively. Do not reuse evidence after candidate files
137
+ change; capture and verify the matching receipt again.
138
+
135
139
  ---
136
140
 
137
141
  ## Step 5 — Model matrix and execute loop
@@ -204,5 +208,5 @@ Report completion: Task Cards executed, scorecard verdict, change folder path, f
204
208
 
205
209
  ## Skill
206
210
 
207
- Apply `.claude/skills/openspec/SKILL.md` for backlog format rules and state transitions.
211
+ Apply `.gemini/skills/openspec/SKILL.md` for backlog format rules and state transitions.
208
212
  """
@@ -66,9 +66,8 @@ the following steps in order:
66
66
  the output filename: `{YYYY-MM-DD}_pagespeed-{hostname}-claude.md`.
67
67
 
68
68
  2. **Collect** — Call the PageSpeed Insights API for the requested strategy
69
- (`mobile`, `desktop`, or `both`). Prefer the Bun scripts in
70
- `~/.claude/skills/pagespeed-perf/scripts/run.ts` if Bun is available.
71
- Otherwise, use `WebFetch` to call the PSI endpoint directly.
69
+ (`mobile`, `desktop`, or `both`) using `WebFetch` to call the PSI endpoint
70
+ directly.
72
71
 
73
72
  3. **Analyze** — Extract Core Web Vitals (LCP, INP, CLS, FCP, TTFB, TBT),
74
73
  identify the LCP element, enumerate third-party scripts by blocking time,
@@ -110,6 +110,37 @@ Evaluate the diff against the following checklist:
110
110
 
111
111
  ---
112
112
 
113
+ ## Severity Rubric
114
+
115
+ Classify every finding using these concrete anchors — not general judgment —
116
+ so the same finding gets the same category on any run.
117
+
118
+ **CRITICAL** (always):
119
+
120
+ - Unauthenticated access to a protected resource
121
+ - Injection (SQL, command, XSS) reachable from untrusted input
122
+ - A secret or credential present in the diff
123
+ - A destructive operation with no confirmation
124
+ - The build or test suite is broken
125
+ - A direct contradiction of an explicit acceptance criterion
126
+
127
+ **WARNING**:
128
+
129
+ - Missing test for a new branch or edge case
130
+ - An error is silently swallowed — no log, no propagation
131
+ - A change outside the declared scope
132
+ - Inconsistent with an established pattern already in the module
133
+ - Missing input validation in an internal function (not exposed at a trust boundary)
134
+
135
+ **SUGGESTION**:
136
+
137
+ - Style or naming
138
+ - Minor readability
139
+ - Speculative refactor that wasn't requested
140
+ - Non-blocking micro-optimization
141
+
142
+ ---
143
+
113
144
  ## Step 3 — Review Report
114
145
 
115
146
  Produce a structured Review Report with findings in three categories:
@@ -59,7 +59,7 @@ If `graphify-out/graph.json` exists, run `graphify query "{{args}}"` (and
59
59
  `graphify path` / `graphify explain` when needed). Then invoke `repo-explorer`
60
60
  to map modules, conventions, and impact radius. Do not write code in this step.
61
61
  Record a Repo Map artifact before intake. Load the matching `security-*` skill
62
- for the named domain (see `.claude/skills/security-*/SKILL.md`). Keep the OWASP
62
+ for the named domain (see `.gemini/skills/security-*/SKILL.md`). Keep the OWASP
63
63
  `security` skill for application-security reviews.
64
64
 
65
65
  ---
@@ -125,6 +125,11 @@ Verdict is binary: PASS continues to the mutation gate; REJECT returns to the
125
125
 
126
126
  ## Stage 5 — Mutation gate (`mutation_testing`)
127
127
 
128
+ RDD complements this gate: capture the candidate receipt before Mutation Testing
129
+ and verify it after the runner restores production source. A survivor opens a
130
+ new tester/reviewer-approved test revision; it never makes an earlier receipt
131
+ valid again.
132
+
128
133
  Run the deterministic AST mutator shipped with this preset:
129
134
 
130
135
  ```bash
@@ -64,6 +64,14 @@ runner) — do not hand-edit JSON under `.codeconductor/evidence/`.
64
64
 
65
65
  Do not advance phases until that evidence exists.
66
66
 
67
+ ### Receipt-Driven Development
68
+
69
+ Run the verification runner with the matching `phase` (`red`, `green`, or
70
+ `refactor`). It records an RDD receipt for the complete candidate. Before a
71
+ handoff, phase transition, or final review, verify that receipt. A changed
72
+ source, test, contract, lockfile, or runner configuration invalidates it and
73
+ requires the affected phase to run again.
74
+
67
75
  ---
68
76
 
69
77
  ## Phase 1 — RED (Tester role)