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.
- contextcompass-2.15.0.dist-info/METADATA +673 -0
- contextcompass-2.15.0.dist-info/RECORD +452 -0
- contextcompass-2.15.0.dist-info/WHEEL +4 -0
- contextcompass-2.15.0.dist-info/entry_points.txt +2 -0
- contextcompass-2.15.0.dist-info/licenses/LICENSE +21 -0
- contextcompass_cli/__init__.py +74 -0
- contextcompass_cli/__main__.py +195 -0
- contextcompass_cli/_package/AGENTS.MD +310 -0
- contextcompass_cli/_package/CONTEXT_COMPACTION.md +110 -0
- contextcompass_cli/_package/MANIFEST.md +485 -0
- contextcompass_cli/_package/PROFILE_CLASS_CREATION_GUIDE.md +426 -0
- contextcompass_cli/_package/README.md +266 -0
- contextcompass_cli/_package/SKILLS.MD +144 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/AGENTS.MD +54 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/README.md +43 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/behavioral_guidelines/continuity_fact_checker_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/examples/continuity_fact_checker_task_flow.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/policies/continuity_fact_checker_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/policies/continuity_fact_checker_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker.md +37 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker_deliverables.md +26 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/skills/continuity_fact_checker_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/continuity_fact_checker/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/AGENTS.MD +85 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/README.md +62 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/SKILLS.MD +74 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/behavioral_guidelines/design_engineer_workflow.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/behavioral_guidelines/design_validation_and_handoff.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/examples/adr_example.md +40 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/examples/design_task_flow.md +33 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/decision_record_policy.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/design_quality_policy.md +30 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/design_review_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/policies/system_document_quality_rubric.md +236 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/adr_and_decision_hygiene.md +38 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/api_and_interface_design.md +36 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/architecture_contexts.md +40 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/architecture_patch_contracts.md +43 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/architecture_tradeoffs.md +33 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/code_description_patch_contracts.md +46 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/component_patch_contracts.md +41 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/data_modeling.md +34 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/decomposition_and_boundaries.md +42 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/design_engineer_execution.md +65 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/design_review_protocol.md +34 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/nonfunctional_requirements.md +34 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/patch_framework_design.md +79 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/requirements_to_architecture.md +39 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md +347 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/src_components_instructions.md +405 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/system_design_method.md +45 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/tests_architecture_instructions.md +375 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/tests_components_instructions.md +406 -0
- contextcompass_cli/_package/agent_onboarding/default/design_engineer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/AGENTS.MD +53 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/README.md +42 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/behavioral_guidelines/developmental_editor_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/examples/developmental_editor_task_flow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/policies/developmental_editor_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/policies/developmental_editor_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor.md +36 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor_deliverables.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/skills/developmental_editor_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/developmental_editor/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/AGENTS.MD +54 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/README.md +43 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/behavioral_guidelines/draft_writer_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/examples/draft_writer_task_flow.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/policies/draft_writer_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/policies/draft_writer_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer.md +37 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer_deliverables.md +26 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/skills/draft_writer_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/draft_writer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/AGENTS.MD +493 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/README.md +53 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/SKILLS.MD +263 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/behavioral_guidelines/engineer_workflow.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/behavioral_guidelines/task_execution_and_validation.md +34 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/examples/artifact_workflow.md +104 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/examples/eng_task_flow.md +30 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/policies/ctx_autonomy_policy.md +34 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/policies/ctx_autonomy_rubric.md +161 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/policies/engineer_quality_policy.md +33 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/context_protocol.md +70 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/documentation_standards.md +120 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/engineer_execution.md +62 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/package_maintenance.md +195 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/patch_artifact_consumption.md +68 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/patch_framework_gating.md +72 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/src_graph_generation.md +341 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/src_graph_usage.md +161 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/staleness_protocol.md +49 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/system_document_build.md +360 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/system_orientation.md +83 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/skills/technical_expertise.md +48 -0
- contextcompass_cli/_package/agent_onboarding/default/engineer/workflows/README.md +9 -0
- contextcompass_cli/_package/agent_onboarding/default/general/AGENTS.MD +283 -0
- contextcompass_cli/_package/agent_onboarding/default/general/README.md +38 -0
- contextcompass_cli/_package/agent_onboarding/default/general/SKILLS.MD +92 -0
- contextcompass_cli/_package/agent_onboarding/default/general/WORKFLOWS.MD +23 -0
- contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/README.md +12 -0
- contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/agent_lifecycle_and_heartbeat.md +37 -0
- contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/onboarding_summary.md +41 -0
- contextcompass_cli/_package/agent_onboarding/default/general/behavioral_guidelines/work_intake_and_execution.md +44 -0
- contextcompass_cli/_package/agent_onboarding/default/general/policies/policy_skills.md +174 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/active_documentation.md +86 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/active_pointerboard.md +81 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/agent_identity.md +38 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/agent_lifecycle.md +21 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/agent_stance.md +38 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/career_selection.md +83 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/compaction_requirements.md +147 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/configuration_standards.md +72 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/context_compaction.md +104 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/context_gold.md +31 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/context_management.md +79 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/context_window_budget.md +64 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/execution_contract.md +234 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/general.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/llm_full_usage.md +111 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/mailbox_protocol.md +85 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/memory_management.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/mrp_policy.md +40 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/package_upgrade.md +135 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/reactive_documentation.md +105 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/repo_topology.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/role_local_workflows.md +41 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/security_and_secrets.md +46 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/self_certification.md +49 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/ticket_closure_attention_sync.md +57 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/ticket_microcycle.md +44 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/ticketing.md +175 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/ticketing_skill_contract.md +52 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/unknowns_gate_reference.md +66 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/user_approved_certification.md +32 -0
- contextcompass_cli/_package/agent_onboarding/default/general/skills/workflow.md +289 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/README.md +9 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/cleanup_context_compass.md +205 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/role_creation.md +39 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/start_context_compass_work.md +102 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/sync_attention_board.md +91 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/turn_in_selected_tickets.md +95 -0
- contextcompass_cli/_package/agent_onboarding/default/general/workflows/workflow_creation.md +38 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/AGENTS.MD +53 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/README.md +42 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/behavioral_guidelines/line_copy_editor_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/examples/line_copy_editor_task_flow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/policies/line_copy_editor_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/policies/line_copy_editor_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor.md +36 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor_deliverables.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/skills/line_copy_editor_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/line_copy_editor/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/new/AGENTS.MD +79 -0
- contextcompass_cli/_package/agent_onboarding/default/new/README.md +54 -0
- contextcompass_cli/_package/agent_onboarding/default/new/SKILLS.MD +35 -0
- contextcompass_cli/_package/agent_onboarding/default/new/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/new/behavioral_guidelines/user_onboarding_flow.md +52 -0
- contextcompass_cli/_package/agent_onboarding/default/new/policies/new_onboarding_policy.md +59 -0
- contextcompass_cli/_package/agent_onboarding/default/new/skills/configuration_map_guide.md +83 -0
- contextcompass_cli/_package/agent_onboarding/default/new/skills/first_time_profile_setup.md +60 -0
- contextcompass_cli/_package/agent_onboarding/default/new/skills/new.md +54 -0
- contextcompass_cli/_package/agent_onboarding/default/new/skills/onboarding_completion_and_next_step.md +54 -0
- contextcompass_cli/_package/agent_onboarding/default/new/skills/profile_model_explained.md +120 -0
- contextcompass_cli/_package/agent_onboarding/default/new/skills/system_overview_for_user.md +51 -0
- contextcompass_cli/_package/agent_onboarding/default/new/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/AGENTS.MD +63 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/README.md +41 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/SKILLS.MD +62 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/behavioral_guidelines/incident_workflow.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/behavioral_guidelines/platform_engineer_workflow.md +18 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/examples/platform_task_flow.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/policies/operational_safety_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/policies/platform_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/policies/production_change_management_policy.md +18 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/ci_cd_and_release.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/deployment_and_environments.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/incident_response_and_runbooks.md +35 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/infrastructure_as_code.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/observability_and_monitoring.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/performance_capacity_cost.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/platform_engineer_execution.md +41 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/skills/platform_security_basics.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/platform_engineer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/AGENTS.MD +53 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/README.md +42 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/behavioral_guidelines/proofreader_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/examples/proofreader_task_flow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/policies/proofreader_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/policies/proofreader_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader.md +36 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader_deliverables.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/skills/proofreader_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/proofreader/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/AGENTS.MD +58 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/README.md +41 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/SKILLS.MD +61 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/behavioral_guidelines/qa_workflow.md +18 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/behavioral_guidelines/release_signoff_workflow.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/examples/qa_task_flow.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/policies/defect_severity_policy.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/policies/quality_gate_policy.md +18 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/policies/test_evidence_policy.md +18 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/bug_triage_and_repro.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/qa_engineer_execution.md +29 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/quality_metrics.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/regression_and_release_quality.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_automation_practices.md +30 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_case_design.md +27 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_data_and_environments.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/skills/test_strategy_and_planning.md +31 -0
- contextcompass_cli/_package/agent_onboarding/default/qa_engineer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/AGENTS.MD +55 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/README.md +44 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/behavioral_guidelines/researcher_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/examples/researcher_task_flow.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/policies/researcher_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/policies/researcher_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher.md +38 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher_deliverables.md +27 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/skills/researcher_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/researcher/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/AGENTS.MD +55 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/README.md +43 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/SKILLS.MD +62 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/behavioral_guidelines/security_signoff_and_escalation.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/behavioral_guidelines/security_workflow.md +18 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/examples/security_review_flow.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/policies/risk_acceptance_policy.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/policies/secrets_and_keys_policy.md +19 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/policies/security_review_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/authn_authz_basics.md +24 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/dependency_and_supply_chain.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/incident_response_security.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/logging_audit_privacy.md +16 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/secure_architecture_review.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/secure_coding_review.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/security_engineer_execution.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/threat_modeling.md +25 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/skills/vulnerability_management.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/security_engineer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/AGENTS.MD +56 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/README.md +45 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/behavioral_guidelines/story_designer_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/examples/story_designer_task_flow.md +26 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/policies/story_designer_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/policies/story_designer_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer.md +39 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer_deliverables.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/skills/story_designer_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/story_designer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/AGENTS.MD +56 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/README.md +45 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/behavioral_guidelines/story_novel_artist_workflow.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/examples/story_novel_artist_task_flow.md +26 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/policies/story_novel_artist_handoff_policy.md +20 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/policies/story_novel_artist_quality_policy.md +22 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist.md +39 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist_advanced_context.md +17 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist_deliverables.md +28 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/skills/story_novel_artist_execution.md +23 -0
- contextcompass_cli/_package/agent_onboarding/default/story_novel_artist/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/AGENTS.MD +66 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/SKILLS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/WORKFLOWS.MD +15 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/behavioral_guidelines/data_engineer_behavior_overrides.md +6 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/policies/data_engineer_policy_overrides.md +6 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/profile_overrides.md +9 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/skills/data_engineer_skill_overrides.md +6 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/data_engineer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/AGENTS.MD +145 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/SKILLS.MD +37 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/WORKFLOWS.MD +17 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/behavioral_guidelines/synaptic_finishing_developer_behavior_overrides.md +12 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/comment_finishing_examples.py +65 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/docstring_finishing_examples.py +126 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/pytest_component_finishing_examples.py +51 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/pytest_integration_finishing_examples.py +59 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/examples/python/pytest_unit_finishing_examples.py +66 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/policies/synaptic_finishing_developer_policy_overrides.md +14 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/profile_overrides.md +17 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/comment_craft.md +51 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_craft.md +86 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_test_alignment.md +51 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/system_aware_docstrings.md +64 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/synaptic_finishing_developer_skill_overrides.md +11 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/component_tests.md +45 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/evidence_reporting.md +25 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/mocking.md +35 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_integration.md +32 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_unit.md +49 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/regression_tests.md +24 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/testing_overview.md +71 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/workflows/optimize_pytests_for_repo.md +272 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_finishing_developer/workflows/polish_repo_documentation.md +247 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/AGENTS.MD +386 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/README.md +31 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/SKILLS.MD +44 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/WORKFLOWS.MD +16 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/behavioral_guidelines/synaptic_behavior_overrides.md +17 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/anti_patterns.py +19 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/cleanup_patterns.py +22 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/docstrings.py +19 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/logging_patterns.py +11 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/protocols_and_abc.py +15 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_component_examples.py +15 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_integration_examples.py +17 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_unit_examples.py +13 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/policies/synaptic_policy_overrides.md +22 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/profile_overrides.md +27 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/attribute_aliasing_skill_benchmark.py +35 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/banned_patterns.md +110 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/cleanup_and_disposal.md +79 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/comments.md +39 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/docstrings.md +90 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/error_model.md +28 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/hot_path_attribute_aliasing.md +52 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/init_and_ownership.md +35 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/interfaces.md +47 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/logging.md +37 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/module_scope.md +38 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/refactor_limits.md +44 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/python/typing.md +52 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/synaptic_skill_overrides.md +24 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/evidence_reporting.md +35 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/mocking.md +31 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/pytest_integration.md +36 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/pytest_unit.md +42 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/regression_tests.md +26 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/skills/testing/testing_overview.md +196 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/workflows/README.md +8 -0
- contextcompass_cli/_package/agent_onboarding/user_defined/synaptic_python_developer/workflows/synaptic_python_developer_onboarding.md +226 -0
- contextcompass_cli/_package/artifact_board.md +64 -0
- contextcompass_cli/_package/artifacts/IMPORTANT_CONSIDERATION.md +43 -0
- contextcompass_cli/_package/artifacts/README.md +41 -0
- contextcompass_cli/_package/attention_board.md +79 -0
- contextcompass_cli/_package/config/context_compass_config.yaml +101 -0
- contextcompass_cli/_package/context_management/README.md +21 -0
- contextcompass_cli/_package/context_management/artifacts/.gitkeep +1 -0
- contextcompass_cli/_package/context_management/context_artifact_template.md +42 -0
- contextcompass_cli/_package/context_management/context_board.md +27 -0
- contextcompass_cli/_package/examples/adr_example.md +29 -0
- contextcompass_cli/_package/examples/artifact_workflow.md +20 -0
- contextcompass_cli/_package/examples/continuity_fact_checker_task_flow.md +23 -0
- contextcompass_cli/_package/examples/design_task_flow.md +35 -0
- contextcompass_cli/_package/examples/developmental_editor_task_flow.md +22 -0
- contextcompass_cli/_package/examples/draft_writer_task_flow.md +23 -0
- contextcompass_cli/_package/examples/eng_task_flow.md +31 -0
- contextcompass_cli/_package/examples/example_architecture/.gitkeep +0 -0
- contextcompass_cli/_package/examples/example_architecture/src_architecture.md +136 -0
- contextcompass_cli/_package/examples/example_architecture/src_architecture_index.md +46 -0
- contextcompass_cli/_package/examples/example_architecture/tests_architecture.md +148 -0
- contextcompass_cli/_package/examples/example_architecture/tests_architecture_index.md +46 -0
- contextcompass_cli/_package/examples/example_completed/.gitkeep +0 -0
- contextcompass_cli/_package/examples/example_completed/2026-02-19_context_compass_release_overview_artifact.md +33 -0
- contextcompass_cli/_package/examples/example_components/.gitkeep +0 -0
- contextcompass_cli/_package/examples/example_components/src_components.md +169 -0
- contextcompass_cli/_package/examples/example_components/src_components_index.md +44 -0
- contextcompass_cli/_package/examples/example_components/tests_components.md +96 -0
- contextcompass_cli/_package/examples/example_components/tests_components_index.md +42 -0
- contextcompass_cli/_package/examples/example_epics/.gitkeep +0 -0
- contextcompass_cli/_package/examples/example_epics/2026-02-19_context_compass_release_readiness_example_pack_epic.md +130 -0
- contextcompass_cli/_package/examples/example_graph_details/README.md +131 -0
- contextcompass_cli/_package/examples/example_graph_details/src/example/__init__.py +4 -0
- contextcompass_cli/_package/examples/example_graph_details/src/example/core/interfaces.py +10 -0
- contextcompass_cli/_package/examples/example_graph_details/src/example/core/resource.py +15 -0
- contextcompass_cli/_package/examples/example_graph_details/src/example/pipeline/pipeline.py +20 -0
- contextcompass_cli/_package/examples/example_graph_details/src/example/pipeline/stage.py +11 -0
- contextcompass_cli/_package/examples/example_graph_details/src/example/storage/store.py +20 -0
- contextcompass_cli/_package/examples/example_graph_details/src_graph.md +192 -0
- contextcompass_cli/_package/examples/example_graph_details/src_graph_index.md +32 -0
- contextcompass_cli/_package/examples/example_stories/.gitkeep +0 -0
- contextcompass_cli/_package/examples/example_stories/2026-02-19_context_compass_release_readiness_examples_story.md +120 -0
- contextcompass_cli/_package/examples/example_tasks/.gitkeep +0 -0
- contextcompass_cli/_package/examples/example_tasks/2026-02-19_context_compass_release_readiness_pack_task.md +147 -0
- contextcompass_cli/_package/examples/line_copy_editor_task_flow.md +23 -0
- contextcompass_cli/_package/examples/platform_task_flow.md +26 -0
- contextcompass_cli/_package/examples/proofreader_task_flow.md +23 -0
- contextcompass_cli/_package/examples/qa_task_flow.md +26 -0
- contextcompass_cli/_package/examples/repo_overview.md +63 -0
- contextcompass_cli/_package/examples/researcher_task_flow.md +23 -0
- contextcompass_cli/_package/examples/security_review_flow.md +24 -0
- contextcompass_cli/_package/examples/story_designer_task_flow.md +23 -0
- contextcompass_cli/_package/examples/story_novel_artist_task_flow.md +22 -0
- contextcompass_cli/_package/mailbox_board.md +79 -0
- contextcompass_cli/_package/special_instructions/README.md +16 -0
- contextcompass_cli/_package/system_docs/.gitkeep +0 -0
- contextcompass_cli/_package/system_docs/patches/active/README.md +25 -0
- contextcompass_cli/_package/system_docs/patches/active/_template_patch_id/architecture_patch.md +53 -0
- contextcompass_cli/_package/system_docs/patches/active/_template_patch_id/code_description_patch_TEMPLATE_COMPONENT.md +39 -0
- contextcompass_cli/_package/system_docs/patches/active/_template_patch_id/component_patch_TEMPLATE_COMPONENT.md +48 -0
- contextcompass_cli/_package/system_docs/system_docs_read_first.md +107 -0
- contextcompass_cli/_package/templates/epic_template.md +149 -0
- contextcompass_cli/_package/templates/story_template.md +131 -0
- contextcompass_cli/_package/templates/task_template.md +124 -0
- contextcompass_cli/_package/templates/workflow_advanced_template.md +111 -0
- contextcompass_cli/_package/templates/workflow_simple_template.md +65 -0
- contextcompass_cli/_package/tickets/README.md +24 -0
- contextcompass_cli/_package/tickets/epics/README.md +68 -0
- contextcompass_cli/_package/tickets/epics/archive/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/epics/backlog/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/epics/completed/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/stories/README.md +68 -0
- contextcompass_cli/_package/tickets/stories/archive/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/stories/backlog/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/stories/completed/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/tasks/README.md +67 -0
- contextcompass_cli/_package/tickets/tasks/archive/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/tasks/backlog/.gitkeep +0 -0
- contextcompass_cli/_package/tickets/tasks/completed/.gitkeep +0 -0
- contextcompass_cli/_package/tools/build_llm_full.py +307 -0
- contextcompass_cli/_package/tools/cleanup_context_compass.py +488 -0
- contextcompass_cli/_package/tools/migrate_boards.py +218 -0
- contextcompass_cli/_package/tools/package_manifest.py +351 -0
- contextcompass_cli/_package/tools/system_documents/index_document.py +476 -0
- contextcompass_cli/_package/tools/system_documents/python/assemble_graph.py +387 -0
- contextcompass_cli/_package/tools/system_documents/python/extract_graph.py +626 -0
- contextcompass_cli/_package/tools/system_documents/python/graph_semantics_tickets.py +405 -0
- contextcompass_cli/_package/tools/system_documents/python/graph_walker.py +375 -0
- contextcompass_cli/_package/tools/system_documents/python/migrate_authored_graph.py +179 -0
- contextcompass_cli/_package/tools/update_context_compass.py +511 -0
- contextcompass_cli/_package/user_defined/README.md +49 -0
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# src_architecture_instructions
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
- Define the exact build protocol for
|
|
7
|
+
`context_compass/system_docs/src_architecture.md`.
|
|
8
|
+
- Produce a durable C4 architecture document that is re-entry safe after
|
|
9
|
+
compaction.
|
|
10
|
+
|
|
11
|
+
## Canonical Output
|
|
12
|
+
- `context_compass/system_docs/src_architecture.md`
|
|
13
|
+
|
|
14
|
+
## Example Documents (Required Read)
|
|
15
|
+
- `context_compass/examples/example_architecture/src_architecture.md`
|
|
16
|
+
- `context_compass/examples/example_architecture/tests_architecture.md`
|
|
17
|
+
- `context_compass/examples/example_components/src_components.md`
|
|
18
|
+
- `context_compass/examples/example_components/tests_components.md`
|
|
19
|
+
|
|
20
|
+
The canonical output does not ship with the package. `system_docs/` is empty in
|
|
21
|
+
a fresh install, so on first run you are creating this document, not editing
|
|
22
|
+
one. The examples above are the shape reference; this repository is the source
|
|
23
|
+
of truth for the content.
|
|
24
|
+
|
|
25
|
+
## Required Inputs (Read First)
|
|
26
|
+
- `context_compass/system_docs/src_components.md`
|
|
27
|
+
- `context_compass/system_docs/src_graph.md`
|
|
28
|
+
- `context_compass/system_docs/src_graph_index.md`
|
|
29
|
+
- `context_compass/system_docs/tests_architecture.md`
|
|
30
|
+
- `context_compass/system_docs/tests_components.md`
|
|
31
|
+
- `context_compass/system_docs/patches/active/<patch_id>/architecture_patch.md`
|
|
32
|
+
(when patch lane is active)
|
|
33
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/src_components_instructions.md`
|
|
34
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/patch_framework_design.md`
|
|
35
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/architecture_patch_contracts.md`
|
|
36
|
+
- Active ticket and `context_compass/attention_board.md` route
|
|
37
|
+
|
|
38
|
+
## Indexing Contract (Non-Negotiable)
|
|
39
|
+
|
|
40
|
+
This document is AUTHORED. Nothing generates its prose. The only generated
|
|
41
|
+
artifact is its index, and the index is only as useful as the heading structure
|
|
42
|
+
you give it.
|
|
43
|
+
|
|
44
|
+
Regenerate the index in the SAME pass that edits the document:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
48
|
+
--doc context_compass/system_docs/src_architecture.md
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Heading discipline the index depends on:
|
|
52
|
+
- **Exactly one H1.** A second one and the indexer cannot identify the document
|
|
53
|
+
title, so it stops omitting it and emits a section spanning the whole file.
|
|
54
|
+
- **The navigable unit is H2 `## <Concern>`.** Consistent depth, never mixed.
|
|
55
|
+
- **Names unique and stable.** Index rows are selected on name; two sections
|
|
56
|
+
sharing a name are indistinguishable to a consumer.
|
|
57
|
+
- **No container headings in this document.** Every H2 is a selectable concern,
|
|
58
|
+
so there is no wrapper heading to select by mistake. Keep it that way: the
|
|
59
|
+
moment an H2 exists only to group other headings, it indexes as a range
|
|
60
|
+
covering all of them, and a reader selecting it loads that whole span
|
|
61
|
+
believing they sliced one section. On a production `src_components.md` that
|
|
62
|
+
mistake costs 37% of the document in a single slice.
|
|
63
|
+
|
|
64
|
+
Consume the index by slicing, never by reading the document whole:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
68
|
+
--doc context_compass/system_docs/src_architecture.md --slice "<section name>"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
It verifies the index before returning anything, refuses on a stale index, and
|
|
72
|
+
lists candidates rather than guessing when a name is ambiguous. Section names
|
|
73
|
+
are therefore the query - keep them unique and descriptive.
|
|
74
|
+
|
|
75
|
+
Verify before trusting any range:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
79
|
+
--doc context_compass/system_docs/src_architecture.md --check
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
An index records `line_count`, `content_sha256`, and `line_ending`. Insert one
|
|
83
|
+
line near the top and every range below it is wrong while still parsing and
|
|
84
|
+
still returning content - the WRONG content, confidently. On mismatch: STOP,
|
|
85
|
+
regenerate, do not eyeball an offset.
|
|
86
|
+
|
|
87
|
+
Full format specification:
|
|
88
|
+
`agent_onboarding/default/engineer/skills/system_document_build.md`
|
|
89
|
+
|
|
90
|
+
## Unknowns Gate (Non-Negotiable)
|
|
91
|
+
- New claims start as `UNKNOWN`.
|
|
92
|
+
- Promote to `FACT` only with direct evidence.
|
|
93
|
+
- Evidence must be concrete code/doc references, not naming inference.
|
|
94
|
+
|
|
95
|
+
## Required Section Contract
|
|
96
|
+
`src_architecture.md` must contain these sections in order:
|
|
97
|
+
1. `## Metadata`
|
|
98
|
+
2. `## Scope and Intent`
|
|
99
|
+
3. `## Indexing`
|
|
100
|
+
4. `## DO NOT ASSUME / Unknowns Gate`
|
|
101
|
+
5. `## Unknowns`
|
|
102
|
+
6. `## System Context (C4)`
|
|
103
|
+
7. `## System Boundary and External Interfaces`
|
|
104
|
+
8. `## Architecture Summary (C4)`
|
|
105
|
+
9. `## Entrypoints and Runtime Guardrails`
|
|
106
|
+
10. `## Boot and Configuration Sequence`
|
|
107
|
+
11. `## Data Flows and Sequences`
|
|
108
|
+
12. `## Operational Invariants`
|
|
109
|
+
13. `## Failure Modes and Error Paths`
|
|
110
|
+
14. `## C1 Code Map (Core Only)`
|
|
111
|
+
15. `## Diagrams`
|
|
112
|
+
16. `## Information Sources`
|
|
113
|
+
17. `## Context / Handoff Summary`
|
|
114
|
+
|
|
115
|
+
### The document names no path into this package
|
|
116
|
+
|
|
117
|
+
`src_architecture.md` is committed to the repository it describes and, in a
|
|
118
|
+
packaged project, ships inside the wheel - some projects publish it as a module
|
|
119
|
+
attribute so a consumer can read the architecture without leaving the
|
|
120
|
+
interpreter. Every one of those readers has the code and does not have Context
|
|
121
|
+
Compass. A line like `context_compass/tools/system_documents/index_document.py`
|
|
122
|
+
resolves for you and for nobody downstream.
|
|
123
|
+
|
|
124
|
+
**No path in the produced document points into this package - written either
|
|
125
|
+
way.** `context_compass/tools/system_documents/index_document.py` and a bare
|
|
126
|
+
`tools/system_documents/index_document.py` are the same file; the second merely
|
|
127
|
+
drops the prefix because whoever wrote it was thinking install-relative. The
|
|
128
|
+
unprefixed form is the commoner leak and much the easier to miss, so the rule is
|
|
129
|
+
about the destination, not the spelling. The same goes for `agent_onboarding/`,
|
|
130
|
+
`system_docs/`, `patches/active/` and any tool filename.
|
|
131
|
+
|
|
132
|
+
Not in `## Indexing`, not in `## Information Sources`, not in a cross-reference,
|
|
133
|
+
not in a validation hint. This is a hard rule, and it is checked in the Quality
|
|
134
|
+
Gate.
|
|
135
|
+
|
|
136
|
+
- **Maintenance commands are relocated, not deleted.** The command that rebuilds
|
|
137
|
+
the index lives in this skill, which is where a maintainer already is when
|
|
138
|
+
they need it. The document's `## Indexing` section states that an index
|
|
139
|
+
companion exists and what heading rules it depends on. A reader needs both
|
|
140
|
+
facts and neither one requires naming a tool.
|
|
141
|
+
- **Cross-references use a logical document id**: `src_components`, not
|
|
142
|
+
`context_compass/system_docs/src_components.md`. The id survives the document
|
|
143
|
+
being vendored, renamed, or published under a different root. The path does
|
|
144
|
+
not.
|
|
145
|
+
- **Paths into the subject stay, and stay repo-relative.** `src/<pkg>/engine.py`
|
|
146
|
+
in a C1 entry is exactly right - that is the codebase being documented and it
|
|
147
|
+
is the whole point of the entry. Relative to the repository root, never
|
|
148
|
+
absolute: `C:\Users\...\src\<pkg>\engine.py` encodes one machine's checkout
|
|
149
|
+
location into a document that gets committed and shipped, so it is wrong for
|
|
150
|
+
every reader who is not you, and it breaks the moment the repo is cloned
|
|
151
|
+
anywhere else. The rule bans paths into the tooling that produced the
|
|
152
|
+
document, never paths into the thing it describes.
|
|
153
|
+
|
|
154
|
+
`src_graph.md` is the model to copy: it is fully generated and contains zero
|
|
155
|
+
install-prefixed paths.
|
|
156
|
+
|
|
157
|
+
### Sections not in the contract
|
|
158
|
+
|
|
159
|
+
The contract is a **minimum in a fixed relative order**, not a whitelist. Other
|
|
160
|
+
sections are permitted and are common. Measured on one real architecture
|
|
161
|
+
document: 44 H2 sections against this 17-section contract. Read literally as
|
|
162
|
+
"only these sections", a recomposition deletes roughly 1,200 lines.
|
|
163
|
+
|
|
164
|
+
If material genuinely does not belong here, it is **moved, never deleted**:
|
|
165
|
+
|
|
166
|
+
- relocate it to a named target - the patch lane
|
|
167
|
+
(`system_docs/patches/active/<patch_id>/`) is the conventional destination
|
|
168
|
+
- name that target in `## Context / Handoff Summary`
|
|
169
|
+
- state plainly that until it is re-absorbed it lives in neither canonical
|
|
170
|
+
document
|
|
171
|
+
|
|
172
|
+
"Delete it because the contract does not list it" is never the right answer.
|
|
173
|
+
|
|
174
|
+
## C1 Code Map Contract
|
|
175
|
+
Every C1 entry must include:
|
|
176
|
+
- `path`
|
|
177
|
+
- `start_line`
|
|
178
|
+
- `end_line`
|
|
179
|
+
- `loc`
|
|
180
|
+
- `verified_at` (UTC DateTime `YYYY-MM-DDTHH:MM:SSZ`)
|
|
181
|
+
|
|
182
|
+
**Directories are not valid C1 entries.** A directory has no line range, and the
|
|
183
|
+
join to `src_graph.md` is keyed by source file, so a directory citation can never
|
|
184
|
+
resolve. Expand it into its constituent source files - excluding whatever the
|
|
185
|
+
graph's scope already excludes - and measure each.
|
|
186
|
+
Do not write `UNKNOWN` for a directory: `UNKNOWN` means "not yet verified and
|
|
187
|
+
here is the investigation target", and a directory is unverifiable in principle -
|
|
188
|
+
the marker would sit there forever with nothing to resolve it.
|
|
189
|
+
|
|
190
|
+
Ranges are measured, never estimated. If the exact range is not verified, keep
|
|
191
|
+
the claim `UNKNOWN` and add an investigation target in `## Unknowns` rather than
|
|
192
|
+
writing a plausible number.
|
|
193
|
+
|
|
194
|
+
## Diagram Contract
|
|
195
|
+
- Include one ASCII architecture diagram.
|
|
196
|
+
- Include one Mermaid architecture diagram.
|
|
197
|
+
- Keep labels operational (ownership, flow, boundary), not decorative.
|
|
198
|
+
- Keep diagram terms aligned with section terminology.
|
|
199
|
+
|
|
200
|
+
## Build Sequence (Top-Down, Required)
|
|
201
|
+
1. Confirm active ticket route and architecture scope.
|
|
202
|
+
2. If the document already exists, capture the Content Preservation baseline
|
|
203
|
+
now, before the first edit. Captured later it proves nothing.
|
|
204
|
+
3. Read required example documents and note formatting patterns to preserve.
|
|
205
|
+
4. Re-read companion component/test docs for boundary alignment.
|
|
206
|
+
5. Unwrap any heading spanning more than one physical line. A reflowed heading
|
|
207
|
+
parses as several sections; the first wins "narrowest match" and `--slice`
|
|
208
|
+
returns a stub. `index_document.py` warns on unclosed brackets, which is the
|
|
209
|
+
usual tell, but it cannot catch every wrap - scan the heading list once
|
|
210
|
+
before you trust it.
|
|
211
|
+
6. Draft/refresh `Metadata`, `Scope and Intent`, and Unknowns sections.
|
|
212
|
+
7. Define system boundary, interfaces, and high-level runtime summary.
|
|
213
|
+
8. Write entrypoints and boot/configuration sequence.
|
|
214
|
+
9. Write data-flow sequences (normal path and failure path).
|
|
215
|
+
10. Capture invariants and failure modes with source evidence.
|
|
216
|
+
11. Build C1 core map with line ranges, LOC, and verification timestamps.
|
|
217
|
+
12. Refresh diagrams to match narrative and naming.
|
|
218
|
+
13. If patch lane is active, verify architecture patch updates are complete and
|
|
219
|
+
linked in tickets.
|
|
220
|
+
14. Refresh `Information Sources` and `Context / Handoff Summary`.
|
|
221
|
+
15. Rebuild the index in this same pass, then satisfy the Content Preservation
|
|
222
|
+
Gate and the Quality Gate.
|
|
223
|
+
|
|
224
|
+
Do not skip sequence order. If blocked, write a `BLOCKER` note in the active
|
|
225
|
+
ticket before expanding scope.
|
|
226
|
+
|
|
227
|
+
## Content Preservation Gate (Non-Negotiable)
|
|
228
|
+
|
|
229
|
+
**Structural checks cannot see content loss.** Every check in the Quality Gate
|
|
230
|
+
below is structural - sections present, fields present, ranges present. A
|
|
231
|
+
recomposition can pass all of them while having silently destroyed text.
|
|
232
|
+
|
|
233
|
+
This is not hypothetical. A real recomposition of a 2,249-line architecture
|
|
234
|
+
document lost ~170 lines to a regex that captured only the description text on
|
|
235
|
+
the same physical line as the path: fifteen wrapped descriptions truncated, two
|
|
236
|
+
destroyed outright, and a previous `## Context / Handoff Summary` overwritten,
|
|
237
|
+
taking a record of decisions in force with it. All six structural checks passed
|
|
238
|
+
the entire time. It was caught by a human noticing the file had shrunk.
|
|
239
|
+
|
|
240
|
+
So, before the first transform:
|
|
241
|
+
|
|
242
|
+
1. Capture a **multiset** of the document's non-blank, whitespace-normalised
|
|
243
|
+
lines. Counts, not a set - a set cannot see that a line appearing three times
|
|
244
|
+
now appears once.
|
|
245
|
+
2. Do the work.
|
|
246
|
+
3. Re-capture and compare. Every line from the baseline must appear either in
|
|
247
|
+
the resulting document or in a **named migration target** you can point at.
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
# BEFORE the first transform
|
|
251
|
+
grep -v '^[[:space:]]*$' DOC.md | sed 's/[[:space:]]\+/ /g' | sort | uniq -c > /tmp/before.txt
|
|
252
|
+
|
|
253
|
+
# AFTER - the document PLUS every target you moved material into
|
|
254
|
+
cat DOC.md MIGRATION_TARGET.md ... | grep -v '^[[:space:]]*$' \
|
|
255
|
+
| sed 's/[[:space:]]\+/ /g' | sort | uniq -c > /tmp/after.txt
|
|
256
|
+
|
|
257
|
+
diff /tmp/before.txt /tmp/after.txt
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
**The `after` capture must span the document and its migration targets.**
|
|
261
|
+
Comparing the document against itself contradicts the rule above: relocation is
|
|
262
|
+
explicitly allowed, so every legitimately moved line reports as loss. That fires
|
|
263
|
+
hardest on a recomposition that moves material - the exact case this gate exists
|
|
264
|
+
for - and a gate that cries wolf is disabled by the second person who hits it.
|
|
265
|
+
|
|
266
|
+
**The baseline must be captured BEFORE the first edit.** Captured afterwards it
|
|
267
|
+
proves nothing - it describes the document you already built, which is the exact
|
|
268
|
+
trap that makes "I verified it" feel true while content is gone.
|
|
269
|
+
|
|
270
|
+
**Reformatting reads as loss under a line comparison.** Rewrapping prose or
|
|
271
|
+
changing a record's shape leaves the content intact and the line text different,
|
|
272
|
+
so this recipe flags it. When a pass deliberately reshapes entries, compare
|
|
273
|
+
extracted content - the paths, the field values, the claims - rather than raw
|
|
274
|
+
lines, or the gate fails on work that lost nothing. Do not respond by relaxing
|
|
275
|
+
the gate; respond by comparing the right thing.
|
|
276
|
+
|
|
277
|
+
A line legitimately removed is fine. A line you cannot account for is a defect,
|
|
278
|
+
and this gate fails until you can name where it went.
|
|
279
|
+
|
|
280
|
+
## Quality Gate (Pass/Fail)
|
|
281
|
+
Pass only when all checks are true:
|
|
282
|
+
- [ ] Content Preservation Gate satisfied: every baseline line is present
|
|
283
|
+
in this document or in a named migration target.
|
|
284
|
+
- [ ] Required section order exists and is complete.
|
|
285
|
+
- [ ] Unknowns are explicit and carry investigation targets.
|
|
286
|
+
- [ ] Boundary/interfaces and boot sequence are concrete and testable.
|
|
287
|
+
- [ ] C1 entries include path, range, LOC, and verified_at.
|
|
288
|
+
- [ ] Diagrams match written flow and use aligned terminology.
|
|
289
|
+
- [ ] Information Sources cover every promoted FACT.
|
|
290
|
+
- [ ] No path in the document begins with the install directory, and every path
|
|
291
|
+
into the documented codebase is repo-relative rather than absolute.
|
|
292
|
+
|
|
293
|
+
Passing this gate means the document is structurally sound, not that it is good.
|
|
294
|
+
Every check above is binary and none of them can tell "Uses a lock." from a
|
|
295
|
+
sentence that names the lock order and the deadlock it prevents. Score the
|
|
296
|
+
document with
|
|
297
|
+
`agent_onboarding/default/design_engineer/policies/system_document_quality_rubric.md`
|
|
298
|
+
(src_architecture profile) and record the total in the active ticket. Below 60 it
|
|
299
|
+
is not usable as evidence downstream.
|
|
300
|
+
|
|
301
|
+
## Validation Commands
|
|
302
|
+
- `rg -n '^#{1,6} .*[([][^)\]]*$' context_compass/system_docs/src_architecture.md` - headings with an unclosed bracket, the usual sign of a wrap
|
|
303
|
+
- `rg -n "^## " context_compass/system_docs/src_architecture.md`
|
|
304
|
+
- `rg -n "UNKNOWN|C1 Code Map|Information Sources|Context / Handoff Summary" context_compass/system_docs/src_architecture.md`
|
|
305
|
+
- `rg -n "path|start_line|end_line|loc|verified_at" context_compass/system_docs/src_architecture.md`
|
|
306
|
+
|
|
307
|
+
Two that must return nothing. These are the portability rule, and unlike the
|
|
308
|
+
others a hit is a defect rather than a thing to eyeball:
|
|
309
|
+
|
|
310
|
+
- `rg -n "context_compass/|agent_onboarding/|tools/system_documents/|index_document\.py|system_docs/|patches/active/" context_compass/system_docs/src_architecture.md` -
|
|
311
|
+
any hit is a path into this package that a downstream reader cannot resolve.
|
|
312
|
+
Note the alternation. Checking only for `context_compass/` finds nothing on a
|
|
313
|
+
real leaked document, because an agent writing from inside the install writes
|
|
314
|
+
`python tools/system_documents/index_document.py --doc system_docs/src_architecture.md`
|
|
315
|
+
with no prefix at all. That is the same file and the same defect.
|
|
316
|
+
- `rg -n "([A-Za-z]:\\\\|^\s*-?\s*path:\s*[\`']?/)" context_compass/system_docs/src_architecture.md` -
|
|
317
|
+
absolute paths, Windows or POSIX, which encode one machine's checkout location
|
|
318
|
+
|
|
319
|
+
## Staleness Triggers (When Update Is Mandatory)
|
|
320
|
+
- Boundary or integration contracts changed.
|
|
321
|
+
- Boot/configuration ordering changed.
|
|
322
|
+
- Invariants/failure modes changed.
|
|
323
|
+
- C1 line ranges became stale from code edits.
|
|
324
|
+
- `src_components.md` introduces term/boundary changes.
|
|
325
|
+
- `src_graph.md` changed because documented source wiring or
|
|
326
|
+
ownership relationships changed.
|
|
327
|
+
- `src_graph_index.md` changed because canonical object relationships or ownership
|
|
328
|
+
moved.
|
|
329
|
+
- Active `architecture_patch.md` changed for the same patch id.
|
|
330
|
+
|
|
331
|
+
## Anti-Patterns (Reject)
|
|
332
|
+
- Placeholder claims without evidence.
|
|
333
|
+
- C1 map entries without ranges/LOC/verified_at.
|
|
334
|
+
- Diagrams that do not match section content.
|
|
335
|
+
- Mixing component-level deep dives into architecture sections.
|
|
336
|
+
- **Naming Context Compass anywhere in the document.** A `context_compass/...`
|
|
337
|
+
path, a tool invocation, a pointer at a skill file. The document ships with
|
|
338
|
+
the codebase; the tooling does not ship with it. Reference the documented
|
|
339
|
+
source instead, and put maintenance commands in this skill.
|
|
340
|
+
- **Absolute paths in C1 entries or Information Sources.** Repo-relative only.
|
|
341
|
+
An absolute path is correct on exactly one machine.
|
|
342
|
+
|
|
343
|
+
## Handoff Rule
|
|
344
|
+
- End with a concise `Context / Handoff Summary` that states:
|
|
345
|
+
- what changed,
|
|
346
|
+
- what remains unknown,
|
|
347
|
+
- where the next reader should start.
|