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,52 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# typing
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Keep type hints explicit and aligned with contracts.
|
|
7
|
+
|
|
8
|
+
Minimum content for public API:
|
|
9
|
+
* Typing: Always add typehints to signatures, and document complex types in the docstring if needed for clarity.
|
|
10
|
+
|
|
11
|
+
Rules
|
|
12
|
+
- Type hints are mandatory for all functions and methods (public and internal).
|
|
13
|
+
- Use `typing.TYPE_CHECKING` for typing-only imports by default.
|
|
14
|
+
- Python 3.14 deferred annotations are the baseline for this repo.
|
|
15
|
+
Use the real imported type name directly in annotations when the import lives
|
|
16
|
+
under `TYPE_CHECKING`.
|
|
17
|
+
- Use Protocol and ABC only where a real shared structural or inheritance
|
|
18
|
+
contract exists (see interfaces).
|
|
19
|
+
- Document complex types in the docstring.
|
|
20
|
+
- Avoid dynamic typing when a precise type is known.
|
|
21
|
+
- Do not add "from __future__ import annotations" in new files.
|
|
22
|
+
- Python 3.14 already defers annotations by default, so this import is not a
|
|
23
|
+
valid workaround for typing-only import pressure.
|
|
24
|
+
- Use Optional/Union for nullable and multi-type hints (no PEP 604 unions).
|
|
25
|
+
- Do not use "|" union syntax in annotations or docstring signatures.
|
|
26
|
+
- Do not quote concrete type names imported only under `TYPE_CHECKING` unless a
|
|
27
|
+
tool-specific edge case genuinely requires it.
|
|
28
|
+
- Use `typing.TYPE_CHECKING` for guarded imports when the dependency is
|
|
29
|
+
typing-only; prefer interface extraction only when a concrete shared
|
|
30
|
+
structure truly needs to be enforced across implementations.
|
|
31
|
+
- Do not add `else: TypeName = Any` fallback aliases just to satisfy
|
|
32
|
+
annotation resolution.
|
|
33
|
+
- Because this repo is typed with mypy, widening a truthful concrete
|
|
34
|
+
collaborator type to `Any` is wrong unless it is genuinely unavoidable and
|
|
35
|
+
explicitly raised to the user first.
|
|
36
|
+
|
|
37
|
+
Good vs bad
|
|
38
|
+
- Good: "def load_config(path: Path) -> Config" with docstring describing Config fields.
|
|
39
|
+
- Good: "def build(logger: Optional[Union[IChannelLogger, logging.Logger]]) -> SafeLogger"
|
|
40
|
+
- Good: `if TYPE_CHECKING: from x import RealType` then `def f(x: RealType) -> None`
|
|
41
|
+
- Bad: "def load_config(path)" with no type hints.
|
|
42
|
+
- Bad: "def build(logger: IChannelLogger | logging.Logger | None)" (PEP 604 union syntax).
|
|
43
|
+
- Bad: `else: RealType = Any`
|
|
44
|
+
- Bad: `def f(x: "RealType") -> None` when `RealType` already comes from a
|
|
45
|
+
`TYPE_CHECKING` import and no tool-specific edge case exists.
|
|
46
|
+
|
|
47
|
+
Examples
|
|
48
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/protocols_and_abc.py
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# synaptic_skill_overrides
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Capture user-specific skill behaviors that should not be global defaults.
|
|
7
|
+
- Preserve public baseline reusability by isolating profile-specific execution
|
|
8
|
+
preferences here.
|
|
9
|
+
|
|
10
|
+
Skill overrides
|
|
11
|
+
- Use high-initiative partner mode by default:
|
|
12
|
+
drive recommendations with evidence and concrete next actions.
|
|
13
|
+
- Use higher clarification cadence:
|
|
14
|
+
prefer immediate clarification requests over silent assumptions when ambiguity
|
|
15
|
+
remains after brief investigation.
|
|
16
|
+
- Use stronger contradiction handling:
|
|
17
|
+
when proposal quality is low, surface conflict directly with specific
|
|
18
|
+
technical rationale and alternatives.
|
|
19
|
+
|
|
20
|
+
Source migration notes
|
|
21
|
+
- These overrides absorb user-specific intensity previously embedded in broad
|
|
22
|
+
bootstrap guidance.
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# evidence_reporting
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Enforce truthful reporting of tests and checks.
|
|
7
|
+
|
|
8
|
+
Validation Truthfulness
|
|
9
|
+
* Never claim tests/lint/type-checks were run unless they were actually run.
|
|
10
|
+
* If validation is skipped, say explicitly: "Not run."
|
|
11
|
+
* If fast checks exist, recommend the exact commands - but do not pretend they happened.
|
|
12
|
+
|
|
13
|
+
Truthful Validation Reporting
|
|
14
|
+
When reporting validation status:
|
|
15
|
+
* Only claim unit/integration/coverage runs if you actually ran them.
|
|
16
|
+
* If not run, say "Not run."
|
|
17
|
+
* If recommending commands, be specific and repo-consistent (e.g., pytest, pytest -q, pytest -m integration, pytest --cov). Do not invent a workflow that contradicts repository docs.
|
|
18
|
+
|
|
19
|
+
Rules
|
|
20
|
+
- Never claim tests ran unless they actually ran.
|
|
21
|
+
- If tests were not run, report: "Not run."
|
|
22
|
+
- Suggest repo-consistent commands when needed.
|
|
23
|
+
- If coverage was not measured, say so explicitly.
|
|
24
|
+
|
|
25
|
+
Example commands
|
|
26
|
+
- pytest
|
|
27
|
+
- pytest -q
|
|
28
|
+
- pytest -m integration
|
|
29
|
+
- pytest --cov
|
|
30
|
+
|
|
31
|
+
References
|
|
32
|
+
- `agent_onboarding/default/general/README.md`
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# mocking
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Keep mocks stable and aligned with real boundaries.
|
|
7
|
+
|
|
8
|
+
Rules: Unit Tests First (Mock + Isolated)
|
|
9
|
+
* Mock external boundaries (I/O, filesystem, network, subprocesses, clocks, OS calls, databases, thread scheduling, random sources).
|
|
10
|
+
* Validate contracts (inputs/outputs/raises), invariants, and side effects (including cleanup ordering) at the smallest reasonable unit.
|
|
11
|
+
* Prefer contract-level assertions over implementation-detail assertions.
|
|
12
|
+
|
|
13
|
+
Test Mocks Skills
|
|
14
|
+
For reusable test-only classes and helpers, see `tests/mocks/`.
|
|
15
|
+
|
|
16
|
+
Rules
|
|
17
|
+
- Mock OS, filesystem, subprocess, network, and time.
|
|
18
|
+
- Avoid mocking internal logic or private fields.
|
|
19
|
+
- Do not over-specify call order unless it is part of the contract.
|
|
20
|
+
- Prefer asserting essential arguments and outcomes over full call sequences.
|
|
21
|
+
|
|
22
|
+
Good vs bad
|
|
23
|
+
- Good: assert a single boundary call with essential args.
|
|
24
|
+
- Bad: assert a long sequence of incidental internal calls.
|
|
25
|
+
|
|
26
|
+
Examples
|
|
27
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_unit_examples.py
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# pytest_integration
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Define when integration tests are required.
|
|
7
|
+
|
|
8
|
+
Integration tests are required when behavior cannot be proven safely via mocks/unit tests.
|
|
9
|
+
|
|
10
|
+
Use integration tests when at least one is true:
|
|
11
|
+
* Correctness depends on real interactions across multiple components (e.g., concurrency scheduling, orchestration behavior, serializer/codec correctness across layers).
|
|
12
|
+
* Mocking would require re-implementing the system under test or would make the test meaningless.
|
|
13
|
+
* The integration is the contract (e.g., plugin wiring, adapter boundaries, real concurrency primitives).
|
|
14
|
+
|
|
15
|
+
Rules for integration tests:
|
|
16
|
+
* Keep them scoped: integrate only the minimal set of real components needed.
|
|
17
|
+
* Make them explicit: use clear naming and markers (e.g., @pytest.mark.integration) if the repo uses them.
|
|
18
|
+
* Ensure they remain repeatable and not environment-dependent unless explicitly documented.
|
|
19
|
+
|
|
20
|
+
Rules
|
|
21
|
+
- Use integration tests only when unit tests cannot prove correctness.
|
|
22
|
+
- Prefer component tests first when a small slice of real wiring is enough.
|
|
23
|
+
- Keep integration scopes minimal and explicit.
|
|
24
|
+
- Mark integration tests clearly if the repo uses markers.
|
|
25
|
+
- Avoid flaky environment dependencies unless explicitly required.
|
|
26
|
+
|
|
27
|
+
Example uses
|
|
28
|
+
- Concurrency behavior across multiple components.
|
|
29
|
+
- Real serializer or adapter behavior across layers.
|
|
30
|
+
|
|
31
|
+
Examples
|
|
32
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_integration_examples.py
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# pytest_unit
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Establish unit test expectations for python code.
|
|
7
|
+
|
|
8
|
+
Rules: Unit Tests First (Mock + Isolated)
|
|
9
|
+
The default approach is mocked / isolated unit tests.
|
|
10
|
+
|
|
11
|
+
* Mock external boundaries (I/O, filesystem, network, subprocesses, clocks, OS calls, databases, thread scheduling, random sources).
|
|
12
|
+
* Validate contracts (inputs/outputs/raises), invariants, and side effects (including cleanup ordering) at the smallest reasonable unit.
|
|
13
|
+
* Prefer contract-level assertions over implementation-detail assertions.
|
|
14
|
+
* Avoid flakiness: tests must run reliably on repeated runs.
|
|
15
|
+
|
|
16
|
+
Contract-level assertion checklist
|
|
17
|
+
When writing a unit test, you should be able to answer "yes" to most of these:
|
|
18
|
+
* Does the test assert an observable outcome (return, raise, snapshot, state transition)?
|
|
19
|
+
* Would the test fail if a real regression happened?
|
|
20
|
+
* Would the test still pass after a harmless refactor (renaming locals, reordering statements, changing internal data structures)?
|
|
21
|
+
* Are mocks only used at true boundaries?
|
|
22
|
+
* Are we asserting behavior rather than "internal shape"?
|
|
23
|
+
If not, the test is probably Rank E/F.
|
|
24
|
+
|
|
25
|
+
Rules
|
|
26
|
+
- Use fixtures for setup/teardown and dependency injection.
|
|
27
|
+
- Mock only true boundaries (filesystem, OS, network, time).
|
|
28
|
+
- Assert public behavior and contract outcomes.
|
|
29
|
+
- Prefer contract-level assertions over private fields.
|
|
30
|
+
- Include error-path coverage when documented in docstrings.
|
|
31
|
+
|
|
32
|
+
Example assertions
|
|
33
|
+
- Return values match documented contract.
|
|
34
|
+
- Raises ValueError on invalid input.
|
|
35
|
+
- Cleanup is idempotent.
|
|
36
|
+
|
|
37
|
+
Examples
|
|
38
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_unit_examples.py
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# regression_tests
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Capture specific bug fixes with minimal repros.
|
|
7
|
+
|
|
8
|
+
Regression Reproduction Tests
|
|
9
|
+
|
|
10
|
+
Signals:
|
|
11
|
+
* Title references the bug symptom.
|
|
12
|
+
* Minimal reproduction.
|
|
13
|
+
* Assertions match the corrected behavior.
|
|
14
|
+
|
|
15
|
+
Rules
|
|
16
|
+
- Name tests after the observed symptom.
|
|
17
|
+
- Keep reproduction minimal and focused.
|
|
18
|
+
- Assertions must match the corrected behavior.
|
|
19
|
+
- Avoid overfitting to implementation details.
|
|
20
|
+
|
|
21
|
+
Examples
|
|
22
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_unit_examples.py
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# testing_overview
|
|
4
|
+
|
|
5
|
+
Purpose
|
|
6
|
+
- Define the testing taxonomy and value ranking.
|
|
7
|
+
|
|
8
|
+
Testing Discipline (Pytest, Unit-First, Integration-Second)
|
|
9
|
+
|
|
10
|
+
We are building confidence, not just coverage. All changes must be accompanied by tests unless explicitly exempted.
|
|
11
|
+
|
|
12
|
+
Preferred Framework: pytest
|
|
13
|
+
* Use pytest as the default test runner.
|
|
14
|
+
* Use fixtures for setup/teardown and dependency injection.
|
|
15
|
+
* Keep tests deterministic: no reliance on wall-clock time, network, or external services unless explicitly marked and scoped as integration tests.
|
|
16
|
+
|
|
17
|
+
What We Value in Tests (Ranked)
|
|
18
|
+
If you take nothing else from this section, take this:
|
|
19
|
+
> A test is valuable if it would fail for a real regression and would not fail for a harmless refactor.
|
|
20
|
+
|
|
21
|
+
Rank S - System Contract Tests (Highest Value)
|
|
22
|
+
Signals:
|
|
23
|
+
* Exercises real wiring across multiple components (minimal real set).
|
|
24
|
+
* Catches regression in control flow, data flow, and lifecycle behavior.
|
|
25
|
+
* Fails for real breakage, not for refactors.
|
|
26
|
+
|
|
27
|
+
Examples:
|
|
28
|
+
* A "root revalidation" flow that uses real blueprints and validates outcomes.
|
|
29
|
+
* A concurrency primitive integration test that proves ordering/invariants.
|
|
30
|
+
|
|
31
|
+
Use these sparingly and intentionally. They cost more to maintain.
|
|
32
|
+
|
|
33
|
+
Rank A - Behavioral Unit Contract Tests (High Value)
|
|
34
|
+
Signals:
|
|
35
|
+
* Asserts behavior through public methods and documented outputs.
|
|
36
|
+
* Validates meaningful branches and error paths.
|
|
37
|
+
* Avoids coupling to private fields/implementation details.
|
|
38
|
+
|
|
39
|
+
Examples:
|
|
40
|
+
* "Given these inputs, return/raise exactly X."
|
|
41
|
+
* "After cleanup, public methods raise or behave as documented."
|
|
42
|
+
* "Last-write-wins semantics for a registry."
|
|
43
|
+
|
|
44
|
+
Rank B - State Transition Tests (Medium-High Value)
|
|
45
|
+
Signals:
|
|
46
|
+
* Proves valid transitions and prevents illegal transitions.
|
|
47
|
+
* Focuses on lifecycle invariants (cleaned vs active, idempotence, ordering).
|
|
48
|
+
* Uses introspection APIs (describe(), snapshots) rather than poking raw private fields.
|
|
49
|
+
|
|
50
|
+
Rank C - Collaboration/Boundary Mock Tests (Medium Value)
|
|
51
|
+
Signals:
|
|
52
|
+
* Mocks are used at real boundaries (I/O, network, filesystem, subprocess, time, OS).
|
|
53
|
+
* Asserts calls that matter (ordering, arguments, exactly-once / at-most-once) when that is part of the contract.
|
|
54
|
+
|
|
55
|
+
Warning:
|
|
56
|
+
* These become brittle if you over-specify calls.
|
|
57
|
+
|
|
58
|
+
Rank D - Regression Reproduction Tests (Targeted Value)
|
|
59
|
+
Signals:
|
|
60
|
+
* Title references the bug symptom.
|
|
61
|
+
* Minimal reproduction.
|
|
62
|
+
* Assertions match the corrected behavior.
|
|
63
|
+
|
|
64
|
+
Rank E - Line-Coverage Fillers (Low Value)
|
|
65
|
+
Signals:
|
|
66
|
+
* Asserts "it did not crash" with no contract outcome.
|
|
67
|
+
* Asserts values that are incidental.
|
|
68
|
+
We avoid these unless they are stepping stones toward higher-rank tests.
|
|
69
|
+
|
|
70
|
+
Rank F - Attribute/Existence Checks (Very Low Value)
|
|
71
|
+
Examples (bad):
|
|
72
|
+
* assert obj._some_private_field is not None (unless the field is part of a documented public contract, which is rare)
|
|
73
|
+
* assert hasattr(obj, "x") / assert "x" in obj.__dict__ / assert isinstance(obj._pending_changes, dict)
|
|
74
|
+
|
|
75
|
+
Why this is bad:
|
|
76
|
+
* Does not prove correctness.
|
|
77
|
+
* Over-couples tests to implementation.
|
|
78
|
+
* Encourages "coverage mirage."
|
|
79
|
+
|
|
80
|
+
Only acceptable when:
|
|
81
|
+
* The attribute is explicitly part of a public, documented contract (rare), or
|
|
82
|
+
* You are validating an explicit post-cleanup field contract (retained `None`
|
|
83
|
+
tombstone or deleted-field behavior) and there is no better public signal.
|
|
84
|
+
|
|
85
|
+
Rules: Unit Tests First (Mock + Isolated)
|
|
86
|
+
The default approach is mocked / isolated unit tests.
|
|
87
|
+
|
|
88
|
+
* Mock external boundaries (I/O, filesystem, network, subprocesses, clocks, OS calls, databases, thread scheduling, random sources).
|
|
89
|
+
* Validate contracts (inputs/outputs/raises), invariants, and side effects (including cleanup ordering) at the smallest reasonable unit.
|
|
90
|
+
* Prefer contract-level assertions over implementation-detail assertions.
|
|
91
|
+
* Avoid flakiness: tests must run reliably on repeated runs.
|
|
92
|
+
|
|
93
|
+
Contract-level assertion checklist
|
|
94
|
+
When writing a unit test, you should be able to answer "yes" to most of these:
|
|
95
|
+
* Does the test assert an observable outcome (return, raise, snapshot, state transition)?
|
|
96
|
+
* Would the test fail if a real regression happened?
|
|
97
|
+
* Would the test still pass after a harmless refactor (renaming locals, reordering statements, changing internal data structures)?
|
|
98
|
+
* Are mocks only used at true boundaries?
|
|
99
|
+
* Are we asserting behavior rather than "internal shape"?
|
|
100
|
+
If not, the test is probably Rank E/F.
|
|
101
|
+
|
|
102
|
+
Integration Tests Second (Only When Needed)
|
|
103
|
+
Integration tests are required when behavior cannot be proven safely via mocks/unit tests.
|
|
104
|
+
|
|
105
|
+
Use integration tests when at least one is true:
|
|
106
|
+
* Correctness depends on real interactions across multiple components (e.g., concurrency scheduling, orchestration behavior, serializer/codec correctness across layers).
|
|
107
|
+
* Mocking would require re-implementing the system under test or would make the test meaningless.
|
|
108
|
+
* The integration is the contract (e.g., plugin wiring, adapter boundaries, real concurrency primitives).
|
|
109
|
+
|
|
110
|
+
Rules for integration tests:
|
|
111
|
+
* Keep them scoped: integrate only the minimal set of real components needed.
|
|
112
|
+
* Make them explicit: use clear naming and markers (e.g., @pytest.mark.integration) if the repo uses them.
|
|
113
|
+
* Ensure they remain repeatable and not environment-dependent unless explicitly documented.
|
|
114
|
+
|
|
115
|
+
Coverage Target: 95%+ (Non-Negotiable) Coverage is defined as method and attr coverage not the pytest definition. Use your discernment.
|
|
116
|
+
|
|
117
|
+
Agent Execution Constraint (Read Carefully)
|
|
118
|
+
AI agents cannot truthfully confirm repository-wide coverage levels (including the >=95% target) unless the user runs the test suite and reports the result.
|
|
119
|
+
* Agents must not claim coverage numbers.
|
|
120
|
+
* Agents must not imply pytest or pytest --cov was executed.
|
|
121
|
+
* If the user asks "did you run tests/coverage?", the only valid answer is "Not run."
|
|
122
|
+
|
|
123
|
+
Agent Policy: Prefer Test Density Now; Verify Coverage Later
|
|
124
|
+
In the agent environment, coverage measurement is treated as a follow-up step that the user performs. Agents should default to producing a strong test suite using the density heuristic, and then ask the user to verify >=95% coverage later.
|
|
125
|
+
|
|
126
|
+
Default Path - Test Density (Preferred for Agent Work):
|
|
127
|
+
Use this path unless the user explicitly provides coverage output.
|
|
128
|
+
* Baseline density: target >= 10 tests per 100 LOC for the changed/covered module(s).
|
|
129
|
+
* Dense / high cyclomatic complexity code: increase target to >= 20 tests per 100 LOC when the code shows any of the following:
|
|
130
|
+
* high cyclomatic complexity (many branches/guards)
|
|
131
|
+
* heavy error-path logic
|
|
132
|
+
* concurrency / locking / ordering constraints
|
|
133
|
+
* lifecycle/cleanup state machines
|
|
134
|
+
* non-trivial invariants (dirty tracking, revalidation, promotion semantics)
|
|
135
|
+
These are heuristics - not a license to create filler tests. Every test must still meet the quality criteria below.
|
|
136
|
+
|
|
137
|
+
Follow-Up Path - Coverage Verification (User-Run, Later):
|
|
138
|
+
* Target: >= 95% line coverage for the relevant package/module(s).
|
|
139
|
+
* Requirement: the user runs the suite (e.g., pytest --cov) and reports the output.
|
|
140
|
+
* Agent reporting: if the user has not run it, you must say "Not run." and you must not guess.
|
|
141
|
+
|
|
142
|
+
If the user reports coverage below target, agents should add tests by increasing branch/error/lifecycle coverage - not by adding filler assertions.
|
|
143
|
+
|
|
144
|
+
We target >= 95% line coverage across the library.
|
|
145
|
+
* Heuristic: we want at least 10 tests per 100 LOC, but do not game it. If you have 95%+ coverage but fewer than 10 tests per 100 LOC, that is acceptable.
|
|
146
|
+
* Coverage must not be "gamed" (no meaningless tests whose only purpose is to execute lines).
|
|
147
|
+
|
|
148
|
+
Where we focus coverage:
|
|
149
|
+
* Public API contracts
|
|
150
|
+
* Critical branching logic
|
|
151
|
+
* Error paths
|
|
152
|
+
* Lifecycle/cleanup behavior
|
|
153
|
+
* Concurrency-sensitive behavior (as testable)
|
|
154
|
+
|
|
155
|
+
If a component cannot reasonably hit the coverage target (rare), document the reason and the mitigation (integration coverage, property tests, or explicit exclusion with rationale) and ask before applying exclusions.
|
|
156
|
+
|
|
157
|
+
6) Truthful Validation Reporting
|
|
158
|
+
When reporting validation status:
|
|
159
|
+
* Only claim unit/integration/coverage runs if you actually ran them.
|
|
160
|
+
* If not run, say "Not run."
|
|
161
|
+
* If recommending commands, be specific and repo-consistent (e.g., pytest, pytest -q, pytest -m integration, pytest --cov). Do not invent a workflow that contradicts repository docs.
|
|
162
|
+
|
|
163
|
+
7) Fixing Broken Base Code (While Writing Tests)
|
|
164
|
+
If you find mistakes while writing tests (bugs, incorrect docstrings, missing cleanup, race conditions):
|
|
165
|
+
* Raise them as issues rather than fixing them silently.
|
|
166
|
+
* If you have explicit permission to fix them, follow all rules in this document (docstrings, cleanup, scope control, tests).
|
|
167
|
+
* Do not fix unrelated mistakes outside your declared scope.
|
|
168
|
+
* If the mistakes block your work, explain the situation and ask for guidance.
|
|
169
|
+
|
|
170
|
+
Rules
|
|
171
|
+
- pytest is the default framework.
|
|
172
|
+
- Prefer unit tests; use integration when needed.
|
|
173
|
+
- Use component tests for small slices of real wiring without external IO.
|
|
174
|
+
- Tests must be deterministic and contract-driven.
|
|
175
|
+
- Avoid tests that only assert internal attributes or existence.
|
|
176
|
+
|
|
177
|
+
Value ranking (high to low)
|
|
178
|
+
- Rank S: System contract tests
|
|
179
|
+
- Rank A: Behavioral unit contract tests
|
|
180
|
+
- Rank B: State transition tests
|
|
181
|
+
- Component tests: real collaborators in a small slice (often Rank A/B)
|
|
182
|
+
- Rank C: Collaboration/boundary mocks
|
|
183
|
+
- Rank D: Regression reproduction tests
|
|
184
|
+
- Rank E/F: Avoid low-value filler and existence checks
|
|
185
|
+
|
|
186
|
+
Placement
|
|
187
|
+
- Component tests: tests/component/
|
|
188
|
+
- Integration tests: tests/integration/
|
|
189
|
+
|
|
190
|
+
Examples
|
|
191
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_unit_examples.py
|
|
192
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_component_examples.py
|
|
193
|
+
- agent_onboarding/user_defined/synaptic_python_developer/examples/python/pytest_integration_examples.py
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|