qor-logic 0.13.0__tar.gz

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 (339) hide show
  1. qor_logic-0.13.0/PKG-INFO +248 -0
  2. qor_logic-0.13.0/README.md +223 -0
  3. qor_logic-0.13.0/pyproject.toml +65 -0
  4. qor_logic-0.13.0/qor/__init__.py +1 -0
  5. qor_logic-0.13.0/qor/agents/governance/qor-governor.md +134 -0
  6. qor_logic-0.13.0/qor/agents/governance/qor-judge.md +189 -0
  7. qor_logic-0.13.0/qor/agents/memory/documentation-scribe.md +773 -0
  8. qor_logic-0.13.0/qor/agents/memory/learning-capture.md +251 -0
  9. qor_logic-0.13.0/qor/agents/memory/qor-technical-writer.md +193 -0
  10. qor_logic-0.13.0/qor/agents/meta/agent-architect.md +472 -0
  11. qor_logic-0.13.0/qor/agents/meta/build-doctor.md +145 -0
  12. qor_logic-0.13.0/qor/agents/meta/system-architect.md +562 -0
  13. qor_logic-0.13.0/qor/agents/sdlc/project-planner.md +602 -0
  14. qor_logic-0.13.0/qor/agents/sdlc/qor-fixer.md +179 -0
  15. qor_logic-0.13.0/qor/agents/sdlc/qor-specialist.md +228 -0
  16. qor_logic-0.13.0/qor/agents/sdlc/qor-strategist.md +201 -0
  17. qor_logic-0.13.0/qor/agents/sdlc/qor-ux-evaluator.md +297 -0
  18. qor_logic-0.13.0/qor/cli.py +243 -0
  19. qor_logic-0.13.0/qor/cli_policy.py +74 -0
  20. qor_logic-0.13.0/qor/dist/variants/claude/agents/agent-architect.md +472 -0
  21. qor_logic-0.13.0/qor/dist/variants/claude/agents/build-doctor.md +145 -0
  22. qor_logic-0.13.0/qor/dist/variants/claude/agents/documentation-scribe.md +773 -0
  23. qor_logic-0.13.0/qor/dist/variants/claude/agents/learning-capture.md +251 -0
  24. qor_logic-0.13.0/qor/dist/variants/claude/agents/project-planner.md +602 -0
  25. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-fixer.md +179 -0
  26. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-governor.md +134 -0
  27. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-judge.md +189 -0
  28. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-specialist.md +228 -0
  29. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-strategist.md +201 -0
  30. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-technical-writer.md +193 -0
  31. qor_logic-0.13.0/qor/dist/variants/claude/agents/qor-ux-evaluator.md +297 -0
  32. qor_logic-0.13.0/qor/dist/variants/claude/agents/system-architect.md +562 -0
  33. qor_logic-0.13.0/qor/dist/variants/claude/skills/log-decision.md +535 -0
  34. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-audit/SKILL.md +239 -0
  35. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-audit/references/adversarial-mode.md +86 -0
  36. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-audit/references/qor-audit-templates.md +130 -0
  37. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-bootstrap/SKILL.md +175 -0
  38. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-bootstrap/references/qor-bootstrap-templates.md +184 -0
  39. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-debug/SKILL.md +130 -0
  40. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-deep-audit/SKILL.md +153 -0
  41. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-deep-audit-recon/SKILL.md +87 -0
  42. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-deep-audit-remediate/SKILL.md +99 -0
  43. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-docs-technical-writing/SKILL.md +91 -0
  44. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-document/SKILL.md +252 -0
  45. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-governance-compliance/SKILL.md +120 -0
  46. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-help/SKILL.md +121 -0
  47. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-implement/SKILL.md +324 -0
  48. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-implement/references/qor-implement-patterns.md +168 -0
  49. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-meta-log-decision/SKILL.md +544 -0
  50. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-meta-track-shadow/SKILL.md +356 -0
  51. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-onboard-codebase/SKILL.md +127 -0
  52. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-organize/SKILL.md +146 -0
  53. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-organize/references/qor-organize-templates.md +221 -0
  54. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-plan/SKILL.md +238 -0
  55. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-plan/references/step-extensions.md +51 -0
  56. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-process-review-cycle/SKILL.md +117 -0
  57. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-refactor/SKILL.md +279 -0
  58. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-refactor/references/qor-refactor-examples.md +245 -0
  59. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-remediate/SKILL.md +127 -0
  60. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-audit/SKILL.md +157 -0
  61. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-release/SKILL.md +259 -0
  62. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-scaffold/SKILL.md +148 -0
  63. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-scaffold/references/CODE_OF_CONDUCT.md +77 -0
  64. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-scaffold/references/CONTRIBUTING.md +24 -0
  65. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-scaffold/references/GOVERNANCE.md +38 -0
  66. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-repo-scaffold/references/SECURITY.md +12 -0
  67. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-research/SKILL.md +263 -0
  68. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-shadow-process/SKILL.md +120 -0
  69. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-status/SKILL.md +165 -0
  70. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-substantiate/SKILL.md +334 -0
  71. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-substantiate/references/qor-substantiate-templates.md +216 -0
  72. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-validate/SKILL.md +170 -0
  73. qor_logic-0.13.0/qor/dist/variants/claude/skills/qor-validate/references/qor-validate-reports.md +161 -0
  74. qor_logic-0.13.0/qor/dist/variants/claude/skills/track-shadow-genome.md +347 -0
  75. qor_logic-0.13.0/qor/dist/variants/codex/agents/agent-architect.md +472 -0
  76. qor_logic-0.13.0/qor/dist/variants/codex/agents/build-doctor.md +145 -0
  77. qor_logic-0.13.0/qor/dist/variants/codex/agents/documentation-scribe.md +773 -0
  78. qor_logic-0.13.0/qor/dist/variants/codex/agents/learning-capture.md +251 -0
  79. qor_logic-0.13.0/qor/dist/variants/codex/agents/project-planner.md +602 -0
  80. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-fixer.md +179 -0
  81. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-governor.md +134 -0
  82. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-judge.md +189 -0
  83. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-specialist.md +228 -0
  84. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-strategist.md +201 -0
  85. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-technical-writer.md +193 -0
  86. qor_logic-0.13.0/qor/dist/variants/codex/agents/qor-ux-evaluator.md +297 -0
  87. qor_logic-0.13.0/qor/dist/variants/codex/agents/system-architect.md +562 -0
  88. qor_logic-0.13.0/qor/dist/variants/codex/skills/log-decision.md +535 -0
  89. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-audit/SKILL.md +239 -0
  90. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-audit/references/adversarial-mode.md +86 -0
  91. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-audit/references/qor-audit-templates.md +130 -0
  92. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-bootstrap/SKILL.md +175 -0
  93. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-bootstrap/references/qor-bootstrap-templates.md +184 -0
  94. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-debug/SKILL.md +130 -0
  95. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-deep-audit/SKILL.md +153 -0
  96. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-deep-audit-recon/SKILL.md +87 -0
  97. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-deep-audit-remediate/SKILL.md +99 -0
  98. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-docs-technical-writing/SKILL.md +91 -0
  99. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-document/SKILL.md +252 -0
  100. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-governance-compliance/SKILL.md +120 -0
  101. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-help/SKILL.md +121 -0
  102. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-implement/SKILL.md +324 -0
  103. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-implement/references/qor-implement-patterns.md +168 -0
  104. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-meta-log-decision/SKILL.md +544 -0
  105. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-meta-track-shadow/SKILL.md +356 -0
  106. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-onboard-codebase/SKILL.md +127 -0
  107. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-organize/SKILL.md +146 -0
  108. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-organize/references/qor-organize-templates.md +221 -0
  109. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-plan/SKILL.md +238 -0
  110. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-plan/references/step-extensions.md +51 -0
  111. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-process-review-cycle/SKILL.md +117 -0
  112. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-refactor/SKILL.md +279 -0
  113. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-refactor/references/qor-refactor-examples.md +245 -0
  114. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-remediate/SKILL.md +127 -0
  115. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-audit/SKILL.md +157 -0
  116. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-release/SKILL.md +259 -0
  117. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-scaffold/SKILL.md +148 -0
  118. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-scaffold/references/CODE_OF_CONDUCT.md +77 -0
  119. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-scaffold/references/CONTRIBUTING.md +24 -0
  120. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-scaffold/references/GOVERNANCE.md +38 -0
  121. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-repo-scaffold/references/SECURITY.md +12 -0
  122. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-research/SKILL.md +263 -0
  123. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-shadow-process/SKILL.md +120 -0
  124. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-status/SKILL.md +165 -0
  125. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-substantiate/SKILL.md +334 -0
  126. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-substantiate/references/qor-substantiate-templates.md +216 -0
  127. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-validate/SKILL.md +170 -0
  128. qor_logic-0.13.0/qor/dist/variants/codex/skills/qor-validate/references/qor-validate-reports.md +161 -0
  129. qor_logic-0.13.0/qor/dist/variants/codex/skills/track-shadow-genome.md +347 -0
  130. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/agent-architect.md +472 -0
  131. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/build-doctor.md +145 -0
  132. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/documentation-scribe.md +773 -0
  133. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/learning-capture.md +251 -0
  134. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/project-planner.md +602 -0
  135. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-fixer.md +179 -0
  136. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-governor.md +134 -0
  137. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-judge.md +189 -0
  138. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-specialist.md +228 -0
  139. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-strategist.md +201 -0
  140. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-technical-writer.md +193 -0
  141. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/qor-ux-evaluator.md +297 -0
  142. qor_logic-0.13.0/qor/dist/variants/kilo-code/agents/system-architect.md +562 -0
  143. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/log-decision.md +535 -0
  144. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-audit/SKILL.md +239 -0
  145. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-audit/references/adversarial-mode.md +86 -0
  146. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-audit/references/qor-audit-templates.md +130 -0
  147. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-bootstrap/SKILL.md +175 -0
  148. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-bootstrap/references/qor-bootstrap-templates.md +184 -0
  149. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-debug/SKILL.md +130 -0
  150. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-deep-audit/SKILL.md +153 -0
  151. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-deep-audit-recon/SKILL.md +87 -0
  152. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-deep-audit-remediate/SKILL.md +99 -0
  153. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-docs-technical-writing/SKILL.md +91 -0
  154. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-document/SKILL.md +252 -0
  155. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-governance-compliance/SKILL.md +120 -0
  156. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-help/SKILL.md +121 -0
  157. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-implement/SKILL.md +324 -0
  158. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-implement/references/qor-implement-patterns.md +168 -0
  159. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-meta-log-decision/SKILL.md +544 -0
  160. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-meta-track-shadow/SKILL.md +356 -0
  161. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-onboard-codebase/SKILL.md +127 -0
  162. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-organize/SKILL.md +146 -0
  163. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-organize/references/qor-organize-templates.md +221 -0
  164. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-plan/SKILL.md +238 -0
  165. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-plan/references/step-extensions.md +51 -0
  166. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-process-review-cycle/SKILL.md +117 -0
  167. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-refactor/SKILL.md +279 -0
  168. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-refactor/references/qor-refactor-examples.md +245 -0
  169. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-remediate/SKILL.md +127 -0
  170. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-audit/SKILL.md +157 -0
  171. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-release/SKILL.md +259 -0
  172. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-scaffold/SKILL.md +148 -0
  173. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-scaffold/references/CODE_OF_CONDUCT.md +77 -0
  174. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-scaffold/references/CONTRIBUTING.md +24 -0
  175. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-scaffold/references/GOVERNANCE.md +38 -0
  176. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-repo-scaffold/references/SECURITY.md +12 -0
  177. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-research/SKILL.md +263 -0
  178. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-shadow-process/SKILL.md +120 -0
  179. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-status/SKILL.md +165 -0
  180. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-substantiate/SKILL.md +334 -0
  181. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-substantiate/references/qor-substantiate-templates.md +216 -0
  182. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-validate/SKILL.md +170 -0
  183. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/qor-validate/references/qor-validate-reports.md +161 -0
  184. qor_logic-0.13.0/qor/dist/variants/kilo-code/skills/track-shadow-genome.md +347 -0
  185. qor_logic-0.13.0/qor/gates/chain.md +75 -0
  186. qor_logic-0.13.0/qor/gates/delegation-table.md +87 -0
  187. qor_logic-0.13.0/qor/gates/schema/audit.schema.json +18 -0
  188. qor_logic-0.13.0/qor/gates/schema/implement.schema.json +23 -0
  189. qor_logic-0.13.0/qor/gates/schema/plan.schema.json +16 -0
  190. qor_logic-0.13.0/qor/gates/schema/remediate.schema.json +29 -0
  191. qor_logic-0.13.0/qor/gates/schema/repos_config.schema.json +31 -0
  192. qor_logic-0.13.0/qor/gates/schema/research.schema.json +16 -0
  193. qor_logic-0.13.0/qor/gates/schema/shadow_event.schema.json +88 -0
  194. qor_logic-0.13.0/qor/gates/schema/substantiate.schema.json +25 -0
  195. qor_logic-0.13.0/qor/gates/schema/validate.schema.json +26 -0
  196. qor_logic-0.13.0/qor/gates/workflow-bundles.md +105 -0
  197. qor_logic-0.13.0/qor/hosts.py +95 -0
  198. qor_logic-0.13.0/qor/platform/capabilities.md +85 -0
  199. qor_logic-0.13.0/qor/platform/detect.md +92 -0
  200. qor_logic-0.13.0/qor/platform/profiles/claude-code-solo.md +22 -0
  201. qor_logic-0.13.0/qor/platform/profiles/claude-code-teams.md +22 -0
  202. qor_logic-0.13.0/qor/platform/profiles/claude-code-with-codex.md +27 -0
  203. qor_logic-0.13.0/qor/platform/profiles/codex-standalone.md +21 -0
  204. qor_logic-0.13.0/qor/platform/profiles/kilo-code.md +27 -0
  205. qor_logic-0.13.0/qor/policies/gate_enforcement.cedar +14 -0
  206. qor_logic-0.13.0/qor/policies/skill_admission.cedar +8 -0
  207. qor_logic-0.13.0/qor/policy/__init__.py +30 -0
  208. qor_logic-0.13.0/qor/policy/evaluator.py +153 -0
  209. qor_logic-0.13.0/qor/policy/parser.py +178 -0
  210. qor_logic-0.13.0/qor/policy/types.py +64 -0
  211. qor_logic-0.13.0/qor/references/doctrine-ci-budget.md +93 -0
  212. qor_logic-0.13.0/qor/references/doctrine-code-quality.md +154 -0
  213. qor_logic-0.13.0/qor/references/doctrine-governance-enforcement.md +66 -0
  214. qor_logic-0.13.0/qor/references/doctrine-nist-ssdf-alignment.md +50 -0
  215. qor_logic-0.13.0/qor/references/doctrine-shadow-attribution.md +37 -0
  216. qor_logic-0.13.0/qor/references/doctrine-shadow-genome-countermeasures.md +93 -0
  217. qor_logic-0.13.0/qor/references/doctrine-test-discipline.md +86 -0
  218. qor_logic-0.13.0/qor/references/doctrine-token-efficiency.md +61 -0
  219. qor_logic-0.13.0/qor/references/github-api-helpers.md +75 -0
  220. qor_logic-0.13.0/qor/references/patterns-agent-design.md +206 -0
  221. qor_logic-0.13.0/qor/references/patterns-architecture.md +179 -0
  222. qor_logic-0.13.0/qor/references/patterns-devops.md +205 -0
  223. qor_logic-0.13.0/qor/references/patterns-project-planning.md +239 -0
  224. qor_logic-0.13.0/qor/references/patterns-skill-lifecycle.md +249 -0
  225. qor_logic-0.13.0/qor/references/patterns-ui-diagnosis.md +246 -0
  226. qor_logic-0.13.0/qor/references/patterns-voice-integration.md +227 -0
  227. qor_logic-0.13.0/qor/references/ql-audit-templates.md +130 -0
  228. qor_logic-0.13.0/qor/references/ql-bootstrap-templates.md +184 -0
  229. qor_logic-0.13.0/qor/references/ql-implement-patterns.md +168 -0
  230. qor_logic-0.13.0/qor/references/ql-organize-templates.md +221 -0
  231. qor_logic-0.13.0/qor/references/ql-refactor-examples.md +245 -0
  232. qor_logic-0.13.0/qor/references/ql-substantiate-templates.md +216 -0
  233. qor_logic-0.13.0/qor/references/ql-validate-reports.md +161 -0
  234. qor_logic-0.13.0/qor/references/tauri2-state-management-links.md +8 -0
  235. qor_logic-0.13.0/qor/references/tauri2-testing-validation-links.md +7 -0
  236. qor_logic-0.13.0/qor/reliability/__init__.py +0 -0
  237. qor_logic-0.13.0/qor/reliability/gate-skill-matrix.py +116 -0
  238. qor_logic-0.13.0/qor/reliability/intent-lock.py +143 -0
  239. qor_logic-0.13.0/qor/reliability/skill-admission.py +98 -0
  240. qor_logic-0.13.0/qor/resources.py +31 -0
  241. qor_logic-0.13.0/qor/scripts/__init__.py +0 -0
  242. qor_logic-0.13.0/qor/scripts/calculate-session-seal.py +49 -0
  243. qor_logic-0.13.0/qor/scripts/check_shadow_threshold.py +158 -0
  244. qor_logic-0.13.0/qor/scripts/check_variant_drift.py +81 -0
  245. qor_logic-0.13.0/qor/scripts/collect_shadow_genomes.py +249 -0
  246. qor_logic-0.13.0/qor/scripts/create_shadow_issue.py +234 -0
  247. qor_logic-0.13.0/qor/scripts/dist_compile.py +157 -0
  248. qor_logic-0.13.0/qor/scripts/gate_chain.py +115 -0
  249. qor_logic-0.13.0/qor/scripts/governance_helpers.py +151 -0
  250. qor_logic-0.13.0/qor/scripts/ledger_hash.py +153 -0
  251. qor_logic-0.13.0/qor/scripts/qor_audit_runtime.py +78 -0
  252. qor_logic-0.13.0/qor/scripts/qor_platform.py +293 -0
  253. qor_logic-0.13.0/qor/scripts/remediate_emit_gate.py +44 -0
  254. qor_logic-0.13.0/qor/scripts/remediate_mark_addressed.py +50 -0
  255. qor_logic-0.13.0/qor/scripts/remediate_pattern_match.py +49 -0
  256. qor_logic-0.13.0/qor/scripts/remediate_propose.py +71 -0
  257. qor_logic-0.13.0/qor/scripts/remediate_read_context.py +30 -0
  258. qor_logic-0.13.0/qor/scripts/session.py +104 -0
  259. qor_logic-0.13.0/qor/scripts/shadow_process.py +167 -0
  260. qor_logic-0.13.0/qor/scripts/validate_gate_artifact.py +149 -0
  261. qor_logic-0.13.0/qor/skills/governance/qor-audit/SKILL.md +239 -0
  262. qor_logic-0.13.0/qor/skills/governance/qor-audit/references/adversarial-mode.md +86 -0
  263. qor_logic-0.13.0/qor/skills/governance/qor-audit/references/qor-audit-templates.md +130 -0
  264. qor_logic-0.13.0/qor/skills/governance/qor-governance-compliance/SKILL.md +120 -0
  265. qor_logic-0.13.0/qor/skills/governance/qor-process-review-cycle/SKILL.md +117 -0
  266. qor_logic-0.13.0/qor/skills/governance/qor-shadow-process/SKILL.md +120 -0
  267. qor_logic-0.13.0/qor/skills/governance/qor-substantiate/SKILL.md +334 -0
  268. qor_logic-0.13.0/qor/skills/governance/qor-substantiate/references/qor-substantiate-templates.md +216 -0
  269. qor_logic-0.13.0/qor/skills/governance/qor-validate/SKILL.md +170 -0
  270. qor_logic-0.13.0/qor/skills/governance/qor-validate/references/qor-validate-reports.md +161 -0
  271. qor_logic-0.13.0/qor/skills/memory/log-decision.md +535 -0
  272. qor_logic-0.13.0/qor/skills/memory/qor-docs-technical-writing/SKILL.md +91 -0
  273. qor_logic-0.13.0/qor/skills/memory/qor-document/SKILL.md +252 -0
  274. qor_logic-0.13.0/qor/skills/memory/qor-organize/SKILL.md +146 -0
  275. qor_logic-0.13.0/qor/skills/memory/qor-organize/references/qor-organize-templates.md +221 -0
  276. qor_logic-0.13.0/qor/skills/memory/qor-status/SKILL.md +165 -0
  277. qor_logic-0.13.0/qor/skills/memory/track-shadow-genome.md +347 -0
  278. qor_logic-0.13.0/qor/skills/meta/qor-bootstrap/SKILL.md +175 -0
  279. qor_logic-0.13.0/qor/skills/meta/qor-bootstrap/references/qor-bootstrap-templates.md +184 -0
  280. qor_logic-0.13.0/qor/skills/meta/qor-deep-audit/SKILL.md +153 -0
  281. qor_logic-0.13.0/qor/skills/meta/qor-deep-audit-recon/SKILL.md +87 -0
  282. qor_logic-0.13.0/qor/skills/meta/qor-deep-audit-remediate/SKILL.md +99 -0
  283. qor_logic-0.13.0/qor/skills/meta/qor-help/SKILL.md +121 -0
  284. qor_logic-0.13.0/qor/skills/meta/qor-meta-log-decision/SKILL.md +544 -0
  285. qor_logic-0.13.0/qor/skills/meta/qor-meta-track-shadow/SKILL.md +356 -0
  286. qor_logic-0.13.0/qor/skills/meta/qor-onboard-codebase/SKILL.md +127 -0
  287. qor_logic-0.13.0/qor/skills/meta/qor-repo-audit/SKILL.md +157 -0
  288. qor_logic-0.13.0/qor/skills/meta/qor-repo-release/SKILL.md +259 -0
  289. qor_logic-0.13.0/qor/skills/meta/qor-repo-scaffold/SKILL.md +148 -0
  290. qor_logic-0.13.0/qor/skills/meta/qor-repo-scaffold/references/CODE_OF_CONDUCT.md +77 -0
  291. qor_logic-0.13.0/qor/skills/meta/qor-repo-scaffold/references/CONTRIBUTING.md +24 -0
  292. qor_logic-0.13.0/qor/skills/meta/qor-repo-scaffold/references/GOVERNANCE.md +38 -0
  293. qor_logic-0.13.0/qor/skills/meta/qor-repo-scaffold/references/SECURITY.md +12 -0
  294. qor_logic-0.13.0/qor/skills/sdlc/qor-debug/SKILL.md +130 -0
  295. qor_logic-0.13.0/qor/skills/sdlc/qor-implement/SKILL.md +324 -0
  296. qor_logic-0.13.0/qor/skills/sdlc/qor-implement/references/qor-implement-patterns.md +168 -0
  297. qor_logic-0.13.0/qor/skills/sdlc/qor-plan/SKILL.md +238 -0
  298. qor_logic-0.13.0/qor/skills/sdlc/qor-plan/references/step-extensions.md +51 -0
  299. qor_logic-0.13.0/qor/skills/sdlc/qor-refactor/SKILL.md +279 -0
  300. qor_logic-0.13.0/qor/skills/sdlc/qor-refactor/references/qor-refactor-examples.md +245 -0
  301. qor_logic-0.13.0/qor/skills/sdlc/qor-remediate/SKILL.md +127 -0
  302. qor_logic-0.13.0/qor/skills/sdlc/qor-research/SKILL.md +263 -0
  303. qor_logic-0.13.0/qor/templates/ARCHITECTURE_PLAN.md +165 -0
  304. qor_logic-0.13.0/qor/templates/CLAUDE.md.tpl +5 -0
  305. qor_logic-0.13.0/qor/templates/CONCEPT.md +49 -0
  306. qor_logic-0.13.0/qor/templates/META_LEDGER.md +156 -0
  307. qor_logic-0.13.0/qor/templates/SHADOW_GENOME.md +156 -0
  308. qor_logic-0.13.0/qor/templates/SYSTEM_STATE.md +143 -0
  309. qor_logic-0.13.0/qor/workdir.py +52 -0
  310. qor_logic-0.13.0/qor_logic.egg-info/PKG-INFO +248 -0
  311. qor_logic-0.13.0/qor_logic.egg-info/SOURCES.txt +337 -0
  312. qor_logic-0.13.0/qor_logic.egg-info/dependency_links.txt +1 -0
  313. qor_logic-0.13.0/qor_logic.egg-info/entry_points.txt +2 -0
  314. qor_logic-0.13.0/qor_logic.egg-info/requires.txt +4 -0
  315. qor_logic-0.13.0/qor_logic.egg-info/top_level.txt +1 -0
  316. qor_logic-0.13.0/setup.cfg +4 -0
  317. qor_logic-0.13.0/tests/test_bundles.py +165 -0
  318. qor_logic-0.13.0/tests/test_cli.py +33 -0
  319. qor_logic-0.13.0/tests/test_collect.py +340 -0
  320. qor_logic-0.13.0/tests/test_compile.py +144 -0
  321. qor_logic-0.13.0/tests/test_e2e.py +361 -0
  322. qor_logic-0.13.0/tests/test_gates.py +371 -0
  323. qor_logic-0.13.0/tests/test_governance_helpers.py +109 -0
  324. qor_logic-0.13.0/tests/test_ledger_hash.py +293 -0
  325. qor_logic-0.13.0/tests/test_nist_ssdf.py +46 -0
  326. qor_logic-0.13.0/tests/test_packaging.py +68 -0
  327. qor_logic-0.13.0/tests/test_packaging_install.py +46 -0
  328. qor_logic-0.13.0/tests/test_phase21_harness.py +297 -0
  329. qor_logic-0.13.0/tests/test_phase22_hosts.py +109 -0
  330. qor_logic-0.13.0/tests/test_platform.py +183 -0
  331. qor_logic-0.13.0/tests/test_policy.py +196 -0
  332. qor_logic-0.13.0/tests/test_qor_audit_runtime.py +151 -0
  333. qor_logic-0.13.0/tests/test_reliability_scripts.py +283 -0
  334. qor_logic-0.13.0/tests/test_remediate.py +290 -0
  335. qor_logic-0.13.0/tests/test_shadow.py +394 -0
  336. qor_logic-0.13.0/tests/test_shadow_attribution.py +128 -0
  337. qor_logic-0.13.0/tests/test_shadow_genome_doctrine.py +224 -0
  338. qor_logic-0.13.0/tests/test_skill_doctrine.py +304 -0
  339. qor_logic-0.13.0/tests/test_workflow_budget.py +138 -0
@@ -0,0 +1,248 @@
1
+ Metadata-Version: 2.4
2
+ Name: qor-logic
3
+ Version: 0.13.0
4
+ Summary: QorLogic S.H.I.E.L.D. governance skills for Claude Code, Kilo Code, and future AI coding hosts
5
+ Author: MythologIQ Labs, LLC
6
+ License: BSL-1.1
7
+ Project-URL: Homepage, https://github.com/MythologIQ-Labs-LLC/Qor-logic
8
+ Project-URL: Repository, https://github.com/MythologIQ-Labs-LLC/Qor-logic
9
+ Project-URL: Issues, https://github.com/MythologIQ-Labs-LLC/Qor-logic/issues
10
+ Keywords: governance,ai,claude-code,kilo-code,codex,sdlc,skills
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: Other/Proprietary License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
+ Classifier: Topic :: Software Development :: Quality Assurance
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: jsonschema>=4
23
+ Provides-Extra: dev
24
+ Requires-Dist: pytest>=8; extra == "dev"
25
+
26
+ <p align="center">
27
+ <strong>QorLogic</strong><br>
28
+ S.H.I.E.L.D. Governance for AI Coding Agents
29
+ </p>
30
+
31
+ <p align="center">
32
+ <img src="https://img.shields.io/badge/License-BSL--1.1-orange" alt="License: BSL-1.1">
33
+ <img src="https://img.shields.io/badge/Skills-27-blue" alt="Skills: 27">
34
+ <img src="https://img.shields.io/badge/Bundles-5-blue" alt="Bundles: 5">
35
+ <img src="https://img.shields.io/badge/Agents-13-blue" alt="Agents: 13">
36
+ <img src="https://img.shields.io/badge/Tests-263%20passing-brightgreen" alt="Tests: 263 passing">
37
+ <img src="https://img.shields.io/badge/Python-3.11%2B-blue" alt="Python 3.11+">
38
+ <img src="https://img.shields.io/badge/Ledger-Entry%20%2355-green" alt="Ledger Entry 55">
39
+ <img src="https://img.shields.io/badge/Version-0.9.0-blue" alt="Version: 0.9.0">
40
+ </p>
41
+
42
+ ---
43
+
44
+ ## What QorLogic is
45
+
46
+ A governance framework for AI coding agents (Claude Code, Kilo Code, Codex). It supplies a curated set of skills, agents, and runtime infrastructure that enforce a disciplined SDLC — research, plan, audit, implement, substantiate, validate — with hash-chained evidence, advisory gates, and a process-failure feedback loop.
47
+
48
+ Built around **S.H.I.E.L.D.**: Single-purpose, Hash-chained, Idempotent, Explicit, Layered, Delegating.
49
+
50
+ ## Why use it
51
+
52
+ - **Skills name skills.** `/qor-audit` finds a Razor violation → it tells you to run `/qor-refactor`. No reinvented inline processes. ([delegation-table](qor/gates/delegation-table.md))
53
+ - **Long workflows checkpoint and budget.** Workflow bundles (multi-skill orchestrators) declare phase budgets and pause for operator review between phases. Context windows stay manageable. ([workflow-bundles](qor/gates/workflow-bundles.md))
54
+ - **Process drift is recorded and acted on.** Every gate override, capability shortfall, and degradation lands in an append-only Process Shadow Genome. Threshold breaches auto-trigger remediation. ([shadow-process](qor/skills/governance/qor-shadow-process/SKILL.md))
55
+ - **Token-efficient by default.** Repo-root [`CLAUDE.md`](CLAUDE.md) drops in terseness rules; full doctrine in [`qor/references/doctrine-token-efficiency.md`](qor/references/doctrine-token-efficiency.md).
56
+ - **Cryptographic continuity.** Every governance decision is appended to `docs/META_LEDGER.md` as a SHA256-chained entry. `python qor/scripts/ledger_hash.py verify` validates the entire chain.
57
+
58
+ ## Quick start
59
+
60
+ ### Drop-in for an existing project
61
+
62
+ ```bash
63
+ # Copy the canonical skills + agents into your project's Claude Code install
64
+ cp -r qor/skills/governance /path/to/your-project/.claude/skills/governance
65
+ cp -r qor/skills/sdlc /path/to/your-project/.claude/skills/sdlc
66
+ cp -r qor/skills/memory /path/to/your-project/.claude/skills/memory
67
+ cp -r qor/skills/meta /path/to/your-project/.claude/skills/meta
68
+ cp -r qor/agents/* /path/to/your-project/.claude/agents/
69
+ cp CLAUDE.md /path/to/your-project/CLAUDE.md
70
+ ```
71
+
72
+ Or consume the variant outputs directly: `qor/dist/variants/claude/` (or `kilo-code/`).
73
+
74
+ ### Use a workflow bundle
75
+
76
+ ```bash
77
+ # In Claude Code (or any harness with QorLogic skills loaded)
78
+ /qor-deep-audit-recon # investigate before acting
79
+ /qor-onboard-codebase # absorb an external repo
80
+ /qor-process-review-cycle # weekly process health check
81
+ ```
82
+
83
+ ### Bootstrap a new repo
84
+
85
+ ```bash
86
+ /qor-bootstrap # creates CONCEPT, ARCHITECTURE_PLAN, META_LEDGER
87
+ ```
88
+
89
+ ## Architecture
90
+
91
+ ```
92
+ ┌─────────────────────────────────────────────────────────┐
93
+ │ QorLogic SSoT (qor/) │
94
+ │ │
95
+ │ skills/ ──┬── governance/ audit, validate, ... │
96
+ │ ├── sdlc/ research, plan, implement │
97
+ │ ├── memory/ status, organize, document │
98
+ │ └── meta/ bootstrap, help, bundles │
99
+ │ │
100
+ │ agents/ ── governance, sdlc, memory, meta │
101
+ │ vendor/ ── third-party skills + agents │
102
+ │ scripts/ ── ledger_hash, gate_chain, shadow_process │
103
+ │ gates/ ── chain.md, workflow-bundles.md, schemas │
104
+ │ platform/ ── capability detection + 5 host profiles │
105
+ │ references/ doctrines + patterns │
106
+ │ │
107
+ └──────────────────────┬──────────────────────────────────┘
108
+ │ compile.py
109
+
110
+ ┌────────────────────┐
111
+ │ qor/dist/variants │
112
+ ├────────────────────┤
113
+ │ claude/ │
114
+ │ kilo-code/ │
115
+ │ codex/ (stub) │
116
+ └────────────────────┘
117
+
118
+
119
+ Consumer projects
120
+ (.claude/, .kilo/)
121
+ ```
122
+
123
+ ### Key subsystems
124
+
125
+ | Subsystem | Module(s) | What it does |
126
+ |---|---|---|
127
+ | **Skill execution** | `qor/skills/<category>/` | 23 user-invocable skills + 5 workflow bundles |
128
+ | **Gate chain** | `qor/scripts/gate_chain.py`, `session.py` | Advisory gates between SDLC phases; session-scoped artifacts |
129
+ | **Shadow genome** | `qor/scripts/shadow_process.py`, `check_shadow_threshold.py` | Append-only process-failure log; threshold-triggered issues |
130
+ | **Cross-repo collector** | `qor/scripts/collect_shadow_genomes.py` | Pool shadow events across repos; consolidated GitHub issue |
131
+ | **Platform detection** | `qor/scripts/qor_platform.py` | Auto-detect host + gh CLI; declare codex-plugin / agent-teams |
132
+ | **Compile pipeline** | `qor/scripts/compile.py`, `check_variant_drift.py` | Regenerate variants from SSoT; drift detection in CI |
133
+ | **Ledger** | `qor/scripts/ledger_hash.py` + `docs/META_LEDGER.md` | SHA256-chained governance entries; `verify` walks the chain |
134
+
135
+ ## Skill catalog
136
+
137
+ ### SDLC chain
138
+
139
+ | Skill | Phase | Purpose |
140
+ |---|---|---|
141
+ | [`/qor-research`](qor/skills/sdlc/qor-research/) | research | Investigate before planning |
142
+ | [`/qor-plan`](qor/skills/sdlc/qor-plan/) | plan | Author plan-*.md with phases + tests |
143
+ | [`/qor-audit`](qor/skills/governance/qor-audit/) | audit | Adversarial PASS/VETO; Razor → refactor; Orphan/Macro → organize |
144
+ | [`/qor-implement`](qor/skills/sdlc/qor-implement/) | implement | Execute under KISS after PASS |
145
+ | [`/qor-refactor`](qor/skills/sdlc/qor-refactor/) | implement | File-internal Section 4 cleanup |
146
+ | [`/qor-debug`](qor/skills/sdlc/qor-debug/) | (cross-cutting) | Root-cause diagnosis on regression |
147
+ | [`/qor-substantiate`](qor/skills/governance/qor-substantiate/) | substantiate | Seal session; Merkle evidence |
148
+ | [`/qor-validate`](qor/skills/governance/qor-validate/) | validate | Verify chain + criteria pre-delivery |
149
+ | [`/qor-remediate`](qor/skills/sdlc/qor-remediate/) | (process recovery) | Process-level fix; absorbs `/qor-course-correct` |
150
+
151
+ ### Memory & meta
152
+
153
+ | Skill | Purpose |
154
+ |---|---|
155
+ | [`/qor-status`](qor/skills/memory/qor-status/) | Diagnose lifecycle + next action |
156
+ | [`/qor-document`](qor/skills/memory/qor-document/) | Update governance docs |
157
+ | [`/qor-organize`](qor/skills/memory/qor-organize/) | Project-level structure |
158
+ | [`/qor-bootstrap`](qor/skills/meta/qor-bootstrap/) | New-workspace DNA seeder |
159
+ | [`/qor-help`](qor/skills/meta/qor-help/) | Command catalog (you're reading the README; this is the in-skill version) |
160
+ | [`/qor-repo-audit`](qor/skills/meta/qor-repo-audit/) | Repo-level audit |
161
+ | [`/qor-repo-release`](qor/skills/meta/qor-repo-release/) | Release ceremony |
162
+ | [`/qor-repo-scaffold`](qor/skills/meta/qor-repo-scaffold/) | New-repo template |
163
+
164
+ ### Governance & process
165
+
166
+ | Skill | Purpose |
167
+ |---|---|
168
+ | [`/qor-shadow-process`](qor/skills/governance/qor-shadow-process/) | Append process-failure events |
169
+
170
+ ### Workflow bundles
171
+
172
+ | Bundle | Phases | Use when |
173
+ |---|---|---|
174
+ | [`/qor-deep-audit`](qor/skills/meta/qor-deep-audit/) | recon (3) + remediate (3) | Pre-release readiness, large tech-debt sweep. Decomposed. |
175
+ | [`/qor-deep-audit-recon`](qor/skills/meta/qor-deep-audit-recon/) | research + synthesize + verify | Investigation only; ends at RESEARCH_BRIEF |
176
+ | [`/qor-deep-audit-remediate`](qor/skills/meta/qor-deep-audit-remediate/) | plan + implement + validate | Action half; consumes RESEARCH_BRIEF |
177
+ | [`/qor-onboard-codebase`](qor/skills/meta/qor-onboard-codebase/) | research → organize → audit → plan | Inheriting / merging an external codebase |
178
+ | [`/qor-process-review-cycle`](qor/skills/governance/qor-process-review-cycle/) | shadow-sweep → remediate → audit | Periodic process health check |
179
+
180
+ ## Repository layout
181
+
182
+ ```
183
+ Qor-logic/
184
+ qor/ Single source of truth (edit here)
185
+ skills/<category>/ 27 skills + 5 bundles across governance/sdlc/memory/meta
186
+ agents/<category>/ 13 qor-scoped agent personas
187
+ vendor/ Third-party skills + agents (~65 + wshobson collection)
188
+ scripts/ Runtime: ledger, gates, shadow, platform, compile, collector, remediate
189
+ reliability/ Intent Lock, Skill Admission, Gate-to-Skill Matrix (Phase 17)
190
+ gates/ chain.md, workflow-bundles.md, delegation-table.md, schemas
191
+ platform/ capabilities.md, detect.md, 5 profiles
192
+ references/ doctrines + patterns + examples (incl. doctrine-shadow-genome-countermeasures.md)
193
+ experimental/ non-canonical research
194
+ templates/ doc templates
195
+ dist/variants/ generated outputs (claude, kilo-code, codex stub)
196
+ tests/ 263 tests (unit + integration + e2e + bundle contract)
197
+ docs/ Plans, ledger, shadow genomes, manifests, archive, security audit
198
+ CLAUDE.md Drop-in token-efficiency defaults
199
+ pyproject.toml Python 3.11+, pytest, jsonschema
200
+ ```
201
+
202
+ ## Governance model
203
+
204
+ 1. **Every decision is logged.** Plans, audits, substantiations land in `docs/META_LEDGER.md` as SHA256-chained entries. The chain is verifiable: `python qor/scripts/ledger_hash.py verify docs/META_LEDGER.md`.
205
+ 2. **Gates are advisory.** Skills check for prior-phase artifacts; missing/invalid prompts the user. Override is permitted but logged as a sev-1 `gate_override` event.
206
+ 3. **Process failures are append-only.** `docs/PROCESS_SHADOW_GENOME.md` is JSONL; events flow through stale-expiry rules and aged-high-severity self-escalation. Threshold breach (sev sum ≥ 10) triggers `/qor-remediate`.
207
+ 4. **Skills delegate explicitly.** When `/qor-audit` finds a Razor violation, it names `/qor-refactor`. No skill reinvents another skill's process. ([delegation-table](qor/gates/delegation-table.md))
208
+ 5. **Bundles checkpoint.** Multi-phase workflows surface progress between phases for operator decision. No silent runaway.
209
+
210
+ ## Development
211
+
212
+ ```bash
213
+ pip install -e ".[dev]" # install runtime + dev deps
214
+ python -m pytest tests/ # 154 tests
215
+ python qor/scripts/check_variant_drift.py # SSoT vs dist consistency
216
+ python qor/scripts/ledger_hash.py verify docs/META_LEDGER.md # chain integrity
217
+ git config core.hooksPath .githooks # one-time hook install
218
+ ```
219
+
220
+ ## Documentation
221
+
222
+ - [`docs/SYSTEM_STATE.md`](docs/SYSTEM_STATE.md) — current snapshot of the file tree + ledger head
223
+ - [`docs/SKILL_REGISTRY.md`](docs/SKILL_REGISTRY.md) — category-organized skill index
224
+ - [`docs/META_LEDGER.md`](docs/META_LEDGER.md) — hash-chained governance log (20 entries sealed)
225
+ - [`qor/gates/chain.md`](qor/gates/chain.md) — SDLC phase sequence + per-phase reads/writes
226
+ - [`qor/gates/delegation-table.md`](qor/gates/delegation-table.md) — explicit handoff matrix
227
+ - [`qor/gates/workflow-bundles.md`](qor/gates/workflow-bundles.md) — bundle metadata + checkpoint protocol
228
+ - [`qor/references/doctrine-token-efficiency.md`](qor/references/doctrine-token-efficiency.md) — long-session rules
229
+ - [`docs/Lessons-Learned/`](docs/Lessons-Learned/) — postmortems and corrections
230
+
231
+ ## License
232
+
233
+ Business Source License 1.1 (BSL-1.1). Free for non-production use; production deployment requires a commercial license. See LICENSE for details.
234
+
235
+ ## Contributing
236
+
237
+ Skills are authored under `qor/skills/<category>/<skill>/SKILL.md` (the SSoT). The dist outputs under `qor/dist/variants/` are **generated** — never hand-edit them. The pre-commit hook enforces this; CI drift check is authoritative.
238
+
239
+ To author a new skill:
240
+
241
+ 1. Pick a category that fits (governance, sdlc, memory, meta).
242
+ 2. Write `qor/skills/<category>/<skill-name>/SKILL.md` with required frontmatter (`name`, `description`, `phase`, `gate_reads`, `gate_writes`).
243
+ 3. Add a row to [`qor/gates/delegation-table.md`](qor/gates/delegation-table.md) if your skill is a destination of any other skill's handoff.
244
+ 4. Add the skill to [`/qor-help`](qor/skills/meta/qor-help/SKILL.md).
245
+ 5. `BUILD_REGEN=1 python qor/scripts/compile.py` to refresh dist.
246
+ 6. Test: `python -m pytest tests/`.
247
+
248
+ To author a workflow bundle, follow the same flow plus the metadata schema in [`qor/gates/workflow-bundles.md`](qor/gates/workflow-bundles.md). Bundles get covered by `tests/test_bundles.py` automatically via the contract tests.
@@ -0,0 +1,223 @@
1
+ <p align="center">
2
+ <strong>QorLogic</strong><br>
3
+ S.H.I.E.L.D. Governance for AI Coding Agents
4
+ </p>
5
+
6
+ <p align="center">
7
+ <img src="https://img.shields.io/badge/License-BSL--1.1-orange" alt="License: BSL-1.1">
8
+ <img src="https://img.shields.io/badge/Skills-27-blue" alt="Skills: 27">
9
+ <img src="https://img.shields.io/badge/Bundles-5-blue" alt="Bundles: 5">
10
+ <img src="https://img.shields.io/badge/Agents-13-blue" alt="Agents: 13">
11
+ <img src="https://img.shields.io/badge/Tests-263%20passing-brightgreen" alt="Tests: 263 passing">
12
+ <img src="https://img.shields.io/badge/Python-3.11%2B-blue" alt="Python 3.11+">
13
+ <img src="https://img.shields.io/badge/Ledger-Entry%20%2355-green" alt="Ledger Entry 55">
14
+ <img src="https://img.shields.io/badge/Version-0.9.0-blue" alt="Version: 0.9.0">
15
+ </p>
16
+
17
+ ---
18
+
19
+ ## What QorLogic is
20
+
21
+ A governance framework for AI coding agents (Claude Code, Kilo Code, Codex). It supplies a curated set of skills, agents, and runtime infrastructure that enforce a disciplined SDLC — research, plan, audit, implement, substantiate, validate — with hash-chained evidence, advisory gates, and a process-failure feedback loop.
22
+
23
+ Built around **S.H.I.E.L.D.**: Single-purpose, Hash-chained, Idempotent, Explicit, Layered, Delegating.
24
+
25
+ ## Why use it
26
+
27
+ - **Skills name skills.** `/qor-audit` finds a Razor violation → it tells you to run `/qor-refactor`. No reinvented inline processes. ([delegation-table](qor/gates/delegation-table.md))
28
+ - **Long workflows checkpoint and budget.** Workflow bundles (multi-skill orchestrators) declare phase budgets and pause for operator review between phases. Context windows stay manageable. ([workflow-bundles](qor/gates/workflow-bundles.md))
29
+ - **Process drift is recorded and acted on.** Every gate override, capability shortfall, and degradation lands in an append-only Process Shadow Genome. Threshold breaches auto-trigger remediation. ([shadow-process](qor/skills/governance/qor-shadow-process/SKILL.md))
30
+ - **Token-efficient by default.** Repo-root [`CLAUDE.md`](CLAUDE.md) drops in terseness rules; full doctrine in [`qor/references/doctrine-token-efficiency.md`](qor/references/doctrine-token-efficiency.md).
31
+ - **Cryptographic continuity.** Every governance decision is appended to `docs/META_LEDGER.md` as a SHA256-chained entry. `python qor/scripts/ledger_hash.py verify` validates the entire chain.
32
+
33
+ ## Quick start
34
+
35
+ ### Drop-in for an existing project
36
+
37
+ ```bash
38
+ # Copy the canonical skills + agents into your project's Claude Code install
39
+ cp -r qor/skills/governance /path/to/your-project/.claude/skills/governance
40
+ cp -r qor/skills/sdlc /path/to/your-project/.claude/skills/sdlc
41
+ cp -r qor/skills/memory /path/to/your-project/.claude/skills/memory
42
+ cp -r qor/skills/meta /path/to/your-project/.claude/skills/meta
43
+ cp -r qor/agents/* /path/to/your-project/.claude/agents/
44
+ cp CLAUDE.md /path/to/your-project/CLAUDE.md
45
+ ```
46
+
47
+ Or consume the variant outputs directly: `qor/dist/variants/claude/` (or `kilo-code/`).
48
+
49
+ ### Use a workflow bundle
50
+
51
+ ```bash
52
+ # In Claude Code (or any harness with QorLogic skills loaded)
53
+ /qor-deep-audit-recon # investigate before acting
54
+ /qor-onboard-codebase # absorb an external repo
55
+ /qor-process-review-cycle # weekly process health check
56
+ ```
57
+
58
+ ### Bootstrap a new repo
59
+
60
+ ```bash
61
+ /qor-bootstrap # creates CONCEPT, ARCHITECTURE_PLAN, META_LEDGER
62
+ ```
63
+
64
+ ## Architecture
65
+
66
+ ```
67
+ ┌─────────────────────────────────────────────────────────┐
68
+ │ QorLogic SSoT (qor/) │
69
+ │ │
70
+ │ skills/ ──┬── governance/ audit, validate, ... │
71
+ │ ├── sdlc/ research, plan, implement │
72
+ │ ├── memory/ status, organize, document │
73
+ │ └── meta/ bootstrap, help, bundles │
74
+ │ │
75
+ │ agents/ ── governance, sdlc, memory, meta │
76
+ │ vendor/ ── third-party skills + agents │
77
+ │ scripts/ ── ledger_hash, gate_chain, shadow_process │
78
+ │ gates/ ── chain.md, workflow-bundles.md, schemas │
79
+ │ platform/ ── capability detection + 5 host profiles │
80
+ │ references/ doctrines + patterns │
81
+ │ │
82
+ └──────────────────────┬──────────────────────────────────┘
83
+ │ compile.py
84
+
85
+ ┌────────────────────┐
86
+ │ qor/dist/variants │
87
+ ├────────────────────┤
88
+ │ claude/ │
89
+ │ kilo-code/ │
90
+ │ codex/ (stub) │
91
+ └────────────────────┘
92
+
93
+
94
+ Consumer projects
95
+ (.claude/, .kilo/)
96
+ ```
97
+
98
+ ### Key subsystems
99
+
100
+ | Subsystem | Module(s) | What it does |
101
+ |---|---|---|
102
+ | **Skill execution** | `qor/skills/<category>/` | 23 user-invocable skills + 5 workflow bundles |
103
+ | **Gate chain** | `qor/scripts/gate_chain.py`, `session.py` | Advisory gates between SDLC phases; session-scoped artifacts |
104
+ | **Shadow genome** | `qor/scripts/shadow_process.py`, `check_shadow_threshold.py` | Append-only process-failure log; threshold-triggered issues |
105
+ | **Cross-repo collector** | `qor/scripts/collect_shadow_genomes.py` | Pool shadow events across repos; consolidated GitHub issue |
106
+ | **Platform detection** | `qor/scripts/qor_platform.py` | Auto-detect host + gh CLI; declare codex-plugin / agent-teams |
107
+ | **Compile pipeline** | `qor/scripts/compile.py`, `check_variant_drift.py` | Regenerate variants from SSoT; drift detection in CI |
108
+ | **Ledger** | `qor/scripts/ledger_hash.py` + `docs/META_LEDGER.md` | SHA256-chained governance entries; `verify` walks the chain |
109
+
110
+ ## Skill catalog
111
+
112
+ ### SDLC chain
113
+
114
+ | Skill | Phase | Purpose |
115
+ |---|---|---|
116
+ | [`/qor-research`](qor/skills/sdlc/qor-research/) | research | Investigate before planning |
117
+ | [`/qor-plan`](qor/skills/sdlc/qor-plan/) | plan | Author plan-*.md with phases + tests |
118
+ | [`/qor-audit`](qor/skills/governance/qor-audit/) | audit | Adversarial PASS/VETO; Razor → refactor; Orphan/Macro → organize |
119
+ | [`/qor-implement`](qor/skills/sdlc/qor-implement/) | implement | Execute under KISS after PASS |
120
+ | [`/qor-refactor`](qor/skills/sdlc/qor-refactor/) | implement | File-internal Section 4 cleanup |
121
+ | [`/qor-debug`](qor/skills/sdlc/qor-debug/) | (cross-cutting) | Root-cause diagnosis on regression |
122
+ | [`/qor-substantiate`](qor/skills/governance/qor-substantiate/) | substantiate | Seal session; Merkle evidence |
123
+ | [`/qor-validate`](qor/skills/governance/qor-validate/) | validate | Verify chain + criteria pre-delivery |
124
+ | [`/qor-remediate`](qor/skills/sdlc/qor-remediate/) | (process recovery) | Process-level fix; absorbs `/qor-course-correct` |
125
+
126
+ ### Memory & meta
127
+
128
+ | Skill | Purpose |
129
+ |---|---|
130
+ | [`/qor-status`](qor/skills/memory/qor-status/) | Diagnose lifecycle + next action |
131
+ | [`/qor-document`](qor/skills/memory/qor-document/) | Update governance docs |
132
+ | [`/qor-organize`](qor/skills/memory/qor-organize/) | Project-level structure |
133
+ | [`/qor-bootstrap`](qor/skills/meta/qor-bootstrap/) | New-workspace DNA seeder |
134
+ | [`/qor-help`](qor/skills/meta/qor-help/) | Command catalog (you're reading the README; this is the in-skill version) |
135
+ | [`/qor-repo-audit`](qor/skills/meta/qor-repo-audit/) | Repo-level audit |
136
+ | [`/qor-repo-release`](qor/skills/meta/qor-repo-release/) | Release ceremony |
137
+ | [`/qor-repo-scaffold`](qor/skills/meta/qor-repo-scaffold/) | New-repo template |
138
+
139
+ ### Governance & process
140
+
141
+ | Skill | Purpose |
142
+ |---|---|
143
+ | [`/qor-shadow-process`](qor/skills/governance/qor-shadow-process/) | Append process-failure events |
144
+
145
+ ### Workflow bundles
146
+
147
+ | Bundle | Phases | Use when |
148
+ |---|---|---|
149
+ | [`/qor-deep-audit`](qor/skills/meta/qor-deep-audit/) | recon (3) + remediate (3) | Pre-release readiness, large tech-debt sweep. Decomposed. |
150
+ | [`/qor-deep-audit-recon`](qor/skills/meta/qor-deep-audit-recon/) | research + synthesize + verify | Investigation only; ends at RESEARCH_BRIEF |
151
+ | [`/qor-deep-audit-remediate`](qor/skills/meta/qor-deep-audit-remediate/) | plan + implement + validate | Action half; consumes RESEARCH_BRIEF |
152
+ | [`/qor-onboard-codebase`](qor/skills/meta/qor-onboard-codebase/) | research → organize → audit → plan | Inheriting / merging an external codebase |
153
+ | [`/qor-process-review-cycle`](qor/skills/governance/qor-process-review-cycle/) | shadow-sweep → remediate → audit | Periodic process health check |
154
+
155
+ ## Repository layout
156
+
157
+ ```
158
+ Qor-logic/
159
+ qor/ Single source of truth (edit here)
160
+ skills/<category>/ 27 skills + 5 bundles across governance/sdlc/memory/meta
161
+ agents/<category>/ 13 qor-scoped agent personas
162
+ vendor/ Third-party skills + agents (~65 + wshobson collection)
163
+ scripts/ Runtime: ledger, gates, shadow, platform, compile, collector, remediate
164
+ reliability/ Intent Lock, Skill Admission, Gate-to-Skill Matrix (Phase 17)
165
+ gates/ chain.md, workflow-bundles.md, delegation-table.md, schemas
166
+ platform/ capabilities.md, detect.md, 5 profiles
167
+ references/ doctrines + patterns + examples (incl. doctrine-shadow-genome-countermeasures.md)
168
+ experimental/ non-canonical research
169
+ templates/ doc templates
170
+ dist/variants/ generated outputs (claude, kilo-code, codex stub)
171
+ tests/ 263 tests (unit + integration + e2e + bundle contract)
172
+ docs/ Plans, ledger, shadow genomes, manifests, archive, security audit
173
+ CLAUDE.md Drop-in token-efficiency defaults
174
+ pyproject.toml Python 3.11+, pytest, jsonschema
175
+ ```
176
+
177
+ ## Governance model
178
+
179
+ 1. **Every decision is logged.** Plans, audits, substantiations land in `docs/META_LEDGER.md` as SHA256-chained entries. The chain is verifiable: `python qor/scripts/ledger_hash.py verify docs/META_LEDGER.md`.
180
+ 2. **Gates are advisory.** Skills check for prior-phase artifacts; missing/invalid prompts the user. Override is permitted but logged as a sev-1 `gate_override` event.
181
+ 3. **Process failures are append-only.** `docs/PROCESS_SHADOW_GENOME.md` is JSONL; events flow through stale-expiry rules and aged-high-severity self-escalation. Threshold breach (sev sum ≥ 10) triggers `/qor-remediate`.
182
+ 4. **Skills delegate explicitly.** When `/qor-audit` finds a Razor violation, it names `/qor-refactor`. No skill reinvents another skill's process. ([delegation-table](qor/gates/delegation-table.md))
183
+ 5. **Bundles checkpoint.** Multi-phase workflows surface progress between phases for operator decision. No silent runaway.
184
+
185
+ ## Development
186
+
187
+ ```bash
188
+ pip install -e ".[dev]" # install runtime + dev deps
189
+ python -m pytest tests/ # 154 tests
190
+ python qor/scripts/check_variant_drift.py # SSoT vs dist consistency
191
+ python qor/scripts/ledger_hash.py verify docs/META_LEDGER.md # chain integrity
192
+ git config core.hooksPath .githooks # one-time hook install
193
+ ```
194
+
195
+ ## Documentation
196
+
197
+ - [`docs/SYSTEM_STATE.md`](docs/SYSTEM_STATE.md) — current snapshot of the file tree + ledger head
198
+ - [`docs/SKILL_REGISTRY.md`](docs/SKILL_REGISTRY.md) — category-organized skill index
199
+ - [`docs/META_LEDGER.md`](docs/META_LEDGER.md) — hash-chained governance log (20 entries sealed)
200
+ - [`qor/gates/chain.md`](qor/gates/chain.md) — SDLC phase sequence + per-phase reads/writes
201
+ - [`qor/gates/delegation-table.md`](qor/gates/delegation-table.md) — explicit handoff matrix
202
+ - [`qor/gates/workflow-bundles.md`](qor/gates/workflow-bundles.md) — bundle metadata + checkpoint protocol
203
+ - [`qor/references/doctrine-token-efficiency.md`](qor/references/doctrine-token-efficiency.md) — long-session rules
204
+ - [`docs/Lessons-Learned/`](docs/Lessons-Learned/) — postmortems and corrections
205
+
206
+ ## License
207
+
208
+ Business Source License 1.1 (BSL-1.1). Free for non-production use; production deployment requires a commercial license. See LICENSE for details.
209
+
210
+ ## Contributing
211
+
212
+ Skills are authored under `qor/skills/<category>/<skill>/SKILL.md` (the SSoT). The dist outputs under `qor/dist/variants/` are **generated** — never hand-edit them. The pre-commit hook enforces this; CI drift check is authoritative.
213
+
214
+ To author a new skill:
215
+
216
+ 1. Pick a category that fits (governance, sdlc, memory, meta).
217
+ 2. Write `qor/skills/<category>/<skill-name>/SKILL.md` with required frontmatter (`name`, `description`, `phase`, `gate_reads`, `gate_writes`).
218
+ 3. Add a row to [`qor/gates/delegation-table.md`](qor/gates/delegation-table.md) if your skill is a destination of any other skill's handoff.
219
+ 4. Add the skill to [`/qor-help`](qor/skills/meta/qor-help/SKILL.md).
220
+ 5. `BUILD_REGEN=1 python qor/scripts/compile.py` to refresh dist.
221
+ 6. Test: `python -m pytest tests/`.
222
+
223
+ To author a workflow bundle, follow the same flow plus the metadata schema in [`qor/gates/workflow-bundles.md`](qor/gates/workflow-bundles.md). Bundles get covered by `tests/test_bundles.py` automatically via the contract tests.
@@ -0,0 +1,65 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "qor-logic"
7
+ version = "0.13.0"
8
+ description = "QorLogic S.H.I.E.L.D. governance skills for Claude Code, Kilo Code, and future AI coding hosts"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = { text = "BSL-1.1" }
12
+ authors = [{ name = "MythologIQ Labs, LLC" }]
13
+ keywords = ["governance", "ai", "claude-code", "kilo-code", "codex", "sdlc", "skills"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Intended Audience :: Developers",
17
+ "License :: Other/Proprietary License",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Topic :: Software Development :: Libraries :: Python Modules",
23
+ "Topic :: Software Development :: Quality Assurance",
24
+ ]
25
+ dependencies = ["jsonschema>=4"]
26
+
27
+ [project.optional-dependencies]
28
+ dev = ["pytest>=8"]
29
+
30
+ [project.scripts]
31
+ qorlogic = "qor.cli:main"
32
+
33
+ [project.urls]
34
+ Homepage = "https://github.com/MythologIQ-Labs-LLC/Qor-logic"
35
+ Repository = "https://github.com/MythologIQ-Labs-LLC/Qor-logic"
36
+ Issues = "https://github.com/MythologIQ-Labs-LLC/Qor-logic/issues"
37
+
38
+ [tool.setuptools]
39
+ include-package-data = true
40
+
41
+ [tool.setuptools.packages.find]
42
+ include = ["qor*"]
43
+ exclude = ["qor.vendor*", "qor.experimental*", "tests*"]
44
+
45
+ [tool.setuptools.package-data]
46
+ qor = [
47
+ "skills/**/*.md",
48
+ "references/*.md",
49
+ "agents/**/*.md",
50
+ "gates/*.md",
51
+ "gates/schema/*.json",
52
+ "platform/**/*.md",
53
+ "policies/*.cedar",
54
+ "templates/*",
55
+ "dist/variants/**/*.md",
56
+ "dist/variants/**/*.json",
57
+ ]
58
+
59
+ [tool.pytest.ini_options]
60
+ testpaths = ["tests"]
61
+ pythonpath = ["tests"]
62
+ addopts = "-m 'not integration'"
63
+ markers = [
64
+ "integration: live environment probes; opt-in via '-m integration'",
65
+ ]
@@ -0,0 +1 @@
1
+ """QorLogic — S.H.I.E.L.D. governance skills for AI coding hosts."""