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,405 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# src_components_instructions
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
- Define the exact build protocol for
|
|
7
|
+
`context_compass/system_docs/src_components.md`.
|
|
8
|
+
- Produce a bottom-up component contract map (C3/C2/C1) that stays aligned to
|
|
9
|
+
architecture boundaries.
|
|
10
|
+
|
|
11
|
+
## Canonical Output
|
|
12
|
+
- `context_compass/system_docs/src_components.md`
|
|
13
|
+
|
|
14
|
+
## Example Documents (Required Read)
|
|
15
|
+
- `context_compass/examples/example_components/src_components.md`
|
|
16
|
+
- `context_compass/examples/example_components/tests_components.md`
|
|
17
|
+
- `context_compass/examples/example_architecture/src_architecture.md`
|
|
18
|
+
- `context_compass/examples/example_architecture/tests_architecture.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_architecture.md`
|
|
27
|
+
- `context_compass/system_docs/src_graph.md`
|
|
28
|
+
- `context_compass/system_docs/src_graph_index.md`
|
|
29
|
+
- `context_compass/system_docs/tests_components.md`
|
|
30
|
+
- `context_compass/system_docs/tests_architecture.md`
|
|
31
|
+
- `context_compass/system_docs/patches/active/<patch_id>/component_patch_<component>.md`
|
|
32
|
+
(when patch lane is active)
|
|
33
|
+
- `context_compass/system_docs/patches/active/<patch_id>/code_description_patch_<component>.md`
|
|
34
|
+
(when complexity trigger applies)
|
|
35
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md`
|
|
36
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/patch_framework_design.md`
|
|
37
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/component_patch_contracts.md`
|
|
38
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/code_description_patch_contracts.md`
|
|
39
|
+
- Active ticket and `context_compass/attention_board.md` route
|
|
40
|
+
|
|
41
|
+
## Indexing Contract (Non-Negotiable)
|
|
42
|
+
|
|
43
|
+
This document is AUTHORED. Nothing generates its prose. The only generated
|
|
44
|
+
artifact is its index, and the index is only as useful as the heading structure
|
|
45
|
+
you give it.
|
|
46
|
+
|
|
47
|
+
Regenerate the index in the SAME pass that edits the document:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
51
|
+
--doc context_compass/system_docs/src_components.md
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Heading discipline the index depends on:
|
|
55
|
+
- **Exactly one H1.** A second one and the indexer cannot identify the document
|
|
56
|
+
title, so it stops omitting it and emits a section spanning the whole file.
|
|
57
|
+
- **The navigable unit is H3 `### Component: <Name>`.** Consistent depth, never mixed.
|
|
58
|
+
- **Names unique and stable.** Index rows are selected on name; two sections
|
|
59
|
+
sharing a name are indistinguishable to a consumer.
|
|
60
|
+
- **Never leave a container heading as the read target.** `## C3 Components
|
|
61
|
+
Catalog` wraps only other headings, so it indexes as a range covering every
|
|
62
|
+
component beneath it. Select a component, never the catalog. Measured on a
|
|
63
|
+
production `src_components.md` that catalog
|
|
64
|
+
indexes as a **1,945-line** section, so a reader selecting it loads 37% of the
|
|
65
|
+
document believing they sliced it.
|
|
66
|
+
|
|
67
|
+
Consume the index by slicing, never by reading the document whole:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
71
|
+
--doc context_compass/system_docs/src_components.md --slice "<section name>"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
It verifies the index before returning anything, refuses on a stale index, and
|
|
75
|
+
lists candidates rather than guessing when a name is ambiguous. Section names
|
|
76
|
+
are therefore the query - keep them unique and descriptive.
|
|
77
|
+
|
|
78
|
+
Verify before trusting any range:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
82
|
+
--doc context_compass/system_docs/src_components.md --check
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
An index records `line_count`, `content_sha256`, and `line_ending`. Insert one
|
|
86
|
+
line near the top and every range below it is wrong while still parsing and
|
|
87
|
+
still returning content - the WRONG content, confidently. On mismatch: STOP,
|
|
88
|
+
regenerate, do not eyeball an offset.
|
|
89
|
+
|
|
90
|
+
Full format specification:
|
|
91
|
+
`agent_onboarding/default/engineer/skills/system_document_build.md`
|
|
92
|
+
|
|
93
|
+
## Unknowns Gate (Non-Negotiable)
|
|
94
|
+
- Default to `UNKNOWN` for unevidenced component claims.
|
|
95
|
+
- Promote to `FACT` only with direct evidence.
|
|
96
|
+
- No behavior inference from naming or folder shape.
|
|
97
|
+
|
|
98
|
+
## Required Section Contract
|
|
99
|
+
`src_components.md` must contain these sections in order:
|
|
100
|
+
1. `## Metadata`
|
|
101
|
+
2. `## Scope`
|
|
102
|
+
3. `## Indexing`
|
|
103
|
+
4. `## DO NOT ASSUME / Unknowns Gate`
|
|
104
|
+
5. `## Unknowns`
|
|
105
|
+
6. `## C3 Components Catalog`
|
|
106
|
+
7. `## C2 Subcomponents Catalog`
|
|
107
|
+
8. `## Method-Level Call Flows (C1)`
|
|
108
|
+
9. `## C1 Code Map (Core)`
|
|
109
|
+
10. `## Diagrams`
|
|
110
|
+
11. `## Information Sources`
|
|
111
|
+
12. `## Context / Handoff Summary`
|
|
112
|
+
|
|
113
|
+
### The document names no path into this package
|
|
114
|
+
|
|
115
|
+
`src_components.md` is committed to the repository it describes and, in a
|
|
116
|
+
packaged project, ships inside the wheel - some projects publish it as a module
|
|
117
|
+
attribute so a consumer can read the component map without leaving the
|
|
118
|
+
interpreter. Every one of those readers has the code and does not have Context
|
|
119
|
+
Compass. A line like `context_compass/tools/system_documents/index_document.py`
|
|
120
|
+
resolves for you and for nobody downstream.
|
|
121
|
+
|
|
122
|
+
**No path in the produced document points into this package - written either
|
|
123
|
+
way.** `context_compass/tools/system_documents/index_document.py` and a bare
|
|
124
|
+
`tools/system_documents/index_document.py` are the same file; the second merely
|
|
125
|
+
drops the prefix because whoever wrote it was thinking install-relative. The
|
|
126
|
+
unprefixed form is the commoner leak and much the easier to miss, so the rule is
|
|
127
|
+
about the destination, not the spelling. The same goes for `agent_onboarding/`,
|
|
128
|
+
`system_docs/`, `patches/active/` and any tool filename.
|
|
129
|
+
|
|
130
|
+
Not in `## Indexing`, not in `## Information Sources`, not in a Key Files list,
|
|
131
|
+
not in a cross-reference. This is a hard rule, and it is checked in the Quality
|
|
132
|
+
Gate.
|
|
133
|
+
|
|
134
|
+
- **Maintenance commands are relocated, not deleted.** The command that rebuilds
|
|
135
|
+
the index lives in this skill, which is where a maintainer already is when
|
|
136
|
+
they need it. The document's `## Indexing` section states that an index
|
|
137
|
+
companion exists and what heading rules it depends on. A reader needs both
|
|
138
|
+
facts and neither one requires naming a tool.
|
|
139
|
+
- **Cross-references use a logical document id**: `src_architecture`, not
|
|
140
|
+
`context_compass/system_docs/src_architecture.md`. The id survives the
|
|
141
|
+
document being vendored, renamed, or published under a different root. The
|
|
142
|
+
path does not.
|
|
143
|
+
- **Paths into the subject stay, and stay repo-relative.** `src/<pkg>/engine.py`
|
|
144
|
+
in a C1 entry or a Key Files list is exactly right - that is the codebase
|
|
145
|
+
being documented and it is the whole point of the entry. Relative to the
|
|
146
|
+
repository root, never absolute: `C:\Users\...\src\<pkg>\engine.py` encodes
|
|
147
|
+
one machine's checkout location into a document that gets committed and
|
|
148
|
+
shipped, so it is wrong for every reader who is not you, and it breaks the
|
|
149
|
+
moment the repo is cloned anywhere else. The rule bans paths into the tooling
|
|
150
|
+
that produced the document, never paths into the thing it describes.
|
|
151
|
+
|
|
152
|
+
`src_graph.md` is the model to copy: it is fully generated and contains zero
|
|
153
|
+
install-prefixed paths.
|
|
154
|
+
|
|
155
|
+
### Sections not in the contract
|
|
156
|
+
|
|
157
|
+
The contract is a **minimum in a fixed relative order**, not a whitelist. Other
|
|
158
|
+
sections are permitted and are common. Measured on one real architecture
|
|
159
|
+
document: 44 H2 sections against its 17-section contract - read literally as
|
|
160
|
+
"only these sections", a recomposition deletes roughly 1,200 lines. That figure
|
|
161
|
+
is from the architecture side; the ratio is what carries over. The contract
|
|
162
|
+
above lists twelve, and a mature components document will exceed it too.
|
|
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
|
+
### What "core" means
|
|
175
|
+
|
|
176
|
+
**Core is the deduplicated union of every `Key Files (C1)` list in the C3
|
|
177
|
+
catalog.** A file a component claims as its own is core by that component's own
|
|
178
|
+
claim, and the set maintains itself: change a component's key files and the core
|
|
179
|
+
set follows. It is also already the join `system_document_build.md` depends on,
|
|
180
|
+
so nothing new has to be tracked.
|
|
181
|
+
|
|
182
|
+
On a 574-module package that resolved to 170 paths - a scope an agent can
|
|
183
|
+
actually verify, against an inventory it cannot.
|
|
184
|
+
|
|
185
|
+
An exhaustive inventory is still useful. Keep it, do not let the rename delete
|
|
186
|
+
it: put it beneath as `### Full Package Inventory (exhaustive, retained)`.
|
|
187
|
+
Narrowing a section's scope is not a licence to destroy what was there.
|
|
188
|
+
|
|
189
|
+
## Component Entry Contract (C3 Minimum)
|
|
190
|
+
Each C3 component entry must include:
|
|
191
|
+
- `Purpose`
|
|
192
|
+
- `Responsibilities`
|
|
193
|
+
- `Inputs`
|
|
194
|
+
- `Outputs`
|
|
195
|
+
- `Owned State`
|
|
196
|
+
- `Lifecycle/Cleanup`
|
|
197
|
+
- `Concurrency/Threading`
|
|
198
|
+
- `Invariants/Guarantees`
|
|
199
|
+
- `Failure Modes`
|
|
200
|
+
- `Observability`
|
|
201
|
+
- `Extension Points`
|
|
202
|
+
- `Key Files (C1)`
|
|
203
|
+
|
|
204
|
+
**`Key Files (C1)` cites in-scope SOURCE paths only.** The graph is built from
|
|
205
|
+
the source tree, so a test path can never resolve against it - it is not a near
|
|
206
|
+
miss, it is a guaranteed miss. Test surfaces belong in the test-side mirror.
|
|
207
|
+
Measured on a real recomposition: 165 of 167 cited paths resolved, and both
|
|
208
|
+
misses were test files sitting in a component's key files.
|
|
209
|
+
|
|
210
|
+
Verify the join rather than assuming it:
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
DOC=context_compass/system_docs/src_components.md
|
|
214
|
+
IDX=context_compass/system_docs/src_graph_index.md
|
|
215
|
+
|
|
216
|
+
# Pull paths from the two contract fields that hold them, not from every
|
|
217
|
+
# backtick in the document - code-fence tags are backticked too, and a check
|
|
218
|
+
# that reports `bash` as a missing file gets ignored by its second run.
|
|
219
|
+
{ grep -o 'Key Files (C1):.*' "$DOC"; grep -o '^- path: .*' "$DOC"; } \
|
|
220
|
+
| grep -o '`[^`]*`' | tr -d '`' | grep -v '[*?]' | sort -u > /tmp/cited.txt
|
|
221
|
+
|
|
222
|
+
# The index keys rows by source path in the second cell.
|
|
223
|
+
grep -o '^| [0-9]*-[0-9]* | `[^`]*`' "$IDX" \
|
|
224
|
+
| sed 's/.*`\(.*\)`/\1/' | sort -u > /tmp/graph.txt
|
|
225
|
+
|
|
226
|
+
comm -23 /tmp/cited.txt /tmp/graph.txt # anything here does not resolve
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Two details that matter more than they look. Match `` `[^`]*` `` **including both
|
|
230
|
+
backticks** - a lookahead form like `` `\K[^`]+(?=`) `` resumes scanning at the
|
|
231
|
+
closing backtick, treats it as an opening one, and reports the `, ` between two
|
|
232
|
+
cited paths as a path. And `grep -v '[*?]'` drops globs: a glob is a deliberate
|
|
233
|
+
statement about a set, not a citation that can resolve to one file. No source
|
|
234
|
+
root is hardcoded anywhere here, because `src/`, `lib/`, `app/` and a flat root
|
|
235
|
+
are all normal and the index already knows which one this repository uses.
|
|
236
|
+
|
|
237
|
+
## C1 Flow/Map Contract
|
|
238
|
+
- Method-level call flows must include concrete method/function names.
|
|
239
|
+
- C1 map entries must include:
|
|
240
|
+
- `path`
|
|
241
|
+
- `start_line`
|
|
242
|
+
- `end_line`
|
|
243
|
+
- `loc`
|
|
244
|
+
- `verified_at` (UTC DateTime `YYYY-MM-DDTHH:MM:SSZ`)
|
|
245
|
+
|
|
246
|
+
**Directories are not valid C1 entries.** A directory has no line range, and the
|
|
247
|
+
join to `src_graph.md` is keyed by source file, so a directory citation can never
|
|
248
|
+
resolve. Expand it into its constituent source files - excluding whatever the
|
|
249
|
+
graph's scope already excludes - and measure each.
|
|
250
|
+
Do not write `UNKNOWN` for a directory: `UNKNOWN` means "not yet verified and
|
|
251
|
+
here is the investigation target", and a directory is unverifiable in principle -
|
|
252
|
+
the marker would sit there forever with nothing to resolve it.
|
|
253
|
+
|
|
254
|
+
Ranges are measured, never estimated. If the exact range is not verified, keep
|
|
255
|
+
the claim `UNKNOWN` and add an investigation target in `## Unknowns` rather than
|
|
256
|
+
writing a plausible number.
|
|
257
|
+
|
|
258
|
+
## Build Sequence (Bottom-Up, Required)
|
|
259
|
+
1. Confirm active ticket route and component scope.
|
|
260
|
+
2. If the document already exists, capture the Content Preservation baseline
|
|
261
|
+
now, before the first edit. Captured later it proves nothing.
|
|
262
|
+
3. Read required example documents and note reusable structure patterns.
|
|
263
|
+
4. Re-read architecture boundaries and terms.
|
|
264
|
+
5. Unwrap any heading spanning more than one physical line. A reflowed heading
|
|
265
|
+
parses as several sections; the first wins "narrowest match" and `--slice`
|
|
266
|
+
returns a stub. `index_document.py` warns on unclosed brackets, which is the
|
|
267
|
+
usual tell, but it cannot catch every wrap - scan the heading list once
|
|
268
|
+
before you trust it.
|
|
269
|
+
6. Draft/refresh `Metadata`, `Scope`, `Unknowns Gate`, and `Unknowns`.
|
|
270
|
+
7. Build C3 component catalog using the entry contract.
|
|
271
|
+
8. Build C2 subcomponent catalog with ownership and wiring.
|
|
272
|
+
9. Capture method-level C1 call flows for core paths.
|
|
273
|
+
10. Build C1 map entries with ranges, LOC, and verification timestamps.
|
|
274
|
+
11. Add/refresh diagrams aligned to catalog terminology.
|
|
275
|
+
12. If patch lane is active, verify component/code-description patch updates
|
|
276
|
+
are complete and linked in tickets.
|
|
277
|
+
13. Refresh `Information Sources` and `Context / Handoff Summary`.
|
|
278
|
+
14. Rebuild the index in this same pass, then satisfy the Content Preservation
|
|
279
|
+
Gate and the Quality Gate.
|
|
280
|
+
|
|
281
|
+
If a component claim conflicts with architecture, log `CONFLICT` in ticket
|
|
282
|
+
notes and escalate before proceeding.
|
|
283
|
+
|
|
284
|
+
## Content Preservation Gate (Non-Negotiable)
|
|
285
|
+
|
|
286
|
+
**Structural checks cannot see content loss.** Every check in the Quality Gate
|
|
287
|
+
below is structural - sections present, fields present, ranges present. A
|
|
288
|
+
recomposition can pass all of them while having silently destroyed text.
|
|
289
|
+
|
|
290
|
+
This is not hypothetical. A real recomposition of a 2,249-line architecture
|
|
291
|
+
document lost ~170 lines to a regex that captured only the description text on
|
|
292
|
+
the same physical line as the path: fifteen wrapped descriptions truncated, two
|
|
293
|
+
destroyed outright, and a previous `## Context / Handoff Summary` overwritten,
|
|
294
|
+
taking a record of decisions in force with it. All six structural checks passed
|
|
295
|
+
the entire time. It was caught by a human noticing the file had shrunk.
|
|
296
|
+
|
|
297
|
+
So, before the first transform:
|
|
298
|
+
|
|
299
|
+
1. Capture a **multiset** of the document's non-blank, whitespace-normalised
|
|
300
|
+
lines. Counts, not a set - a set cannot see that a line appearing three times
|
|
301
|
+
now appears once.
|
|
302
|
+
2. Do the work.
|
|
303
|
+
3. Re-capture and compare. Every line from the baseline must appear either in
|
|
304
|
+
the resulting document or in a **named migration target** you can point at.
|
|
305
|
+
|
|
306
|
+
```bash
|
|
307
|
+
# BEFORE the first transform
|
|
308
|
+
grep -v '^[[:space:]]*$' DOC.md | sed 's/[[:space:]]\+/ /g' | sort | uniq -c > /tmp/before.txt
|
|
309
|
+
|
|
310
|
+
# AFTER - the document PLUS every target you moved material into
|
|
311
|
+
cat DOC.md MIGRATION_TARGET.md ... | grep -v '^[[:space:]]*$' \
|
|
312
|
+
| sed 's/[[:space:]]\+/ /g' | sort | uniq -c > /tmp/after.txt
|
|
313
|
+
|
|
314
|
+
diff /tmp/before.txt /tmp/after.txt
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
**The `after` capture must span the document and its migration targets.**
|
|
318
|
+
Comparing the document against itself contradicts the rule above: relocation is
|
|
319
|
+
explicitly allowed, so every legitimately moved line reports as loss. That fires
|
|
320
|
+
hardest on a recomposition that moves material - the exact case this gate exists
|
|
321
|
+
for - and a gate that cries wolf is disabled by the second person who hits it.
|
|
322
|
+
|
|
323
|
+
**The baseline must be captured BEFORE the first edit.** Captured afterwards it
|
|
324
|
+
proves nothing - it describes the document you already built, which is the exact
|
|
325
|
+
trap that makes "I verified it" feel true while content is gone.
|
|
326
|
+
|
|
327
|
+
**Reformatting reads as loss under a line comparison.** Rewrapping prose or
|
|
328
|
+
changing a record's shape leaves the content intact and the line text different,
|
|
329
|
+
so this recipe flags it. When a pass deliberately reshapes entries, compare
|
|
330
|
+
extracted content - the paths, the field values, the claims - rather than raw
|
|
331
|
+
lines, or the gate fails on work that lost nothing. Do not respond by relaxing
|
|
332
|
+
the gate; respond by comparing the right thing.
|
|
333
|
+
|
|
334
|
+
A line legitimately removed is fine. A line you cannot account for is a defect,
|
|
335
|
+
and this gate fails until you can name where it went.
|
|
336
|
+
|
|
337
|
+
## Quality Gate (Pass/Fail)
|
|
338
|
+
Pass only when all checks are true:
|
|
339
|
+
- [ ] Content Preservation Gate satisfied: every baseline line is present
|
|
340
|
+
in this document or in a named migration target.
|
|
341
|
+
- [ ] Required section order exists and is complete.
|
|
342
|
+
- [ ] Every C3 entry includes the minimum contract fields.
|
|
343
|
+
- [ ] C1 call flows use concrete method/function names.
|
|
344
|
+
- [ ] C1 map entries include path, range, LOC, and verified_at.
|
|
345
|
+
- [ ] Architecture terminology and boundaries are consistent.
|
|
346
|
+
- [ ] Information Sources support all promoted FACT claims.
|
|
347
|
+
- [ ] No path in the document begins with the install directory, and every path
|
|
348
|
+
into the documented codebase is repo-relative rather than absolute.
|
|
349
|
+
|
|
350
|
+
Passing this gate means the document is structurally sound, not that it is good.
|
|
351
|
+
Every check above is binary: "Every C3 entry includes the minimum contract
|
|
352
|
+
fields" passes on twelve fields that each restate their own name. Score the
|
|
353
|
+
document with
|
|
354
|
+
`agent_onboarding/default/design_engineer/policies/system_document_quality_rubric.md`
|
|
355
|
+
(src_components profile - Depth is scored per entry and averaged, so hollow
|
|
356
|
+
entries cannot hide behind good ones) and record the total in the active ticket.
|
|
357
|
+
Below 60 it is not usable as evidence downstream.
|
|
358
|
+
|
|
359
|
+
## Validation Commands
|
|
360
|
+
- `rg -n '^#{1,6} .*[([][^)\]]*$' context_compass/system_docs/src_components.md` - headings with an unclosed bracket, the usual sign of a wrap
|
|
361
|
+
- `rg -n "^## " context_compass/system_docs/src_components.md`
|
|
362
|
+
- `rg -n "C3 Components Catalog|C2 Subcomponents Catalog|Method-Level Call Flows|C1 Code Map" context_compass/system_docs/src_components.md`
|
|
363
|
+
- `rg -n "path|start_line|end_line|loc|verified_at" context_compass/system_docs/src_components.md`
|
|
364
|
+
|
|
365
|
+
Two that must return nothing. These are the portability rule, and unlike the
|
|
366
|
+
others a hit is a defect rather than a thing to eyeball:
|
|
367
|
+
|
|
368
|
+
- `rg -n "context_compass/|agent_onboarding/|tools/system_documents/|index_document\.py|system_docs/|patches/active/" context_compass/system_docs/src_components.md` -
|
|
369
|
+
any hit is a path into this package that a downstream reader cannot resolve.
|
|
370
|
+
Note the alternation. Checking only for `context_compass/` finds nothing on a
|
|
371
|
+
real leaked document, because an agent writing from inside the install writes
|
|
372
|
+
`python tools/system_documents/index_document.py --doc system_docs/src_components.md`
|
|
373
|
+
with no prefix at all. That is the same file and the same defect.
|
|
374
|
+
- `rg -n "([A-Za-z]:\\\\|^\s*-?\s*path:\s*[\`']?/)" context_compass/system_docs/src_components.md` -
|
|
375
|
+
absolute paths, Windows or POSIX, which encode one machine's checkout location
|
|
376
|
+
|
|
377
|
+
## Staleness Triggers (When Update Is Mandatory)
|
|
378
|
+
- Component ownership/wiring changed.
|
|
379
|
+
- Lifecycle/cleanup ordering changed.
|
|
380
|
+
- Core method-level flows changed.
|
|
381
|
+
- Architecture boundaries/terms changed.
|
|
382
|
+
- `src_graph.md` changed because documented source wiring or
|
|
383
|
+
ownership relationships changed.
|
|
384
|
+
- `src_graph_index.md` changed because canonical object relationships or ownership
|
|
385
|
+
moved.
|
|
386
|
+
- C1 ranges became stale from code edits.
|
|
387
|
+
- Active component/code-description patch docs changed for the same patch id.
|
|
388
|
+
|
|
389
|
+
## Anti-Patterns (Reject)
|
|
390
|
+
- Component summaries without ownership/lifecycle details.
|
|
391
|
+
- C1 call flows without concrete methods.
|
|
392
|
+
- C1 map entries missing verification fields.
|
|
393
|
+
- Architecture mismatch left undocumented.
|
|
394
|
+
- **Naming Context Compass anywhere in the document.** A `context_compass/...`
|
|
395
|
+
path, a tool invocation, a pointer at a skill file. The document ships with
|
|
396
|
+
the codebase; the tooling does not ship with it. Reference the documented
|
|
397
|
+
source instead, and put maintenance commands in this skill.
|
|
398
|
+
- **Absolute paths in C1 entries, Key Files, or Information Sources.**
|
|
399
|
+
Repo-relative only. An absolute path is correct on exactly one machine.
|
|
400
|
+
|
|
401
|
+
## Handoff Rule
|
|
402
|
+
- End with a concise `Context / Handoff Summary` that states:
|
|
403
|
+
- what component contracts changed,
|
|
404
|
+
- what is still unknown,
|
|
405
|
+
- which subsystem should be verified next.
|
contextcompass_cli/_package/agent_onboarding/default/design_engineer/skills/system_design_method.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
# system_design_method
|
|
3
|
+
|
|
4
|
+
Purpose
|
|
5
|
+
- Provide a consistent structure for software/system design artifacts.
|
|
6
|
+
- Ensure designs cover components, data flows, failure modes, and operability.
|
|
7
|
+
|
|
8
|
+
Design skeleton (use as headings)
|
|
9
|
+
1) Context
|
|
10
|
+
- current system summary (with evidence),
|
|
11
|
+
- problem statement and goals.
|
|
12
|
+
2) Constraints
|
|
13
|
+
- compatibility, performance, reliability, security, timeline.
|
|
14
|
+
3) Proposed architecture
|
|
15
|
+
- components and responsibilities,
|
|
16
|
+
- boundaries (what depends on what),
|
|
17
|
+
- data flows and control flows.
|
|
18
|
+
4) Interfaces and contracts
|
|
19
|
+
- APIs, schemas, events, error semantics, versioning.
|
|
20
|
+
5) State and data model
|
|
21
|
+
- entities, relationships, consistency model, migrations.
|
|
22
|
+
6) Failure modes and resilience
|
|
23
|
+
- what can fail, how it is detected, how it recovers.
|
|
24
|
+
7) Observability and operability
|
|
25
|
+
- logs/metrics/traces, dashboards, runbooks, alerting.
|
|
26
|
+
8) Testing and validation
|
|
27
|
+
- unit/integration/e2e, invariants, test data strategy.
|
|
28
|
+
9) Rollout and migration plan
|
|
29
|
+
- deploy phases, feature flags, backouts, compatibility windows.
|
|
30
|
+
10) Risks and open questions
|
|
31
|
+
- explicit UNKNOWNs and risk acceptance points.
|
|
32
|
+
11) Ticketization
|
|
33
|
+
- break into tasks with clear deliverables and dependencies.
|
|
34
|
+
|
|
35
|
+
Rules
|
|
36
|
+
- Prefer explicit diagrams (even ASCII) when it clarifies components and flows.
|
|
37
|
+
- Keep each component description atomic: one responsibility cluster per component.
|
|
38
|
+
- If you cannot justify a boundary or dependency, mark as UNKNOWN and verify.
|
|
39
|
+
|
|
40
|
+
References
|
|
41
|
+
- `agent_onboarding/default/design_engineer/skills/decomposition_and_boundaries.md`
|
|
42
|
+
- `agent_onboarding/default/design_engineer/skills/nonfunctional_requirements.md`
|
|
43
|
+
- `agent_onboarding/default/design_engineer/skills/design_review_protocol.md`
|
|
44
|
+
|
|
45
|
+
|