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,263 @@
1
+
2
+
3
+ # SKILLS.MD - engineer
4
+
5
+ Purpose
6
+ - Define required baseline engineering skills for the `engineer` role.
7
+
8
+ Inheritance
9
+ - `INHERITS_SKILLS_FROM: agent_onboarding/default/general/SKILLS.MD`
10
+
11
+ Skill classes (non-negotiable)
12
+ - This role defines three classes of skills:
13
+ A) **Required baseline skills** (always required for onboarding/certification)
14
+ B) **Baseline system orientation** (required at onboarding when the files exist)
15
+ C) **Self-directed system reading** - every other system document. Not baseline,
16
+ not trigger-gated: **agent-driven OR user-driven**, and agent-driven is the
17
+ ordinary case.
18
+
19
+ Why this is called Self-directed and not On-demand (read this before you interpret it)
20
+ - **`On-demand` is a different state and it is reserved.** In this package On-demand
21
+ means a section states a trigger and you wait for it - `general`'s
22
+ `llm_full_usage.md` is the model. **Nothing in class C has a trigger.** The label
23
+ was wrong here, it collided with the parent's definition, and an agent resolving
24
+ both correctly concluded no trigger had fired and read zero system documents. Full
25
+ reasoning: `context_compass/SKILLS.MD`, "Format contract for role `SKILLS.MD` files".
26
+ - Self-directed does NOT mean "wait to be told". It means the read happens when somebody
27
+ needs it, and **you are somebody**. You raise the demand as often as the user does,
28
+ and more often in practice, because you are the one who notices the gap.
29
+ - There is no permission step. There is no trigger list you must match first. If you
30
+ need to know something about this system, the document is right there and you go
31
+ and read the part that answers it.
32
+ - The earlier version of this file put these documents behind a trigger list and, for
33
+ one of them, an explicit instruction to ask the user whether reading was required.
34
+ That produced exactly what you would expect: agents that onboarded knowing nothing
35
+ about the system, stopped mid-task to request authorisation to consult the
36
+ documentation they were already holding the index for, and reasoned from the names
37
+ of classes in the meantime. Asking permission to read is not caution. It is a
38
+ refusal to do the work, dressed as deference.
39
+
40
+ Rules
41
+ - You MUST read **all** paths listed under **Required baseline skills** for this role
42
+ to be considered onboarded/certifiable as `engineer`.
43
+ - You MUST read every file under **Baseline system orientation** that exists in this
44
+ repository. A missing one is skipped, not blocked on - a fresh install has none.
45
+ - Everything else under `system_docs/` is **Self-directed** in the sense defined
46
+ above: yours to reach for, unprompted, whenever the work needs it. It is not
47
+ baseline and it is not trigger-gated.
48
+ - You MUST NOT claim you read a document you only sliced. Say which sections.
49
+ - Large documents are read **by slice through their index**, never whole. That is a
50
+ rule about HOW, not WHETHER.
51
+ - **Read what the task needs and no more.** These documents grow with the repository.
52
+ Reading everything is not diligence, it is a context budget spent before the work
53
+ starts. Be surgical.
54
+ - Ask the user for **guidance** when you cannot tell where to look - which subsystem,
55
+ which component, which of four similar names. Do not ask for **permission** to look.
56
+ Guidance is a real question; permission is a stall.
57
+ - **Descend the hierarchy; do not enter in the middle.** architecture -> components
58
+ index -> component slice -> graph index -> graph slice -> the code. Each level
59
+ hands you the name the next one is keyed on. See the section below.
60
+ - **These documents guide you to the code. They are not the code.** Before changing
61
+ an implementation you read that implementation. Where a document and the source
62
+ disagree, the source is what runs.
63
+
64
+ Required baseline skills
65
+ - `agent_onboarding/default/engineer/AGENTS.MD`
66
+ - `agent_onboarding/default/engineer/WORKFLOWS.MD`
67
+ - `agent_onboarding/default/engineer/skills/engineer_execution.md`
68
+ - `agent_onboarding/default/engineer/skills/technical_expertise.md`
69
+ - `agent_onboarding/default/engineer/skills/system_orientation.md`
70
+ - `agent_onboarding/default/engineer/skills/documentation_standards.md`
71
+ - `agent_onboarding/default/engineer/skills/context_protocol.md`
72
+ - `agent_onboarding/default/engineer/skills/src_graph_usage.md`
73
+ - `agent_onboarding/default/engineer/skills/src_graph_generation.md`
74
+ - `agent_onboarding/default/engineer/skills/system_document_build.md`
75
+ - `agent_onboarding/default/engineer/skills/patch_framework_gating.md`
76
+ - `agent_onboarding/default/engineer/skills/patch_artifact_consumption.md`
77
+ - `agent_onboarding/default/engineer/skills/staleness_protocol.md`
78
+ - `agent_onboarding/default/engineer/policies/engineer_quality_policy.md`
79
+ - `agent_onboarding/default/engineer/policies/ctx_autonomy_policy.md`
80
+ - `agent_onboarding/default/engineer/policies/ctx_autonomy_rubric.md`
81
+ - `agent_onboarding/default/engineer/behavioral_guidelines/engineer_workflow.md`
82
+ - `agent_onboarding/default/engineer/behavioral_guidelines/task_execution_and_validation.md`
83
+ - `agent_onboarding/default/engineer/examples/artifact_workflow.md`
84
+ - `agent_onboarding/default/engineer/examples/eng_task_flow.md`
85
+
86
+ Baseline system orientation (read every one that exists)
87
+ - `system_docs/system_docs_read_first.md`
88
+ - `system_docs/src_architecture.md`
89
+ - `system_docs/src_architecture_index.md`
90
+ - `system_docs/src_components_index.md`
91
+
92
+ Why these four and not the whole set. An engineer who does not know the shape of the
93
+ system writes plausible code in the wrong place, and no amount of role skill fixes
94
+ that. So the narrative is baseline: `src_architecture.md` is the one document that
95
+ explains what this system IS, and it is the smallest of the set - on a real
96
+ repository, ~2,300 lines against ~8,400 for components and ~25,000 for the graph.
97
+
98
+ The two INDEXES are baseline because an index is a map, not a territory. They cost
99
+ ~75 and ~165 lines and they are what make the large documents usable at all: with
100
+ them you can name a component and slice its 40 lines; without them your only options
101
+ are to read 8,400 lines or to guess. Onboarding with the maps and without the
102
+ territory is the entire point.
103
+
104
+ Nothing else is baseline. Everything else under `system_docs/` is Self-directed,
105
+ which means yours to reach for without waiting for anything. See below.
106
+
107
+ The understanding hierarchy (do not sprawl)
108
+ These documents are not four separate references you consult in parallel. They are
109
+ one funnel, ordered widest to narrowest, and **each level hands you the exact key you
110
+ need to open the next**:
111
+
112
+ ```
113
+ src_architecture.md WHICH PART of the system - read whole, at onboarding
114
+ | gives you a concern, a boundary, a subsystem name
115
+ v
116
+ src_components_index.md WHICH COMPONENT - look up that name
117
+ | gives you a section name and a line range
118
+ v
119
+ src_components.md (slice) WHAT it is, owns, guarantees, and its Key Files
120
+ | gives you node names and file paths
121
+ v
122
+ src_graph_index.md WHICH NODES - look up those names
123
+ | gives you a section name and a line range
124
+ v
125
+ src_graph.md (slice) HOW it wires - edges, ownership, lifecycle, callers
126
+ | gives you the files that actually matter
127
+ v
128
+ THE CODE the only thing that is authoritative
129
+ ```
130
+
131
+ Descend it. Do not enter in the middle.
132
+
133
+ Each step is a **lookup, not a search**, and that is the whole value. Architecture
134
+ names a subsystem; you look that name up in the components index rather than
135
+ scanning. A component names its Key Files and nodes; you look those up in the graph
136
+ index rather than scanning. Enter at the graph with no name in hand and you are
137
+ searching 25,000 lines for something you cannot describe - that is the sprawl this
138
+ hierarchy exists to prevent, and it is how an agent burns its whole context and still
139
+ gets the answer wrong.
140
+
141
+ You do not need to know it all. At every level you carry down only the branch you are
142
+ on. One subsystem, one or two components, the handful of nodes they name. Everything
143
+ else on that level is somebody else's task.
144
+
145
+ **The documents are guiding tools. The code is the system.**
146
+ This is the part that is not optional: when you are making a code change, you read
147
+ the code. The hierarchy exists to tell you *which* code - to take "somewhere in this
148
+ repository" and turn it into four files worth opening. It does not tell you what
149
+ those files currently do. Documents describe intent at the moment somebody wrote them
150
+ down; the code is what runs. Where they disagree, the code wins and the document is
151
+ stale - say so, and fix it or file it.
152
+
153
+ So never let a slice stand in for reading the implementation you are about to change.
154
+ Never quote a document as evidence for behaviour you have not seen in source. The
155
+ right shape is: **descend the hierarchy to find the code, then read the code, then
156
+ change it** - and if what you found contradicts the document that sent you there,
157
+ that contradiction is itself a finding worth recording.
158
+
159
+ Self-directed system reading - agent-driven or user-driven
160
+ Every system document that is not one of the four above, including any this role
161
+ does not name:
162
+ - `system_docs/src_components.md` - via `src_components_index.md`, sliced
163
+ - `system_docs/src_graph.md` - via `src_graph_index.md`, sliced
164
+ - `system_docs/tests_architecture.md`
165
+ - `system_docs/tests_components.md`
166
+ - anything else present in `system_docs/`
167
+
168
+ None of these ship with the package, so a fresh install has nothing here to read.
169
+ That is expected and is not a blocked onboarding.
170
+
171
+ **Either party can raise the demand, and usually it is you.** You do not ask whether
172
+ you are allowed, you do not wait for a ticket to authorise it, and you do not treat
173
+ the user's silence as a reason not to look. You hold the indexes from onboarding;
174
+ that is what they are for.
175
+
176
+ **Read what you need. Not everything.**
177
+ This is the other half of the rule and it matters just as much. These documents scale
178
+ with the repository, and on a large one they are enormous - a component map runs to
179
+ tens of thousands of lines and a graph larger still. "Self-directed" is permission to
180
+ be surgical, never a licence to pull the whole set into context. An agent that reads
181
+ everything has not been thorough; it has spent its context before starting, and it
182
+ will be vague about all of it instead of precise about the part that mattered.
183
+
184
+ So: name the question first, find the section in the index, slice that section, stop.
185
+ One component, one call path, one edge - then go back for the next one if the work
186
+ actually needs it. Two targeted slices beat a whole document every time.
187
+
188
+ **Ask for guidance, not for permission.** The two are different requests and only one
189
+ of them is an imposition:
190
+ - "May I read `src_components.md`?" - do not ask this. Read it.
191
+ - "This repository has 140 components. I need the ones handling retry and backoff -
192
+ is that `scheduler`, or somewhere else?" - ask this, early and without
193
+ embarrassment. The user knows their system's vocabulary and can point you at the
194
+ right five sections in one line, which is cheaper for both of you than you reading
195
+ eighty to find them.
196
+
197
+ Ask when the scope is genuinely unclear: the repository is large and you cannot tell
198
+ which subsystem owns the behaviour, several components have plausible-sounding names,
199
+ or the task description does not map onto anything you can see in the index. Say what
200
+ you are looking for and what you already ruled out. That is a real question with a
201
+ real answer, and it is nothing like asking whether you are permitted to look.
202
+
203
+ Go and read when any of this is true, which is most of the time:
204
+ - you are about to describe what a component does, owns, or is responsible for
205
+ - you are about to assume a relationship - who constructs what, who owns a
206
+ lifecycle, what a call path actually is
207
+ - you are about to touch a file and do not already know what depends on it
208
+ - a name looks self-explanatory. `EngineManager` tells you nothing; the descriptor
209
+ for it tells you whether it owns its stages or borrows them, and those are
210
+ different bugs
211
+ - you are about to write "presumably", "likely", or "appears to" about this codebase
212
+ - you are about to say a document was not required, when reading it would have
213
+ taken one slice
214
+
215
+ And the mirror of that list - do NOT read when:
216
+ - you already know the answer from a slice you took earlier this session
217
+ - the section is adjacent to what you need but not what you need
218
+ - you are reading "to be thorough" with no question in hand. Thoroughness is
219
+ answering the right question completely, not loading the most text
220
+
221
+ The user drives it too, and their demand is not narrower than yours: an explicit
222
+ request for a deep dive, a ticket that needs architecture work, a task touching
223
+ `system_docs/`, a cross-cutting change, an install clean or upgrade. These are
224
+ examples of demand, not a gate on it. A condition list that fails to fire is not
225
+ permission to work uninformed.
226
+
227
+ **Read by slice, never whole.** `src_components.md` is ~8,400 lines and
228
+ `src_graph.md` ~25,000; both are sliced through their indexes, always. The tests
229
+ pair is small enough to read directly. Verify an index before trusting a range - an
230
+ index that lags its document still returns line numbers, they are simply the wrong
231
+ ones. See `agent_onboarding/default/engineer/skills/src_graph_usage.md`.
232
+
233
+ Read the tests pair when the work concerns the suite. Do not skip it because nobody
234
+ asked, and do not drag it in because you happened to be reading the src pair - they
235
+ describe different things.
236
+
237
+ If you are cleaning or upgrading an install:
238
+ - `agent_onboarding/default/engineer/skills/package_maintenance.md`
239
+
240
+ Note on a fresh install
241
+ - **`system_docs/` ships empty.** The package does not seed architecture,
242
+ component, test or graph documents, because a shipped placeholder in a live
243
+ lane gets read as repository truth no matter what banner sits on top of it.
244
+ - `examples/` is where the shape and quality bar live. Read the examples to learn
245
+ the format; write `system_docs/` from your own repository.
246
+ - An empty `system_docs/` is the expected state of a new install, not a defect,
247
+ and not something to fill with invented content.
248
+ - `system_docs/system_docs_read_first.md` is the entry point and explains the
249
+ order to build these in when the repository is ready.
250
+
251
+ Note on the source graph
252
+ - `system_docs/src_graph.md` and `system_docs/src_graph_index.md` are generated
253
+ per project by `tools/system_documents/python/` and are NOT shipped with this
254
+ package. A fresh install has neither.
255
+ - If they are absent, that is expected. Do not treat their absence as a blocked
256
+ onboarding or a missing required read.
257
+ - NEVER read `src_graph.md` in full. Read `src_graph_index.md`, verify it, and
258
+ slice only the sections you need. See
259
+ `agent_onboarding/default/engineer/skills/src_graph_usage.md`.
260
+ - "Never read it in full" is a rule about HOW, not WHETHER. It exists because the
261
+ document is ~25,000 lines, not because its contents are restricted. Slice it
262
+ freely and often; that is what it is for. Reading none of it is not the safe
263
+ reading of this rule, it is the failure the rule was written to prevent.
@@ -0,0 +1,15 @@
1
+ # WORKFLOWS.MD - engineer
2
+
3
+ Purpose
4
+ - Define role-local workflow availability for the `engineer` role.
5
+
6
+ Inheritance
7
+ - `INHERITS_WORKFLOWS_FROM: agent_onboarding/default/general/WORKFLOWS.MD`
8
+
9
+ Activation rule
10
+ - This role inherits general workflow rules first.
11
+ - Additional engineer workflows, when created, live in this role folder and are
12
+ user-generated and user-approved only.
13
+
14
+ Active workflows
15
+ - none
@@ -0,0 +1,24 @@
1
+
2
+
3
+ # engineer_workflow
4
+
5
+ Purpose
6
+ - Describe the expected execution flow for engineer tasks.
7
+
8
+ Story steps
9
+ 1) Confirm the goal and constraints.
10
+ - Ask clarifying questions before editing.
11
+ 2) Identify the minimal set of files to touch.
12
+ - Keep changes scoped and reviewable.
13
+ 3) Implement changes with explicit contracts.
14
+ - Update docstrings and adjust tests.
15
+ 4) Validate.
16
+ - Run tests or report "Not run" with a reason.
17
+ 5) Summarize.
18
+ - Describe what changed and what remains.
19
+
20
+ References
21
+ - `agent_onboarding/default/engineer/behavioral_guidelines/task_execution_and_validation.md`
22
+
23
+
24
+
@@ -0,0 +1,34 @@
1
+
2
+
3
+ # task_execution_and_validation
4
+
5
+ Purpose
6
+ - Define the execution and validation flow for a single task.
7
+
8
+ Story steps
9
+ 1) Read the ticket
10
+ - Confirm scope, acceptance criteria, and files in scope.
11
+ - Treat unknowns as UNKNOWN by default.
12
+ 2) Investigate and document
13
+ - Investigate until one meaningful finding, then append a `## Notes` entry before more investigation.
14
+ - Include evidence (`path:start_line-end_line`; use `start=end` for single-line evidence) and a concrete NEXT action.
15
+ 3) Implement
16
+ - Make minimal, reviewable changes.
17
+ - Update docstrings/comments for touched code.
18
+ 4) Validate
19
+ - Run tests when possible; otherwise report "Not run" and why.
20
+ - Prefer pytest for new tests per `AGENTS.MD`.
21
+ 5) Report
22
+ - Summarize changes and reference relevant files.
23
+ - List remaining risks or follow-ups.
24
+ 6) Close
25
+ - Ask whether acceptance criteria are met before moving the ticket.
26
+
27
+ References
28
+ - `AGENTS.MD`
29
+ - `SKILLS.MD`
30
+ - `agent_onboarding/default/general/skills/workflow.md`
31
+
32
+
33
+
34
+
@@ -0,0 +1,104 @@
1
+ # Engineer Example: Artifact Workflow
2
+
3
+ Context
4
+ - An engineer needs to make control-file casing uniform so every role registry
5
+ and entrypoint resolves on a case-sensitive filesystem.
6
+ - The agent wants to capture scratch thoughts before committing to a ticket.
7
+
8
+ Scratch capture (`user_defined/`, the lane no tool writes to)
9
+ - Path: `user_defined/ideas/context_compass_control_file_casing.md`
10
+ - Example content:
11
+
12
+ ```md
13
+ # idea: context_compass_control_file_casing
14
+ ## Why now
15
+ - mixed-case control files resolve on Windows and fail on Linux.
16
+ - a readset path that fails to resolve blocks certification, not just a read.
17
+
18
+ ## Early hypothesis
19
+ - every control file uses one casing convention: `SKILLS.MD`, `AGENTS.MD`,
20
+ `WORKFLOWS.MD`.
21
+ - renaming the files is the small half; the reference sweep is the real work.
22
+
23
+ ## Risk notes
24
+ - a `*.md` glob silently skips `*.MD` files, so the sweep looks complete while
25
+ uppercase-named files keep the stale references.
26
+ - case-only renames need `git mv --force` when `core.ignorecase` is true.
27
+
28
+ ## Promote when
29
+ - the registry, every `INHERITS_SKILLS_FROM` header, and every readset entry
30
+ agree on one casing.
31
+ ```
32
+
33
+ - Path: `user_defined/todo/context_compass_control_file_casing.md`
34
+ - Example content:
35
+
36
+ ```md
37
+ # todo: context_compass_control_file_casing
38
+ - [ ] inventory every control-file reference, both extensions
39
+ - [ ] rename the files, then sweep the references
40
+ - [ ] prove every readset path still resolves
41
+ ```
42
+
43
+ Promote to ticket (curated)
44
+ - Path: `tickets/stories/YYYY-MM-DD_context_compass_control_file_casing_story.md`
45
+ - Example content:
46
+
47
+ ```md
48
+ # story: context_compass_control_file_casing
49
+ ## Goal
50
+ - one casing convention for control files, with every reference agreeing
51
+
52
+ ## Scope
53
+ - role registry, role `SKILLS.MD` files, and every document that cites them
54
+
55
+ ## Out of scope
56
+ - role-policy redesign or behavior changes
57
+
58
+ ## Files to touch
59
+ - context_compass/SKILLS.MD
60
+ - context_compass/agent_onboarding/*/*/SKILLS.MD
61
+ - context_compass/README.md
62
+ - context_compass/system_docs/src_architecture.md
63
+
64
+ ## Risks
65
+ - extension-filtered search hides references in uppercase-named files
66
+ - blanket find/replace rewrites prose that names a retired file on purpose
67
+
68
+ ## Tests
69
+ - every registry `skills path` resolves to a file on disk
70
+ - every `extends` value matches the target's `INHERITS_SKILLS_FROM` header
71
+ - zero occurrences of the retired casing outside generated bundles
72
+
73
+ ## Done criteria
74
+ - registry parses, all roles resolve, all readset paths resolve
75
+ - no remaining reference to the retired casing
76
+ ```
77
+
78
+ Strategy alignment
79
+ - Path: `attention_board.md` (route active work item to the canonical ticket)
80
+ - Path: active ticket `## Notes` (store rationale, evidence, and next actions)
81
+
82
+ Tactics / runbook
83
+ - Path: `tickets/tasks/YYYY-MM-DD_context_compass_control_file_casing_task.md`
84
+ - Example content:
85
+
86
+ ```md
87
+ # task: context_compass_control_file_casing
88
+ ## Preconditions
89
+ - current references are inventoried across both extensions
90
+ - scope constrained to docs and policy wiring
91
+
92
+ ## Steps
93
+ 1) rename the control files
94
+ 2) sweep every reference, matching on lowercased suffix so uppercase-named
95
+ files are included
96
+ 3) re-resolve every readset path and every inheritance header
97
+ 4) document counts and outcomes in ticket notes
98
+ ```
99
+
100
+ Work queue conversion
101
+ - When approved, convert the todo into a story/task ticket in `tickets/stories/` or `tickets/tasks/`.
102
+ - Example work items (summarized):
103
+ - Task: rename control files to the single casing convention
104
+ - Task: sweep references and prove readset resolution after the rename
@@ -0,0 +1,30 @@
1
+
2
+
3
+ # Engineer Example: Task Execution Flow
4
+
5
+ Context
6
+ - The user asks for a small refactor with tests.
7
+ - Follow `agent_onboarding/default/general/skills/workflow.md` and
8
+ `SKILLS.MD` for ticketing and execution rules.
9
+
10
+ Example flow (concise)
11
+ 1) Confirm scope and list files to be changed.
12
+ 2) Read the relevant module and docstrings.
13
+ 3) Propose a minimal plan (2-4 steps) and confirm.
14
+ 4) Implement the change with docstrings and tests.
15
+ 5) Run `pytest` and report results or say "Not run."
16
+
17
+ Expected output format (sample)
18
+ - Plan:
19
+ - Update `module_x.py` to split helper function.
20
+ - Add unit test for the new behavior.
21
+ - Run `pytest -q`.
22
+ - Changes:
23
+ - `module_x.py`: refactored helper, updated docstrings.
24
+ - `tests/unit/test_module_x.py`: new coverage for split helper.
25
+ - Tests:
26
+ - `pytest -q` (pass)
27
+
28
+
29
+
30
+
@@ -0,0 +1,34 @@
1
+
2
+
3
+ # ctx_autonomy_policy
4
+
5
+ Purpose
6
+ - Apply CTX Autonomy ranking to engineer ctx work.
7
+ - Keep file ctx strong enough to support downstream dir/component/architecture ctx.
8
+
9
+ Policy
10
+ - Use the CTX Autonomy rubric before accepting any file ctx update.
11
+ - Target >= 75 for file ctx on production code; do not proceed to dir ctx if below 60.
12
+ - Ensure file ctx captures public surface, dependencies, error model, invariants, lifecycle, and testing.
13
+ - If code changed, refresh file ctx first, then regenerate dir ctx and resurvey higher layers.
14
+
15
+ Unknowns Gate
16
+ - Apply the canonical policy in
17
+ `agent_onboarding/default/general/skills/unknowns_gate_reference.md`.
18
+ - Engineer ctx updates must not promote claims without evidence.
19
+ - Engineer file-ctx updates must preserve UNKNOWN status for unresolved behavior
20
+ so dir/component/architecture layers do not inherit inferred claims.
21
+ - Before accepting ctx quality >= 75, verify that key responsibilities and
22
+ failure-path claims are traceable to concrete evidence.
23
+
24
+ Engineer emphasis
25
+ - Fidelity: every listed behavior must map to actual code paths.
26
+ - Coverage: include non-obvious error paths and side effects.
27
+ - Depth: specify invariants, inputs/outputs, and dependency rules.
28
+
29
+ References
30
+ - `agent_onboarding/default/engineer/policies/ctx_autonomy_rubric.md`
31
+ - `agent_onboarding/default/engineer/policies/engineer_quality_policy.md`
32
+
33
+
34
+
@@ -0,0 +1,161 @@
1
+
2
+
3
+ # ctx_autonomy_rubric
4
+
5
+ Purpose
6
+ - Define how agents rank ctx quality across file, dir, component, and architecture layers.
7
+ - Prevent low-quality ctx from cascading into higher-level summaries.
8
+
9
+ Scope
10
+ - Applies whenever an agent creates or refreshes a layer of system context.
11
+
12
+ What "ctx" maps to in this package
13
+ This rubric is written in a layer vocabulary - `file_ctx`, `dir_ctx`,
14
+ `component ctx`, `architecture ctx`. Those are **layer names, not filenames**;
15
+ no artifact in this package is called any of them. Read them as:
16
+
17
+ | layer in this rubric | the document that holds it |
18
+ | --- | --- |
19
+ | file ctx | a node's authored fields in `system_docs/src_graph.md` (via its descriptor) |
20
+ | dir ctx | a package's section of `src_graph.md` |
21
+ | component ctx | `system_docs/src_components.md` |
22
+ | architecture ctx | `system_docs/src_architecture.md` |
23
+
24
+ - Source-of-truth chain, and note which way it runs:
25
+ - file ctx reflects code
26
+ - dir ctx reflects file ctx
27
+ - component ctx reflects dir ctx
28
+ - architecture ctx reflects component ctx
29
+
30
+ **Writing runs bottom-up; reading runs top-down.** They are the same hierarchy
31
+ traversed from opposite ends, and confusing them is a live failure mode:
32
+
33
+ ```
34
+ WRITE code -> file -> dir -> component -> architecture (evidence rises)
35
+ READ architecture -> component -> graph -> code (questions narrow)
36
+ ```
37
+
38
+ Authoring upward means a higher layer never claims more than its inputs support -
39
+ which is exactly what this rubric's score bands enforce. Reading downward means
40
+ each level hands you the key to the next, so you look things up instead of
41
+ searching. See
42
+ `agent_onboarding/default/engineer/skills/context_protocol.md` for the read
43
+ direction.
44
+
45
+ Policy
46
+ - Evaluate ctx quality with the CTX Autonomy rubric before using it as input for higher layers.
47
+ - If a ctx would score below 60, stop and refresh/return tasks until quality is acceptable.
48
+ - If a ctx scores 60-74, it is usable but must be scheduled for review before high-risk changes.
49
+ - If a ctx scores 75+, it is trusted for downstream synthesis.
50
+ - Do not generate higher-level ctx from lower-quality inputs.
51
+
52
+ Unknowns Gate
53
+ - Apply the canonical policy in
54
+ `agent_onboarding/default/general/skills/unknowns_gate_reference.md`.
55
+ - Do not promote ctx claims to FACT without evidence.
56
+ - CTX quality scoring inputs must be evidence-backed at each layer
57
+ (file -> dir -> component -> architecture); otherwise mark UNKNOWN and
58
+ halt higher-layer synthesis.
59
+ - If a source ctx claim is ambiguous, preserve UNKNOWN in downstream ctx
60
+ instead of normalizing it into an inferred FACT.
61
+
62
+ Meaningful data definition
63
+ - Accurate: statements match the source of truth (code or lower-level ctx).
64
+ - Complete: covers responsibilities, public surface, dependencies, and key flows.
65
+ - Specific: avoids vague claims; uses concrete symbols, paths, or behaviors.
66
+ - Traceable: can point back to a file path or ctx path that supports the claim.
67
+ - Current: aligns with freshness_state and latest hashes.
68
+
69
+ Ranking model (0-100)
70
+ Score each criterion 0-5, then compute:
71
+ sum((score/5) * weight)
72
+
73
+ Criteria and weights
74
+ - Fidelity to source (35)
75
+ - Coverage of key responsibilities and flows (20)
76
+ - Depth and specificity (15)
77
+ - Traceability to paths/ctx (15)
78
+ - Internal coherence (10)
79
+ - Freshness alignment (5)
80
+
81
+ Scoring anchors (0/3/5)
82
+ - Fidelity
83
+ - 5: All claims match code or cited ctx; no contradictions.
84
+ - 3: Mostly correct with minor drift or missing nuance.
85
+ - 0: Material inaccuracies or invented behavior.
86
+ - Coverage
87
+ - 5: Responsibilities, public surface, dependencies, key flows all covered.
88
+ - 3: One major area missing (e.g., error model or dependencies).
89
+ - 0: Only a shallow summary or a single section populated.
90
+ - Depth and specificity
91
+ - 5: Uses concrete symbols, paths, invariants, and behavioral detail.
92
+ - 3: Mix of specific and generic statements.
93
+ - 0: Vague or purely aspirational language.
94
+ - Traceability
95
+ - 5: Each major claim ties to a file/dir ctx path or matrix citation.
96
+ - 3: Some claims traceable, others floating.
97
+ - 0: No traceable sources.
98
+ - Internal coherence
99
+ - 5: No conflicts between sections (summary, dependencies, testing).
100
+ - 3: Minor contradictions or unclear boundaries.
101
+ - 0: Conflicting statements across sections.
102
+ - Freshness alignment
103
+ - 5: fresh + hashes match; computed fields consistent.
104
+ - 3: needs_review only; no hash mismatch.
105
+ - 0: stale/blocked or mismatched computed fields.
106
+
107
+ Score bands
108
+ - 90-100: A (Excellent)
109
+ - 75-89: B (Good)
110
+ - 60-74: C (Fair)
111
+ - 40-59: D (Weak)
112
+ - 0-39: F (Unusable)
113
+
114
+ Layer-specific guidance
115
+ - File ctx
116
+ - Must mirror code behavior, public surface, dependencies, error model, and lifecycle.
117
+ - High scores require clear invariants, side effects, and test expectations.
118
+ - Dir ctx
119
+ - Must summarize structure and responsibilities using file ctx only.
120
+ - Inventory and boundaries must match file ctx coverage; avoid generic summaries.
121
+ - Component ctx
122
+ - Must synthesize dir ctx into clear boundaries, dependency rules, and key flows.
123
+ - Avoid inventing runtime behavior not supported by dir ctx.
124
+ - Architecture ctx
125
+ - Must express system-level flows, non-goals, and integration boundaries.
126
+ - Must remain consistent with component ctx and cite the underlying matrix.
127
+
128
+ Descriptive examples (score bands)
129
+ - File ctx example (B vs D)
130
+ - B (80): "Exports RoleRouter.resolve_role; validates profile maps; raises ValueError on missing role paths; depends on context_compass_config; tests in tests/unit/context_compass/test_role_router.py."
131
+ - D (45): "Handles routing and errors." (no symbols, no paths, no dependencies)
132
+ - Dir ctx example (A vs C)
133
+ - A (92): "Owns role-chain resolution; includes resolver map + inheritance-frame context; excludes runtime execution policy."
134
+ - C (65): "Contains routing helpers." (no boundaries, no inventory alignment)
135
+ - Component ctx example (B vs F)
136
+ - B (78): "Component: role resolution. Boundary: the registry table and the resolved SKILLS chain; depends on onboarding policy contracts; key flow: select role -> resolve chain parent-first -> enforce execution gates."
137
+ - F (20): "Everything in src/project." (overbroad, no citations, no boundaries)
138
+ - Architecture ctx example (A vs C)
139
+ - A (95): "Flow: onboarding -> role selection -> ticket execution -> compaction recovery. Non-goals: product runtime features. Integration boundaries: external callers interact through entrypoint policy files only."
140
+ - C (62): "System is modular with many components." (no flows, no boundaries, no non-goals)
141
+
142
+ Actions when quality is low
143
+ - Score < 60: return/defer downstream ctx tasks; refresh the source ctx first.
144
+ - Score 60-74: proceed only if necessary, and flag for review/resurvey.
145
+ - Score >= 75: proceed.
146
+
147
+ Survey expectations (planned)
148
+ - Add a ctx autonomy survey job that computes scores for file/dir/component/architecture ctx.
149
+ - Record results in context_compass tickets and emit refresh/review tasks for low scores.
150
+ - Use results to prioritize ctx improvement work.
151
+
152
+ References
153
+ - `agent_onboarding/default/engineer/skills/context_protocol.md`
154
+ - `agent_onboarding/default/engineer/skills/staleness_protocol.md`
155
+
156
+
157
+
158
+
159
+
160
+
161
+