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
contextcompass_cli/_package/agent_onboarding/default/engineer/policies/engineer_quality_policy.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# engineer_quality_policy
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Establish the quality bar for engineer changes.
|
|
7
|
+
|
|
8
|
+
Policy
|
|
9
|
+
- Every touched function/class must have a rich docstring aligned with the behavior.
|
|
10
|
+
- Tests must be added or updated for behavioral changes.
|
|
11
|
+
- Avoid drive-by refactors; limit edits to the requested scope.
|
|
12
|
+
- If a class implements cleanup, assume it is not used after cleanup completes.
|
|
13
|
+
- Default cleanup posture for owned references is delete/remove the live field
|
|
14
|
+
surface; retain `None` only when the contract explicitly needs a post-cleanup
|
|
15
|
+
tombstone field.
|
|
16
|
+
- Prefer `check_cleaned()` fail-fast behavior when the contract requires active state.
|
|
17
|
+
- Use `if self._cleaned: return` only when non-throwing behavior is explicit contract.
|
|
18
|
+
- Do not add `None` guards on internally owned fields unless optionality is proven.
|
|
19
|
+
Unknowns Gate
|
|
20
|
+
- Apply the canonical policy in
|
|
21
|
+
`agent_onboarding/default/general/skills/unknowns_gate_reference.md`.
|
|
22
|
+
- UNKNOWN is still the default for unevidenced claims in engineer quality reviews.
|
|
23
|
+
- Quality findings must cite concrete file/symbol evidence or remain UNKNOWN.
|
|
24
|
+
- Do not treat failing tests, naming patterns, or historical assumptions as
|
|
25
|
+
contract evidence without direct source verification.
|
|
26
|
+
|
|
27
|
+
Exceptions
|
|
28
|
+
- Only allowed with explicit user approval, documented in the response.
|
|
29
|
+
|
|
30
|
+
References
|
|
31
|
+
- `AGENTS.MD`
|
|
32
|
+
- `agent_onboarding/default/general/skills/unknowns_gate_reference.md`
|
|
33
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# context_protocol
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Make the system documents the primary way you NAVIGATE: they turn "somewhere in
|
|
7
|
+
this repository" into a short list of files worth opening.
|
|
8
|
+
- Keep the code authoritative for what the system actually DOES. The documents
|
|
9
|
+
describe intent as of the moment somebody wrote it down; the code is what runs.
|
|
10
|
+
|
|
11
|
+
When to use
|
|
12
|
+
- Before any code edits, investigations, or architectural changes.
|
|
13
|
+
|
|
14
|
+
Required flow - descend the hierarchy, do not enter in the middle
|
|
15
|
+
1. `system_docs/src_architecture.md` - which part of the system. Baseline read;
|
|
16
|
+
you already hold it.
|
|
17
|
+
2. `system_docs/src_components_index.md` - look up the subsystem name the
|
|
18
|
+
architecture gave you. Take the section name and range.
|
|
19
|
+
3. `system_docs/src_components.md` - **slice** that section. It gives you the
|
|
20
|
+
component's responsibilities, owned state, and its `Key Files (C1)`.
|
|
21
|
+
4. `system_docs/src_graph_index.md` - look up the node names the component named.
|
|
22
|
+
5. `system_docs/src_graph.md` - **slice** those nodes for wiring: ownership,
|
|
23
|
+
creation, publication, validation, borrowing, callers.
|
|
24
|
+
6. **The code.** Open the files the graph just handed you and read them.
|
|
25
|
+
|
|
26
|
+
Every step is a lookup keyed on a name the previous step produced. That is why the
|
|
27
|
+
order matters: enter at the graph with no name in hand and you are searching tens of
|
|
28
|
+
thousands of lines for something you cannot yet describe.
|
|
29
|
+
|
|
30
|
+
The index is the ENTRY POINT to a large document, not a fallback for when something
|
|
31
|
+
goes wrong. `src_components.md` and `src_graph.md` are never read whole - they are
|
|
32
|
+
sliced through their indexes, every time. See
|
|
33
|
+
`agent_onboarding/default/engineer/skills/src_graph_usage.md`.
|
|
34
|
+
- For system-impacting changes, apply the mandatory gate in
|
|
35
|
+
`agent_onboarding/default/engineer/skills/patch_framework_gating.md` before
|
|
36
|
+
implementation.
|
|
37
|
+
- For patch-lane work, follow
|
|
38
|
+
`agent_onboarding/default/engineer/skills/patch_artifact_consumption.md`
|
|
39
|
+
before code edits.
|
|
40
|
+
- Review `attention_board.md` first, then open the linked active ticket(s) for current intent.
|
|
41
|
+
- **Read the code you are about to change.** Always. The documents told you which
|
|
42
|
+
file; they did not tell you what that file does today.
|
|
43
|
+
- If a document and the source disagree, the source wins and the document is stale.
|
|
44
|
+
Record the contradiction - it is a finding, not a detail to smooth over - and fix
|
|
45
|
+
or file it.
|
|
46
|
+
|
|
47
|
+
Rules
|
|
48
|
+
- Always prefer documented context over assumptions. Prefer the source over both.
|
|
49
|
+
- Treat UNKNOWN as default until evidence is attached. A document is evidence of
|
|
50
|
+
intent; only the source is evidence of behaviour.
|
|
51
|
+
- Keep architecture/components docs in sync with actual boundaries.
|
|
52
|
+
- Read `src_components.md` and `src_graph.md` by slice through their indexes. Never
|
|
53
|
+
whole. That is a rule about HOW, not WHETHER - slice them freely and often.
|
|
54
|
+
- Read what the task needs and no more. These documents scale with the repository;
|
|
55
|
+
loading all of them is not thoroughness, it is a spent context budget. See
|
|
56
|
+
`agent_onboarding/default/general/skills/context_window_budget.md`.
|
|
57
|
+
- Block implementation when patch-framework entry-gate artifacts are missing for
|
|
58
|
+
system-impacting work.
|
|
59
|
+
- If a doc is missing, create it before implementing related changes.
|
|
60
|
+
|
|
61
|
+
Precedence
|
|
62
|
+
- This protocol and `agent_onboarding/default/engineer/SKILLS.MD` define how system
|
|
63
|
+
documents are read. **A workflow does not get to override it.** A workflow may say
|
|
64
|
+
which documents a lane cares about; it may not instruct you to read a large
|
|
65
|
+
document whole, to skip an index, or to treat the raw document as the primary
|
|
66
|
+
surface. If one does, follow the hierarchy and say the workflow is stale.
|
|
67
|
+
|
|
68
|
+
Examples
|
|
69
|
+
- `agent_onboarding/default/general/README.md`
|
|
70
|
+
|
contextcompass_cli/_package/agent_onboarding/default/engineer/skills/documentation_standards.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# Documentation Standards (Skill)
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
Architecture and components docs must be deep enough to reorient from a blank slate
|
|
7
|
+
without relying on memory, oral tradition, or "obvious" assumptions.
|
|
8
|
+
|
|
9
|
+
These standards exist so *agents* (human or AI) can safely extend the system without inventing behavior.
|
|
10
|
+
|
|
11
|
+
## Non-Negotiables (Hardlines)
|
|
12
|
+
- **No handwaving.** Every claim must be grounded in source evidence or marked as **UNKNOWN**.
|
|
13
|
+
- **Explicit entrypoints and flows.** If it's core behavior, show how it is entered and how it executes.
|
|
14
|
+
- **Ownership + lifecycle clarity.** Who creates it, who owns it, how it is cleaned up, and in what order.
|
|
15
|
+
- **Concurrency is first-class.** Document locks, queues, gates, thread-affinity rules, and failure modes.
|
|
16
|
+
- **Consistency across layers.** C4 architecture and C3/C2/C1 components must not contradict.
|
|
17
|
+
- **Diagrams are required.** Maintain ASCII + Mermaid for key flows.
|
|
18
|
+
|
|
19
|
+
## Core Rules
|
|
20
|
+
- No handwaving. Every claim must be grounded in source evidence or marked as unknown.
|
|
21
|
+
- Use explicit entrypoints, flows, and ownership boundaries.
|
|
22
|
+
- Record lifecycle and cleanup order for each core component.
|
|
23
|
+
- Capture invariants, failure modes, and concurrency constraints.
|
|
24
|
+
- Keep C4 (architecture) and C3/C2/C1 (components) consistent.
|
|
25
|
+
- Maintain ASCII and Mermaid diagrams for key flows.
|
|
26
|
+
|
|
27
|
+
## Evidence Discipline
|
|
28
|
+
What counts as evidence:
|
|
29
|
+
- A concrete file + symbol reference: `src/path/file.py:Class.method` or `src/path/file.py:function`
|
|
30
|
+
- A reference to a previously approved doc section that was itself code-grounded
|
|
31
|
+
|
|
32
|
+
What **does not** count as evidence:
|
|
33
|
+
- "Typical framework behavior"
|
|
34
|
+
- "Probably"
|
|
35
|
+
- Naming conventions, patterns, or vibes
|
|
36
|
+
|
|
37
|
+
### Required behavior when evidence is missing
|
|
38
|
+
- Write **UNKNOWN** explicitly.
|
|
39
|
+
- Add the item to an **Unknowns** section with:
|
|
40
|
+
- why it matters,
|
|
41
|
+
- where to investigate (file + symbol),
|
|
42
|
+
- and status (uninvestigated / investigating / blocked).
|
|
43
|
+
|
|
44
|
+
### Inline evidence style (recommended)
|
|
45
|
+
Use one of these patterns inside the text:
|
|
46
|
+
- `EVIDENCE: src/.../file.py:Symbol`
|
|
47
|
+
- `UNKNOWN: ... (investigate src/.../file.py:Symbol)`
|
|
48
|
+
|
|
49
|
+
## Required Sections
|
|
50
|
+
|
|
51
|
+
### Architecture Docs (C4)
|
|
52
|
+
Required sections (minimum):
|
|
53
|
+
- Scope and Intent
|
|
54
|
+
- System Context and Boundaries
|
|
55
|
+
- Entrypoints and Boot Sequence
|
|
56
|
+
- Major component responsibilities and interactions
|
|
57
|
+
- Ownership, lifecycle, and cleanup rules
|
|
58
|
+
- Invariants and failure modes
|
|
59
|
+
- Evidence and information sources
|
|
60
|
+
|
|
61
|
+
Strongly recommended additions:
|
|
62
|
+
- Operational playbook (bring-up + teardown)
|
|
63
|
+
- Troubleshooting section (common failure modes -> where to look)
|
|
64
|
+
- Diagram legend (how to interpret optional vs core subsystems)
|
|
65
|
+
|
|
66
|
+
### Component Docs (C3/C2/C1)
|
|
67
|
+
Required sections (minimum):
|
|
68
|
+
- C3 components with responsibilities and contracts
|
|
69
|
+
- C2 subcomponents with wiring and data structures
|
|
70
|
+
- C1 code map for entrypoints and core files
|
|
71
|
+
- Method-level call flows for core behaviors
|
|
72
|
+
- Wiring tables / registry keys for runtime lookups
|
|
73
|
+
|
|
74
|
+
Strongly recommended additions:
|
|
75
|
+
- Registry "quick reference" for common string keys and defaults
|
|
76
|
+
- Ownership matrix (who owns what; who may call what)
|
|
77
|
+
- Cleanup cascade (parent -> child teardown order)
|
|
78
|
+
|
|
79
|
+
### Patch Docs (Temporary, When Patch Lane Is Active)
|
|
80
|
+
Required minimums for patch docs under `system_docs/patches/active/<patch_id>/`:
|
|
81
|
+
- `architecture_patch.md`: objective/non-goals, changed components, invariants,
|
|
82
|
+
interface deltas, migration order, rollback, ticket coverage matrix.
|
|
83
|
+
- `component_patch_<component>.md`: before/after behavior, interface deltas,
|
|
84
|
+
state/failure deltas, dependency/ordering, validation expectations.
|
|
85
|
+
- `code_description_patch_<component>.md` (conditional): control flow,
|
|
86
|
+
edge/error semantics, invariants/idempotency, explicit non-goals.
|
|
87
|
+
|
|
88
|
+
Gate rule
|
|
89
|
+
- For system-impacting work, implementation should not start until required
|
|
90
|
+
patch docs exist and are linked from the active ticket.
|
|
91
|
+
|
|
92
|
+
## Metadata & Status (If Present)
|
|
93
|
+
When a doc includes a Metadata block:
|
|
94
|
+
- Update the `Updated:` date whenever you change behavior descriptions.
|
|
95
|
+
- Keep `Status:` honest (draft / current / deprecated).
|
|
96
|
+
- If the doc is a "durable context" artifact, prefer **append-only enrichment** over rewriting history.
|
|
97
|
+
|
|
98
|
+
## Diagram Standards
|
|
99
|
+
- Provide **ASCII** for terminal scanning and diffs.
|
|
100
|
+
- Provide **Mermaid** for higher fidelity.
|
|
101
|
+
- Label edges with verbs when it improves clarity (e.g., "creates", "owns", "enqueues").
|
|
102
|
+
- Show optional subsystems with dashed arrows/edges.
|
|
103
|
+
- Don't let diagrams become "art": clarity > completeness.
|
|
104
|
+
|
|
105
|
+
## Consistency Rules (Across Docs)
|
|
106
|
+
- Names and terms should match across C4 and C3/C2/C1 docs (e.g., "Spectrum", "CommandCenter", etc.).
|
|
107
|
+
- If you rename a component, update:
|
|
108
|
+
- component catalog,
|
|
109
|
+
- diagrams,
|
|
110
|
+
- wiring tables,
|
|
111
|
+
- and code map references.
|
|
112
|
+
|
|
113
|
+
## Review Checklist (Before You Call It "Current")
|
|
114
|
+
- [ ] No unverified claims (or they are marked UNKNOWN)
|
|
115
|
+
- [ ] Core flows have method-level call sequences
|
|
116
|
+
- [ ] Ownership/lifecycle/cleanup ordering is explicit
|
|
117
|
+
- [ ] Concurrency constraints are called out where relevant
|
|
118
|
+
- [ ] ASCII + Mermaid diagrams reflect the written description
|
|
119
|
+
- [ ] Information Sources list includes every file used as evidence
|
|
120
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# engineer_execution
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Define how engineer agents plan and implement code changes in this
|
|
7
|
+
repository.
|
|
8
|
+
|
|
9
|
+
Core rules
|
|
10
|
+
- Follow `AGENTS.MD` and the shared baseline skills in
|
|
11
|
+
`agent_onboarding/default/general/`.
|
|
12
|
+
- Propose a plan before editing; keep scope tight and reviewable.
|
|
13
|
+
- Enforce `patch_framework_gating.md` for system-impacting changes before any
|
|
14
|
+
implementation edits.
|
|
15
|
+
- Consume required patch artifacts using
|
|
16
|
+
`patch_artifact_consumption.md` before editing system-impacting code.
|
|
17
|
+
- Follow repository SQL rules in `AGENTS.MD` when touching SQL tools.
|
|
18
|
+
- Update docstrings for every touched function/class and add tests for
|
|
19
|
+
behavioral changes.
|
|
20
|
+
- Keep scratch ideas and todos under `user_defined/`. That directory exists, is
|
|
21
|
+
yours outright, and no tool writes to it in any mode - create whatever subfolders
|
|
22
|
+
you need. Earlier revisions of this skill named `workspace/agent/`, which the
|
|
23
|
+
package has never shipped and which no lane policy protects, so scratch written
|
|
24
|
+
there was swept on the next cleanup.
|
|
25
|
+
- Promote durable plans and execution artifacts into `tickets/epics/`,
|
|
26
|
+
`tickets/stories/`, `tickets/tasks/`, and their completed folders.
|
|
27
|
+
|
|
28
|
+
Preferred workflow
|
|
29
|
+
1) Clarify the goal, constraints, and affected files.
|
|
30
|
+
2) Route from `attention_board.md` to the active ticket and follow the Ticket
|
|
31
|
+
Microcycle.
|
|
32
|
+
3) If scope is system-impacting, verify patch-framework entry gate artifacts
|
|
33
|
+
exist and are linked before editing code.
|
|
34
|
+
4) Build and record patch-section to implementation/validation mapping in ticket
|
|
35
|
+
notes.
|
|
36
|
+
5) Review existing docstrings and contracts in the target modules.
|
|
37
|
+
6) Implement changes with small, cohesive functions and explicit error handling.
|
|
38
|
+
7) Run tests (or report "Not run" with reasoning).
|
|
39
|
+
8) Summarize changes and list follow-ups.
|
|
40
|
+
|
|
41
|
+
Artifact discipline (engineer)
|
|
42
|
+
- Ideas/opinions/todo: `user_defined/` only.
|
|
43
|
+
- Plans and scope control: use `templates/` and create tickets in
|
|
44
|
+
`tickets/epics/`, `tickets/stories/`, `tickets/tasks/`.
|
|
45
|
+
- For system-impacting changes under patch framework:
|
|
46
|
+
- maintain active patch docs under `system_docs/patches/active/<patch_id>/`,
|
|
47
|
+
- link patch docs from active tickets,
|
|
48
|
+
- complete merge+cleanup closure gates before marking work done.
|
|
49
|
+
- Status updates: keep `attention_board.md` current and append detailed
|
|
50
|
+
findings to ticket `## Notes`.
|
|
51
|
+
- Closures: move completed tickets to their matching completed folder with
|
|
52
|
+
summary + date.
|
|
53
|
+
- Convert approved todos into tickets instead of leaving them in scratch.
|
|
54
|
+
|
|
55
|
+
Examples
|
|
56
|
+
- `agent_onboarding/default/engineer/examples/artifact_workflow.md`
|
|
57
|
+
|
|
58
|
+
References
|
|
59
|
+
- `AGENTS.MD`
|
|
60
|
+
- `agent_onboarding/default/general/skills/workflow.md`
|
|
61
|
+
- `agent_onboarding/default/engineer/skills/patch_framework_gating.md`
|
|
62
|
+
- `agent_onboarding/default/engineer/skills/patch_artifact_consumption.md`
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# package_maintenance
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Define how to clean an install back to shipping state and how to upgrade one
|
|
5
|
+
to a newer version of the package without destroying local work.
|
|
6
|
+
|
|
7
|
+
When this applies
|
|
8
|
+
- You are preparing the package for distribution.
|
|
9
|
+
- One project's content has ended up inside another install.
|
|
10
|
+
- A newer version of Context Compass needs to be rolled into an existing repo.
|
|
11
|
+
|
|
12
|
+
This is not the ticket cleanup workflow. `agent_onboarding/default/general/workflows/cleanup_context_compass.md`
|
|
13
|
+
closes tickets and syncs boards. The tools here delete and replace files.
|
|
14
|
+
|
|
15
|
+
## The manifest is the contract
|
|
16
|
+
|
|
17
|
+
`MANIFEST.md` records, for every file the package ships: its path, its ownership
|
|
18
|
+
class, and its sha256. It is generated, never hand-edited - a hand-maintained
|
|
19
|
+
version stamp drifts the moment someone forgets to bump it, and a stamp that
|
|
20
|
+
lies looks exactly like one that does not.
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
python context_compass/tools/package_manifest.py --root context_compass --version 2.1.0
|
|
24
|
+
python context_compass/tools/package_manifest.py --root context_compass --check
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Regenerate it in the same pass as any change to package files. `--check` reports
|
|
28
|
+
added, removed and changed paths without writing.
|
|
29
|
+
|
|
30
|
+
## Ownership classes
|
|
31
|
+
|
|
32
|
+
| class | who owns it | cleanup | update |
|
|
33
|
+
| --- | --- | --- | --- |
|
|
34
|
+
| `PACKAGE` | the library | restore | replace |
|
|
35
|
+
| `RESET` | the project (tickets, artifacts, system docs, project instructions) | reset mode only | never touched |
|
|
36
|
+
| `INSTANCE` | the project (`agent_onboarding/user_defined/`) | never touched | never touched |
|
|
37
|
+
| `LIVE` | shared: package block + project rows | block reset | block swapped |
|
|
38
|
+
| `CONFIG` | shared: package schema + project values | left alone | keys merged |
|
|
39
|
+
|
|
40
|
+
Class is assigned by longest path prefix, so a `PACKAGE` directory can still hold
|
|
41
|
+
a `RESET` subtree. That is not hypothetical - a real cleanup found five foreign
|
|
42
|
+
scripts sitting inside `tools/`, which is package-owned.
|
|
43
|
+
|
|
44
|
+
## Cleaning an install
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
python context_compass/tools/cleanup_context_compass.py \
|
|
48
|
+
--target path/to/install/context_compass \
|
|
49
|
+
--reference path/to/clean/context_compass \
|
|
50
|
+
--mode repair --check
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Two modes, because "clean" means two different things:
|
|
54
|
+
|
|
55
|
+
- **`--mode repair`** fixes a broken install and leaves the project's work alone.
|
|
56
|
+
Use this on a live repository.
|
|
57
|
+
- **`--mode reset`** returns the working lanes to shipping state. Use this when
|
|
58
|
+
preparing a release or stripping one project's content out.
|
|
59
|
+
|
|
60
|
+
Reset empties `system_docs/`, `tickets/` and `artifacts/`. On a live repository
|
|
61
|
+
that deletes the architecture maps, tickets and findings the project wrote.
|
|
62
|
+
**Run `--check` first, every time.** The tool refuses to act without `--apply`.
|
|
63
|
+
|
|
64
|
+
`system_docs/` ships EMPTY - the package seeds no architecture, component, test
|
|
65
|
+
or graph document, because a placeholder in a live lane gets read as repository
|
|
66
|
+
truth. `examples/` is the shape reference. Neither tool ever writes into
|
|
67
|
+
`system_docs/` or `agent_onboarding/user_defined/`.
|
|
68
|
+
|
|
69
|
+
### Cutting a release from a working install
|
|
70
|
+
|
|
71
|
+
`--mode reset` clears the working lanes but deliberately leaves role overlays
|
|
72
|
+
under `agent_onboarding/user_defined/` alone, because they belong to whoever
|
|
73
|
+
wrote them. A release should not ship them either, so there is one explicit
|
|
74
|
+
opt-in:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
python context_compass/tools/cleanup_context_compass.py \
|
|
78
|
+
--target ./release/context_compass --reference ./context_compass \
|
|
79
|
+
--mode reset --purge-user-defined --check
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`--purge-user-defined` is never implied by `--mode reset`. Deleting someone's
|
|
83
|
+
role because they asked to tidy a lane would break the invariant the class
|
|
84
|
+
exists to protect, so it has to be asked for by name. Without the flag the tool
|
|
85
|
+
still tells you which overlays it found and which roles they belong to.
|
|
86
|
+
|
|
87
|
+
### Config drift
|
|
88
|
+
|
|
89
|
+
Config is never rewritten by cleanup. When its manifest hash does not match, the
|
|
90
|
+
tool reports which top-level keys you added, removed, or retuned against the
|
|
91
|
+
shipped defaults:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
config your `config/context_compass_config.yaml` differs from stock:
|
|
95
|
+
keys you added: our_own_section
|
|
96
|
+
values you changed: system_of_record, workflow
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
That is the answer to "how does mine differ from stock", and it is why the
|
|
100
|
+
manifest bothers to record a hash for a file it never enforces. A hash nothing
|
|
101
|
+
checks is the same dead weight as a version stamp nothing bumps.
|
|
102
|
+
|
|
103
|
+
Order of operations inside the tool matters and is deliberate: remove foreign
|
|
104
|
+
files, prune directories that are now empty, then re-materialise every manifest
|
|
105
|
+
path. Pruning last leaves stale empty directories; pruning without the final
|
|
106
|
+
restore loses lanes whose only content was a `.gitkeep`.
|
|
107
|
+
|
|
108
|
+
## Upgrading an install
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
python context_compass/tools/update_context_compass.py \
|
|
112
|
+
--install path/to/install/context_compass \
|
|
113
|
+
--new path/to/new/context_compass \
|
|
114
|
+
--check
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
The decision is made from three hashes, not one:
|
|
118
|
+
|
|
119
|
+
| current vs shipped | new vs shipped | verdict |
|
|
120
|
+
| --- | --- | --- |
|
|
121
|
+
| same | changed | replace |
|
|
122
|
+
| same | same | skip |
|
|
123
|
+
| changed | same | keep the local edit |
|
|
124
|
+
| changed | changed | **conflict** - reported, not touched |
|
|
125
|
+
|
|
126
|
+
One hash tells you a file changed. It cannot tell you who changed it, and that is
|
|
127
|
+
the only thing that decides whether overwriting is safe. Without the shipped hash
|
|
128
|
+
from the install's own manifest, rows three and four are indistinguishable from
|
|
129
|
+
row one, so you either clobber local edits or never update anything.
|
|
130
|
+
|
|
131
|
+
Conflicts are never merged automatically. A merge is a guess, and a wrong guess
|
|
132
|
+
destroys work quietly. Resolve them by hand, or pass `--force-conflicts` to take
|
|
133
|
+
the new version and lose the local edit knowingly.
|
|
134
|
+
|
|
135
|
+
### Upgrading an install that predates the manifest
|
|
136
|
+
|
|
137
|
+
An older install has no `MANIFEST.md`, so there are no shipped hashes and a local
|
|
138
|
+
edit is indistinguishable from an upstream change. The tool does not guess. It
|
|
139
|
+
reports **every** differing file as a conflict, still skips files that match, and
|
|
140
|
+
still adds new ones:
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
NOTE: <install> has no MANIFEST.md, so this is its first manifest-aware upgrade.
|
|
144
|
+
replace 0
|
|
145
|
+
skip 331 already current
|
|
146
|
+
conflict 3 BOTH changed - not touched
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Review the conflicts, then re-run with `--force-conflicts` to take the package
|
|
150
|
+
version wholesale. Either way the upgrade writes the new manifest, so the next
|
|
151
|
+
upgrade is a normal three-hash comparison and this only happens once.
|
|
152
|
+
|
|
153
|
+
Project-owned lanes are untouched throughout: `system_docs/`, `tickets/`,
|
|
154
|
+
`artifacts/` and `user_defined/` survive a forced upgrade intact.
|
|
155
|
+
|
|
156
|
+
## Live files and managed blocks
|
|
157
|
+
|
|
158
|
+
The boards carry a package-owned directive above project-owned rows. The package
|
|
159
|
+
region is delimited:
|
|
160
|
+
|
|
161
|
+
```markdown
|
|
162
|
+
<!-- BEGIN MANAGED: ReminderDirective -->
|
|
163
|
+
...package text, replaced wholesale on upgrade...
|
|
164
|
+
<!-- END MANAGED: ReminderDirective -->
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Only that region is swapped. Routing rows survive an upgrade. This is the same
|
|
168
|
+
marker convention as patch document `ENTRY` markers, deliberately - one dialect,
|
|
169
|
+
one parser. Malformed or unterminated markers refuse the operation rather than
|
|
170
|
+
guessing where the boundary was.
|
|
171
|
+
|
|
172
|
+
## Config
|
|
173
|
+
|
|
174
|
+
Merged key by key, never swapped wholesale. New top-level keys arrive with their
|
|
175
|
+
package defaults and their explanatory comments; a value already set is never
|
|
176
|
+
overwritten; keys dropped upstream are reported rather than deleted.
|
|
177
|
+
|
|
178
|
+
The merge is deliberately not a YAML round-trip. Parsing and re-emitting would
|
|
179
|
+
reformat the file and drop the user's comments, which is a worse outcome than
|
|
180
|
+
leaving a key unmerged and saying so.
|
|
181
|
+
|
|
182
|
+
## Anti-patterns
|
|
183
|
+
|
|
184
|
+
- Running `--mode reset` on a live repository without `--check` first.
|
|
185
|
+
- Comparing paths instead of content. A path-only diff reports a tree as correct
|
|
186
|
+
while another project's boards and system documents sit at package paths.
|
|
187
|
+
- Hand-editing `MANIFEST.md`.
|
|
188
|
+
- Treating a conflict as something to resolve by picking the newer file.
|
|
189
|
+
- Upgrading without regenerating the manifest afterwards, which leaves the
|
|
190
|
+
install claiming a version it is not.
|
|
191
|
+
|
|
192
|
+
References
|
|
193
|
+
- `agent_onboarding/default/general/workflows/cleanup_context_compass.md` (ticket
|
|
194
|
+
cleanup, a different operation with a similar name)
|
|
195
|
+
- `agent_onboarding/default/engineer/skills/staleness_protocol.md`
|
contextcompass_cli/_package/agent_onboarding/default/engineer/skills/patch_artifact_consumption.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# patch_artifact_consumption
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Define how `engineer` consumes patch artifacts before and during
|
|
5
|
+
implementation.
|
|
6
|
+
- Make architecture/component/code-description patches executable inputs rather
|
|
7
|
+
than optional background context.
|
|
8
|
+
|
|
9
|
+
Scope
|
|
10
|
+
- Applies when `patch_framework_gating.md` is triggered for system-impacting
|
|
11
|
+
work.
|
|
12
|
+
- Covers consumption behavior only (authoring belongs to `design_engineer`).
|
|
13
|
+
|
|
14
|
+
Required read order (non-negotiable)
|
|
15
|
+
1) `system_docs/patches/active/<patch_id>/architecture_patch.md`
|
|
16
|
+
2) `system_docs/patches/active/<patch_id>/component_patch_<component>.md`
|
|
17
|
+
for each changed component
|
|
18
|
+
3) `system_docs/patches/active/<patch_id>/code_description_patch_<component>.md`
|
|
19
|
+
when present or required by trigger rules
|
|
20
|
+
|
|
21
|
+
Consumption contract
|
|
22
|
+
- Extract from `architecture_patch.md`:
|
|
23
|
+
- boundary/interface deltas,
|
|
24
|
+
- cross-component invariants,
|
|
25
|
+
- migration order,
|
|
26
|
+
- rollback constraints.
|
|
27
|
+
- Extract from each `component_patch_<component>.md`:
|
|
28
|
+
- before/after behavior,
|
|
29
|
+
- state/failure deltas,
|
|
30
|
+
- validation expectations,
|
|
31
|
+
- dependency ordering.
|
|
32
|
+
- Extract from each `code_description_patch_<component>.md`:
|
|
33
|
+
- control flow commitments,
|
|
34
|
+
- edge/error semantics,
|
|
35
|
+
- idempotency expectations,
|
|
36
|
+
- explicit non-goals.
|
|
37
|
+
|
|
38
|
+
Implementation mapping rule
|
|
39
|
+
- Before code edits, write a concise ticket-note mapping:
|
|
40
|
+
- patch section -> implementation step -> validation step.
|
|
41
|
+
- If mapping cannot be produced from available artifacts, raise `BLOCKER`.
|
|
42
|
+
|
|
43
|
+
Mandatory stop conditions
|
|
44
|
+
- Missing required patch artifact.
|
|
45
|
+
- Patch docs conflict with each other.
|
|
46
|
+
- Patch docs conflict with canonical architecture/component docs and no accepted
|
|
47
|
+
override note exists.
|
|
48
|
+
- Patch unknowns are unresolved for the target code path.
|
|
49
|
+
|
|
50
|
+
During implementation
|
|
51
|
+
- Keep edits within patch-defined boundaries.
|
|
52
|
+
- If scope expands, update patch docs and ticket links first.
|
|
53
|
+
- Do not silently "fix forward" patch-contract conflicts in code.
|
|
54
|
+
|
|
55
|
+
Before closure
|
|
56
|
+
- Verify implemented behavior matches patch contracts.
|
|
57
|
+
- Record validation evidence against patch expectations.
|
|
58
|
+
- Complete merge-and-cleanup gates from `patch_framework_gating.md`.
|
|
59
|
+
|
|
60
|
+
Manual validation expectation
|
|
61
|
+
- Confirm required artifacts exist for the patch id.
|
|
62
|
+
- Confirm ticket artifact links and consumption mapping notes are present.
|
|
63
|
+
- Confirm closure evidence maps implemented behavior back to patch contracts.
|
|
64
|
+
|
|
65
|
+
References
|
|
66
|
+
- `agent_onboarding/default/engineer/skills/patch_framework_gating.md`
|
|
67
|
+
- `agent_onboarding/default/engineer/skills/engineer_execution.md`
|
|
68
|
+
- `agent_onboarding/default/general/skills/workflow.md`
|
contextcompass_cli/_package/agent_onboarding/default/engineer/skills/patch_framework_gating.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
|
|
2
|
+
# patch_framework_gating
|
|
3
|
+
|
|
4
|
+
Purpose
|
|
5
|
+
- Define mandatory engineer gates for using patch-framework artifacts during
|
|
6
|
+
system-impacting changes.
|
|
7
|
+
- Ensure implementation work is blocked until required patch contracts exist.
|
|
8
|
+
- Enforce required artifact consumption behavior via
|
|
9
|
+
`patch_artifact_consumption.md`.
|
|
10
|
+
|
|
11
|
+
When this gate applies
|
|
12
|
+
- The task changes architecture/component boundaries, lifecycle behavior,
|
|
13
|
+
policy/gating behavior, or cross-component interaction contracts.
|
|
14
|
+
- The task changes code that requires updates to `system_docs/src_architecture.md`
|
|
15
|
+
or `system_docs/src_components.md`.
|
|
16
|
+
- The task changes source wiring/ownership enough that
|
|
17
|
+
`system_docs/src_graph.md` must be refreshed.
|
|
18
|
+
- The user explicitly requests patch-based planning/governance.
|
|
19
|
+
|
|
20
|
+
Non-negotiable entry gate
|
|
21
|
+
- Do not implement system-impacting code changes until all required artifacts
|
|
22
|
+
exist for the active patch id and are linked from the active ticket.
|
|
23
|
+
- If artifacts are missing, mark `BLOCKED` and create/update patch artifacts
|
|
24
|
+
first.
|
|
25
|
+
- Do not implement until the required artifact read order is completed and
|
|
26
|
+
consumption mapping is documented in ticket notes.
|
|
27
|
+
|
|
28
|
+
Required patch artifacts
|
|
29
|
+
1) `system_docs/patches/active/<patch_id>/architecture_patch.md` (required)
|
|
30
|
+
2) `system_docs/patches/active/<patch_id>/component_patch_<component>.md`
|
|
31
|
+
for each changed component (required)
|
|
32
|
+
3) `system_docs/patches/active/<patch_id>/code_description_patch_<component>.md`
|
|
33
|
+
(conditional)
|
|
34
|
+
|
|
35
|
+
`code_description_patch` required triggers
|
|
36
|
+
- Complex control flow or state-machine changes.
|
|
37
|
+
- New/changed policy gate pipelines.
|
|
38
|
+
- Non-trivial error semantics or rollback behavior.
|
|
39
|
+
- Concurrency or idempotency-sensitive changes.
|
|
40
|
+
|
|
41
|
+
Engineer execution gate checklist
|
|
42
|
+
- [ ] Active ticket routes this work from `attention_board.md`.
|
|
43
|
+
- [ ] Patch id is explicit and stable.
|
|
44
|
+
- [ ] Required patch docs exist and are ticket-linked.
|
|
45
|
+
- [ ] Required read order from `patch_artifact_consumption.md` is complete.
|
|
46
|
+
- [ ] Ticket notes contain patch-section to implementation/validation mapping.
|
|
47
|
+
- [ ] Unknowns in patch docs are either resolved or explicitly accepted.
|
|
48
|
+
- [ ] Implementation scope matches patch doc boundaries.
|
|
49
|
+
|
|
50
|
+
Engineer closure gate checklist
|
|
51
|
+
- [ ] Implementation evidence captured in ticket notes.
|
|
52
|
+
- [ ] Durable deltas merged into canonical docs.
|
|
53
|
+
- [ ] Temporary patch docs removed from `system_docs/patches/active/<patch_id>/`
|
|
54
|
+
unless an explicit retention exception is approved.
|
|
55
|
+
- [ ] Attention board and artifact board synchronized.
|
|
56
|
+
|
|
57
|
+
Manual validation expectation
|
|
58
|
+
- Confirm required artifacts exist under
|
|
59
|
+
`system_docs/patches/active/<patch_id>/`.
|
|
60
|
+
- Confirm artifact links are present in the active ticket.
|
|
61
|
+
- Confirm required read-order and mapping notes are documented before
|
|
62
|
+
implementation.
|
|
63
|
+
|
|
64
|
+
Failure behavior
|
|
65
|
+
- If any entry/closure gate fails, stop and raise `BLOCKER` or
|
|
66
|
+
`DECISION_REQUEST` in ticket notes before continuing.
|
|
67
|
+
|
|
68
|
+
References
|
|
69
|
+
- `agent_onboarding/default/general/skills/ticketing.md`
|
|
70
|
+
- `agent_onboarding/default/general/skills/workflow.md`
|
|
71
|
+
- `agent_onboarding/default/general/skills/ticket_closure_attention_sync.md`
|
|
72
|
+
- `agent_onboarding/default/engineer/skills/patch_artifact_consumption.md`
|