@ccoalm/ccl-skills 0.1.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 (561) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +49 -0
  3. package/dist/assets/marketplace/.agents/plugins/marketplace.json +12 -0
  4. package/dist/assets/marketplace/.claude-plugin/marketplace.json +13 -0
  5. package/dist/assets/marketplace/marketplace-manifest.json +12 -0
  6. package/dist/assets/marketplace/plugins/ccl-skills/.claude-plugin/marketplace.json +16 -0
  7. package/dist/assets/marketplace/plugins/ccl-skills/.claude-plugin/plugin.json +5 -0
  8. package/dist/assets/marketplace/plugins/ccl-skills/.codex-plugin/plugin.json +5 -0
  9. package/dist/assets/marketplace/plugins/ccl-skills/.worktree-only +3 -0
  10. package/dist/assets/marketplace/plugins/ccl-skills/agent-context/session-start.md +45 -0
  11. package/dist/assets/marketplace/plugins/ccl-skills/agent-context/subagent-start.md +12 -0
  12. package/dist/assets/marketplace/plugins/ccl-skills/hooks/AGENTS.md +19 -0
  13. package/dist/assets/marketplace/plugins/ccl-skills/hooks/guard-delegation-owner.sh +125 -0
  14. package/dist/assets/marketplace/plugins/ccl-skills/hooks/guard-edit-isolation.sh +102 -0
  15. package/dist/assets/marketplace/plugins/ccl-skills/hooks/guard-merge-authorization.sh +1156 -0
  16. package/dist/assets/marketplace/plugins/ccl-skills/hooks/hooks.json +131 -0
  17. package/dist/assets/marketplace/plugins/ccl-skills/hooks/merge-authorization-prompt.sh +142 -0
  18. package/dist/assets/marketplace/plugins/ccl-skills/hooks/owner-dispatch-guard.sh +12 -0
  19. package/dist/assets/marketplace/plugins/ccl-skills/hooks/owner-dispatch-stop.sh +13 -0
  20. package/dist/assets/marketplace/plugins/ccl-skills/hooks/remind-post-merge-cleanup.sh +144 -0
  21. package/dist/assets/marketplace/plugins/ccl-skills/hooks/session-context.sh +87 -0
  22. package/dist/assets/marketplace/plugins/ccl-skills/hooks/session-start.sh +86 -0
  23. package/dist/assets/marketplace/plugins/ccl-skills/hooks/skill-extraction-gate-stop.sh +69 -0
  24. package/dist/assets/marketplace/plugins/ccl-skills/hooks/subagent-start.sh +26 -0
  25. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_guard_delegation_owner.sh +329 -0
  26. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_guard_edit_isolation.sh +322 -0
  27. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_guard_merge_authorization.sh +902 -0
  28. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_merge_authorization_prompt.sh +178 -0
  29. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_remind_post_merge_cleanup.sh +121 -0
  30. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_session_start.sh +170 -0
  31. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/AGENTS.md +17 -0
  32. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/ccl-skills.ts +564 -0
  33. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-install-skills.md +14 -0
  34. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-update-skills.md +44 -0
  35. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-verify-skills.md +109 -0
  36. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-worktree-check.md +36 -0
  37. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/AGENTS.md +28 -0
  38. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/README.md +276 -0
  39. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/owner-dispatch.example.json +10 -0
  40. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/owner-dispatch.sh +1307 -0
  41. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/test.sh +941 -0
  42. package/dist/assets/marketplace/plugins/ccl-skills/skills/agents-file-coverage-gate/SKILL.md +45 -0
  43. package/dist/assets/marketplace/plugins/ccl-skills/skills/agents-file-coverage-gate/agents/openai.yaml +4 -0
  44. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/SKILL.md +188 -0
  45. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/agents/openai.yaml +4 -0
  46. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/android-dev.md +92 -0
  47. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/flutter-dev.md +80 -0
  48. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/ios-dev.md +72 -0
  49. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/kotlin-multiplatform.md +93 -0
  50. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/mobile-platform-boundaries.md +77 -0
  51. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/mobile-quality-release.md +77 -0
  52. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/source-evidence-map.md +64 -0
  53. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/SKILL.md +353 -0
  54. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/agents/openai.yaml +4 -0
  55. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/client-routing.md +419 -0
  56. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/manual-invocation-and-prompts.md +126 -0
  57. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/staged-review-contract.md +197 -0
  58. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/timeout-auth-and-capabilities.md +179 -0
  59. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/AGENTS.md +98 -0
  60. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/classify_envelope.py +93 -0
  61. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/classify_timeout_exit.sh +15 -0
  62. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/claude_review.sh +1438 -0
  63. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/codex_review.sh +324 -0
  64. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/concern_excerpt.py +295 -0
  65. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/egress_schema.py +214 -0
  66. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/init_policy_matrix.py +642 -0
  67. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/kimi_packet_mcp.py +181 -0
  68. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/kimi_review.sh +1165 -0
  69. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/opencode_review.sh +1190 -0
  70. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_cli_review.py +946 -0
  71. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_opencode_review.py +474 -0
  72. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_probe_result.py +1899 -0
  73. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_review_json.py +200 -0
  74. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/review_gate.py +2845 -0
  75. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/review_gate.sh +6 -0
  76. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/run_claude_capture.py +71 -0
  77. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/runtime-surface-verification-design.md +53 -0
  78. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_classify_envelope.sh +68 -0
  79. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_claude_review_probe.sh +2311 -0
  80. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_cli_review_wrappers.sh +1832 -0
  81. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_code_review_identity.sh +73 -0
  82. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_concern_excerpt.sh +245 -0
  83. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_egress_schema.sh +177 -0
  84. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_init_policy_matrix.sh +272 -0
  85. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_kimi_packet_mcp.py +195 -0
  86. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_opencode_review_concurrency.sh +120 -0
  87. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_opencode_review_retry.sh +1005 -0
  88. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_parse_opencode_review.sh +258 -0
  89. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_parse_probe_result.sh +574 -0
  90. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_parse_review_json.sh +349 -0
  91. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_review_client_compat.py +434 -0
  92. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_review_client_order.sh +264 -0
  93. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_review_gate.sh +2412 -0
  94. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/verify_native_skill_binding.py +123 -0
  95. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/SKILL.md +153 -0
  96. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/agents/openai.yaml +4 -0
  97. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/references/diagnosis-playbook.md +54 -0
  98. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/references/prevention-routing.md +36 -0
  99. package/dist/assets/marketplace/plugins/ccl-skills/skills/feature-risk-router/SKILL.md +69 -0
  100. package/dist/assets/marketplace/plugins/ccl-skills/skills/feature-risk-router/agents/openai.yaml +4 -0
  101. package/dist/assets/marketplace/plugins/ccl-skills/skills/feature-risk-router/references/security-review-gate.md +41 -0
  102. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/SKILL.md +165 -0
  103. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/agents/openai.yaml +4 -0
  104. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/api-security-boundaries.md +47 -0
  105. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/architecture-playbook.md +160 -0
  106. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/artifact-generation-architecture.md +37 -0
  107. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/audit-history-architecture.md +29 -0
  108. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/bulk-workflow-architecture.md +33 -0
  109. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/config-rule-routing-architecture.md +34 -0
  110. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/cross-cutting-concerns.md +72 -0
  111. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/data-modeling-and-migrations.md +79 -0
  112. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/data-platform-architecture.md +210 -0
  113. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/dependency-platform.md +105 -0
  114. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/developer-tooling-architecture.md +38 -0
  115. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/error-contract-architecture.md +36 -0
  116. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/event-driven-architecture.md +260 -0
  117. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/http-gateway-architecture.md +74 -0
  118. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/mq-consumer-architecture.md +38 -0
  119. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/multi-tenant-isolation.md +275 -0
  120. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/notification-architecture.md +25 -0
  121. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/ops-checklist.md +57 -0
  122. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/performance-capacity-architecture.md +38 -0
  123. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/protobuf-contract-architecture.md +119 -0
  124. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/redis-cache-coordination.md +93 -0
  125. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/release-runtime-readiness.md +65 -0
  126. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/replay-comparison-architecture.md +26 -0
  127. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/runtime-observability.md +94 -0
  128. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/service-scaffold.md +76 -0
  129. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/source-evidence-map.md +55 -0
  130. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/workflow-state-architecture.md +38 -0
  131. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/SKILL.md +159 -0
  132. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/agents/openai.yaml +4 -0
  133. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/artifact-generation-patterns.md +37 -0
  134. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/audit-history-patterns.md +28 -0
  135. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/bulk-import-export-patterns.md +56 -0
  136. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/config-rule-routing-patterns.md +38 -0
  137. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/data-access-patterns.md +55 -0
  138. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/db-schema-and-dal-patterns.md +109 -0
  139. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/dependency-client-patterns.md +130 -0
  140. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/developer-tooling-patterns.md +70 -0
  141. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/domain-feature-patterns.md +78 -0
  142. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/engineering-patterns.md +119 -0
  143. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/error-contract-patterns.md +55 -0
  144. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/feature-playbook.md +61 -0
  145. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/http-gateway-client-patterns.md +76 -0
  146. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/mq-consumer-patterns.md +55 -0
  147. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/notification-patterns.md +42 -0
  148. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/observability-implementation-patterns.md +101 -0
  149. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/performance-capacity-patterns.md +44 -0
  150. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/protobuf-contract-patterns.md +72 -0
  151. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/public-api-integration-patterns.md +56 -0
  152. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/quality-and-testing-patterns.md +91 -0
  153. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/redis-cache-lock-patterns.md +123 -0
  154. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/release-ops-patterns.md +112 -0
  155. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/reliability-patterns.md +83 -0
  156. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/replay-comparison-patterns.md +32 -0
  157. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/scaffold-and-codegen.md +86 -0
  158. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/source-evidence-map.md +54 -0
  159. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/state-machine-task-patterns.md +45 -0
  160. package/dist/assets/marketplace/plugins/ccl-skills/skills/grill-me/SKILL.md +80 -0
  161. package/dist/assets/marketplace/plugins/ccl-skills/skills/grill-me/agents/openai.yaml +4 -0
  162. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/SKILL.md +117 -0
  163. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/agents/openai.yaml +4 -0
  164. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-approval-auto-reviewer.md +106 -0
  165. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-command-sandbox.md +441 -0
  166. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-context-freshness.md +47 -0
  167. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-credentials-auth.md +13 -0
  168. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-extensions-skills.md +13 -0
  169. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-file-edit-protocol.md +129 -0
  170. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-ide-integration.md +5 -0
  171. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-input-ingestion.md +13 -0
  172. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-instruction-composition.md +13 -0
  173. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-lifecycle-hooks.md +92 -0
  174. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-messaging.md +5 -0
  175. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-runtime-bootstrap.md +5 -0
  176. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-session-persistence.md +448 -0
  177. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-task-orchestration.md +13 -0
  178. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-tool-dispatch.md +123 -0
  179. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-turn-lifecycle.md +131 -0
  180. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/inference-capacity-operations.md +162 -0
  181. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/llm-client-gateway.md +156 -0
  182. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/model-prompt-evaluation.md +146 -0
  183. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/retrieval-agent-safety.md +273 -0
  184. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/SKILL.md +202 -0
  185. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/agents/openai.yaml +4 -0
  186. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/contracts-and-state.md +62 -0
  187. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/cross-stack-alignment.md +94 -0
  188. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/framework-choice.md +76 -0
  189. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/online-practice-uptake.md +56 -0
  190. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/platform-capabilities.md +91 -0
  191. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/product-page-checklist.md +40 -0
  192. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/qa-release.md +72 -0
  193. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/source-evidence-map.md +82 -0
  194. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-agent-delegation/SKILL.md +103 -0
  195. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-agent-delegation/agents/openai.yaml +5 -0
  196. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-agent-delegation/references/multi-agent-delegation-playbook.md +100 -0
  197. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/SKILL.md +70 -0
  198. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/agents/openai.yaml +4 -0
  199. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/references/public-data-acquisition.md +549 -0
  200. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/references/public-disclosure-channels.md +97 -0
  201. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/references/research-prompts.md +66 -0
  202. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/scripts/AGENTS.md +32 -0
  203. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/scripts/test-public-data-acquisition-recipes.sh +379 -0
  204. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/SKILL.md +244 -0
  205. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/agents/openai.yaml +4 -0
  206. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/alerting-and-on-call.md +76 -0
  207. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/framework-middleware-checklist.md +142 -0
  208. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/infra-component-deployment.md +268 -0
  209. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/log-correlation-recipe.md +124 -0
  210. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/log-schema-canonical.md +208 -0
  211. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/metrics-conventions.md +105 -0
  212. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/obs-stack-architecture.md +107 -0
  213. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/sli-slo-design.md +95 -0
  214. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/source-register.md +11 -0
  215. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/SKILL.md +303 -0
  216. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/agents/openai.yaml +4 -0
  217. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/canary-and-rollout-strategy.md +163 -0
  218. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/config-center-via-etcd.md +245 -0
  219. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/custom-control-plane-boundary.md +298 -0
  220. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/deploy-cli-concrete-recipe.md +312 -0
  221. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/deploy-pipeline.md +165 -0
  222. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/env-and-lane-matrix.md +126 -0
  223. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/lane-orchestration-control-plane.md +383 -0
  224. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/multi-region-and-cluster.md +135 -0
  225. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/promotion-gate-and-review.md +149 -0
  226. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/python-package-registry-release.md +462 -0
  227. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/rollback-playbook.md +123 -0
  228. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/secret-and-config-management.md +231 -0
  229. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/version-authority-and-deprecation.md +21 -0
  230. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/SKILL.md +276 -0
  231. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/agents/openai.yaml +4 -0
  232. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/dual-sidecar-and-traffic-config-center.md +127 -0
  233. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/framework-middleware.md +143 -0
  234. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/grpc-authority-workaround.md +90 -0
  235. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/http-response-envelope-contract.md +24 -0
  236. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/mesh-architecture.md +127 -0
  237. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/multi-env-routing.md +192 -0
  238. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/protobuf-http-contract-signals.md +64 -0
  239. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/retry-timeout-circuit-breaker.md +124 -0
  240. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/rpc-framework-recipe.md +494 -0
  241. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/service-discovery-choice.md +113 -0
  242. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/service-discovery-migration-playbook.md +231 -0
  243. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/service-discovery-recipe.md +131 -0
  244. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/SKILL.md +235 -0
  245. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/agents/openai.yaml +4 -0
  246. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/adr-convention.md +146 -0
  247. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-checklist.md +30 -0
  248. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-evaluation-report-template.md +25 -0
  249. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-execution-spec.md +108 -0
  250. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-sop.md +457 -0
  251. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-templates.md +24 -0
  252. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/artifact-egress-confidentiality.md +58 -0
  253. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/code-review-checklist.md +86 -0
  254. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/cross-repo-coordination.md +46 -0
  255. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/delivery-lifecycle.md +192 -0
  256. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/design-review-gate-mechanics.md +62 -0
  257. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/design-routing-and-readiness.md +45 -0
  258. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/diagnostic-spec-match-gate.md +36 -0
  259. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/dispatch-owner-skills.md +35 -0
  260. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/dormant-code-activation.md +47 -0
  261. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/existing-project-assessment-report.md +223 -0
  262. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/external-skill-augmentation.md +46 -0
  263. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/feature-deprecation-cascade.md +15 -0
  264. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/high-risk-resilience-gates.md +73 -0
  265. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/implementation-completeness-and-minimality.md +120 -0
  266. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/implementation-entry-reentry-gate.md +122 -0
  267. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/modular-monolith-heuristic.md +105 -0
  268. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/pre-final-continuation-gate.md +115 -0
  269. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/problem-resolution-and-learning.md +62 -0
  270. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/quality-attributes.md +112 -0
  271. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/quality-remediation-program.md +88 -0
  272. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/rd-standards-doc-family-checklist.md +27 -0
  273. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/refactoring-discipline.md +52 -0
  274. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/review-reception.md +34 -0
  275. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/shared-gate-artifact-classification.md +76 -0
  276. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/source-evidence-map.md +31 -0
  277. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/status-tracker-sync.md +77 -0
  278. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/sync-spec-repo-contract.md +25 -0
  279. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/verify-developer-experience.md +34 -0
  280. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/worktree-mechanics.md +55 -0
  281. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/scripts/AGENTS.md +18 -0
  282. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/scripts/check-agent-contract-coverage.sh +213 -0
  283. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/SKILL.md +136 -0
  284. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/agents/openai.yaml +9 -0
  285. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/analytics-visualization-interactions.md +206 -0
  286. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/behavioral-aesthetic-logic.md +108 -0
  287. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/complex-creation-interactions.md +194 -0
  288. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-execution-checklist.md +214 -0
  289. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-impl-naming-and-versioning.md +53 -0
  290. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-intake-and-acceptance.md +129 -0
  291. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-system-source-of-truth.md +97 -0
  292. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/external-ui-ux-quality-benchmarks.md +79 -0
  293. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/frontend-code-evidence-map.md +63 -0
  294. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/interaction-design-patterns.md +146 -0
  295. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/layout-recipes-and-screenshot-acceptance.md +250 -0
  296. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/multi-project-token-consistency.md +237 -0
  297. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/multi-stack-strategy.md +65 -0
  298. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/operational-processing-workflows.md +237 -0
  299. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/platform-mobile-patterns.md +324 -0
  300. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/platform-web-desktop-patterns.md +456 -0
  301. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/product-lifecycle-acceptance-and-iteration.md +114 -0
  302. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/product-surface-patterns.md +79 -0
  303. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/resource-management-interactions.md +113 -0
  304. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/scenario-community-patterns.md +133 -0
  305. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/source-map.md +130 -0
  306. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/tokens-and-components.md +47 -0
  307. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/trust-sensitive-ai-and-data-patterns.md +96 -0
  308. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/ui-ux-audit.md +106 -0
  309. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/ui-ux-design-development.md +176 -0
  310. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/visual-craft.md +111 -0
  311. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/SKILL.md +157 -0
  312. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/agents/openai.yaml +4 -0
  313. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/ai-service-integration-boundaries.md +57 -0
  314. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/api-contract-and-schema.md +62 -0
  315. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/api-security-boundaries.md +39 -0
  316. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/architecture-playbook.md +46 -0
  317. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/async-execution-model.md +24 -0
  318. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/background-jobs-and-scheduling.md +18 -0
  319. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/batch-and-pipeline-architecture.md +11 -0
  320. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/config-secrets-runtime.md +22 -0
  321. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/data-modeling-and-migrations.md +64 -0
  322. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/data-platform-architecture.md +211 -0
  323. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/event-driven-architecture.md +263 -0
  324. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/multi-tenant-isolation.md +281 -0
  325. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/observability-and-ops.md +26 -0
  326. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/packaging-runtime-readiness.md +20 -0
  327. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/redis-cache-coordination.md +41 -0
  328. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/reliability-and-error-contract.md +17 -0
  329. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/source-evidence-map.md +55 -0
  330. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/web-framework-boundaries.md +26 -0
  331. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/SKILL.md +143 -0
  332. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/agents/openai.yaml +4 -0
  333. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/ai-service-wiring-patterns.md +16 -0
  334. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/async-and-worker-patterns.md +24 -0
  335. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/background-job-patterns.md +18 -0
  336. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/batch-and-artifact-patterns.md +13 -0
  337. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/dependency-client-patterns.md +39 -0
  338. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/error-handling-patterns.md +26 -0
  339. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/feature-playbook.md +43 -0
  340. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/observability-implementation-patterns.md +31 -0
  341. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/project-structure-and-tooling.md +24 -0
  342. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/public-api-security-patterns.md +52 -0
  343. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/redis-cache-lock-patterns.md +78 -0
  344. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/schema-and-validation-patterns.md +23 -0
  345. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/source-evidence-map.md +56 -0
  346. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/sqlalchemy-and-migrations-patterns.md +99 -0
  347. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/testing-and-quality-patterns.md +61 -0
  348. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/web-framework-patterns.md +35 -0
  349. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/SKILL.md +91 -0
  350. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/agents/openai.yaml +4 -0
  351. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/config-runtime-readback.md +20 -0
  352. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/mr-merge-authorization.md +31 -0
  353. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/post-release-env-reset.md +31 -0
  354. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/release-closeout-evidence.md +20 -0
  355. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/release-scope-confirmation.md +21 -0
  356. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/tag-and-prod-pipeline-gate.md +20 -0
  357. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/test-scope-prompt.md +24 -0
  358. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/watcher-discipline.md +14 -0
  359. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/SKILL.md +64 -0
  360. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/agents/openai.yaml +4 -0
  361. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/references/comment-safe-release-doc.md +19 -0
  362. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/references/release-evidence-workflow.md +23 -0
  363. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/references/release-testing-scope-section.md +15 -0
  364. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-baseline/SKILL.md +87 -0
  365. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-baseline/agents/openai.yaml +4 -0
  366. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/SKILL.md +130 -0
  367. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/agents/openai.yaml +4 -0
  368. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/references/prd-composition-contract.md +35 -0
  369. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/references/requirement-closure-contract.md +86 -0
  370. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/references/security-four-questions.md +38 -0
  371. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-intent/SKILL.md +91 -0
  372. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-intent/agents/openai.yaml +4 -0
  373. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-scope/SKILL.md +88 -0
  374. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-scope/agents/openai.yaml +4 -0
  375. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/SKILL.md +337 -0
  376. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/agents/openai.yaml +4 -0
  377. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/analysis-parse-fix-test-challenge-replay.md +47 -0
  378. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/attribution-verification.md +69 -0
  379. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/bootstrap-slim-c3-obligation-table.md +112 -0
  380. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/coverage-exhaustion-traps.md +45 -0
  381. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/description-authoring.md +162 -0
  382. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/dual-track-review-gate.md +507 -0
  383. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/eval-routing.md +86 -0
  384. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/evidence-card-template.md +51 -0
  385. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/example-domain-preselect.md +79 -0
  386. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/external-practice-controls.md +57 -0
  387. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/extraction-lifecycle-handoff.md +65 -0
  388. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/extraction-quickstart.md +194 -0
  389. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/firing-point-placement.md +75 -0
  390. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/harness-patterns-and-eval.md +286 -0
  391. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/incident-postmortem-extraction.md +190 -0
  392. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/l0-l1-l2-routing.md +114 -0
  393. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/online-skill-review.md +47 -0
  394. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/parallel-stack-references-pattern.md +164 -0
  395. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/r0-leakage-audit.md +90 -0
  396. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/recurring-anti-patterns-checklist.md +320 -0
  397. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/resume-paused-delivery.md +16 -0
  398. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/review-feedback-mining.md +33 -0
  399. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/review-finding-standards.md +57 -0
  400. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/review-rubric.md +40 -0
  401. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/rule-consolidation.md +118 -0
  402. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/skill-listing-budget.md +19 -0
  403. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/source-register.md +254 -0
  404. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/source-to-skill-extraction.md +658 -0
  405. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/two-source-extraction-pattern.md +167 -0
  406. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/uiux-judgment-extraction.md +179 -0
  407. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/uiux-routing-map.md +51 -0
  408. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/validation-and-landing.md +180 -0
  409. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/AGENTS.md +18 -0
  410. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-ccl-skills.sh +1452 -0
  411. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-evidence-card-leak.sh +491 -0
  412. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-mr-target-freshness.sh +173 -0
  413. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-size-budget.sh +488 -0
  414. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-sync-pointers.sh +419 -0
  415. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-golden-trace.rb +197 -0
  416. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-health.rb +327 -0
  417. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-routing-bank.rb +401 -0
  418. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-routing.rb +248 -0
  419. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/generic-r0-leak-scan.sh +282 -0
  420. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/governing-chain-diff.py +321 -0
  421. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/impact-chain-gate.rb +964 -0
  422. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/register-firing-path-resolution.rb +708 -0
  423. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/skill-behavior-eval.py +540 -0
  424. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/source-register-lifecycle.rb +51 -0
  425. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/source-register-pending-status.rb +55 -0
  426. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_ai_coding_implementation_gates.sh +829 -0
  427. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_impact_chain_refscripts.sh +1203 -0
  428. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_r0_status.sh +75 -0
  429. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_register_pending_exclusion.sh +137 -0
  430. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_regressions.sh +173 -0
  431. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_route_drift.sh +377 -0
  432. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_size_budget.sh +833 -0
  433. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_skill_catalog.sh +491 -0
  434. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_source_register_lifecycle.sh +114 -0
  435. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_mr_target_freshness.sh +261 -0
  436. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_sync_pointers.sh +538 -0
  437. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_controlled_escalation_pins.sh +154 -0
  438. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_eval_routing_bank_grader_diagnostics.sh +190 -0
  439. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_eval_routing_bank_surface_binding.sh +178 -0
  440. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_eval_routing_prose_target.sh +86 -0
  441. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_generic_r0_leak_scan.sh +131 -0
  442. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_git_identity_predicate_gate.sh +243 -0
  443. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_governing_chain_diff.sh +419 -0
  444. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_impact_chain_gate_dateless_host.sh +120 -0
  445. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_register_firing_path_resolution.sh +724 -0
  446. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_register_firing_path_wiring.sh +414 -0
  447. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_regression_runner_registration.sh +34 -0
  448. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_routing_bank_integrity.sh +205 -0
  449. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_routing_pointer_integrity.sh +194 -0
  450. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_validate_skill_credential_cwd.sh +61 -0
  451. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_validate_skill_cross_refs.sh +111 -0
  452. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_validate_skill_root_depth.sh +53 -0
  453. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/validate-skill.sh +257 -0
  454. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/SKILL.md +98 -0
  455. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/agents/openai.yaml +4 -0
  456. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/references/input-state-machines.md +36 -0
  457. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/references/streaming-rich-output.md +130 -0
  458. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/references/terminal-side-channels.md +96 -0
  459. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/SKILL.md +408 -0
  460. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/agents/openai.yaml +4 -0
  461. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/AGENTS.md +18 -0
  462. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/bitable-setup.md +573 -0
  463. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/README.md +120 -0
  464. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/github-actions.yml +119 -0
  465. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/gitlab-ci.yml +76 -0
  466. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/jenkins.Jenkinsfile +106 -0
  467. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/classical-test-design-techniques.md +279 -0
  468. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/gen_report.py +2807 -0
  469. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/makefile-template.md +200 -0
  470. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/report-config-schema.md +272 -0
  471. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/run_pytestless.py +475 -0
  472. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/source-to-case-workflows.md +258 -0
  473. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc-marker-conventions.md +316 -0
  474. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc-review-and-prioritization.md +145 -0
  475. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/AGENTS.md +16 -0
  476. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.dart +129 -0
  477. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.go +197 -0
  478. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.py +135 -0
  479. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.ts +285 -0
  480. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/test_gen_report.py +2144 -0
  481. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/update-lifecycle.md +62 -0
  482. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/SKILL.md +212 -0
  483. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/agents/openai.yaml +4 -0
  484. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/ci-fixtures-and-flake-control.md +75 -0
  485. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/client-runtime-test-matrices.md +50 -0
  486. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/data-and-workflow-testing.md +34 -0
  487. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/design-closed-contract-oracles.md +31 -0
  488. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/e2e-real-flow-testing.md +71 -0
  489. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/fitness-functions.md +240 -0
  490. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/integration-contract-testing.md +235 -0
  491. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/non-functional-specialized-scenarios.md +296 -0
  492. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/rd-testing-standard-template.md +126 -0
  493. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/run-killing-mutation-walk.md +43 -0
  494. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/scenario-testing.md +136 -0
  495. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/source-evidence-map.md +59 -0
  496. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/structured-tc-input-translation.md +67 -0
  497. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/test-code-authoring-patterns.md +392 -0
  498. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/test-data-and-determinism.md +39 -0
  499. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/test-topology-and-commands.md +92 -0
  500. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/unit-testing.md +46 -0
  501. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/vendored-contract-drift-checklist.md +64 -0
  502. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/verify-enforcement-mechanisms.md +18 -0
  503. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/AGENTS.md +17 -0
  504. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/client-terminal-ansi-check.py +140 -0
  505. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/client-terminal-ansi-check.test.sh +75 -0
  506. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-ast-check.py +170 -0
  507. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-ast-check.test.sh +87 -0
  508. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-go-check.go +198 -0
  509. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-go-check.test.sh +109 -0
  510. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/test_mutation_backup_recipe.sh +237 -0
  511. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/SKILL.md +184 -0
  512. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/agents/openai.yaml +4 -0
  513. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/comment-safe-feishu.md +93 -0
  514. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/cross-model-co-review.md +3 -0
  515. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/delivery-face-closeout.md +60 -0
  516. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/doc-charter-first.md +17 -0
  517. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/session-vantage-leakage.md +58 -0
  518. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/SKILL.md +126 -0
  519. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/agents/openai.yaml +4 -0
  520. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/complex-workspace-patterns.md +47 -0
  521. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/embedded-h5-in-host.md +87 -0
  522. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/react-architecture.md +194 -0
  523. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/source-evidence-map.md +60 -0
  524. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/web-quality-release.md +190 -0
  525. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/web-ui-quality.md +83 -0
  526. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/SKILL.md +179 -0
  527. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/agents/openai.yaml +4 -0
  528. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/references/shared-branch-rebase.md +25 -0
  529. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/AGENTS.md +23 -0
  530. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/test_worktree_status.sh +207 -0
  531. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/test_worktree_sweep.sh +481 -0
  532. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/worktree-status.sh +325 -0
  533. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/worktree-sweep.sh +245 -0
  534. package/dist/assets/release.json +2797 -0
  535. package/dist/claude-adapter.d.ts +9 -0
  536. package/dist/claude-adapter.js +240 -0
  537. package/dist/cli-worker.d.ts +1 -0
  538. package/dist/cli-worker.js +32 -0
  539. package/dist/cli.d.ts +22 -0
  540. package/dist/cli.js +214 -0
  541. package/dist/codex-host.d.ts +30 -0
  542. package/dist/codex-host.js +162 -0
  543. package/dist/fs-safe.d.ts +21 -0
  544. package/dist/fs-safe.js +241 -0
  545. package/dist/index.d.ts +2 -0
  546. package/dist/index.js +1 -0
  547. package/dist/manifest.d.ts +8 -0
  548. package/dist/manifest.js +135 -0
  549. package/dist/opencode-adapter.d.ts +10 -0
  550. package/dist/opencode-adapter.js +416 -0
  551. package/dist/operations.d.ts +3 -0
  552. package/dist/operations.js +956 -0
  553. package/dist/paths.d.ts +20 -0
  554. package/dist/paths.js +4 -0
  555. package/dist/types.d.ts +58 -0
  556. package/dist/types.js +1 -0
  557. package/dist/unified.d.ts +4 -0
  558. package/dist/unified.js +64 -0
  559. package/dist/version.d.ts +2 -0
  560. package/dist/version.js +5 -0
  561. package/package.json +35 -0
@@ -0,0 +1,829 @@
1
+ #!/usr/bin/env bash
2
+ # Semantic-anchor regression for the independent implementation-gate pin families.
3
+ set -euo pipefail
4
+
5
+ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
6
+ REPO_ROOT="$(git -C "$SCRIPT_DIR" rev-parse --show-toplevel 2>/dev/null || { cd "$SCRIPT_DIR/../../.." && pwd -P; })"
7
+
8
+ fail() {
9
+ echo "FAIL: $*" >&2
10
+ exit 1
11
+ }
12
+
13
+ assert_contains() {
14
+ local file="$1" text="$2" label="$3"
15
+ [[ -f "$file" ]] || fail "$label: missing file $file"
16
+ grep -Fq -- "$text" "$file" || fail "$label: missing semantic anchor: $text"
17
+ }
18
+
19
+ PRODUCT_SKILL="$REPO_ROOT/skills/product-rd-workflow/SKILL.md"
20
+ PRODUCT_REF="$REPO_ROOT/skills/product-rd-workflow/references/implementation-completeness-and-minimality.md"
21
+ REVIEW_REF="$REPO_ROOT/skills/product-rd-workflow/references/code-review-checklist.md"
22
+ PRE_FINAL_REF="$REPO_ROOT/skills/product-rd-workflow/references/pre-final-continuation-gate.md"
23
+ STATUS_REF="$REPO_ROOT/skills/product-rd-workflow/references/status-tracker-sync.md"
24
+ TESTING_SKILL="$REPO_ROOT/skills/testing-strategy/SKILL.md"
25
+ SCENARIO_REF="$REPO_ROOT/skills/testing-strategy/references/scenario-testing.md"
26
+ EXTRACTION_SKILL="$REPO_ROOT/skills/skill-extraction-workflow/SKILL.md"
27
+
28
+ # The rule BODY lives in the reference; the entrypoint keeps the firing signal
29
+ # plus the load pointer. Both sides are pinned: dropping the destination sentence
30
+ # loses the rule, and dropping the entry clause or the pointer means nothing ever
31
+ # tells the agent to load it — a relocation that keeps only one side is exactly
32
+ # the silent-hollowing failure this pair of assertions exists to catch.
33
+ assert_contains "$PRODUCT_REF" "Functional completeness and structural minimality are independent gates." "product workflow gate (destination)"
34
+ assert_contains "$PRODUCT_SKILL" "functional completeness and structural minimality are independent gates" "product workflow gate (entry firing signal)"
35
+ assert_contains "$PRODUCT_SKILL" 'gaps block `complete`' "product workflow gate (entry firing consequence)"
36
+ assert_contains "$PRODUCT_SKILL" "references/implementation-completeness-and-minimality.md" "product workflow pointer"
37
+ assert_contains "$PRODUCT_REF" "Requirement / acceptance point | Source decision | Implementation surface | Verification | Fresh evidence | Status" "acceptance closure matrix"
38
+ assert_contains "$PRODUCT_REF" "New concept | Current acceptance point or hard constraint | Simpler alternative | Decision" "concept delta matrix"
39
+ assert_contains "$PRODUCT_REF" "Passing one question never compensates for failing the other." "independent axes"
40
+ assert_contains "$PRODUCT_REF" 'An implementer may not silently downscope a point' "no self-downscope"
41
+ assert_contains "$PRODUCT_REF" 'hypothetical reuse are not evidence' "no speculative concepts"
42
+ assert_contains "$PRODUCT_REF" 'behavior-changing by default and never take any exemption' "exemption surface floor"
43
+ assert_contains "$PRODUCT_REF" 'Exemptions are per-axis, not blanket' "per-axis exemption"
44
+ assert_contains "$PRODUCT_REF" 'never present generated IDs as source-native' "generated trace IDs"
45
+ assert_contains "$TESTING_SKILL" 'acceptance-source lookup' "acceptance source record"
46
+ assert_contains "$PRE_FINAL_REF" 'For behavior-changing product delivery, refuse implementation completion without both closure tables.' "completion firing point"
47
+ assert_contains "$STATUS_REF" 'A behavior-changing implementation row may become `complete` only when both closure tables are present' "status firing point"
48
+ assert_contains "$REVIEW_REF" "Review both negative space and concept delta." "review firing point"
49
+ assert_contains "$REVIEW_REF" 'qualify for no exemption' "review exemption floor"
50
+ assert_contains "$TESTING_SKILL" "Code analysis may add risk scenarios; it must not define product-delivery completeness." "requirement-first testing"
51
+ assert_contains "$SCENARIO_REF" "Requirement-derived completeness" "scenario coverage"
52
+ assert_contains "$EXTRACTION_SKILL" "recurring cross-project agent failure" "durable extraction trigger"
53
+
54
+ # ── Relocated-rule dual-side pins ────────────────────────────────────────────
55
+ # Seven entrypoint rules had their mechanics moved into package references and
56
+ # their old ledger anchors waived through anchored EXEMPT. That waiver is
57
+ # existence-only by design, so on its own NOTHING would notice if a relocated
58
+ # rule were later reworded or deleted at its destination — the ledger row keeps
59
+ # resolving and the gate stays green. Each relocation therefore gets both sides
60
+ # pinned here: the rule BODY at the destination, and at the entrypoint the
61
+ # firing signal plus the load pointer that is the only reason an agent ever
62
+ # reaches that destination. Dropping either side reds this fixture.
63
+ MECHANISM_REF="$REPO_ROOT/skills/product-rd-workflow/references/design-review-gate-mechanics.md"
64
+ ENTRY_GATE_REF="$REPO_ROOT/skills/product-rd-workflow/references/implementation-entry-reentry-gate.md"
65
+ LIFECYCLE_REF="$REPO_ROOT/skills/product-rd-workflow/references/delivery-lifecycle.md"
66
+ SYNC_REF="$REPO_ROOT/skills/product-rd-workflow/references/sync-spec-repo-contract.md"
67
+
68
+ # The pointer must sit in the SAME entrypoint bullet as the firing signal.
69
+ # Asserting each independently over the whole file proves nothing about routing:
70
+ # these reference paths occur several times in the entrypoint, so deleting the
71
+ # pointer from the relocated bullet would leave a whole-file assertion green
72
+ # while that trigger no longer routes anywhere. Entrypoint bullets are one line
73
+ # each, so the line carrying the firing phrase is the bounded scope.
74
+ assert_same_bullet() {
75
+ assert_same_line "$@"
76
+ }
77
+
78
+ # The real primitive underneath: phrase and pointer must share one PHYSICAL LINE.
79
+ # `assert_same_bullet` is the entrypoint-shaped name for it and stays, because
80
+ # there a bullet IS one line. Callers outside that shape use this name instead, so
81
+ # the assertion advertises the unit it actually enforces rather than borrowing a
82
+ # name whose justification ("entrypoint bullets are one line each") does not hold
83
+ # for them. The unit matters: it is only a co-location guarantee while the host
84
+ # block stays unwrapped, so a caller pointing at prose is asserting that too.
85
+
86
+ assert_same_line() {
87
+ local file="$1" phrase="$2" pointer="$3" label="$4"
88
+ [[ -f "$file" ]] || fail "$label: missing file $file"
89
+ local line
90
+ line="$(grep -F -m1 -- "$phrase" "$file")" \
91
+ || fail "$label: firing phrase absent from $file: $phrase"
92
+ case "$line" in
93
+ *"$pointer"*) : ;;
94
+ *) fail "$label: firing phrase found, but its own line does not carry the load pointer: $pointer" ;;
95
+ esac
96
+ }
97
+
98
+ # Anchor inside ONE Markdown section, not anywhere in the file. A whole-file grep
99
+ # cannot tell a normative rule from a mention of it, so relocating the clause into
100
+ # commentary elsewhere in the reference would keep a file-wide check green. The
101
+ # section is the heading line through the next heading at any level.
102
+ # Co-location within one Markdown PARAGRAPH (blank-line delimited). Prose is
103
+ # wrapped by formatters, so binding a prose pointer to a physical line makes an
104
+ # ordinary rewrap red the gate while rendered routing is untouched — a false red
105
+ # on a shared gate is a real cost, and the guarantee that actually matters is
106
+ # that a reader meeting the trigger meets the pointer without leaving the block.
107
+ assert_same_paragraph() {
108
+ local file="$1" phrase="$2" pointer="$3" label="$4"
109
+ [[ -f "$file" ]] || fail "$label: missing file $file"
110
+ local para
111
+ para="$(awk -v p="$phrase" '
112
+ BEGIN {RS = ""}
113
+ index($0, p) {print; exit}
114
+ ' "$file")"
115
+ [[ -n "$para" ]] || fail "$label: firing phrase absent from $file: $phrase"
116
+ case "$para" in
117
+ *"$pointer"*) : ;;
118
+ *) fail "$label: firing phrase found, but its own paragraph does not carry the load pointer: $pointer" ;;
119
+ esac
120
+ }
121
+
122
+ assert_in_section() {
123
+ local file="$1" heading="$2" text="$3" label="$4"
124
+ [[ -f "$file" ]] || fail "$label: missing file $file"
125
+ local section
126
+ section="$(awk -v h="$heading" '
127
+ $0 == h {inside = 1; next}
128
+ inside && /^#/ {exit}
129
+ inside {print}
130
+ ' "$file")"
131
+ [[ -n "$section" ]] || fail "$label: section not found or empty: $heading"
132
+ case "$section" in
133
+ *"$text"*) : ;;
134
+ *) fail "$label: text missing from section $heading: $text" ;;
135
+ esac
136
+ }
137
+
138
+ # 1. Mechanism-operability check
139
+ assert_contains "$MECHANISM_REF" 'A mechanism failing this check is redesigned or lightened at design time' "mechanism gate (destination)"
140
+ assert_contains "$MECHANISM_REF" 'trust-model fit' "mechanism gate leg (destination)"
141
+ assert_same_bullet "$PRODUCT_SKILL" 'Mechanism-operability check** fires whenever the design proposes' \
142
+ "references/design-review-gate-mechanics.md" "mechanism gate (entry signal+pointer)"
143
+
144
+ # 1b. Claim liveness — the mechanism check's SECOND firing point, whose actor is
145
+ # whoever withdraws the claim rather than the machinery's author. The design-time
146
+ # pins above cannot notice its loss: every one of them stays green with the
147
+ # claim-liveness rule deleted, because they assert the design-time legs only. Its
148
+ # two halves are pinned separately on purpose — "retire the gate" without the
149
+ # obligation walk is the failure that walk exists to prevent, and a reworded
150
+ # retirement sentence would keep the first pin green while dropping the second.
151
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 're-based onto a claim that still holds, or retired, in that same landing' \
152
+ "claim liveness (destination rule)"
153
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'obligations it carried that never depended on the dead claim do not die with it' \
154
+ "claim liveness (destination retirement walk)"
155
+ # The rule offers TWO dispositions and the walk must cover both. Scoping it to
156
+ # retirement alone leaves re-basing free to rewrite the enforcement surface — an
157
+ # independent obligation quietly dropped, or the withdrawn claim still enforced
158
+ # under a new name, with every other pinned clause satisfied.
159
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'Neither path is a free edit' \
160
+ "claim liveness (walk covers re-base as well as retirement)"
161
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'no component still enforces the withdrawn claim' \
162
+ "claim liveness (a re-base must not carry the dead claim forward)"
163
+ # The walk above says "disposition each", and one of the dispositions is giving an
164
+ # obligation up. Without the next clause that disposition is self-serviceable, so
165
+ # a claim withdrawal becomes a route to delete a permission, data-safety, or
166
+ # finality control by writing "accepted" about your own landing. This is the
167
+ # highest-consequence sentence in the rule; pin it separately from the walk so a
168
+ # rewrite cannot drop the approver while keeping the walk green.
169
+ #
170
+ # Pin the clause's OBLIGATIONS one by one, not its headline. Three review rounds
171
+ # in a row found the same class of gap — an anchor on the sentence stays green
172
+ # while a sub-requirement inside it is deleted — so the unit here is "one
173
+ # assertion per thing the clause actually requires", and each is mutation-tested
174
+ # on its own. The headline and the teeth are independently droppable, which is
175
+ # precisely why they are independently pinned.
176
+ #
177
+ # WHAT THESE PROVE, AND WHAT THEY DO NOT. They prove each obligation is PRESENT
178
+ # and lives INSIDE the owning section — that is, they catch deletion, rewording
179
+ # away, and relocation into commentary. They do NOT prove the safety SEMANTICS
180
+ # survived: a later sentence added to this same section ("except availability
181
+ # controls may be self-accepted") leaves every fragment in place and every
182
+ # assertion green while gutting the rule. That gap is accepted deliberately, not
183
+ # overlooked — closing it needs a normative-block comparator, which reds on every
184
+ # legitimate wording edit and defends only against an author who would edit this
185
+ # fixture in the same commit. Catching a deliberate weakening is the dual-track
186
+ # review's job, not this file's. Do not cite a green run here as evidence that
187
+ # the rule still MEANS what it meant.
188
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'That last disposition is not self-serviceable' \
189
+ "claim liveness (headline: acceptance is not self-serviceable)"
190
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'named accountable risk owner' \
191
+ "claim liveness (obligation: a named accountable approver exists)"
192
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'routes through `feature-risk-router`' \
193
+ "claim liveness (obligation: escalation route)"
194
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'keeps enforcing — retained or re-based — until a' \
195
+ "claim liveness (obligation: enforcement continues until acceptance)"
196
+ # The rule binds every abandoned control, with no protected-class list. That is a
197
+ # deliberate shape, not an omission: a list is one unlisted class away from
198
+ # letting a real control out, and review found exactly that twice. Pin the
199
+ # unconditional scope, or a later edit "clarifies" it into an enumeration and the
200
+ # assertions above keep passing for whichever classes survive the narrowing.
201
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'deliberately carries no class list to narrow' \
202
+ "claim liveness (obligation: scope is unconditional, not an enumeration)"
203
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'it binds whatever that control protects' \
204
+ "claim liveness (obligation: binds regardless of what is protected)"
205
+ # The deferral escape hatch is the rule's own re-entry point for the failure it
206
+ # prevents: "pending" with no approver, no end, and no consequence lets the dead
207
+ # claim keep charging rent forever, which is exactly the tax being outlawed. Its
208
+ # three teeth are pinned individually for the same reason as the clause above.
209
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'accepted risk with an end, not a note' \
210
+ "claim liveness (deferral: pending is an accepted risk, not a note)"
211
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'risk owner accepts the deferral itself' \
212
+ "claim liveness (deferral: owner approves the deferral)"
213
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'the first landing that pays the cost' \
214
+ "claim liveness (deferral: bounded by an observable end event)"
215
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'the next one that invokes or modifies the mechanism' \
216
+ "claim liveness (deferral: the bound is whoever PAYS, not whoever edits)"
217
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'the per-change cost being paid meanwhile' \
218
+ "claim liveness (deferral: the standing cost is recorded)"
219
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'escalates through `feature-risk-router` instead of renewing quietly' \
220
+ "claim liveness (deferral: expiry escalates, never renews silently)"
221
+ assert_in_section "$MECHANISM_REF" '## Mechanism-operability check' 'about its own landing is not an acceptance' \
222
+ "claim liveness (obligation: self-acceptance is rejected)"
223
+ # The entrypoint must advertise the second trigger in the SAME bullet as the load
224
+ # pointer, for the same routing reason assert_same_bullet exists above: the actor
225
+ # who withdraws a claim never matches the design-time phrasing, so a firing signal
226
+ # that lost its pointer would route that actor nowhere.
227
+ assert_same_bullet "$PRODUCT_SKILL" 'and again when a landing withdraws or downgrades the evidentiary claim' \
228
+ "references/design-review-gate-mechanics.md" "claim liveness (entry signal+pointer)"
229
+ # The shared-skill instantiation reaches the rule only through this pointer; the
230
+ # observed failure (round 028) was a shared-skill gate, so losing it re-opens the
231
+ # exact path that failed. Co-location is the assertion, not presence: this side is
232
+ # ONLY a pointer, so a check on the trigger phrase alone would stay green after the
233
+ # destination path is deleted from it — leaving a reader who is told a fifth firing
234
+ # point exists and never told where the rule lives, which is the reachability
235
+ # failure this whole round exists to close.
236
+ assert_same_paragraph "$REPO_ROOT/skills/skill-extraction-workflow/references/dual-track-review-gate.md" \
237
+ 'withdraws or downgrades the evidentiary claim an existing gate rests on' \
238
+ "product-rd-workflow/references/design-review-gate-mechanics.md" \
239
+ "claim liveness (shared-skill instantiation pointer)"
240
+
241
+ # 2. Affirmative-assent binding
242
+ assert_contains "$PRE_FINAL_REF" 'the required `proposed-next:` marker makes that binding observable' "assent binding (destination)"
243
+ assert_same_bullet "$PRODUCT_SKILL" 'Affirmative-assent binding rule' \
244
+ "references/pre-final-continuation-gate.md" "assent binding (entry signal+pointer)"
245
+ assert_contains "$PRODUCT_SKILL" 'self-classifying the reply or marker away is never an exit' "assent binding (entry no-exit clause)"
246
+
247
+ # 3. Owner invoke bar
248
+ assert_contains "$ENTRY_GATE_REF" 'The invoke bar applies to every field that names an owner' "invoke bar (destination)"
249
+ assert_same_bullet "$PRODUCT_SKILL" 'delegation being plausible at all loads `multi-agent-delegation`' \
250
+ "references/implementation-entry-reentry-gate.md" "invoke bar (entry signal+pointer)"
251
+
252
+ # 4. Deep self-audit / walked enumeration
253
+ assert_contains "$LIFECYCLE_REF" 'walked enumeration over the properties this delivery asserts' "self-audit (destination)"
254
+ assert_same_bullet "$PRODUCT_SKILL" 'external review is the backstop for what the audit missed' \
255
+ "references/delivery-lifecycle.md" "self-audit (entry signal+pointer)"
256
+
257
+ # 5/6. Upstream-authority no-copy rule and its dependency default
258
+ assert_contains "$SYNC_REF" 'The same no-copy rule governs any UPSTREAM AUTHORITY the repo does not own' "no-copy rule (destination)"
259
+ assert_contains "$SYNC_REF" 'default to the access-controlled pointer + revision' "dependency default (destination)"
260
+ assert_same_bullet "$PRODUCT_SKILL" 'upstream-owned value set' \
261
+ "references/sync-spec-repo-contract.md" "no-copy rule (entry signal+pointer)"
262
+ assert_contains "$PRODUCT_SKILL" 'cite the access-controlled pointer + revision' "dependency default (entry variant)"
263
+
264
+ # 7. Model-visible accounting invariant (agent session persistence, round 030).
265
+ # The clause is a security-owner-approved rule whose historical failure modes are
266
+ # each a specific sentence: forcing raw persistence (r4), accepting mutable
267
+ # reference targets (r5), and leaving a plain digest as the only residue (r6).
268
+ # One assertion per obligation, section-bound, for the same reasons as family 1b:
269
+ # a sentence-level anchor stays green while a sub-obligation inside it is
270
+ # deleted, and a whole-file grep cannot tell a normative rule from a mention.
271
+ # The same limits stated there apply here: these pins catch deletion,
272
+ # rewording-away, and relocation — not a weakening sentence added beside them;
273
+ # that is the dual-track review's job.
274
+ PERSISTENCE_REF="$REPO_ROOT/skills/llm-inference-integration/references/agent-session-persistence.md"
275
+ PERSISTENCE_POLICY_SECTION='## 3. A persistence policy decides what is durable, ephemeral, or truncated'
276
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'client-dispatched envelope must carry' \
277
+ "model-visible accounting (invariant: envelope items are the accounted set)"
278
+ # Review round 27 (codex) P1: weakening "exactly one" to "one or more" kept
279
+ # the lead pin green — the uniqueness quantifier gets its own pin.
280
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'exactly one durable accounting classification' \
281
+ "model-visible accounting (invariant: the classification is exactly one)"
282
+ # Review round 3 (codex): the invariant pin alone lets the three class
283
+ # DEFINITIONS be deleted or weakened while everything stays green, and the raw
284
+ # class needed byte-equivalence semantics (a persistence-redacted item is not
285
+ # what the model saw, so calling it raw breaks replay while completeness checks
286
+ # pass). One pin per class definition, plus the raw-semantics pair.
287
+ # Review round 22 (codex) P1: "byte-equivalent to what the model saw"
288
+ # contradicted the provider-effective scoping, which admits consumption is
289
+ # unverifiable — raw binds to the envelope item, the only thing the client can
290
+ # actually guarantee bytes for.
291
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'byte-equivalent to its item in the' \
292
+ "model-visible accounting (class: raw means byte-equivalent to the envelope item)"
293
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'transformed by persistence-time' \
294
+ "model-visible accounting (class: a redacted item does not classify raw)"
295
+ # Review round 4 (codex) P1: raw's out-of-line parenthetical re-opened the
296
+ # availability hole — an out-of-line store may purge before the log expires or
297
+ # deny the replay principal, yet the raw class required neither. Out-of-line is
298
+ # by-reference by definition; pinned so the routing sentence cannot be dropped.
299
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'A payload stored out-of-line classifies by' \
300
+ "model-visible accounting (class: out-of-line payloads classify by reference, never raw)"
301
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'the log carries an immutable, versioned reference' \
302
+ "model-visible accounting (class: by-reference means immutable versioned reference)"
303
+ # Review round 7 (codex) P2: "plus a digest" was droppable — the reference pin
304
+ # does not require a digest and the keyed-residue pins only constrain a digest
305
+ # when one exists, so the class could lose its integrity requirement silently.
306
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'plus a digest, and the referenced store keeps the item' \
307
+ "model-visible accounting (class: a by-reference record carries a mandatory digest)"
308
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'an explicit marker carrying the reason' \
309
+ "model-visible accounting (class: non-reconstructable carries a reason)"
310
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'digest or an explicit no-digest note' \
311
+ "model-visible accounting (class: non-reconstructable carries a keyed digest or a no-digest note)"
312
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'no envelope item without a classification' \
313
+ "model-visible accounting (obligation: assertions check completeness)"
314
+ # Review round 9 (codex) P1: a crash between model dispatch and the append, or
315
+ # a duplicating retry, leaves items a log-only audit cannot see — completeness
316
+ # was only as real as whatever reached the log. Round 10 deepened it: a manifest
317
+ # of ids+classifications alone still passes while a raw item's CONTENT never
318
+ # landed, so the pre-dispatch commit carries each classification's evidence.
319
+ # Four teeth, pinned individually.
320
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" "durably commit each item's complete accounting record" \
321
+ "model-visible accounting (obligation: the complete accounting record commits before dispatch)"
322
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" "and that classification's evidence" \
323
+ "model-visible accounting (obligation: the pre-dispatch commit includes the classification's evidence)"
324
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'failing closed if that commit fails' \
325
+ "model-visible accounting (obligation: a failed manifest commit fails closed)"
326
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'reuses the ids so a replayed' \
327
+ "model-visible accounting (obligation: retries deduplicate by stable item ids)"
328
+ # Review round 11 (codex) P1: with no authoritative denominator, an
329
+ # under-enumeration defect commits records for a subset and the audit checks
330
+ # the log against that same subset — a dropped item (injected instructions
331
+ # included) is invisible. The manifest derives from the finalized dispatch
332
+ # payload itself; both teeth pinned.
333
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'invocation-scoped manifest from the finalized dispatch payload' \
334
+ "model-visible accounting (obligation: the manifest derives from the finalized dispatch payload)"
335
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'rather than against whatever subset of' \
336
+ "model-visible accounting (obligation: the audit denominator is the invocation manifest)"
337
+ # Review round 12 (codex) P1: deriving manifest and records from a payload that
338
+ # middleware can still mutate re-opens the commit-to-send window — the model
339
+ # sees the changed payload while the audit passes against the unchanged
340
+ # manifest. Sealed-envelope closure, both teeth pinned.
341
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'derive the manifest and records from that sealed envelope' \
342
+ "model-visible accounting (obligation: manifest and records derive from the sealed envelope)"
343
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'transport and retries send only the sealed envelope' \
344
+ "model-visible accounting (obligation: transport sends only the sealed envelope)"
345
+ # Review round 13 (codex), two P1s: (a) after a transport failure or lost ack
346
+ # the log was indistinguishable from a consumed invocation, and an id-reusing
347
+ # retry could invoke the model twice while accounting showed one — the attempt
348
+ # needs its own durable states and provider idempotency key; (b) fail-closed
349
+ # auditing bricked pre-accounting sessions, and synthesizing records for them
350
+ # would fabricate evidence — the schema is versioned and prospective, legacy
351
+ # history carries a typed marker. Four teeth, pinned individually.
352
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'prepared, dispatch-attempted, then accepted or' \
353
+ "model-visible accounting (obligation: durable attempt states around the sealed envelope)"
354
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'shows as two attempts even while item accounting deduplicates' \
355
+ "model-visible accounting (obligation: a possible double invocation is visible as two attempts)"
356
+ # Review rounds 15/16 (codex) P1s: appending dispatch-attempted AFTER calling
357
+ # the provider loses the attempt on a crash between send and append, and a
358
+ # wording that let `prepared` satisfy the pre-transport commit kept that window
359
+ # open. The durable state that commits pre-transport IS dispatch-attempted, and
360
+ # post-transport transitions are accepted/delivery-uncertain only.
361
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'dispatch-attempted state (unique attempt id plus that key) commits before transport' \
362
+ "model-visible accounting (obligation: dispatch-attempted itself commits before transport)"
363
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'after transport the state moves only to' \
364
+ "model-visible accounting (obligation: post-transport states come from the closed enumeration)"
365
+ # Review round 26 (codex) P1: the closed post-transport enumeration had no
366
+ # place for a definitive provider rejection before model execution, forcing
367
+ # false uncertainty. `rejected` is provider-attested and records that no
368
+ # invocation occurred.
369
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'provider-attested definitive rejection' \
370
+ "model-visible accounting (obligation: rejected is provider-attested with no invocation)"
371
+ # Self-audit after round 27 (lifecycle walk, both found by the implementer, not
372
+ # a reviewer): (H1) a corrected resend after `rejected` must be a NEW sealed
373
+ # invocation — an idempotency key may only ever cover one identical payload;
374
+ # (H2) the rejected-exposure event had no content constraint.
375
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'new sealed invocation with its own envelope and key' \
376
+ "model-visible accounting (obligation: a corrected resend after rejected is a new invocation)"
377
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'itself under the same discipline as every exposure record' \
378
+ "model-visible accounting (obligation: the rejected-exposure event carries no value or plain digest)"
379
+ # Review round 17 (codex) P1: a crash just after the dispatch-attempted commit
380
+ # and a crash after provider acceptance leave the same record, so recovery
381
+ # could either drop a delivered invocation or blind-retry into a double one.
382
+ # Stale records resolve to delivery-uncertain, reconcile by provider request
383
+ # id, and auto-retry only under provider-guaranteed idempotency.
384
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'treats a stale dispatch-attempted record as delivery-uncertain' \
385
+ "model-visible accounting (obligation: recovery resolves stale attempts to delivery-uncertain)"
386
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" "provider-guaranteed idempotency with the invocation's original key" \
387
+ "model-visible accounting (obligation: auto-retry only under provider-guaranteed idempotency with the original key)"
388
+ # Review round 21 (codex) P1: a retry that mints a fresh idempotency key is a
389
+ # distinct request to the provider — the model runs twice while the accounting
390
+ # shows a retry. The key binds to the sealed logical invocation.
391
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'a retry that mints a fresh key is a second invocation' \
392
+ "model-visible accounting (obligation: a fresh-key retry counts as a second invocation)"
393
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'uncertainty is surfaced, not retried through' \
394
+ "model-visible accounting (obligation: unresolved uncertainty is surfaced, never retried through)"
395
+ # Challenge (chain r23) P1: a record committed but never dispatch-attempted had
396
+ # no recovery path — indefinitely prepared, surfacing nothing, stranding
397
+ # committed evidence. Cancel-or-resume, both teeth pinned.
398
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'A stale prepared record — committed but never' \
399
+ "model-visible accounting (obligation: stale prepared records are recovered explicitly)"
400
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'resume by committing dispatch-attempted and sending the identical sealed' \
401
+ "model-visible accounting (obligation: resume recommits dispatch-attempted with the identical envelope)"
402
+ # Review round 21 (codex) P1: raw evidence could be durably committed before
403
+ # the pre-transport secret scan rejected the envelope, leaving the value in the
404
+ # log with the erasure transition scoped to post-model discovery only.
405
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'runs before accounting evidence is derived or committed' \
406
+ "model-visible accounting (obligation: the secret scan precedes evidence derivation and commit)"
407
+ # Review round 24 (codex) P1: a scanner timeout/error/absence read as "no
408
+ # detection" and the envelope shipped unscanned — the scan itself fails closed.
409
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'never reads as no detection' \
410
+ "model-visible accounting (obligation: a failed or absent scan never reads as clean)"
411
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'the late-discovery transition below applies to the aborted dispatch' \
412
+ "model-visible accounting (obligation: an aborted dispatch with prior persistence takes the erasure transition)"
413
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'Version the accounting schema and apply it prospectively' \
414
+ "model-visible accounting (obligation: the schema is versioned and prospective)"
415
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'never synthesized classifications' \
416
+ "model-visible accounting (obligation: legacy history is marked, never fabricated)"
417
+ # Review round 14 (codex) P1: a provider that injects, truncates, or compacts
418
+ # server-side makes the model's effective context differ from the sealed
419
+ # envelope while every local record passes — the guarantee must claim the
420
+ # client-dispatched envelope and mark the rest unverifiable, not imply
421
+ # full fidelity it cannot see. Both teeth pinned.
422
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'scoped to what the client dispatched' \
423
+ "model-visible accounting (obligation: the guarantee is scoped to client-dispatched context)"
424
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'typed model-context-unverifiable marker' \
425
+ "model-visible accounting (obligation: absent provider evidence, unverifiability is marked)"
426
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'resolve them by reference at the boundary' \
427
+ "model-visible accounting (obligation: secrets are reference-resolved, never model-visible raw)"
428
+ # Review round 19 (codex) P1: a secret DETECTED before dispatch was accounted
429
+ # for and then sent anyway — the rule only failed closed on commit failure, so
430
+ # accounting a known exposure licensed shipping it. Detection aborts transport;
431
+ # the leak classification is reserved for post-dispatch discovery.
432
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'before dispatch aborts the transport' \
433
+ "model-visible accounting (obligation: a detected secret aborts the dispatch)"
434
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'accounting for a known exposure never licenses sending it' \
435
+ "model-visible accounting (obligation: accounting never licenses sending a known exposure)"
436
+ # Challenge (chain r20) P1: an unrecognized secret classified raw leaves its
437
+ # value readable in the append-only log after late discovery — relabeling did
438
+ # not touch the persisted bytes. The late-discovery transition has four teeth,
439
+ # pinned individually.
440
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'covers every class that persisted content' \
441
+ "model-visible accounting (obligation: late discovery covers raw and by-reference items)"
442
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'contain read access to the affected records and the referenced target at once' \
443
+ "model-visible accounting (obligation: containment reaches the referenced target too)"
444
+ # Review round 25 (codex) P1: erasure named the value and replicas but not the
445
+ # plain integrity digest legitimately stored beside a raw record — once the
446
+ # value is erased, that digest is the enumerable residue of a low-entropy
447
+ # secret. The erasure list includes it.
448
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'erase the persisted or referenced content, its replicas, and any digest or' \
449
+ "model-visible accounting (obligation: erasure covers content, replicas, digests, and derived identifiers)"
450
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'recording any residue that could not be erased' \
451
+ "model-visible accounting (obligation: unerased residue is recorded in the exposure event)"
452
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'A mutable reference target does not qualify:' \
453
+ "model-visible accounting (obligation: immutable reference targets only)"
454
+ # Review round 1 (codex) P1: "policy at least as strict" was wrong on both axes —
455
+ # a store purging EARLIER than the log, or denying the replay principal, passed
456
+ # the old wording while replay silently failed. The criterion is availability +
457
+ # authorization, and both corrected clauses are pinned so a reword back to the
458
+ # strictness proxy reds here.
459
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" "resolvable for the session log's whole retention horizon" \
460
+ "model-visible accounting (obligation: by-reference availability spans the retention horizon)"
461
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'or denies the replay principal,' \
462
+ "model-visible accounting (obligation: the replay principal keeps access)"
463
+ # Review round 5 (codex) P2: the no-broader-access clause was the one criterion
464
+ # of the by-reference class left unpinned — droppable while the horizon and
465
+ # principal pins stayed green, widening who can read replay data.
466
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'with access no broader than' \
467
+ "model-visible accounting (obligation: reference-store access is no broader than the log policy)"
468
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'it must never force raw persistence' \
469
+ "model-visible accounting (obligation: audits records, never forces persistence)"
470
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'the accounting records a typed exposure event' \
471
+ "model-visible accounting (obligation: leaked secret becomes a typed exposure event)"
472
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'never the value, and never a plain digest of it' \
473
+ "model-visible accounting (obligation: no value and no plain digest of a leaked secret)"
474
+ # Review round 1 (codex) P1: a leaked secret was covered by the exactly-one-
475
+ # classification invariant yet assigned no class, so a consumer had to leave it
476
+ # unclassified or invent one that could retain forbidden material. The corrected
477
+ # clause names the class and forbids the other two; pinned so the assignment
478
+ # cannot be dropped while the exposure-event pin stays green.
479
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'explicit no-digest note — never raw, never by reference' \
480
+ "model-visible accounting (obligation: a leaked secret classifies non-reconstructable, no digest)"
481
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'allowed only where the same record already persists the content raw' \
482
+ "model-visible accounting (obligation: plain digest only beside raw content)"
483
+ # Review round 6 (codex) P1: a content-addressed id IS a plain content hash, so
484
+ # a low-entropy value stored out-of-line under a conventional CAS id was
485
+ # enumerable from the log while every digest pin stayed green — the rule keyed
486
+ # the companion digest and forgot the identifier. Both teeth pinned.
487
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'A content-derived reference identifier is a digest under this rule' \
488
+ "model-visible accounting (obligation: reference identifiers fall under the digest rule)"
489
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'never a plain content hash of the referenced content' \
490
+ "model-visible accounting (obligation: no plain content hash as the log-visible identifier)"
491
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'keyed digest with a non-secret key-id and algorithm-id' \
492
+ "model-visible accounting (obligation: residue digests are keyed)"
493
+ # Review round 2 (codex) P1: the keyed-digest pin stays green with the
494
+ # retained-keyring / rotation clause deleted, and without that clause an
495
+ # implementation may discard old keys on rotation, leaving retained
496
+ # by-reference records unverifiable before the log expires. Pinned separately
497
+ # so dropping or weakening rotation semantics reds while the keyed pin alone
498
+ # would stay green.
499
+ assert_in_section "$PERSISTENCE_REF" "$PERSISTENCE_POLICY_SECTION" 'verified against a retained keyring, rotation handled as' \
500
+ "model-visible accounting (obligation: keyring is retained across rotation)"
501
+ assert_in_section "$PERSISTENCE_REF" '## Non-negotiables' 'residue of an item is keyed, never plain' \
502
+ "model-visible accounting (non-negotiable bullet present)"
503
+
504
+ # 8. Sandbox-denial triage and controlled privilege escalation (round 031, E5).
505
+ # The clause is a security-owner-approved rule whose historical failure mode is
506
+ # the 023 review P1: the source rule's "retry with escalation before diagnosing"
507
+ # default is safe only for a repo's own trusted commands, and generalized as
508
+ # written it lets a repo-controlled command use a sandbox denial as a pretext to
509
+ # obtain host credentials or network. One assertion per obligation, section-bound,
510
+ # with the same limits as families 1b and 7: these pins catch deletion,
511
+ # rewording-away, and relocation — not a weakening sentence added beside them;
512
+ # that is the dual-track review's job.
513
+ EXTRACTION_METHOD_REF="$REPO_ROOT/skills/skill-extraction-workflow/references/source-to-skill-extraction.md"
514
+ BLOCKED_VERIFICATION_SECTION='## Blocked Verification And Source-Read Remediation'
515
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'Sandbox-denial triage precedes any escalation' \
516
+ "controlled escalation (invariant: triage before escalation, never a default)"
517
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never inference from a bare non-zero exit' \
518
+ "controlled escalation (triage: denial evidence is observed, not inferred)"
519
+ # Challenge round 2 (codex, chain ua11) P1: "observed denial" without a
520
+ # provenance requirement let command-controlled stderr fake an EPERM story.
521
+ # Denial evidence comes from the host's own enforcement/telemetry channel,
522
+ # bound to the invocation and denied capability; command output alone never
523
+ # qualifies.
524
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'trusted host-controlled enforcement or telemetry channel' \
525
+ "controlled escalation (triage: denial evidence provenance is the host channel)"
526
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" "never the command's own stdout/stderr alone" \
527
+ "controlled escalation (triage: command-controlled output alone is never denial evidence)"
528
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'classifies as genuine for this rule and never qualifies for escalation' \
529
+ "controlled escalation (triage: indeterminate fails closed)"
530
+ # Challenge round 1 (codex, chain ua10) P1: a run can show BOTH a genuine
531
+ # failure and a deliberately-triggered denial; forcing only indeterminate to
532
+ # genuine let mixed evidence justify a grant. The denial must be the sole
533
+ # proximate cause, mixed/conflicting evidence classifying as genuine.
534
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'so does mixed or conflicting evidence' \
535
+ "controlled escalation (triage: mixed or conflicting evidence classifies as genuine)"
536
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'the sole proximate cause preventing completion' \
537
+ "controlled escalation (triage: the denial must be the sole proximate cause)"
538
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'bypassing one via escalation is prohibited' \
539
+ "controlled escalation (invariant: genuine failures are never escalated around)"
540
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'only when every condition holds' \
541
+ "controlled escalation (gate: conditions are conjunctive, refusal falls back to blocked)"
542
+ # Review round 10 (codex, chain ua9) P2: the walk only proves pins that exist,
543
+ # so unpinned obligations were silently deletable. Full obligation-to-pin
544
+ # enumeration re-walked; the six gaps found are pinned here.
545
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'otherwise the item stays `blocked` with the normal remediation record' \
546
+ "controlled escalation (gate: refusal falls back to the blocked record, stated not implied)"
547
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never pasted' \
548
+ "controlled escalation (condition 2: credential grants stay reference-resolved, never pasted)"
549
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 're-run **unchanged**' \
550
+ "controlled escalation (condition 2: the command is re-run unchanged)"
551
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'host policy permits the grant AND the user approves' \
552
+ "controlled escalation (condition 3: host policy and user approval are both required)"
553
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'this specific escalation' \
554
+ "controlled escalation (condition 3: approval is for this specific escalation)"
555
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never inferred by the agent' \
556
+ "controlled escalation (condition 3: approval is never agent-inferred)"
557
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'reviewed this session by the operator side' \
558
+ "controlled escalation (condition 1: command trust is in-session review)"
559
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" "never because the repo's own docs say to run them" \
560
+ "controlled escalation (condition 1: repo entrypoints are untrusted until reviewed)"
561
+ # Review round 1 (codex) P1: binding trust to the command string is a TOCTOU
562
+ # hole — the blocked first run or a concurrent actor rewrites a script, symlink
563
+ # target, or generated file, and the textually unchanged re-run resolves to
564
+ # unreviewed content under the grant. Trust binds to content identity, verified
565
+ # at the escalated re-run, failing closed. Three teeth, pinned individually.
566
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'binds to the reviewed content, not the command string' \
567
+ "controlled escalation (condition 1: trust binds to content identity, not the command string)"
568
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 're-verify them immediately before the escalated re-run' \
569
+ "controlled escalation (condition 1: content identity is re-verified at the escalated re-run)"
570
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'failing closed to re-review on any mismatch' \
571
+ "controlled escalation (condition 1: a content mismatch fails closed to re-review)"
572
+ # Review round 2 (codex, chain ua1) P1: verify-then-execute on a live path is
573
+ # non-atomic — after re-verification a concurrent actor swaps the file before
574
+ # the unchanged command opens it. The re-run executes the reviewed snapshot
575
+ # itself, or verifies the exact bytes it subsequently executes. Both teeth pinned.
576
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'executes the reviewed snapshot itself' \
577
+ "controlled escalation (condition 1: the re-run executes the reviewed snapshot or verified bytes)"
578
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never a live path re-verified separately from execution' \
579
+ "controlled escalation (condition 1: no verify-then-execute swap window on a live path)"
580
+ # Review round 3 (codex, chain ua2) P1: atomic verify-and-execute stated only
581
+ # for "the re-run" leaves descendants open — a reviewed parent running from its
582
+ # snapshot can still invoke a swapped live helper under the grant. Chain-wide
583
+ # requirement pinned.
584
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'every repository-controlled executable or loadable code unit in the runtime chain' \
585
+ "controlled escalation (condition 1: snapshot-or-atomic-verify holds chain-wide, descendants included)"
586
+ # Review round 4 (codex, chain ua3) P1: sealing keyed to executables/loadable
587
+ # code leaves non-code inputs open — swapped configuration, data, environment
588
+ # files, or symlink targets change what the reviewed code does under the grant.
589
+ # Review round 6 (codex, chain ua5) P1 widened the origin: content fetched over
590
+ # the granted network/IPC/host channel during the re-run is equally mutable and
591
+ # untrusted. Sealing is keyed by effect; an unsealable input refuses the
592
+ # escalation.
593
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'every untrusted mutable input that can affect privileged behavior' \
594
+ "controlled escalation (condition 1: sealing is keyed by effect over every untrusted origin)"
595
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'content fetched over the granted network' \
596
+ "controlled escalation (condition 1: sealing covers content fetched over the granted channel)"
597
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'when such an input cannot be sealed' \
598
+ "controlled escalation (condition 1: an unsealable input refuses the escalation, fail closed)"
599
+ # Review round 5 (codex, chain ua4) P1: naming non-code inputs "sealed" while
600
+ # the consumption mechanics stayed code-only let a verified configuration be
601
+ # consumed as swapped bytes. Non-code inputs consume under the same discipline
602
+ # as code — snapshot, or verified bytes held stable through use.
603
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'held stable through use' \
604
+ "controlled escalation (condition 1: non-code inputs consume verified bytes held stable through use)"
605
+ # Review round 8 (codex, chain ua7) P1: "verified" without an anchor lets an
606
+ # attacker-controlled channel response be verified-and-stable yet unapproved.
607
+ # Verification anchors to an immutable expected identity reviewed before
608
+ # escalation and bound into the approval; no pre-grant identity means blocked.
609
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'verified against an immutable expected identity' \
610
+ "controlled escalation (condition 1: verification anchors to a pre-reviewed expected identity)"
611
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'no expected identity can be established before the grant' \
612
+ "controlled escalation (condition 1: no pre-grant expected identity means blocked)"
613
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never from unreviewed mutable input' \
614
+ "controlled escalation (net invariant: privileged behavior derives only from reviewed, approval-bound content)"
615
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'narrowest blocked capability only' \
616
+ "controlled escalation (condition 2: grant minimality)"
617
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never a general sandbox disable' \
618
+ "controlled escalation (condition 2: no general sandbox disable)"
619
+ # Challenge round 4 (codex, chain ua13) P1: approval bound a capability NAME —
620
+ # a credential reference, host, or path that can re-resolve to a different
621
+ # account, endpoint, object, or principal before the privileged run. The grant
622
+ # binds the canonical resolved identity, re-verified atomically at use.
623
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'canonical resolved capability identity' \
624
+ "controlled escalation (condition 2: the grant binds the resolved capability identity, not the name)"
625
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'any resolution change treated as a mismatch' \
626
+ "controlled escalation (condition 2: a capability re-resolution is a mismatch)"
627
+ # Challenge round 7 (codex, chain ua22) P2: the atomic re-resolution clause sat
628
+ # between two pinned phrases and was itself deletable.
629
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 're-resolved and verified atomically at use' \
630
+ "controlled escalation (condition 2: capability identity re-resolves atomically at use)"
631
+ # Challenge round 8 (codex, chain ua23) P2: the mismatch CONSEQUENCE clause was
632
+ # itself deletable while the mismatch pin stayed green.
633
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'invalidates approval and denial record alike' \
634
+ "controlled escalation (condition 2: a resolution mismatch invalidates approval and denial record)"
635
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'once per approval' \
636
+ "controlled escalation (condition 2: single unchanged re-run per approval)"
637
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'binds to this command, this capability, this session' \
638
+ "controlled escalation (condition 3: approval binding)"
639
+ # Review round 7 (codex, chain ua6) P1: approval bound only to command string,
640
+ # capability, and session let an old approval authorize content re-reviewed
641
+ # after a mismatch. Approval also binds the reviewed content identity; a
642
+ # mismatch invalidates it and re-reviewed content needs fresh user approval.
643
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'the reviewed content identity it was granted for' \
644
+ "controlled escalation (condition 3: approval binds the reviewed content identity)"
645
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'content re-reviewed after a mismatch needs fresh user approval' \
646
+ "controlled escalation (condition 3: re-reviewed content needs fresh approval)"
647
+ # Challenge round 3 (codex, chain ua12) P1: denial evidence bound only to
648
+ # invocation/capability let content B inherit content A's denial record after a
649
+ # mismatch and re-review. Denial evidence binds the executed content identity;
650
+ # mismatch invalidates it and the new identity re-establishes its own denial.
651
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'produced by an unprivileged run of the same reviewed content identity' \
652
+ "controlled escalation (condition 3: denial evidence binds the executed content identity)"
653
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'also invalidates the prior denial record' \
654
+ "controlled escalation (condition 3: a mismatch invalidates the denial record too)"
655
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never cached, never standing' \
656
+ "controlled escalation (condition 3: no cached or standing approval)"
657
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'any product sandbox that is itself under test' \
658
+ "controlled escalation (condition 4: product sandbox under test is untouchable)"
659
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'records the sandbox-denial evidence either way' \
660
+ "controlled escalation (condition 4: denial evidence recorded on every outcome)"
661
+ # Challenge round 5 (codex, chain ua16) P1: the denied first run may already
662
+ # have performed non-denied side effects, which the unchanged escalated re-run
663
+ # would duplicate or compound. Condition 5 accounts for prior effects before
664
+ # any re-run; unaccountable effects stay blocked.
665
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'proven absent, rolled back, or contained' \
666
+ "controlled escalation (condition 5: prior external effects are accounted for)"
667
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'cannot duplicate or compound a side effect' \
668
+ "controlled escalation (condition 5: the re-run cannot duplicate prior side effects)"
669
+ # Review round ua17 P1: "contained" alone left the duplicate inside the
670
+ # container, materialized by a later commit or export. Contained state resets
671
+ # to the pre-run snapshot (or a proven idempotency/dedup guarantee applies).
672
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'discarded or reset to its pre-run snapshot' \
673
+ "controlled escalation (condition 5: contained state resets before the re-run)"
674
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'containment alone never qualifies' \
675
+ "controlled escalation (condition 5: containment alone is not accounting)"
676
+ # Challenge round 6 (codex, chain ua18) P1: condition-5 accounting evidence had
677
+ # no provenance requirement, so command output could claim absence/rollback.
678
+ # The same host-channel provenance as denial evidence applies, bound to the
679
+ # invocation, content identity, and affected targets.
680
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'independently verified transactional or state telemetry' \
681
+ "controlled escalation (condition 5: accounting evidence has trusted provenance)"
682
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'never proving absence, rollback, or deduplication' \
683
+ "controlled escalation (condition 5: command output alone never proves accounting)"
684
+ # Review round ua19 P2: the A15 binding sub-clause was itself unpinned.
685
+ assert_in_section "$EXTRACTION_METHOD_REF" "$BLOCKED_VERIFICATION_SECTION" 'bound to the exact unprivileged invocation, reviewed content identity, and affected targets' \
686
+ "controlled escalation (condition 5: accounting evidence binds invocation, content, and targets)"
687
+ # Review round ua14 P2: the escalation rule body lives in this reference, so
688
+ # prove the entrypoint's mandatory blocked-read rule still routes readers to
689
+ # the owning section (dual-side discipline, same rationale as family 1b) —
690
+ # firing signal and pointer must share the entrypoint bullet.
691
+ assert_same_bullet "$EXTRACTION_SKILL" 'A blocked source read is not closed by naming the blockage' \
692
+ "references/source-to-skill-extraction.md#blocked-verification-and-source-read-remediation" \
693
+ "controlled escalation (reachability: entrypoint routes to the Blocked Verification section)"
694
+
695
+ # --- Family 9: review-program process controls (multi-round program discipline) ---
696
+ # One assertion per obligation sentence, SECTION-BOUND to the owning rule (review
697
+ # round 1 P1: whole-file assert_contains lets a relocated or duplicated phrase stay
698
+ # green), enumerated sentence-by-sentence per the reverse-coverage rule this family
699
+ # itself pins: each pin shown RED under its own applied deletion AND relocation
700
+ # mutation in a throwaway copy with the unmutated control green.
701
+ DUAL_TRACK_REF="$REPO_ROOT/skills/skill-extraction-workflow/references/dual-track-review-gate.md"
702
+ LEDGER_REF="$REPO_ROOT/skills/skill-extraction-workflow/references/source-register.md"
703
+ WALK_REF="$REPO_ROOT/skills/testing-strategy/references/run-killing-mutation-walk.md"
704
+ DT_SELF_AUDIT_SECTION='### The self-adversary enumeration — method detail (relocated from `SKILL.md`)'
705
+ DT_AUTHORITY_SECTION='### Findings, autonomous budget, and human authority'
706
+ TS_CORE_RULES_SECTION='## Core Rules'
707
+ WALK_PROBE_SECTION='## Encoded Probe For Destructive Artifacts'
708
+ LEDGER_RULE_PARAGRAPH='Round-consolidation rule (append-once)'
709
+
710
+ # Each owning rule-LINE is section-anchored once; every clause pin then binds to its
711
+ # rule's own physical line (round-2 challenge P1: convergence and continuation pins
712
+ # bounded only by the shared section let a clause move between the two rules stay
713
+ # green — assert_same_line reds a cross-move as well as a deletion or relocation).
714
+ assert_in_section "$DUAL_TRACK_REF" "$DT_SELF_AUDIT_SECTION" '**Re-owe after fixes.**' \
715
+ "process controls (re-owe rule anchored in the self-audit section)"
716
+ assert_in_section "$DUAL_TRACK_REF" "$DT_AUTHORITY_SECTION" 'A convergence or closure declaration must be written falsifiably.' \
717
+ "process controls (falsifiable closure declaration anchored in the authority section)"
718
+ assert_in_section "$DUAL_TRACK_REF" "$DT_AUTHORITY_SECTION" '`continuation_authorization`' \
719
+ "process controls (continuation authorization anchored in the authority section)"
720
+ # Remediation re-owes the pre-cover axes; third same-class round escalates to one full-matrix self-enumeration.
721
+ assert_same_line "$DUAL_TRACK_REF" 'remediation text written mid-round re-owes the draft-time axes BEFORE the candidate goes back to the reviewer' \
722
+ '**Re-owe after fixes.**' \
723
+ "process controls (remediation re-owes pre-cover axes)"
724
+ assert_same_line "$DUAL_TRACK_REF" 'supplies findings in a **third** round' \
725
+ '**Re-owe after fixes.**' \
726
+ "process controls (escalation trigger: third same-class round)"
727
+ assert_same_line "$DUAL_TRACK_REF" 'stop the per-finding loop and run one full-matrix implementer self-enumeration' \
728
+ '**Re-owe after fixes.**' \
729
+ "process controls (escalation action: full-matrix enumeration)"
730
+ assert_same_line "$DUAL_TRACK_REF" 'before any further external round' \
731
+ '**Re-owe after fixes.**' \
732
+ "process controls (escalation sequencing: enumeration precedes the next external round)"
733
+ assert_same_line "$DUAL_TRACK_REF" 'states × failure points × orderings × residues × cross-references' \
734
+ '**Re-owe after fixes.**' \
735
+ "process controls (full-matrix axes named)"
736
+ # Convergence/closure declarations are falsifiable: named candidate/evidence/axes/open items, scoped adjectives.
737
+ assert_same_line "$DUAL_TRACK_REF" 'Name the exact candidate identity it covers' \
738
+ 'must be written falsifiably' \
739
+ "process controls (declaration names the candidate identity)"
740
+ assert_same_line "$DUAL_TRACK_REF" "each lane's terminal evidence, the axes/dimensions the closing self-audit actually crossed, and every standing open item by name" \
741
+ 'must be written falsifiably' \
742
+ "process controls (declaration components named)"
743
+ assert_same_line "$DUAL_TRACK_REF" 'cannot be checked false and is inconclusive' \
744
+ 'must be written falsifiably' \
745
+ "process controls (axis-free closure claim is inconclusive)"
746
+ assert_same_line "$DUAL_TRACK_REF" 'any "full X" adjective is scoped to the named axes, never wider' \
747
+ 'must be written falsifiably' \
748
+ "process controls (full-adjective scoped to named axes)"
749
+ # Continuation authorization: third human state; binding dead-end is by design; checkpoint names the remainder.
750
+ assert_same_line "$DUAL_TRACK_REF" 'it waives nothing and decides no merge' \
751
+ '`continuation_authorization`' \
752
+ "process controls (continuation authorization waives nothing)"
753
+ assert_same_line "$DUAL_TRACK_REF" 'both lanes stay intact and blocking' \
754
+ '`continuation_authorization`' \
755
+ "process controls (both lanes stay intact and blocking)"
756
+ assert_same_line "$DUAL_TRACK_REF" 'never counted as Agent-autonomous' \
757
+ '`continuation_authorization`' \
758
+ "process controls (human-authorized rounds not Agent-autonomous)"
759
+ assert_same_line "$DUAL_TRACK_REF" 'run as a fresh chain bound to the current candidate' \
760
+ '`continuation_authorization`' \
761
+ "process controls (continuation rounds take a fresh current-candidate chain)"
762
+ assert_same_line "$DUAL_TRACK_REF" "carries forward the complete review ledger and every prior round's focuses and dispositions" \
763
+ '`continuation_authorization`' \
764
+ "process controls (fresh chain restarts binding, never history)"
765
+ assert_same_line "$DUAL_TRACK_REF" 'The grant itself is scope-bound, not reusable' \
766
+ '`continuation_authorization`' \
767
+ "process controls (continuation grant is scope-bound)"
768
+ assert_same_line "$DUAL_TRACK_REF" "it names the granting session and either one exact candidate or, explicitly, this program's rounds to convergence in that session" \
769
+ '`continuation_authorization`' \
770
+ "process controls (the grant scope is defined: session plus exact candidate or explicit to-convergence)"
771
+ assert_same_line "$DUAL_TRACK_REF" 'a candidate or session outside the named scope requires a fresh authorization' \
772
+ '`continuation_authorization`' \
773
+ "process controls (out-of-scope continuation needs a fresh grant)"
774
+ assert_same_line "$DUAL_TRACK_REF" "a finding's fix that edits the owner package's own files breaks the review chain's content binding" \
775
+ '`continuation_authorization`' \
776
+ "process controls (binding dead-end is by design)"
777
+ assert_same_line "$DUAL_TRACK_REF" 'refuses both another autonomous round and a challenge bound to the stale prior result' \
778
+ '`continuation_authorization`' \
779
+ "process controls (tracker refusal on stale binding)"
780
+ assert_same_line "$DUAL_TRACK_REF" "names each lane's terminal state and the exact un-run remainder" \
781
+ '`continuation_authorization`' \
782
+ "process controls (interim checkpoint names the un-run remainder)"
783
+ assert_same_line "$DUAL_TRACK_REF" 'explicit risk acceptance with the record as the disposition trail' \
784
+ '`continuation_authorization`' \
785
+ "process controls (risk-acceptance alternative recorded)"
786
+ assert_same_line "$DUAL_TRACK_REF" 'Never Agent self-authorization' \
787
+ '`continuation_authorization`' \
788
+ "process controls (no agent self-authorization)"
789
+ assert_same_line "$DUAL_TRACK_REF" "never a lane waiver inferred from the human's silence" \
790
+ '`continuation_authorization`' \
791
+ "process controls (no inferred lane waiver)"
792
+ assert_same_line "$DUAL_TRACK_REF" 'or from the authorization to continue' \
793
+ '`continuation_authorization`' \
794
+ "process controls (continuing is not waiving)"
795
+ # Ledger append-once: rule sentences bound to the Round-consolidation paragraph.
796
+ assert_same_paragraph "$LEDGER_REF" 'APPEND each row to this ledger exactly once' \
797
+ "$LEDGER_RULE_PARAGRAPH" \
798
+ "process controls (ledger append-once)"
799
+ assert_same_paragraph "$LEDGER_REF" 'in the same squashed landing commit as the changes it declares' \
800
+ "$LEDGER_RULE_PARAGRAPH" \
801
+ "process controls (rows land with the changes they declare)"
802
+ assert_same_paragraph "$LEDGER_REF" 'corrected by re-pressing the unpushed landing commit' \
803
+ "$LEDGER_RULE_PARAGRAPH" \
804
+ "process controls (pre-push row correction re-presses, never edits)"
805
+ assert_same_paragraph "$LEDGER_REF" 'never an edit or a silent deletion' \
806
+ "$LEDGER_RULE_PARAGRAPH" \
807
+ "process controls (post-push correction supersedes, never edits)"
808
+ # Reverse pin coverage: artifact → pin; probes keep the self-contained walk honest.
809
+ assert_in_section "$TESTING_SKILL" "$TS_CORE_RULES_SECTION" 'coverage runs in the reverse direction, artifact → pin' \
810
+ "process controls (reverse coverage direction)"
811
+ assert_in_section "$TESTING_SKILL" "$TS_CORE_RULES_SECTION" 'an unpinned obligation produces no signal in any walk and is silently deletable' \
812
+ "process controls (unpinned obligation is silently deletable)"
813
+ assert_in_section "$TESTING_SKILL" "$TS_CORE_RULES_SECTION" 'must name the pin that reds on its deletion' \
814
+ "process controls (entry rule: obligation sentence must name its pin)"
815
+ assert_same_bullet "$TESTING_SKILL" 'coverage runs in the reverse direction' \
816
+ "references/run-killing-mutation-walk.md" \
817
+ "process controls (reachability: reverse-coverage bullet routes to the walk reference)"
818
+ assert_in_section "$WALK_REF" "$WALK_PROBE_SECTION" 'a pinned section moved elsewhere in the file must still be matched' \
819
+ "process controls (relocation probe)"
820
+ assert_in_section "$WALK_REF" "$WALK_PROBE_SECTION" "assert the entrypoint's route to it still resolves" \
821
+ "process controls (reachability probe)"
822
+ assert_in_section "$WALK_REF" "$WALK_PROBE_SECTION" "mutants applied to a throwaway copy go RED there while the live tree's run stays green" \
823
+ "process controls (tree-isolation probe)"
824
+ assert_in_section "$WALK_REF" "$WALK_PROBE_SECTION" 'the probe discovers its pin list by parsing the fixture rather than a hand-kept list' \
825
+ "process controls (parser completeness probe)"
826
+ assert_in_section "$WALK_REF" "$WALK_PROBE_SECTION" 'every obligation sentence of the pinned artifact names its pin' \
827
+ "process controls (walk cannot detect unpinned obligations)"
828
+
829
+ echo "test_ai_coding_implementation_gates: ok"