contextcompass 2.15.0__py3-none-any.whl

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 (452) hide show
  1. contextcompass-2.15.0.dist-info/METADATA +673 -0
  2. contextcompass-2.15.0.dist-info/RECORD +452 -0
  3. contextcompass-2.15.0.dist-info/WHEEL +4 -0
  4. contextcompass-2.15.0.dist-info/entry_points.txt +2 -0
  5. contextcompass-2.15.0.dist-info/licenses/LICENSE +21 -0
  6. contextcompass_cli/__init__.py +74 -0
  7. contextcompass_cli/__main__.py +195 -0
  8. contextcompass_cli/_package/AGENTS.MD +310 -0
  9. contextcompass_cli/_package/CONTEXT_COMPACTION.md +110 -0
  10. contextcompass_cli/_package/MANIFEST.md +485 -0
  11. contextcompass_cli/_package/PROFILE_CLASS_CREATION_GUIDE.md +426 -0
  12. contextcompass_cli/_package/README.md +266 -0
  13. contextcompass_cli/_package/SKILLS.MD +144 -0
  14. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/AGENTS.MD +54 -0
  15. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/README.md +43 -0
  16. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/SKILLS.MD +44 -0
  17. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/WORKFLOWS.MD +15 -0
  18. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/behavioral_guidelines/continuity_fact_checker_workflow.md +23 -0
  19. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/examples/continuity_fact_checker_task_flow.md +24 -0
  20. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/policies/continuity_fact_checker_handoff_policy.md +20 -0
  21. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/policies/continuity_fact_checker_quality_policy.md +22 -0
  22. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker.md +37 -0
  23. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker_advanced_context.md +17 -0
  24. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker_deliverables.md +26 -0
  25. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker_execution.md +23 -0
  26. contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/workflows/README.md +8 -0
  27. contextcompass_cli/_package/agent_onboarding/default/design_engineer/AGENTS.MD +85 -0
  28. contextcompass_cli/_package/agent_onboarding/default/design_engineer/README.md +62 -0
  29. contextcompass_cli/_package/agent_onboarding/default/design_engineer/SKILLS.MD +74 -0
  30. contextcompass_cli/_package/agent_onboarding/default/design_engineer/WORKFLOWS.MD +15 -0
  31. contextcompass_cli/_package/agent_onboarding/default/design_engineer/behavioral_guidelines/design_engineer_workflow.md +25 -0
  32. contextcompass_cli/_package/agent_onboarding/default/design_engineer/behavioral_guidelines/design_validation_and_handoff.md +25 -0
  33. contextcompass_cli/_package/agent_onboarding/default/design_engineer/examples/adr_example.md +40 -0
  34. contextcompass_cli/_package/agent_onboarding/default/design_engineer/examples/design_task_flow.md +33 -0
  35. contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/decision_record_policy.md +23 -0
  36. contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/design_quality_policy.md +30 -0
  37. contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/design_review_policy.md +22 -0
  38. contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/system_document_quality_rubric.md +236 -0
  39. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/adr_and_decision_hygiene.md +38 -0
  40. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/api_and_interface_design.md +36 -0
  41. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/architecture_contexts.md +40 -0
  42. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/architecture_patch_contracts.md +43 -0
  43. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/architecture_tradeoffs.md +33 -0
  44. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/code_description_patch_contracts.md +46 -0
  45. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/component_patch_contracts.md +41 -0
  46. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/data_modeling.md +34 -0
  47. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/decomposition_and_boundaries.md +42 -0
  48. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/design_engineer_execution.md +65 -0
  49. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/design_review_protocol.md +34 -0
  50. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/nonfunctional_requirements.md +34 -0
  51. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/patch_framework_design.md +79 -0
  52. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/requirements_to_architecture.md +39 -0
  53. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md +347 -0
  54. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/src_components_instructions.md +405 -0
  55. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/system_design_method.md +45 -0
  56. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/tests_architecture_instructions.md +375 -0
  57. contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/tests_components_instructions.md +406 -0
  58. contextcompass_cli/_package/agent_onboarding/default/design_engineer/workflows/README.md +8 -0
  59. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/AGENTS.MD +53 -0
  60. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/README.md +42 -0
  61. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/SKILLS.MD +44 -0
  62. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/WORKFLOWS.MD +15 -0
  63. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/behavioral_guidelines/developmental_editor_workflow.md +23 -0
  64. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/examples/developmental_editor_task_flow.md +23 -0
  65. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/policies/developmental_editor_handoff_policy.md +20 -0
  66. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/policies/developmental_editor_quality_policy.md +22 -0
  67. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor.md +36 -0
  68. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor_advanced_context.md +17 -0
  69. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor_deliverables.md +25 -0
  70. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor_execution.md +23 -0
  71. contextcompass_cli/_package/agent_onboarding/default/developmental_editor/workflows/README.md +8 -0
  72. contextcompass_cli/_package/agent_onboarding/default/draft_writer/AGENTS.MD +54 -0
  73. contextcompass_cli/_package/agent_onboarding/default/draft_writer/README.md +43 -0
  74. contextcompass_cli/_package/agent_onboarding/default/draft_writer/SKILLS.MD +44 -0
  75. contextcompass_cli/_package/agent_onboarding/default/draft_writer/WORKFLOWS.MD +15 -0
  76. contextcompass_cli/_package/agent_onboarding/default/draft_writer/behavioral_guidelines/draft_writer_workflow.md +23 -0
  77. contextcompass_cli/_package/agent_onboarding/default/draft_writer/examples/draft_writer_task_flow.md +24 -0
  78. contextcompass_cli/_package/agent_onboarding/default/draft_writer/policies/draft_writer_handoff_policy.md +20 -0
  79. contextcompass_cli/_package/agent_onboarding/default/draft_writer/policies/draft_writer_quality_policy.md +22 -0
  80. contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer.md +37 -0
  81. contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer_advanced_context.md +17 -0
  82. contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer_deliverables.md +26 -0
  83. contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer_execution.md +23 -0
  84. contextcompass_cli/_package/agent_onboarding/default/draft_writer/workflows/README.md +8 -0
  85. contextcompass_cli/_package/agent_onboarding/default/engineer/AGENTS.MD +493 -0
  86. contextcompass_cli/_package/agent_onboarding/default/engineer/README.md +53 -0
  87. contextcompass_cli/_package/agent_onboarding/default/engineer/SKILLS.MD +263 -0
  88. contextcompass_cli/_package/agent_onboarding/default/engineer/WORKFLOWS.MD +15 -0
  89. contextcompass_cli/_package/agent_onboarding/default/engineer/behavioral_guidelines/engineer_workflow.md +24 -0
  90. contextcompass_cli/_package/agent_onboarding/default/engineer/behavioral_guidelines/task_execution_and_validation.md +34 -0
  91. contextcompass_cli/_package/agent_onboarding/default/engineer/examples/artifact_workflow.md +104 -0
  92. contextcompass_cli/_package/agent_onboarding/default/engineer/examples/eng_task_flow.md +30 -0
  93. contextcompass_cli/_package/agent_onboarding/default/engineer/policies/ctx_autonomy_policy.md +34 -0
  94. contextcompass_cli/_package/agent_onboarding/default/engineer/policies/ctx_autonomy_rubric.md +161 -0
  95. contextcompass_cli/_package/agent_onboarding/default/engineer/policies/engineer_quality_policy.md +33 -0
  96. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/context_protocol.md +70 -0
  97. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/documentation_standards.md +120 -0
  98. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/engineer_execution.md +62 -0
  99. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/package_maintenance.md +195 -0
  100. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/patch_artifact_consumption.md +68 -0
  101. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/patch_framework_gating.md +72 -0
  102. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/src_graph_generation.md +341 -0
  103. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/src_graph_usage.md +161 -0
  104. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/staleness_protocol.md +49 -0
  105. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/system_document_build.md +360 -0
  106. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/system_orientation.md +83 -0
  107. contextcompass_cli/_package/agent_onboarding/default/engineer/skills/technical_expertise.md +48 -0
  108. contextcompass_cli/_package/agent_onboarding/default/engineer/workflows/README.md +9 -0
  109. contextcompass_cli/_package/agent_onboarding/default/general/AGENTS.MD +283 -0
  110. contextcompass_cli/_package/agent_onboarding/default/general/README.md +38 -0
  111. contextcompass_cli/_package/agent_onboarding/default/general/SKILLS.MD +92 -0
  112. contextcompass_cli/_package/agent_onboarding/default/general/WORKFLOWS.MD +23 -0
  113. contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/README.md +12 -0
  114. contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/agent_lifecycle_and_heartbeat.md +37 -0
  115. contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/onboarding_summary.md +41 -0
  116. contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/work_intake_and_execution.md +44 -0
  117. contextcompass_cli/_package/agent_onboarding/default/general/policies/policy_skills.md +174 -0
  118. contextcompass_cli/_package/agent_onboarding/default/general/skills/active_documentation.md +86 -0
  119. contextcompass_cli/_package/agent_onboarding/default/general/skills/active_pointerboard.md +81 -0
  120. contextcompass_cli/_package/agent_onboarding/default/general/skills/agent_identity.md +38 -0
  121. contextcompass_cli/_package/agent_onboarding/default/general/skills/agent_lifecycle.md +21 -0
  122. contextcompass_cli/_package/agent_onboarding/default/general/skills/agent_stance.md +38 -0
  123. contextcompass_cli/_package/agent_onboarding/default/general/skills/career_selection.md +83 -0
  124. contextcompass_cli/_package/agent_onboarding/default/general/skills/compaction_requirements.md +147 -0
  125. contextcompass_cli/_package/agent_onboarding/default/general/skills/configuration_standards.md +72 -0
  126. contextcompass_cli/_package/agent_onboarding/default/general/skills/context_compaction.md +104 -0
  127. contextcompass_cli/_package/agent_onboarding/default/general/skills/context_gold.md +31 -0
  128. contextcompass_cli/_package/agent_onboarding/default/general/skills/context_management.md +79 -0
  129. contextcompass_cli/_package/agent_onboarding/default/general/skills/context_window_budget.md +64 -0
  130. contextcompass_cli/_package/agent_onboarding/default/general/skills/execution_contract.md +234 -0
  131. contextcompass_cli/_package/agent_onboarding/default/general/skills/general.md +22 -0
  132. contextcompass_cli/_package/agent_onboarding/default/general/skills/llm_full_usage.md +111 -0
  133. contextcompass_cli/_package/agent_onboarding/default/general/skills/mailbox_protocol.md +85 -0
  134. contextcompass_cli/_package/agent_onboarding/default/general/skills/memory_management.md +28 -0
  135. contextcompass_cli/_package/agent_onboarding/default/general/skills/mrp_policy.md +40 -0
  136. contextcompass_cli/_package/agent_onboarding/default/general/skills/package_upgrade.md +135 -0
  137. contextcompass_cli/_package/agent_onboarding/default/general/skills/reactive_documentation.md +105 -0
  138. contextcompass_cli/_package/agent_onboarding/default/general/skills/repo_topology.md +25 -0
  139. contextcompass_cli/_package/agent_onboarding/default/general/skills/role_local_workflows.md +41 -0
  140. contextcompass_cli/_package/agent_onboarding/default/general/skills/security_and_secrets.md +46 -0
  141. contextcompass_cli/_package/agent_onboarding/default/general/skills/self_certification.md +49 -0
  142. contextcompass_cli/_package/agent_onboarding/default/general/skills/ticket_closure_attention_sync.md +57 -0
  143. contextcompass_cli/_package/agent_onboarding/default/general/skills/ticket_microcycle.md +44 -0
  144. contextcompass_cli/_package/agent_onboarding/default/general/skills/ticketing.md +175 -0
  145. contextcompass_cli/_package/agent_onboarding/default/general/skills/ticketing_skill_contract.md +52 -0
  146. contextcompass_cli/_package/agent_onboarding/default/general/skills/unknowns_gate_reference.md +66 -0
  147. contextcompass_cli/_package/agent_onboarding/default/general/skills/user_approved_certification.md +32 -0
  148. contextcompass_cli/_package/agent_onboarding/default/general/skills/workflow.md +289 -0
  149. contextcompass_cli/_package/agent_onboarding/default/general/workflows/README.md +9 -0
  150. contextcompass_cli/_package/agent_onboarding/default/general/workflows/cleanup_context_compass.md +205 -0
  151. contextcompass_cli/_package/agent_onboarding/default/general/workflows/role_creation.md +39 -0
  152. contextcompass_cli/_package/agent_onboarding/default/general/workflows/start_context_compass_work.md +102 -0
  153. contextcompass_cli/_package/agent_onboarding/default/general/workflows/sync_attention_board.md +91 -0
  154. contextcompass_cli/_package/agent_onboarding/default/general/workflows/turn_in_selected_tickets.md +95 -0
  155. contextcompass_cli/_package/agent_onboarding/default/general/workflows/workflow_creation.md +38 -0
  156. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/AGENTS.MD +53 -0
  157. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/README.md +42 -0
  158. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/SKILLS.MD +44 -0
  159. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/WORKFLOWS.MD +15 -0
  160. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/behavioral_guidelines/line_copy_editor_workflow.md +23 -0
  161. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/examples/line_copy_editor_task_flow.md +23 -0
  162. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/policies/line_copy_editor_handoff_policy.md +20 -0
  163. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/policies/line_copy_editor_quality_policy.md +22 -0
  164. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor.md +36 -0
  165. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor_advanced_context.md +17 -0
  166. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor_deliverables.md +25 -0
  167. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor_execution.md +23 -0
  168. contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/workflows/README.md +8 -0
  169. contextcompass_cli/_package/agent_onboarding/default/new/AGENTS.MD +79 -0
  170. contextcompass_cli/_package/agent_onboarding/default/new/README.md +54 -0
  171. contextcompass_cli/_package/agent_onboarding/default/new/SKILLS.MD +35 -0
  172. contextcompass_cli/_package/agent_onboarding/default/new/WORKFLOWS.MD +15 -0
  173. contextcompass_cli/_package/agent_onboarding/default/new/behavioral_guidelines/user_onboarding_flow.md +52 -0
  174. contextcompass_cli/_package/agent_onboarding/default/new/policies/new_onboarding_policy.md +59 -0
  175. contextcompass_cli/_package/agent_onboarding/default/new/skills/configuration_map_guide.md +83 -0
  176. contextcompass_cli/_package/agent_onboarding/default/new/skills/first_time_profile_setup.md +60 -0
  177. contextcompass_cli/_package/agent_onboarding/default/new/skills/new.md +54 -0
  178. contextcompass_cli/_package/agent_onboarding/default/new/skills/onboarding_completion_and_next_step.md +54 -0
  179. contextcompass_cli/_package/agent_onboarding/default/new/skills/profile_model_explained.md +120 -0
  180. contextcompass_cli/_package/agent_onboarding/default/new/skills/system_overview_for_user.md +51 -0
  181. contextcompass_cli/_package/agent_onboarding/default/new/workflows/README.md +8 -0
  182. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/AGENTS.MD +63 -0
  183. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/README.md +41 -0
  184. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/SKILLS.MD +62 -0
  185. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/WORKFLOWS.MD +15 -0
  186. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/behavioral_guidelines/incident_workflow.md +17 -0
  187. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/behavioral_guidelines/platform_engineer_workflow.md +18 -0
  188. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/examples/platform_task_flow.md +22 -0
  189. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/policies/operational_safety_policy.md +20 -0
  190. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/policies/platform_quality_policy.md +22 -0
  191. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/policies/production_change_management_policy.md +18 -0
  192. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/ci_cd_and_release.md +28 -0
  193. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/deployment_and_environments.md +25 -0
  194. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/incident_response_and_runbooks.md +35 -0
  195. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/infrastructure_as_code.md +24 -0
  196. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/observability_and_monitoring.md +28 -0
  197. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/performance_capacity_cost.md +20 -0
  198. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/platform_engineer_execution.md +41 -0
  199. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/platform_security_basics.md +25 -0
  200. contextcompass_cli/_package/agent_onboarding/default/platform_engineer/workflows/README.md +8 -0
  201. contextcompass_cli/_package/agent_onboarding/default/proofreader/AGENTS.MD +53 -0
  202. contextcompass_cli/_package/agent_onboarding/default/proofreader/README.md +42 -0
  203. contextcompass_cli/_package/agent_onboarding/default/proofreader/SKILLS.MD +44 -0
  204. contextcompass_cli/_package/agent_onboarding/default/proofreader/WORKFLOWS.MD +15 -0
  205. contextcompass_cli/_package/agent_onboarding/default/proofreader/behavioral_guidelines/proofreader_workflow.md +23 -0
  206. contextcompass_cli/_package/agent_onboarding/default/proofreader/examples/proofreader_task_flow.md +23 -0
  207. contextcompass_cli/_package/agent_onboarding/default/proofreader/policies/proofreader_handoff_policy.md +20 -0
  208. contextcompass_cli/_package/agent_onboarding/default/proofreader/policies/proofreader_quality_policy.md +22 -0
  209. contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader.md +36 -0
  210. contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader_advanced_context.md +17 -0
  211. contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader_deliverables.md +25 -0
  212. contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader_execution.md +23 -0
  213. contextcompass_cli/_package/agent_onboarding/default/proofreader/workflows/README.md +8 -0
  214. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/AGENTS.MD +58 -0
  215. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/README.md +41 -0
  216. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/SKILLS.MD +61 -0
  217. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/WORKFLOWS.MD +15 -0
  218. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/behavioral_guidelines/qa_workflow.md +18 -0
  219. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/behavioral_guidelines/release_signoff_workflow.md +17 -0
  220. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/examples/qa_task_flow.md +24 -0
  221. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/policies/defect_severity_policy.md +24 -0
  222. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/policies/quality_gate_policy.md +18 -0
  223. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/policies/test_evidence_policy.md +18 -0
  224. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/bug_triage_and_repro.md +23 -0
  225. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/qa_engineer_execution.md +29 -0
  226. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/quality_metrics.md +24 -0
  227. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/regression_and_release_quality.md +28 -0
  228. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_automation_practices.md +30 -0
  229. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_case_design.md +27 -0
  230. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_data_and_environments.md +20 -0
  231. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_strategy_and_planning.md +31 -0
  232. contextcompass_cli/_package/agent_onboarding/default/qa_engineer/workflows/README.md +8 -0
  233. contextcompass_cli/_package/agent_onboarding/default/researcher/AGENTS.MD +55 -0
  234. contextcompass_cli/_package/agent_onboarding/default/researcher/README.md +44 -0
  235. contextcompass_cli/_package/agent_onboarding/default/researcher/SKILLS.MD +44 -0
  236. contextcompass_cli/_package/agent_onboarding/default/researcher/WORKFLOWS.MD +15 -0
  237. contextcompass_cli/_package/agent_onboarding/default/researcher/behavioral_guidelines/researcher_workflow.md +23 -0
  238. contextcompass_cli/_package/agent_onboarding/default/researcher/examples/researcher_task_flow.md +25 -0
  239. contextcompass_cli/_package/agent_onboarding/default/researcher/policies/researcher_handoff_policy.md +20 -0
  240. contextcompass_cli/_package/agent_onboarding/default/researcher/policies/researcher_quality_policy.md +22 -0
  241. contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher.md +38 -0
  242. contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher_advanced_context.md +17 -0
  243. contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher_deliverables.md +27 -0
  244. contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher_execution.md +23 -0
  245. contextcompass_cli/_package/agent_onboarding/default/researcher/workflows/README.md +8 -0
  246. contextcompass_cli/_package/agent_onboarding/default/security_engineer/AGENTS.MD +55 -0
  247. contextcompass_cli/_package/agent_onboarding/default/security_engineer/README.md +43 -0
  248. contextcompass_cli/_package/agent_onboarding/default/security_engineer/SKILLS.MD +62 -0
  249. contextcompass_cli/_package/agent_onboarding/default/security_engineer/WORKFLOWS.MD +15 -0
  250. contextcompass_cli/_package/agent_onboarding/default/security_engineer/behavioral_guidelines/security_signoff_and_escalation.md +22 -0
  251. contextcompass_cli/_package/agent_onboarding/default/security_engineer/behavioral_guidelines/security_workflow.md +18 -0
  252. contextcompass_cli/_package/agent_onboarding/default/security_engineer/examples/security_review_flow.md +22 -0
  253. contextcompass_cli/_package/agent_onboarding/default/security_engineer/policies/risk_acceptance_policy.md +17 -0
  254. contextcompass_cli/_package/agent_onboarding/default/security_engineer/policies/secrets_and_keys_policy.md +19 -0
  255. contextcompass_cli/_package/agent_onboarding/default/security_engineer/policies/security_review_policy.md +22 -0
  256. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/authn_authz_basics.md +24 -0
  257. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/dependency_and_supply_chain.md +20 -0
  258. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/incident_response_security.md +22 -0
  259. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/logging_audit_privacy.md +16 -0
  260. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/secure_architecture_review.md +20 -0
  261. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/secure_coding_review.md +22 -0
  262. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/security_engineer_execution.md +28 -0
  263. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/threat_modeling.md +25 -0
  264. contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/vulnerability_management.md +22 -0
  265. contextcompass_cli/_package/agent_onboarding/default/security_engineer/workflows/README.md +8 -0
  266. contextcompass_cli/_package/agent_onboarding/default/story_designer/AGENTS.MD +56 -0
  267. contextcompass_cli/_package/agent_onboarding/default/story_designer/README.md +45 -0
  268. contextcompass_cli/_package/agent_onboarding/default/story_designer/SKILLS.MD +44 -0
  269. contextcompass_cli/_package/agent_onboarding/default/story_designer/WORKFLOWS.MD +15 -0
  270. contextcompass_cli/_package/agent_onboarding/default/story_designer/behavioral_guidelines/story_designer_workflow.md +23 -0
  271. contextcompass_cli/_package/agent_onboarding/default/story_designer/examples/story_designer_task_flow.md +26 -0
  272. contextcompass_cli/_package/agent_onboarding/default/story_designer/policies/story_designer_handoff_policy.md +20 -0
  273. contextcompass_cli/_package/agent_onboarding/default/story_designer/policies/story_designer_quality_policy.md +22 -0
  274. contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer.md +39 -0
  275. contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer_advanced_context.md +17 -0
  276. contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer_deliverables.md +28 -0
  277. contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer_execution.md +23 -0
  278. contextcompass_cli/_package/agent_onboarding/default/story_designer/workflows/README.md +8 -0
  279. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/AGENTS.MD +56 -0
  280. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/README.md +45 -0
  281. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/SKILLS.MD +44 -0
  282. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/WORKFLOWS.MD +15 -0
  283. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/behavioral_guidelines/story_novel_artist_workflow.md +23 -0
  284. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/examples/story_novel_artist_task_flow.md +26 -0
  285. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/policies/story_novel_artist_handoff_policy.md +20 -0
  286. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/policies/story_novel_artist_quality_policy.md +22 -0
  287. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist.md +39 -0
  288. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist_advanced_context.md +17 -0
  289. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist_deliverables.md +28 -0
  290. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist_execution.md +23 -0
  291. contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/workflows/README.md +8 -0
  292. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/AGENTS.MD +66 -0
  293. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/SKILLS.MD +15 -0
  294. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/WORKFLOWS.MD +15 -0
  295. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/behavioral_guidelines/data_engineer_behavior_overrides.md +6 -0
  296. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/policies/data_engineer_policy_overrides.md +6 -0
  297. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/profile_overrides.md +9 -0
  298. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/skills/data_engineer_skill_overrides.md +6 -0
  299. contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/workflows/README.md +8 -0
  300. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/AGENTS.MD +145 -0
  301. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/SKILLS.MD +37 -0
  302. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/WORKFLOWS.MD +17 -0
  303. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/behavioral_guidelines/synaptic_finishing_developer_behavior_overrides.md +12 -0
  304. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/comment_finishing_examples.py +65 -0
  305. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/docstring_finishing_examples.py +126 -0
  306. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/pytest_component_finishing_examples.py +51 -0
  307. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/pytest_integration_finishing_examples.py +59 -0
  308. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/pytest_unit_finishing_examples.py +66 -0
  309. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/policies/synaptic_finishing_developer_policy_overrides.md +14 -0
  310. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/profile_overrides.md +17 -0
  311. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/comment_craft.md +51 -0
  312. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_craft.md +86 -0
  313. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_test_alignment.md +51 -0
  314. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/system_aware_docstrings.md +64 -0
  315. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/synaptic_finishing_developer_skill_overrides.md +11 -0
  316. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/component_tests.md +45 -0
  317. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/evidence_reporting.md +25 -0
  318. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/mocking.md +35 -0
  319. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_integration.md +32 -0
  320. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_unit.md +49 -0
  321. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/regression_tests.md +24 -0
  322. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/testing_overview.md +71 -0
  323. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/workflows/README.md +8 -0
  324. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/workflows/optimize_pytests_for_repo.md +272 -0
  325. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/workflows/polish_repo_documentation.md +247 -0
  326. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/AGENTS.MD +386 -0
  327. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/README.md +31 -0
  328. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/SKILLS.MD +44 -0
  329. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/WORKFLOWS.MD +16 -0
  330. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/behavioral_guidelines/synaptic_behavior_overrides.md +17 -0
  331. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/anti_patterns.py +19 -0
  332. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/cleanup_patterns.py +22 -0
  333. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/docstrings.py +19 -0
  334. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/logging_patterns.py +11 -0
  335. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/protocols_and_abc.py +15 -0
  336. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_component_examples.py +15 -0
  337. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_integration_examples.py +17 -0
  338. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_unit_examples.py +13 -0
  339. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/policies/synaptic_policy_overrides.md +22 -0
  340. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/profile_overrides.md +27 -0
  341. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/attribute_aliasing_skill_benchmark.py +35 -0
  342. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/banned_patterns.md +110 -0
  343. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/cleanup_and_disposal.md +79 -0
  344. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/comments.md +39 -0
  345. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/docstrings.md +90 -0
  346. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/error_model.md +28 -0
  347. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/hot_path_attribute_aliasing.md +52 -0
  348. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/init_and_ownership.md +35 -0
  349. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/interfaces.md +47 -0
  350. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/logging.md +37 -0
  351. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/module_scope.md +38 -0
  352. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/refactor_limits.md +44 -0
  353. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/typing.md +52 -0
  354. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/synaptic_skill_overrides.md +24 -0
  355. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/evidence_reporting.md +35 -0
  356. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/mocking.md +31 -0
  357. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/pytest_integration.md +36 -0
  358. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/pytest_unit.md +42 -0
  359. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/regression_tests.md +26 -0
  360. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/testing_overview.md +196 -0
  361. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/workflows/README.md +8 -0
  362. contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/workflows/synaptic_python_developer_onboarding.md +226 -0
  363. contextcompass_cli/_package/artifact_board.md +64 -0
  364. contextcompass_cli/_package/artifacts/IMPORTANT_CONSIDERATION.md +43 -0
  365. contextcompass_cli/_package/artifacts/README.md +41 -0
  366. contextcompass_cli/_package/attention_board.md +79 -0
  367. contextcompass_cli/_package/config/context_compass_config.yaml +101 -0
  368. contextcompass_cli/_package/context_management/README.md +21 -0
  369. contextcompass_cli/_package/context_management/artifacts/.gitkeep +1 -0
  370. contextcompass_cli/_package/context_management/context_artifact_template.md +42 -0
  371. contextcompass_cli/_package/context_management/context_board.md +27 -0
  372. contextcompass_cli/_package/examples/adr_example.md +29 -0
  373. contextcompass_cli/_package/examples/artifact_workflow.md +20 -0
  374. contextcompass_cli/_package/examples/continuity_fact_checker_task_flow.md +23 -0
  375. contextcompass_cli/_package/examples/design_task_flow.md +35 -0
  376. contextcompass_cli/_package/examples/developmental_editor_task_flow.md +22 -0
  377. contextcompass_cli/_package/examples/draft_writer_task_flow.md +23 -0
  378. contextcompass_cli/_package/examples/eng_task_flow.md +31 -0
  379. contextcompass_cli/_package/examples/example_architecture/.gitkeep +0 -0
  380. contextcompass_cli/_package/examples/example_architecture/src_architecture.md +136 -0
  381. contextcompass_cli/_package/examples/example_architecture/src_architecture_index.md +46 -0
  382. contextcompass_cli/_package/examples/example_architecture/tests_architecture.md +148 -0
  383. contextcompass_cli/_package/examples/example_architecture/tests_architecture_index.md +46 -0
  384. contextcompass_cli/_package/examples/example_completed/.gitkeep +0 -0
  385. contextcompass_cli/_package/examples/example_completed/2026-02-19_context_compass_release_overview_artifact.md +33 -0
  386. contextcompass_cli/_package/examples/example_components/.gitkeep +0 -0
  387. contextcompass_cli/_package/examples/example_components/src_components.md +169 -0
  388. contextcompass_cli/_package/examples/example_components/src_components_index.md +44 -0
  389. contextcompass_cli/_package/examples/example_components/tests_components.md +96 -0
  390. contextcompass_cli/_package/examples/example_components/tests_components_index.md +42 -0
  391. contextcompass_cli/_package/examples/example_epics/.gitkeep +0 -0
  392. contextcompass_cli/_package/examples/example_epics/2026-02-19_context_compass_release_readiness_example_pack_epic.md +130 -0
  393. contextcompass_cli/_package/examples/example_graph_details/README.md +131 -0
  394. contextcompass_cli/_package/examples/example_graph_details/src/example/__init__.py +4 -0
  395. contextcompass_cli/_package/examples/example_graph_details/src/example/core/interfaces.py +10 -0
  396. contextcompass_cli/_package/examples/example_graph_details/src/example/core/resource.py +15 -0
  397. contextcompass_cli/_package/examples/example_graph_details/src/example/pipeline/pipeline.py +20 -0
  398. contextcompass_cli/_package/examples/example_graph_details/src/example/pipeline/stage.py +11 -0
  399. contextcompass_cli/_package/examples/example_graph_details/src/example/storage/store.py +20 -0
  400. contextcompass_cli/_package/examples/example_graph_details/src_graph.md +192 -0
  401. contextcompass_cli/_package/examples/example_graph_details/src_graph_index.md +32 -0
  402. contextcompass_cli/_package/examples/example_stories/.gitkeep +0 -0
  403. contextcompass_cli/_package/examples/example_stories/2026-02-19_context_compass_release_readiness_examples_story.md +120 -0
  404. contextcompass_cli/_package/examples/example_tasks/.gitkeep +0 -0
  405. contextcompass_cli/_package/examples/example_tasks/2026-02-19_context_compass_release_readiness_pack_task.md +147 -0
  406. contextcompass_cli/_package/examples/line_copy_editor_task_flow.md +23 -0
  407. contextcompass_cli/_package/examples/platform_task_flow.md +26 -0
  408. contextcompass_cli/_package/examples/proofreader_task_flow.md +23 -0
  409. contextcompass_cli/_package/examples/qa_task_flow.md +26 -0
  410. contextcompass_cli/_package/examples/repo_overview.md +63 -0
  411. contextcompass_cli/_package/examples/researcher_task_flow.md +23 -0
  412. contextcompass_cli/_package/examples/security_review_flow.md +24 -0
  413. contextcompass_cli/_package/examples/story_designer_task_flow.md +23 -0
  414. contextcompass_cli/_package/examples/story_novel_artist_task_flow.md +22 -0
  415. contextcompass_cli/_package/mailbox_board.md +79 -0
  416. contextcompass_cli/_package/special_instructions/README.md +16 -0
  417. contextcompass_cli/_package/system_docs/.gitkeep +0 -0
  418. contextcompass_cli/_package/system_docs/patches/active/README.md +25 -0
  419. contextcompass_cli/_package/system_docs/patches/active/_template_patch_id/architecture_patch.md +53 -0
  420. contextcompass_cli/_package/system_docs/patches/active/_template_patch_id/code_description_patch_TEMPLATE_COMPONENT.md +39 -0
  421. contextcompass_cli/_package/system_docs/patches/active/_template_patch_id/component_patch_TEMPLATE_COMPONENT.md +48 -0
  422. contextcompass_cli/_package/system_docs/system_docs_read_first.md +107 -0
  423. contextcompass_cli/_package/templates/epic_template.md +149 -0
  424. contextcompass_cli/_package/templates/story_template.md +131 -0
  425. contextcompass_cli/_package/templates/task_template.md +124 -0
  426. contextcompass_cli/_package/templates/workflow_advanced_template.md +111 -0
  427. contextcompass_cli/_package/templates/workflow_simple_template.md +65 -0
  428. contextcompass_cli/_package/tickets/README.md +24 -0
  429. contextcompass_cli/_package/tickets/epics/README.md +68 -0
  430. contextcompass_cli/_package/tickets/epics/archive/.gitkeep +0 -0
  431. contextcompass_cli/_package/tickets/epics/backlog/.gitkeep +0 -0
  432. contextcompass_cli/_package/tickets/epics/completed/.gitkeep +0 -0
  433. contextcompass_cli/_package/tickets/stories/README.md +68 -0
  434. contextcompass_cli/_package/tickets/stories/archive/.gitkeep +0 -0
  435. contextcompass_cli/_package/tickets/stories/backlog/.gitkeep +0 -0
  436. contextcompass_cli/_package/tickets/stories/completed/.gitkeep +0 -0
  437. contextcompass_cli/_package/tickets/tasks/README.md +67 -0
  438. contextcompass_cli/_package/tickets/tasks/archive/.gitkeep +0 -0
  439. contextcompass_cli/_package/tickets/tasks/backlog/.gitkeep +0 -0
  440. contextcompass_cli/_package/tickets/tasks/completed/.gitkeep +0 -0
  441. contextcompass_cli/_package/tools/build_llm_full.py +307 -0
  442. contextcompass_cli/_package/tools/cleanup_context_compass.py +488 -0
  443. contextcompass_cli/_package/tools/migrate_boards.py +218 -0
  444. contextcompass_cli/_package/tools/package_manifest.py +351 -0
  445. contextcompass_cli/_package/tools/system_documents/index_document.py +476 -0
  446. contextcompass_cli/_package/tools/system_documents/python/assemble_graph.py +387 -0
  447. contextcompass_cli/_package/tools/system_documents/python/extract_graph.py +626 -0
  448. contextcompass_cli/_package/tools/system_documents/python/graph_semantics_tickets.py +405 -0
  449. contextcompass_cli/_package/tools/system_documents/python/graph_walker.py +375 -0
  450. contextcompass_cli/_package/tools/system_documents/python/migrate_authored_graph.py +179 -0
  451. contextcompass_cli/_package/tools/update_context_compass.py +511 -0
  452. contextcompass_cli/_package/user_defined/README.md +49 -0
@@ -0,0 +1,360 @@
1
+
2
+ # system_document_build
3
+
4
+ Purpose
5
+ - Define the authoring format for `src_components.md` and `src_architecture.md`.
6
+ - Define how their indexes are built and kept current.
7
+
8
+ ## These documents are AUTHORED, not generated
9
+
10
+ There is no build step and no codegen. `src_components.md` is the file you edit
11
+ directly. Nothing assembles it from pieces, and no script writes its prose.
12
+
13
+ That is not a convenience choice, it is a limit. A component's responsibilities,
14
+ its ownership boundaries, and why it exists cannot be derived from source. The
15
+ same wall that makes `owns_lifecycle_of` and `borrows` indistinguishable to a
16
+ parser makes "this component admits transactions into scope" underivable. If a
17
+ tool could write it, it would not be worth reading.
18
+
19
+ The only generated artifact is the **index**: a table of line ranges that lets a
20
+ reader slice the document instead of loading all of it.
21
+
22
+ | document | authored | generated |
23
+ |---|---|---|
24
+ | `src_components.md` | the document | `src_components_index.md` |
25
+ | `src_architecture.md` | the document | `src_architecture_index.md` |
26
+ | `src_graph.md` | nothing | the whole thing - see `src_graph_generation.md` |
27
+
28
+ ## Why format matters
29
+
30
+ The index is only as useful as the document's heading structure, because
31
+ headings are the only thing it can cut on. This is about **addressability**, not
32
+ size: a section that cannot be named cannot be requested, however short it is.
33
+
34
+ **Every navigable unit needs its own heading at a predictable level.** If four
35
+ components share one heading, the index cannot offer them separately and a
36
+ reader wanting one must read all four.
37
+
38
+ **Names are the query.** `--slice` matches on the section name, so a section
39
+ called `Overview` in a document holding six overviews is unaddressable even
40
+ though it is indexed. Name sections after the thing they describe.
41
+
42
+ **Avoid container headings that hold nothing but other headings.** Indexing a
43
+ production `src_components.md` produces a `C3 Components Catalog` section of
44
+ **1,945 lines**: it wraps 24 components, so
45
+ its range spans all of them. An entry like that defeats the index while
46
+ appearing to use it, because a reader who selects it loads 37% of the document
47
+ believing they sliced it. Containers are fine as organisation; just never select
48
+ one when a child would do.
49
+
50
+ The same trap one level up is the document title, which is why the indexer omits
51
+ a lone `#` heading entirely.
52
+
53
+ ## Heading shape: `src_components.md` and `tests_components.md`
54
+
55
+ **This skill does not declare which sections a document contains, or which
56
+ fields a component entry carries.** Those are the Required Section Contract and
57
+ the Component Entry Contract, and they live in the four `*_instructions.md`
58
+ skills. This skill covers only the heading structure the indexer depends on -
59
+ restating the section list here would create a second authority, and two lists
60
+ drift the moment one is edited.
61
+
62
+ ```markdown
63
+ # <document title> <- exactly one H1
64
+
65
+ ## <front matter sections> <- H2, per the Required Section Contract
66
+
67
+ ## C3 Components Catalog <- H2: container. Never the read target.
68
+
69
+ ### Component: <Name> <- H3: THE navigable unit. One per component.
70
+ - <fields, per the Component Entry Contract>
71
+
72
+ ## C2 Subcomponents Catalog
73
+
74
+ ### Subcomponent: <Name> <- H3, same shape
75
+ ```
76
+
77
+ Rules that the index depends on:
78
+
79
+ - **Exactly one H1.** More than one and the indexer cannot identify the title,
80
+ so it stops omitting it and you get a section spanning the whole file.
81
+ - **Every component is an H3**, never H2 and never H4. Mixed depth means mixed
82
+ granularity in the index.
83
+ - **`Component: ` / `Subcomponent: ` prefixes are load-bearing.** They are how a
84
+ reader greps the index for units rather than front matter.
85
+ - **Names are unique and stable.** The index is selected on name; two components
86
+ with the same name are indistinguishable to a consumer.
87
+ - **`Key Files (C1)` lists real `src/...` paths.** This is the join to
88
+ `src_graph.md`, and it measured 98% resolvable on the reference project. Break
89
+ it and component-to-graph navigation stops working.
90
+
91
+ ## Heading shape: `src_architecture.md` and `tests_architecture.md`
92
+
93
+ Same rules, one difference: the navigable unit is an **H2 concern**, not an H3
94
+ component, because architecture sections cut across components rather than
95
+ describing one each. These documents have no container heading at all - every H2
96
+ is selectable.
97
+
98
+ ```markdown
99
+ # <document title> <- exactly one H1
100
+
101
+ ## <Concern> <- H2: the navigable unit
102
+ ### <Sub-topic> <- H3: optional, indexed too
103
+ ```
104
+
105
+ The source-side and test-side documents at each level are mirrors: same section
106
+ contract, same heading shape, same index shape. If a test document's structure
107
+ diverges from its source counterpart, the divergence is the defect.
108
+
109
+ Every system document gets an index. There is no size below which one is
110
+ skipped: the index is not a size optimisation, it is how a document becomes
111
+ addressable. A small document with an index can be sliced by name; a small
112
+ document without one can only be read whole.
113
+
114
+ Section lists and entry fields:
115
+ - `agent_onboarding/default/design_engineer/skills/src_components_instructions.md`
116
+ - `agent_onboarding/default/design_engineer/skills/tests_components_instructions.md`
117
+ - `agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md`
118
+ - `agent_onboarding/default/design_engineer/skills/tests_architecture_instructions.md`
119
+
120
+ ## Patch documents: explicit ENTRY markers
121
+
122
+ Patch documents under `system_docs/patches/` do not section cleanly by heading.
123
+ Each entry is a distinct revision of a named thing, and heading depth carries no
124
+ meaning there - two revisions of the same component are peers regardless of how
125
+ deep their headings happen to sit.
126
+
127
+ So patches declare their boundaries instead of implying them:
128
+
129
+ ```markdown
130
+ <!-- BEGIN ENTRY: "PipelineScope: stage admission" -->
131
+ ## Revision 1
132
+
133
+ Introduces `PipelineScope` as the single admission point for stage
134
+ registration. Callers stop constructing `Stage` directly.
135
+
136
+ - affects: `src/example/pipeline/`
137
+ - risk: high, changes an admission gate
138
+ <!-- END ENTRY: "PipelineScope: stage admission" -->
139
+ ```
140
+
141
+ **The name in the marker is the point.** It moves verbatim into the index, so a
142
+ row identifies the object it covers:
143
+
144
+ ```
145
+ | lines | lvl | name |
146
+ | 6-14 | 1 | PipelineScope: stage admission |
147
+ | 16-23 | 1 | StoreHandle: contract delegation |
148
+ ```
149
+
150
+ A row keyed by a number tells a reader nothing about whether to read it. Every
151
+ index this system produces is keyed by a name - breadcrumb path for authored
152
+ documents, source path for the graph, entry name for patches. There are no
153
+ anonymous rows anywhere, and there must not be.
154
+
155
+ Rules:
156
+
157
+ - `BEGIN ENTRY` and `END ENTRY` are HTML comments, so they do not render.
158
+ - Quotes around the name are optional; the name is trimmed either way.
159
+ - `END ENTRY` may repeat the name or omit it. If it repeats it, it must match.
160
+ - Entries do not nest. Opening one while another is open is an error.
161
+ - **Malformed markers refuse to index.** Unbalanced or mismatched markers are
162
+ reported and nothing is written. A silently repaired boundary produces a range
163
+ that looks correct and covers the wrong text.
164
+
165
+ Markers work in any document. `--mode auto` (the default) uses them when
166
+ present and falls back to headings when not, so a document that adopts markers
167
+ gets entry-based sectioning with no flag change.
168
+
169
+ ## Building the index
170
+
171
+ ```bash
172
+ python context_compass/tools/system_documents/index_document.py \
173
+ --doc context_compass/system_docs/src_components.md
174
+
175
+ python context_compass/tools/system_documents/index_document.py \
176
+ --doc context_compass/system_docs/src_architecture.md
177
+
178
+ python context_compass/tools/system_documents/index_document.py \
179
+ --doc context_compass/system_docs/patches/active/<patch_id>/architecture_patch.md
180
+ ```
181
+
182
+ `--max-level` sets the deepest heading indexed (default 3). `--mode` forces
183
+ `heading` or `entry` sectioning. `--check` verifies the existing index is
184
+ current and writes nothing - run it before trusting any range.
185
+
186
+ The tool **never modifies the document**. It reads, validates, and writes
187
+ `<stem>_index.md` beside it.
188
+
189
+ It refuses two targets outright, because it writes and a wrong target does not
190
+ produce a confusing message you shrug off - it produces a plausible file that
191
+ replaces a correct one:
192
+
193
+ - **an `*_index.md` file.** Indexing an index yields `<stem>_index_index.md`,
194
+ which addresses nothing.
195
+ - **an assembled graph** (any document containing `<!-- BEGIN FILE:`). Its index
196
+ is a byproduct of assembly and cannot disagree with it. Re-indexing here would
197
+ re-parse headings and overwrite that with a weaker index keyed by heading
198
+ breadcrumb rather than source path. Run `assemble_graph.py`.
199
+
200
+ Both refusals came from doing it: a convenience glob over `examples/example_*/*.md`
201
+ swept in the generated graph and every existing index, overwrote the graph's
202
+ byproduct index, and left ten junk files behind. The counts caught it, not the
203
+ output - which is the argument for the refusal being in the tool rather than in a
204
+ sentence someone is supposed to remember.
205
+
206
+ Every range is validated against its own heading before anything is written. An
207
+ off-by-one silently corrupts every downstream read, so it is checked rather than
208
+ trusted, and a failed validation writes nothing.
209
+
210
+ ## Slicing: how the index is consumed
211
+
212
+ An index exists to be sliced. The workflow is three steps, and step two is not
213
+ optional:
214
+
215
+ 1. Find the section by NAME in the index.
216
+ 2. Verify the index is current.
217
+ 3. Read only those lines.
218
+
219
+ The tool does all three:
220
+
221
+ ```bash
222
+ python context_compass/tools/system_documents/index_document.py \
223
+ --doc context_compass/system_docs/src_components.md \
224
+ --slice "Router and Role Resolution"
225
+ ```
226
+
227
+ It verifies `line_count` and `content_sha256` against the index ON DISK before
228
+ returning anything, and prints the range as a header so the output carries its
229
+ own citation:
230
+
231
+ ```
232
+ <!-- src_components.md:74-94 C3 Components Catalog > Component: Router and Role Resolution Engine -->
233
+ ### Component: Router and Role Resolution Engine
234
+ - Purpose: resolve the selected role chain deterministically.
235
+ ...
236
+ ```
237
+
238
+ That is real output from the document shipped in this package - run the command
239
+ and you get it back.
240
+
241
+ Behaviour that matters:
242
+
243
+ - **A stale index refuses to slice.** Edit the document without regenerating and
244
+ you get `INDEX STALE - refusing to slice`, not wrong content.
245
+ - **An ambiguous name lists the candidates rather than guessing.** Asking for
246
+ `Catalog` against the shipped `src_components.md` matches 7 sections; it prints them
247
+ with their ranges so you can narrow.
248
+ - **A missing index refuses too.** Generate before you slice.
249
+
250
+ This is why section names must be unique and descriptive. `--slice` matches on
251
+ the name, so the name is the query - a section called `Overview` in a document
252
+ with six overviews is unaddressable.
253
+
254
+ ## Regenerate whenever the document changes
255
+
256
+ The index records `line_count`, `content_sha256`, and `line_ending`. Insert one
257
+ line near the top and every range below it is wrong - while the index still
258
+ parses, still looks plausible, and still returns content. It returns the WRONG
259
+ content, confidently.
260
+
261
+ So: edit the document, regenerate the index, in the same pass. A consumer that
262
+ finds a mismatch must refuse to slice; see
263
+ `agent_onboarding/default/engineer/skills/src_graph_usage.md` for the
264
+ verification procedure, which is identical.
265
+
266
+ ## The document has to survive leaving this repository
267
+
268
+ `src_architecture.md`, `src_components.md`, `tests_architecture.md`,
269
+ `tests_components.md` and `src_graph.md` describe a codebase. They get committed
270
+ to that codebase, reviewed with it, and in a packaged project they ship inside
271
+ the wheel - some projects publish one as a module attribute so a consumer can
272
+ read the architecture without leaving the interpreter.
273
+
274
+ None of those readers have Context Compass. It is a helper repository that
275
+ produced the document; it is not a dependency of the document. So a line like
276
+
277
+ ```
278
+ python context_compass/tools/system_documents/index_document.py --doc ...
279
+ ```
280
+
281
+ is correct for you, at this moment, in this checkout, and is dead text for every
282
+ other reader the document will ever have.
283
+
284
+ **The rule: a produced system document contains no path that points into this
285
+ package.** No tool invocation, no pointer at a skill file, no cross-reference by
286
+ path.
287
+
288
+ State it by destination, not by spelling. The install prefix is often absent,
289
+ because an agent authoring from inside the install writes what it sees:
290
+
291
+ ```
292
+ python tools/system_documents/index_document.py --doc system_docs/src_architecture.md
293
+ Spec: `agent_onboarding/default/engineer/skills/system_document_build.md`
294
+ ```
295
+
296
+ Not one of those lines contains the string `context_compass`, and every one of
297
+ them is a path into this package. A check that looks only for the prefix passes
298
+ a thoroughly leaked document. The markers that matter are `context_compass/`,
299
+ `agent_onboarding/`, `tools/system_documents/`, `system_docs/`,
300
+ `patches/active/`, and any tool filename such as `index_document.py`.
301
+
302
+ What replaces each kind of reference:
303
+
304
+ | you want to write | write instead |
305
+ | --- | --- |
306
+ | `python tools/system_documents/index_document.py ...` | nothing - the command lives in the role skill, where a maintainer already is |
307
+ | `system_docs/src_components.md`, prefixed or not | `src_components` - the logical document id |
308
+ | `` Spec: `agent_onboarding/.../<skill>.md` `` | nothing - the document does not cite its own tooling |
309
+ | `patches/active/<patch_id>/...` | the patch id alone, if the reader needs it at all |
310
+ | the file being documented | `src/<pkg>/engine.py` - keep it, repo-relative |
311
+
312
+ Two things this rule does **not** ban, and both matter:
313
+
314
+ - **Paths into the documented source.** A C1 entry naming `src/<pkg>/engine.py`
315
+ or `tests/unit/test_engine.py` is the entire value of the entry. Reference the
316
+ source, always.
317
+ - **Naming a sibling system document.** A reader benefits from knowing
318
+ `src_components` goes deeper than `src_architecture` on the same subject.
319
+ Use the id, not the path - the id survives the pair being vendored into
320
+ another repository, published under a different root, or renamed.
321
+
322
+ Absolute paths are banned for the same reason and are worse:
323
+ `C:\Users\...\src\<pkg>\engine.py` is correct on exactly one machine and wrong
324
+ the moment the repository is cloned. Repo-relative, always.
325
+
326
+ `src_graph.md` is the model. It is fully generated, it cites the source tree
327
+ constantly, and it contains zero install-prefixed paths - so the generator
328
+ already gets this right and is the thing to copy.
329
+
330
+ ## Anti-patterns
331
+
332
+ - Generating any part of these documents. They are authored.
333
+ - Hand-editing an index. Regenerate it.
334
+ - Editing the document and leaving the index stale.
335
+ - Selecting a container section (`C3 Components Catalog`) when a component
336
+ section would answer the question.
337
+ - Adding a second H1, or nesting components at inconsistent depths.
338
+ - Renaming a component without checking who cited it.
339
+ - Omitting `Key Files (C1):`, which silently severs the join to `src_graph.md`.
340
+ - Restating a section list or entry contract here. This skill owns heading shape
341
+ and index mechanics; the `*_instructions.md` skills own what goes in them.
342
+ - **Writing a path into this package into a produced document.** The commonest
343
+ form is a helpful `## Indexing` section that pastes in the regeneration
344
+ command. It reads as documentation and is an anti-pattern: it welds a document
345
+ that ships to a tool that does not.
346
+ - **Assuming the leak says `context_compass`.** It usually does not. An agent
347
+ authoring from inside the install writes `tools/system_documents/...` and
348
+ `system_docs/...`, no prefix, and a prefix-only check calls that clean.
349
+ - **Citing a skill file from a produced document.** The document is the output;
350
+ the skill is the process. A reader holding the wheel has one and never the
351
+ other.
352
+ - **Absolute paths anywhere in a produced document.** Repo-relative only.
353
+
354
+ References
355
+ - `system_docs/system_docs_read_first.md` (what a fresh install is allowed to be
356
+ missing, and which example docs set the bar before you author anything)
357
+ - `agent_onboarding/default/engineer/skills/src_graph_usage.md`
358
+ - `agent_onboarding/default/engineer/skills/src_graph_generation.md`
359
+ - `agent_onboarding/default/design_engineer/skills/src_components_instructions.md`
360
+ - `agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md`
@@ -0,0 +1,83 @@
1
+
2
+
3
+ # system_orientation
4
+
5
+ Purpose
6
+ - Provide a consistent way to explain this repo's workflow and docs.
7
+ - Translate agent stories and repo docs into clear, actionable guidance.
8
+
9
+ When to use
10
+ - The user asks how the system works or how to interact with it.
11
+ - The user wants a concise walkthrough before work begins.
12
+
13
+ Required behavior
14
+ - Start with the authority chain from `AGENTS.MD`.
15
+ - Read the required docs before explaining how the system works:
16
+ - `AGENTS.MD`
17
+ - `config/context_compass_config.yaml`
18
+ - `SKILLS.MD`
19
+ - `agent_onboarding/default/general/SKILLS.MD`
20
+ - `agent_onboarding/default/engineer/SKILLS.MD`
21
+ - `agent_onboarding/default/general/skills/workflow.md`
22
+ - Do not restate or override policy; cite the relevant skill or doc.
23
+
24
+ Core references
25
+ - Fresh-install posture for `system_docs/`: `system_docs/system_docs_read_first.md`
26
+ (read this before asserting that a context map is missing or wrong)
27
+ - Agent stories: `agent_onboarding/default/general/behavioral_guidelines/README.md`
28
+ - Ticketing: `agent_onboarding/default/general/skills/workflow.md` and
29
+ `templates/`
30
+ - System context, in the order it is meant to be used - each step names the key the
31
+ next one is looked up by. Do not treat these as a flat menu:
32
+ 1. `system_docs/src_architecture.md` - which part of the system (read whole)
33
+ plus `system_docs/src_architecture_index.md` to slice back into it later
34
+ 2. `system_docs/src_components_index.md` - look up that part
35
+ 3. `system_docs/src_components.md` - **slice**: what it owns, its Key Files
36
+ 4. `system_docs/src_graph_index.md` - look up those nodes
37
+ 5. `system_docs/src_graph.md` - **slice**: wiring, ownership, callers
38
+ 6. the code itself - the only authoritative account of current behaviour
39
+
40
+ Steps 1 and 2 are **baseline** - the narrative and the two indexes, read at
41
+ onboarding when they exist. Everything below them is **Self-directed**: you slice
42
+ it yourself, unprompted, whenever the work needs it. No trigger list, no
43
+ permission step - which is why it is not called On-demand, a state that does have
44
+ a trigger and does mean wait. Authority for both halves is
45
+ `agent_onboarding/default/engineer/SKILLS.MD`.
46
+ - Graph workflow context: `agent_onboarding/default/engineer/skills/src_graph_usage.md`
47
+ - Test architecture context: `system_docs/tests_architecture.md`
48
+ - Test components context: `system_docs/tests_components.md`
49
+ (the tests pair describes the suite; it is not step 7 of the chain above, and it
50
+ is Self-directed - read it when the work concerns the suite, not because you were
51
+ already reading the src pair, and not because something gave you permission)
52
+ - Active patch docs (when patch lane is active):
53
+ `system_docs/patches/active/<patch_id>/`
54
+ - Repo examples: `examples/` (within context_compass)
55
+
56
+ Artifact taxonomy (curated vs scratch)
57
+ - Curated, user-owned (source of truth):
58
+ - `attention_board.md` (canonical routing state for active work)
59
+ - `tickets/epics/`, `tickets/stories/`, `tickets/tasks/`
60
+ - `tickets/epics/completed/`, `tickets/stories/completed/`, `tickets/tasks/completed/` (closed tickets)
61
+ - Scratch, agent-owned (not canonical):
62
+ - `user_defined/` - yours outright, never written to by any tool, create the
63
+ subfolders you want (for example `user_defined/ideas/`, `user_defined/todo/`)
64
+ - There is no top-level `completed/` and no `workspace/` lane. Both were named in
65
+ earlier revisions of this skill and neither has ever shipped; closed tickets
66
+ live in the three `tickets/*/completed/` lanes listed above.
67
+ - Promotion rule: when content becomes durable or actionable, convert it into tickets.
68
+
69
+ Suggested user-facing explanation flow
70
+ 1) Authority chain and where behavior lives.
71
+ 2) Onboarding sequence in short form.
72
+ 3) Ticketing flow (epic -> story -> task).
73
+ 4) Architecture/components docs plus patch docs (when applicable).
74
+ 5) Implementation gate checks and validation flow.
75
+
76
+ Notes
77
+ - Use clear, direct language; avoid restating full policy documents.
78
+ - Keep explanations faithful to `AGENTS.MD`.
79
+ - When discussing current work state, route via `attention_board.md` and linked tickets, not memory.
80
+ - For system-impacting changes, mention the mandatory patch gate from
81
+ `patch_framework_gating.md`.
82
+
83
+
@@ -0,0 +1,48 @@
1
+
2
+
3
+ # technical_expertise
4
+
5
+ Purpose
6
+ - Enforce engineering-grade problem diagnosis before code changes.
7
+ - Prevent defensive guard sprawl that hides contract errors and adds hot-path overhead.
8
+
9
+ Core rule
10
+ - Do not blindly add defensive checks for every possible `None` or missing attribute.
11
+ - Diagnose the real runtime contract first, then apply the smallest correct fix.
12
+
13
+ Root-cause workflow (required)
14
+ 1) Reproduce the issue with concrete failing evidence (stack trace, test, or runtime path).
15
+ 2) Trace call-path ownership and lifecycle boundaries.
16
+ 3) Identify whether `None`/missing state is valid, invalid, or test-only setup drift.
17
+ 4) Classify the fix:
18
+ - Contract violation: fail fast with explicit error.
19
+ - Valid optional state: handle explicitly at the boundary where optionality is real.
20
+ - Test mismatch: update test setup to match production contract.
21
+ 5) Implement minimal change that preserves performance and clarity.
22
+
23
+ Performance discipline
24
+ - Every extra guard in hot or frequently executed paths has cost.
25
+ - Prefer strict contracts over repetitive defensive branching.
26
+ - Add guards only when the contract requires optional state.
27
+
28
+ Contract discipline
29
+ - Use lifecycle evidence, not assumptions, to decide if a field can be `None`.
30
+ - `check_cleaned()` proves cleaned-state only; it does not prove all owned references are populated.
31
+ - If an API requires active ownership state, enforce that requirement explicitly.
32
+
33
+ Anti-patterns
34
+ - Adding broad `if x is None: return` everywhere without proving optionality.
35
+ - Swallowing root causes with catch-all fallback behavior.
36
+ - Treating failing tests as proof of production contracts without call-path validation.
37
+
38
+ Expected outcome
39
+ - Fewer superficial fixes.
40
+ - Better failure semantics.
41
+ - Lower overhead on critical paths.
42
+
43
+ References
44
+ - `AGENTS.MD`
45
+ - `agent_onboarding/default/engineer/skills/context_protocol.md`
46
+
47
+
48
+
@@ -0,0 +1,9 @@
1
+ # engineer workflows
2
+
3
+ Purpose
4
+ - Store role-local workflows for the `engineer` role.
5
+
6
+ Rules
7
+ - Actual workflow definitions in this folder are user-generated and
8
+ user-approved only.
9
+ - Use the top-level workflow templates when creating new engineer workflows.