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,360 @@
|
|
|
1
|
+
|
|
2
|
+
# system_document_build
|
|
3
|
+
|
|
4
|
+
Purpose
|
|
5
|
+
- Define the authoring format for `src_components.md` and `src_architecture.md`.
|
|
6
|
+
- Define how their indexes are built and kept current.
|
|
7
|
+
|
|
8
|
+
## These documents are AUTHORED, not generated
|
|
9
|
+
|
|
10
|
+
There is no build step and no codegen. `src_components.md` is the file you edit
|
|
11
|
+
directly. Nothing assembles it from pieces, and no script writes its prose.
|
|
12
|
+
|
|
13
|
+
That is not a convenience choice, it is a limit. A component's responsibilities,
|
|
14
|
+
its ownership boundaries, and why it exists cannot be derived from source. The
|
|
15
|
+
same wall that makes `owns_lifecycle_of` and `borrows` indistinguishable to a
|
|
16
|
+
parser makes "this component admits transactions into scope" underivable. If a
|
|
17
|
+
tool could write it, it would not be worth reading.
|
|
18
|
+
|
|
19
|
+
The only generated artifact is the **index**: a table of line ranges that lets a
|
|
20
|
+
reader slice the document instead of loading all of it.
|
|
21
|
+
|
|
22
|
+
| document | authored | generated |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `src_components.md` | the document | `src_components_index.md` |
|
|
25
|
+
| `src_architecture.md` | the document | `src_architecture_index.md` |
|
|
26
|
+
| `src_graph.md` | nothing | the whole thing - see `src_graph_generation.md` |
|
|
27
|
+
|
|
28
|
+
## Why format matters
|
|
29
|
+
|
|
30
|
+
The index is only as useful as the document's heading structure, because
|
|
31
|
+
headings are the only thing it can cut on. This is about **addressability**, not
|
|
32
|
+
size: a section that cannot be named cannot be requested, however short it is.
|
|
33
|
+
|
|
34
|
+
**Every navigable unit needs its own heading at a predictable level.** If four
|
|
35
|
+
components share one heading, the index cannot offer them separately and a
|
|
36
|
+
reader wanting one must read all four.
|
|
37
|
+
|
|
38
|
+
**Names are the query.** `--slice` matches on the section name, so a section
|
|
39
|
+
called `Overview` in a document holding six overviews is unaddressable even
|
|
40
|
+
though it is indexed. Name sections after the thing they describe.
|
|
41
|
+
|
|
42
|
+
**Avoid container headings that hold nothing but other headings.** Indexing a
|
|
43
|
+
production `src_components.md` produces a `C3 Components Catalog` section of
|
|
44
|
+
**1,945 lines**: it wraps 24 components, so
|
|
45
|
+
its range spans all of them. An entry like that defeats the index while
|
|
46
|
+
appearing to use it, because a reader who selects it loads 37% of the document
|
|
47
|
+
believing they sliced it. Containers are fine as organisation; just never select
|
|
48
|
+
one when a child would do.
|
|
49
|
+
|
|
50
|
+
The same trap one level up is the document title, which is why the indexer omits
|
|
51
|
+
a lone `#` heading entirely.
|
|
52
|
+
|
|
53
|
+
## Heading shape: `src_components.md` and `tests_components.md`
|
|
54
|
+
|
|
55
|
+
**This skill does not declare which sections a document contains, or which
|
|
56
|
+
fields a component entry carries.** Those are the Required Section Contract and
|
|
57
|
+
the Component Entry Contract, and they live in the four `*_instructions.md`
|
|
58
|
+
skills. This skill covers only the heading structure the indexer depends on -
|
|
59
|
+
restating the section list here would create a second authority, and two lists
|
|
60
|
+
drift the moment one is edited.
|
|
61
|
+
|
|
62
|
+
```markdown
|
|
63
|
+
# <document title> <- exactly one H1
|
|
64
|
+
|
|
65
|
+
## <front matter sections> <- H2, per the Required Section Contract
|
|
66
|
+
|
|
67
|
+
## C3 Components Catalog <- H2: container. Never the read target.
|
|
68
|
+
|
|
69
|
+
### Component: <Name> <- H3: THE navigable unit. One per component.
|
|
70
|
+
- <fields, per the Component Entry Contract>
|
|
71
|
+
|
|
72
|
+
## C2 Subcomponents Catalog
|
|
73
|
+
|
|
74
|
+
### Subcomponent: <Name> <- H3, same shape
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Rules that the index depends on:
|
|
78
|
+
|
|
79
|
+
- **Exactly one H1.** More than one and the indexer cannot identify the title,
|
|
80
|
+
so it stops omitting it and you get a section spanning the whole file.
|
|
81
|
+
- **Every component is an H3**, never H2 and never H4. Mixed depth means mixed
|
|
82
|
+
granularity in the index.
|
|
83
|
+
- **`Component: ` / `Subcomponent: ` prefixes are load-bearing.** They are how a
|
|
84
|
+
reader greps the index for units rather than front matter.
|
|
85
|
+
- **Names are unique and stable.** The index is selected on name; two components
|
|
86
|
+
with the same name are indistinguishable to a consumer.
|
|
87
|
+
- **`Key Files (C1)` lists real `src/...` paths.** This is the join to
|
|
88
|
+
`src_graph.md`, and it measured 98% resolvable on the reference project. Break
|
|
89
|
+
it and component-to-graph navigation stops working.
|
|
90
|
+
|
|
91
|
+
## Heading shape: `src_architecture.md` and `tests_architecture.md`
|
|
92
|
+
|
|
93
|
+
Same rules, one difference: the navigable unit is an **H2 concern**, not an H3
|
|
94
|
+
component, because architecture sections cut across components rather than
|
|
95
|
+
describing one each. These documents have no container heading at all - every H2
|
|
96
|
+
is selectable.
|
|
97
|
+
|
|
98
|
+
```markdown
|
|
99
|
+
# <document title> <- exactly one H1
|
|
100
|
+
|
|
101
|
+
## <Concern> <- H2: the navigable unit
|
|
102
|
+
### <Sub-topic> <- H3: optional, indexed too
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
The source-side and test-side documents at each level are mirrors: same section
|
|
106
|
+
contract, same heading shape, same index shape. If a test document's structure
|
|
107
|
+
diverges from its source counterpart, the divergence is the defect.
|
|
108
|
+
|
|
109
|
+
Every system document gets an index. There is no size below which one is
|
|
110
|
+
skipped: the index is not a size optimisation, it is how a document becomes
|
|
111
|
+
addressable. A small document with an index can be sliced by name; a small
|
|
112
|
+
document without one can only be read whole.
|
|
113
|
+
|
|
114
|
+
Section lists and entry fields:
|
|
115
|
+
- `agent_onboarding/default/design_engineer/skills/src_components_instructions.md`
|
|
116
|
+
- `agent_onboarding/default/design_engineer/skills/tests_components_instructions.md`
|
|
117
|
+
- `agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md`
|
|
118
|
+
- `agent_onboarding/default/design_engineer/skills/tests_architecture_instructions.md`
|
|
119
|
+
|
|
120
|
+
## Patch documents: explicit ENTRY markers
|
|
121
|
+
|
|
122
|
+
Patch documents under `system_docs/patches/` do not section cleanly by heading.
|
|
123
|
+
Each entry is a distinct revision of a named thing, and heading depth carries no
|
|
124
|
+
meaning there - two revisions of the same component are peers regardless of how
|
|
125
|
+
deep their headings happen to sit.
|
|
126
|
+
|
|
127
|
+
So patches declare their boundaries instead of implying them:
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
<!-- BEGIN ENTRY: "PipelineScope: stage admission" -->
|
|
131
|
+
## Revision 1
|
|
132
|
+
|
|
133
|
+
Introduces `PipelineScope` as the single admission point for stage
|
|
134
|
+
registration. Callers stop constructing `Stage` directly.
|
|
135
|
+
|
|
136
|
+
- affects: `src/example/pipeline/`
|
|
137
|
+
- risk: high, changes an admission gate
|
|
138
|
+
<!-- END ENTRY: "PipelineScope: stage admission" -->
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**The name in the marker is the point.** It moves verbatim into the index, so a
|
|
142
|
+
row identifies the object it covers:
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
| lines | lvl | name |
|
|
146
|
+
| 6-14 | 1 | PipelineScope: stage admission |
|
|
147
|
+
| 16-23 | 1 | StoreHandle: contract delegation |
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
A row keyed by a number tells a reader nothing about whether to read it. Every
|
|
151
|
+
index this system produces is keyed by a name - breadcrumb path for authored
|
|
152
|
+
documents, source path for the graph, entry name for patches. There are no
|
|
153
|
+
anonymous rows anywhere, and there must not be.
|
|
154
|
+
|
|
155
|
+
Rules:
|
|
156
|
+
|
|
157
|
+
- `BEGIN ENTRY` and `END ENTRY` are HTML comments, so they do not render.
|
|
158
|
+
- Quotes around the name are optional; the name is trimmed either way.
|
|
159
|
+
- `END ENTRY` may repeat the name or omit it. If it repeats it, it must match.
|
|
160
|
+
- Entries do not nest. Opening one while another is open is an error.
|
|
161
|
+
- **Malformed markers refuse to index.** Unbalanced or mismatched markers are
|
|
162
|
+
reported and nothing is written. A silently repaired boundary produces a range
|
|
163
|
+
that looks correct and covers the wrong text.
|
|
164
|
+
|
|
165
|
+
Markers work in any document. `--mode auto` (the default) uses them when
|
|
166
|
+
present and falls back to headings when not, so a document that adopts markers
|
|
167
|
+
gets entry-based sectioning with no flag change.
|
|
168
|
+
|
|
169
|
+
## Building the index
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
173
|
+
--doc context_compass/system_docs/src_components.md
|
|
174
|
+
|
|
175
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
176
|
+
--doc context_compass/system_docs/src_architecture.md
|
|
177
|
+
|
|
178
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
179
|
+
--doc context_compass/system_docs/patches/active/<patch_id>/architecture_patch.md
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
`--max-level` sets the deepest heading indexed (default 3). `--mode` forces
|
|
183
|
+
`heading` or `entry` sectioning. `--check` verifies the existing index is
|
|
184
|
+
current and writes nothing - run it before trusting any range.
|
|
185
|
+
|
|
186
|
+
The tool **never modifies the document**. It reads, validates, and writes
|
|
187
|
+
`<stem>_index.md` beside it.
|
|
188
|
+
|
|
189
|
+
It refuses two targets outright, because it writes and a wrong target does not
|
|
190
|
+
produce a confusing message you shrug off - it produces a plausible file that
|
|
191
|
+
replaces a correct one:
|
|
192
|
+
|
|
193
|
+
- **an `*_index.md` file.** Indexing an index yields `<stem>_index_index.md`,
|
|
194
|
+
which addresses nothing.
|
|
195
|
+
- **an assembled graph** (any document containing `<!-- BEGIN FILE:`). Its index
|
|
196
|
+
is a byproduct of assembly and cannot disagree with it. Re-indexing here would
|
|
197
|
+
re-parse headings and overwrite that with a weaker index keyed by heading
|
|
198
|
+
breadcrumb rather than source path. Run `assemble_graph.py`.
|
|
199
|
+
|
|
200
|
+
Both refusals came from doing it: a convenience glob over `examples/example_*/*.md`
|
|
201
|
+
swept in the generated graph and every existing index, overwrote the graph's
|
|
202
|
+
byproduct index, and left ten junk files behind. The counts caught it, not the
|
|
203
|
+
output - which is the argument for the refusal being in the tool rather than in a
|
|
204
|
+
sentence someone is supposed to remember.
|
|
205
|
+
|
|
206
|
+
Every range is validated against its own heading before anything is written. An
|
|
207
|
+
off-by-one silently corrupts every downstream read, so it is checked rather than
|
|
208
|
+
trusted, and a failed validation writes nothing.
|
|
209
|
+
|
|
210
|
+
## Slicing: how the index is consumed
|
|
211
|
+
|
|
212
|
+
An index exists to be sliced. The workflow is three steps, and step two is not
|
|
213
|
+
optional:
|
|
214
|
+
|
|
215
|
+
1. Find the section by NAME in the index.
|
|
216
|
+
2. Verify the index is current.
|
|
217
|
+
3. Read only those lines.
|
|
218
|
+
|
|
219
|
+
The tool does all three:
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
223
|
+
--doc context_compass/system_docs/src_components.md \
|
|
224
|
+
--slice "Router and Role Resolution"
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
It verifies `line_count` and `content_sha256` against the index ON DISK before
|
|
228
|
+
returning anything, and prints the range as a header so the output carries its
|
|
229
|
+
own citation:
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
<!-- src_components.md:74-94 C3 Components Catalog > Component: Router and Role Resolution Engine -->
|
|
233
|
+
### Component: Router and Role Resolution Engine
|
|
234
|
+
- Purpose: resolve the selected role chain deterministically.
|
|
235
|
+
...
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
That is real output from the document shipped in this package - run the command
|
|
239
|
+
and you get it back.
|
|
240
|
+
|
|
241
|
+
Behaviour that matters:
|
|
242
|
+
|
|
243
|
+
- **A stale index refuses to slice.** Edit the document without regenerating and
|
|
244
|
+
you get `INDEX STALE - refusing to slice`, not wrong content.
|
|
245
|
+
- **An ambiguous name lists the candidates rather than guessing.** Asking for
|
|
246
|
+
`Catalog` against the shipped `src_components.md` matches 7 sections; it prints them
|
|
247
|
+
with their ranges so you can narrow.
|
|
248
|
+
- **A missing index refuses too.** Generate before you slice.
|
|
249
|
+
|
|
250
|
+
This is why section names must be unique and descriptive. `--slice` matches on
|
|
251
|
+
the name, so the name is the query - a section called `Overview` in a document
|
|
252
|
+
with six overviews is unaddressable.
|
|
253
|
+
|
|
254
|
+
## Regenerate whenever the document changes
|
|
255
|
+
|
|
256
|
+
The index records `line_count`, `content_sha256`, and `line_ending`. Insert one
|
|
257
|
+
line near the top and every range below it is wrong - while the index still
|
|
258
|
+
parses, still looks plausible, and still returns content. It returns the WRONG
|
|
259
|
+
content, confidently.
|
|
260
|
+
|
|
261
|
+
So: edit the document, regenerate the index, in the same pass. A consumer that
|
|
262
|
+
finds a mismatch must refuse to slice; see
|
|
263
|
+
`agent_onboarding/default/engineer/skills/src_graph_usage.md` for the
|
|
264
|
+
verification procedure, which is identical.
|
|
265
|
+
|
|
266
|
+
## The document has to survive leaving this repository
|
|
267
|
+
|
|
268
|
+
`src_architecture.md`, `src_components.md`, `tests_architecture.md`,
|
|
269
|
+
`tests_components.md` and `src_graph.md` describe a codebase. They get committed
|
|
270
|
+
to that codebase, reviewed with it, and in a packaged project they ship inside
|
|
271
|
+
the wheel - some projects publish one as a module attribute so a consumer can
|
|
272
|
+
read the architecture without leaving the interpreter.
|
|
273
|
+
|
|
274
|
+
None of those readers have Context Compass. It is a helper repository that
|
|
275
|
+
produced the document; it is not a dependency of the document. So a line like
|
|
276
|
+
|
|
277
|
+
```
|
|
278
|
+
python context_compass/tools/system_documents/index_document.py --doc ...
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
is correct for you, at this moment, in this checkout, and is dead text for every
|
|
282
|
+
other reader the document will ever have.
|
|
283
|
+
|
|
284
|
+
**The rule: a produced system document contains no path that points into this
|
|
285
|
+
package.** No tool invocation, no pointer at a skill file, no cross-reference by
|
|
286
|
+
path.
|
|
287
|
+
|
|
288
|
+
State it by destination, not by spelling. The install prefix is often absent,
|
|
289
|
+
because an agent authoring from inside the install writes what it sees:
|
|
290
|
+
|
|
291
|
+
```
|
|
292
|
+
python tools/system_documents/index_document.py --doc system_docs/src_architecture.md
|
|
293
|
+
Spec: `agent_onboarding/default/engineer/skills/system_document_build.md`
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
Not one of those lines contains the string `context_compass`, and every one of
|
|
297
|
+
them is a path into this package. A check that looks only for the prefix passes
|
|
298
|
+
a thoroughly leaked document. The markers that matter are `context_compass/`,
|
|
299
|
+
`agent_onboarding/`, `tools/system_documents/`, `system_docs/`,
|
|
300
|
+
`patches/active/`, and any tool filename such as `index_document.py`.
|
|
301
|
+
|
|
302
|
+
What replaces each kind of reference:
|
|
303
|
+
|
|
304
|
+
| you want to write | write instead |
|
|
305
|
+
| --- | --- |
|
|
306
|
+
| `python tools/system_documents/index_document.py ...` | nothing - the command lives in the role skill, where a maintainer already is |
|
|
307
|
+
| `system_docs/src_components.md`, prefixed or not | `src_components` - the logical document id |
|
|
308
|
+
| `` Spec: `agent_onboarding/.../<skill>.md` `` | nothing - the document does not cite its own tooling |
|
|
309
|
+
| `patches/active/<patch_id>/...` | the patch id alone, if the reader needs it at all |
|
|
310
|
+
| the file being documented | `src/<pkg>/engine.py` - keep it, repo-relative |
|
|
311
|
+
|
|
312
|
+
Two things this rule does **not** ban, and both matter:
|
|
313
|
+
|
|
314
|
+
- **Paths into the documented source.** A C1 entry naming `src/<pkg>/engine.py`
|
|
315
|
+
or `tests/unit/test_engine.py` is the entire value of the entry. Reference the
|
|
316
|
+
source, always.
|
|
317
|
+
- **Naming a sibling system document.** A reader benefits from knowing
|
|
318
|
+
`src_components` goes deeper than `src_architecture` on the same subject.
|
|
319
|
+
Use the id, not the path - the id survives the pair being vendored into
|
|
320
|
+
another repository, published under a different root, or renamed.
|
|
321
|
+
|
|
322
|
+
Absolute paths are banned for the same reason and are worse:
|
|
323
|
+
`C:\Users\...\src\<pkg>\engine.py` is correct on exactly one machine and wrong
|
|
324
|
+
the moment the repository is cloned. Repo-relative, always.
|
|
325
|
+
|
|
326
|
+
`src_graph.md` is the model. It is fully generated, it cites the source tree
|
|
327
|
+
constantly, and it contains zero install-prefixed paths - so the generator
|
|
328
|
+
already gets this right and is the thing to copy.
|
|
329
|
+
|
|
330
|
+
## Anti-patterns
|
|
331
|
+
|
|
332
|
+
- Generating any part of these documents. They are authored.
|
|
333
|
+
- Hand-editing an index. Regenerate it.
|
|
334
|
+
- Editing the document and leaving the index stale.
|
|
335
|
+
- Selecting a container section (`C3 Components Catalog`) when a component
|
|
336
|
+
section would answer the question.
|
|
337
|
+
- Adding a second H1, or nesting components at inconsistent depths.
|
|
338
|
+
- Renaming a component without checking who cited it.
|
|
339
|
+
- Omitting `Key Files (C1):`, which silently severs the join to `src_graph.md`.
|
|
340
|
+
- Restating a section list or entry contract here. This skill owns heading shape
|
|
341
|
+
and index mechanics; the `*_instructions.md` skills own what goes in them.
|
|
342
|
+
- **Writing a path into this package into a produced document.** The commonest
|
|
343
|
+
form is a helpful `## Indexing` section that pastes in the regeneration
|
|
344
|
+
command. It reads as documentation and is an anti-pattern: it welds a document
|
|
345
|
+
that ships to a tool that does not.
|
|
346
|
+
- **Assuming the leak says `context_compass`.** It usually does not. An agent
|
|
347
|
+
authoring from inside the install writes `tools/system_documents/...` and
|
|
348
|
+
`system_docs/...`, no prefix, and a prefix-only check calls that clean.
|
|
349
|
+
- **Citing a skill file from a produced document.** The document is the output;
|
|
350
|
+
the skill is the process. A reader holding the wheel has one and never the
|
|
351
|
+
other.
|
|
352
|
+
- **Absolute paths anywhere in a produced document.** Repo-relative only.
|
|
353
|
+
|
|
354
|
+
References
|
|
355
|
+
- `system_docs/system_docs_read_first.md` (what a fresh install is allowed to be
|
|
356
|
+
missing, and which example docs set the bar before you author anything)
|
|
357
|
+
- `agent_onboarding/default/engineer/skills/src_graph_usage.md`
|
|
358
|
+
- `agent_onboarding/default/engineer/skills/src_graph_generation.md`
|
|
359
|
+
- `agent_onboarding/default/design_engineer/skills/src_components_instructions.md`
|
|
360
|
+
- `agent_onboarding/default/design_engineer/skills/src_architecture_instructions.md`
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# system_orientation
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Provide a consistent way to explain this repo's workflow and docs.
|
|
7
|
+
- Translate agent stories and repo docs into clear, actionable guidance.
|
|
8
|
+
|
|
9
|
+
When to use
|
|
10
|
+
- The user asks how the system works or how to interact with it.
|
|
11
|
+
- The user wants a concise walkthrough before work begins.
|
|
12
|
+
|
|
13
|
+
Required behavior
|
|
14
|
+
- Start with the authority chain from `AGENTS.MD`.
|
|
15
|
+
- Read the required docs before explaining how the system works:
|
|
16
|
+
- `AGENTS.MD`
|
|
17
|
+
- `config/context_compass_config.yaml`
|
|
18
|
+
- `SKILLS.MD`
|
|
19
|
+
- `agent_onboarding/default/general/SKILLS.MD`
|
|
20
|
+
- `agent_onboarding/default/engineer/SKILLS.MD`
|
|
21
|
+
- `agent_onboarding/default/general/skills/workflow.md`
|
|
22
|
+
- Do not restate or override policy; cite the relevant skill or doc.
|
|
23
|
+
|
|
24
|
+
Core references
|
|
25
|
+
- Fresh-install posture for `system_docs/`: `system_docs/system_docs_read_first.md`
|
|
26
|
+
(read this before asserting that a context map is missing or wrong)
|
|
27
|
+
- Agent stories: `agent_onboarding/default/general/behavioral_guidelines/README.md`
|
|
28
|
+
- Ticketing: `agent_onboarding/default/general/skills/workflow.md` and
|
|
29
|
+
`templates/`
|
|
30
|
+
- System context, in the order it is meant to be used - each step names the key the
|
|
31
|
+
next one is looked up by. Do not treat these as a flat menu:
|
|
32
|
+
1. `system_docs/src_architecture.md` - which part of the system (read whole)
|
|
33
|
+
plus `system_docs/src_architecture_index.md` to slice back into it later
|
|
34
|
+
2. `system_docs/src_components_index.md` - look up that part
|
|
35
|
+
3. `system_docs/src_components.md` - **slice**: what it owns, its Key Files
|
|
36
|
+
4. `system_docs/src_graph_index.md` - look up those nodes
|
|
37
|
+
5. `system_docs/src_graph.md` - **slice**: wiring, ownership, callers
|
|
38
|
+
6. the code itself - the only authoritative account of current behaviour
|
|
39
|
+
|
|
40
|
+
Steps 1 and 2 are **baseline** - the narrative and the two indexes, read at
|
|
41
|
+
onboarding when they exist. Everything below them is **Self-directed**: you slice
|
|
42
|
+
it yourself, unprompted, whenever the work needs it. No trigger list, no
|
|
43
|
+
permission step - which is why it is not called On-demand, a state that does have
|
|
44
|
+
a trigger and does mean wait. Authority for both halves is
|
|
45
|
+
`agent_onboarding/default/engineer/SKILLS.MD`.
|
|
46
|
+
- Graph workflow context: `agent_onboarding/default/engineer/skills/src_graph_usage.md`
|
|
47
|
+
- Test architecture context: `system_docs/tests_architecture.md`
|
|
48
|
+
- Test components context: `system_docs/tests_components.md`
|
|
49
|
+
(the tests pair describes the suite; it is not step 7 of the chain above, and it
|
|
50
|
+
is Self-directed - read it when the work concerns the suite, not because you were
|
|
51
|
+
already reading the src pair, and not because something gave you permission)
|
|
52
|
+
- Active patch docs (when patch lane is active):
|
|
53
|
+
`system_docs/patches/active/<patch_id>/`
|
|
54
|
+
- Repo examples: `examples/` (within context_compass)
|
|
55
|
+
|
|
56
|
+
Artifact taxonomy (curated vs scratch)
|
|
57
|
+
- Curated, user-owned (source of truth):
|
|
58
|
+
- `attention_board.md` (canonical routing state for active work)
|
|
59
|
+
- `tickets/epics/`, `tickets/stories/`, `tickets/tasks/`
|
|
60
|
+
- `tickets/epics/completed/`, `tickets/stories/completed/`, `tickets/tasks/completed/` (closed tickets)
|
|
61
|
+
- Scratch, agent-owned (not canonical):
|
|
62
|
+
- `user_defined/` - yours outright, never written to by any tool, create the
|
|
63
|
+
subfolders you want (for example `user_defined/ideas/`, `user_defined/todo/`)
|
|
64
|
+
- There is no top-level `completed/` and no `workspace/` lane. Both were named in
|
|
65
|
+
earlier revisions of this skill and neither has ever shipped; closed tickets
|
|
66
|
+
live in the three `tickets/*/completed/` lanes listed above.
|
|
67
|
+
- Promotion rule: when content becomes durable or actionable, convert it into tickets.
|
|
68
|
+
|
|
69
|
+
Suggested user-facing explanation flow
|
|
70
|
+
1) Authority chain and where behavior lives.
|
|
71
|
+
2) Onboarding sequence in short form.
|
|
72
|
+
3) Ticketing flow (epic -> story -> task).
|
|
73
|
+
4) Architecture/components docs plus patch docs (when applicable).
|
|
74
|
+
5) Implementation gate checks and validation flow.
|
|
75
|
+
|
|
76
|
+
Notes
|
|
77
|
+
- Use clear, direct language; avoid restating full policy documents.
|
|
78
|
+
- Keep explanations faithful to `AGENTS.MD`.
|
|
79
|
+
- When discussing current work state, route via `attention_board.md` and linked tickets, not memory.
|
|
80
|
+
- For system-impacting changes, mention the mandatory patch gate from
|
|
81
|
+
`patch_framework_gating.md`.
|
|
82
|
+
|
|
83
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# technical_expertise
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Enforce engineering-grade problem diagnosis before code changes.
|
|
7
|
+
- Prevent defensive guard sprawl that hides contract errors and adds hot-path overhead.
|
|
8
|
+
|
|
9
|
+
Core rule
|
|
10
|
+
- Do not blindly add defensive checks for every possible `None` or missing attribute.
|
|
11
|
+
- Diagnose the real runtime contract first, then apply the smallest correct fix.
|
|
12
|
+
|
|
13
|
+
Root-cause workflow (required)
|
|
14
|
+
1) Reproduce the issue with concrete failing evidence (stack trace, test, or runtime path).
|
|
15
|
+
2) Trace call-path ownership and lifecycle boundaries.
|
|
16
|
+
3) Identify whether `None`/missing state is valid, invalid, or test-only setup drift.
|
|
17
|
+
4) Classify the fix:
|
|
18
|
+
- Contract violation: fail fast with explicit error.
|
|
19
|
+
- Valid optional state: handle explicitly at the boundary where optionality is real.
|
|
20
|
+
- Test mismatch: update test setup to match production contract.
|
|
21
|
+
5) Implement minimal change that preserves performance and clarity.
|
|
22
|
+
|
|
23
|
+
Performance discipline
|
|
24
|
+
- Every extra guard in hot or frequently executed paths has cost.
|
|
25
|
+
- Prefer strict contracts over repetitive defensive branching.
|
|
26
|
+
- Add guards only when the contract requires optional state.
|
|
27
|
+
|
|
28
|
+
Contract discipline
|
|
29
|
+
- Use lifecycle evidence, not assumptions, to decide if a field can be `None`.
|
|
30
|
+
- `check_cleaned()` proves cleaned-state only; it does not prove all owned references are populated.
|
|
31
|
+
- If an API requires active ownership state, enforce that requirement explicitly.
|
|
32
|
+
|
|
33
|
+
Anti-patterns
|
|
34
|
+
- Adding broad `if x is None: return` everywhere without proving optionality.
|
|
35
|
+
- Swallowing root causes with catch-all fallback behavior.
|
|
36
|
+
- Treating failing tests as proof of production contracts without call-path validation.
|
|
37
|
+
|
|
38
|
+
Expected outcome
|
|
39
|
+
- Fewer superficial fixes.
|
|
40
|
+
- Better failure semantics.
|
|
41
|
+
- Lower overhead on critical paths.
|
|
42
|
+
|
|
43
|
+
References
|
|
44
|
+
- `AGENTS.MD`
|
|
45
|
+
- `agent_onboarding/default/engineer/skills/context_protocol.md`
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# engineer workflows
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Store role-local workflows for the `engineer` role.
|
|
5
|
+
|
|
6
|
+
Rules
|
|
7
|
+
- Actual workflow definitions in this folder are user-generated and
|
|
8
|
+
user-approved only.
|
|
9
|
+
- Use the top-level workflow templates when creating new engineer workflows.
|