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,272 @@
|
|
|
1
|
+
# Workflow: optimize_pytests_for_repo
|
|
2
|
+
|
|
3
|
+
## Metadata
|
|
4
|
+
- Workflow ID: WF-optimize-pytests-for-repo
|
|
5
|
+
- Status: active
|
|
6
|
+
- Owner: user
|
|
7
|
+
- Allowed Roles:
|
|
8
|
+
- synaptic_finishing_developer
|
|
9
|
+
- Default Roles:
|
|
10
|
+
- synaptic_finishing_developer
|
|
11
|
+
- Trigger:
|
|
12
|
+
- user explicitly asks to optimize pytest coverage or test depth for a file,
|
|
13
|
+
directory, or source tree
|
|
14
|
+
- Created: 2026-04-26T20:40:39Z
|
|
15
|
+
- Updated: 2026-04-26T20:40:39Z
|
|
16
|
+
|
|
17
|
+
## Purpose
|
|
18
|
+
Turn repo pytest improvement into a slow, recursive, system-aware macro:
|
|
19
|
+
- target one file, one directory, or a whole code tree
|
|
20
|
+
- create one epic for the requested root scope
|
|
21
|
+
- create one story per meaningful directory
|
|
22
|
+
- create one task per important target file
|
|
23
|
+
- deepen pytest coverage only where real behavioral value exists
|
|
24
|
+
- use architecture, components, graph context, and finishing-role test skills
|
|
25
|
+
to choose the right unit, component, and integration strategy
|
|
26
|
+
|
|
27
|
+
## Use When
|
|
28
|
+
- The user explicitly wants pytest improvement on a source file, directory, or
|
|
29
|
+
source tree.
|
|
30
|
+
- Test depth and contract proof are the primary outcome.
|
|
31
|
+
- The target includes behaviorful modules where lifecycle, concurrency, state,
|
|
32
|
+
orchestration, or public API semantics matter.
|
|
33
|
+
|
|
34
|
+
## Do Not Use When
|
|
35
|
+
- The primary task is feature implementation instead of test finishing.
|
|
36
|
+
- The target is mostly trivial modules with no meaningful behavioral contract.
|
|
37
|
+
- The user's real goal is documentation finishing rather than test improvement.
|
|
38
|
+
|
|
39
|
+
## Inputs
|
|
40
|
+
- Required:
|
|
41
|
+
- target path inside the repository
|
|
42
|
+
- one file, or
|
|
43
|
+
- one directory, or
|
|
44
|
+
- a whole tree such as `src/`
|
|
45
|
+
- Optional:
|
|
46
|
+
- include/exclude patterns for unusual edge cases
|
|
47
|
+
- explicit override to include otherwise skipped files
|
|
48
|
+
- explicit tranche limit if the user wants to stage a very large tree
|
|
49
|
+
|
|
50
|
+
## Outputs
|
|
51
|
+
- Expected artifacts:
|
|
52
|
+
- none by default unless the lane later requires separate design artifacts
|
|
53
|
+
- Expected ticket state:
|
|
54
|
+
- one epic for the requested root scope
|
|
55
|
+
- one story per meaningful directory
|
|
56
|
+
- one task per important target file
|
|
57
|
+
- explicit skip notes for excluded or low-value files
|
|
58
|
+
- Expected board state:
|
|
59
|
+
- one active row routing the current story or current file task
|
|
60
|
+
|
|
61
|
+
## Required Reads
|
|
62
|
+
- `system_docs/src_architecture.md`
|
|
63
|
+
- `system_docs/src_components_index.md`
|
|
64
|
+
- `agent_onboarding/default/engineer/skills/src_graph_usage.md`
|
|
65
|
+
- `system_docs/src_graph_index.md`
|
|
66
|
+
|
|
67
|
+
`src_components.md` and `src_graph.md` are sliced through the indexes above, per
|
|
68
|
+
file under test, as the work reaches each one. They are not read whole - listing a
|
|
69
|
+
25,000-line document as a "required read" turns a bounded lane into a context
|
|
70
|
+
burn. See `agent_onboarding/default/engineer/skills/context_protocol.md`.
|
|
71
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/testing_overview.md`
|
|
72
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_unit.md`
|
|
73
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/component_tests.md`
|
|
74
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_integration.md`
|
|
75
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/mocking.md`
|
|
76
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/regression_tests.md`
|
|
77
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/evidence_reporting.md`
|
|
78
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_test_alignment.md`
|
|
79
|
+
- target source files plus existing tests in bounded slices
|
|
80
|
+
|
|
81
|
+
## Required Skills
|
|
82
|
+
- `agent_onboarding/default/general/skills/ticketing.md`
|
|
83
|
+
- `agent_onboarding/default/general/skills/active_pointerboard.md`
|
|
84
|
+
- `agent_onboarding/default/general/skills/workflow.md`
|
|
85
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/testing_overview.md`
|
|
86
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_unit.md`
|
|
87
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/component_tests.md`
|
|
88
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/pytest_integration.md`
|
|
89
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/mocking.md`
|
|
90
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/regression_tests.md`
|
|
91
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/testing/evidence_reporting.md`
|
|
92
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_test_alignment.md`
|
|
93
|
+
|
|
94
|
+
## Preconditions / Gates
|
|
95
|
+
- The target path must be explicit and must exist.
|
|
96
|
+
- The lane must create tickets before test editing starts:
|
|
97
|
+
- epic for the requested root scope
|
|
98
|
+
- story per meaningful directory
|
|
99
|
+
- task per important target file
|
|
100
|
+
- The workflow must classify importance explicitly.
|
|
101
|
+
Default important-file signals:
|
|
102
|
+
- public behavior
|
|
103
|
+
- lifecycle and cleanup
|
|
104
|
+
- concurrency or locking
|
|
105
|
+
- state transitions
|
|
106
|
+
- orchestration or mediator logic
|
|
107
|
+
- error semantics
|
|
108
|
+
- cross-component side effects
|
|
109
|
+
- Files that do not carry meaningful test value must be skipped explicitly.
|
|
110
|
+
Default skip list:
|
|
111
|
+
- `__init__.py`
|
|
112
|
+
- enum-only modules
|
|
113
|
+
- constant-only modules
|
|
114
|
+
- pure export shims
|
|
115
|
+
- generated files
|
|
116
|
+
- vendor or third-party code
|
|
117
|
+
- Test plans must be evidence-backed:
|
|
118
|
+
- source behavior
|
|
119
|
+
- system docs
|
|
120
|
+
- graph relationships
|
|
121
|
+
- existing tests
|
|
122
|
+
- The workflow is manual by design:
|
|
123
|
+
- no filler coverage optics
|
|
124
|
+
- no one-shot whole-tree "done" claims
|
|
125
|
+
- one file task at a time
|
|
126
|
+
|
|
127
|
+
## Phase Sequence
|
|
128
|
+
1. Intake
|
|
129
|
+
- objective:
|
|
130
|
+
- define the testing target cleanly
|
|
131
|
+
- required actions:
|
|
132
|
+
- capture the target path
|
|
133
|
+
- determine whether the target is one file, one directory, or a whole tree
|
|
134
|
+
- ask for explicit override if the user wants otherwise skipped files tested
|
|
135
|
+
- stop conditions:
|
|
136
|
+
- target path is ambiguous
|
|
137
|
+
- the user expects junk-file coverage work that conflicts with the workflow
|
|
138
|
+
contract and has not explicitly overridden it
|
|
139
|
+
|
|
140
|
+
2. Investigation
|
|
141
|
+
- objective:
|
|
142
|
+
- map the target into important testing work units
|
|
143
|
+
- required actions:
|
|
144
|
+
- read the required system docs, graph context, and finishing-role test
|
|
145
|
+
skills
|
|
146
|
+
- inspect the target source files and existing tests
|
|
147
|
+
- classify:
|
|
148
|
+
- important target files
|
|
149
|
+
- meaningful directories
|
|
150
|
+
- skipped files with reasons
|
|
151
|
+
- current test gaps
|
|
152
|
+
- inspect the readable source graph and architecture/component docs to
|
|
153
|
+
understand collaborators, ownership, lifecycle, and behavioral boundaries
|
|
154
|
+
- required note or artifact updates:
|
|
155
|
+
- create the epic/story/task tree
|
|
156
|
+
- record skip reasons in the relevant ticket notes
|
|
157
|
+
- record why each important file matters enough to deserve deeper tests
|
|
158
|
+
|
|
159
|
+
3. Strategy
|
|
160
|
+
- objective:
|
|
161
|
+
- choose the right test depth per file
|
|
162
|
+
- decision points:
|
|
163
|
+
- if target is a single file:
|
|
164
|
+
- still create one epic for the root request
|
|
165
|
+
- create one story for the containing meaningful directory
|
|
166
|
+
- create one task for the file
|
|
167
|
+
- if target is a directory or tree:
|
|
168
|
+
- create one story per meaningful directory, including the root directory
|
|
169
|
+
when it owns direct in-scope files
|
|
170
|
+
- choose the test layer per file:
|
|
171
|
+
- unit tests for direct contract behavior
|
|
172
|
+
- component tests for small real wiring slices
|
|
173
|
+
- integration tests when the boundary itself is the contract
|
|
174
|
+
- prefer behavior, lifecycle, error, and concurrency proof over coverage
|
|
175
|
+
optics
|
|
176
|
+
|
|
177
|
+
4. Implementation
|
|
178
|
+
- objective:
|
|
179
|
+
- deepen one important file task at a time
|
|
180
|
+
- scope controls:
|
|
181
|
+
- read the current source file, graph relationships, and existing tests
|
|
182
|
+
before writing new tests
|
|
183
|
+
- write pytest tests that prove:
|
|
184
|
+
- public contract behavior
|
|
185
|
+
- lifecycle and cleanup
|
|
186
|
+
- state transitions
|
|
187
|
+
- failure semantics
|
|
188
|
+
- threading or cross-component effects when relevant
|
|
189
|
+
- avoid make-work tests:
|
|
190
|
+
- no `__init__` testing for optics
|
|
191
|
+
- no enum-only testing for optics
|
|
192
|
+
- no attribute-existence assertions pretending to prove behavior
|
|
193
|
+
- choose mocking only at real boundaries
|
|
194
|
+
- prefer component or integration coverage when a unit-only view would miss
|
|
195
|
+
the real contract
|
|
196
|
+
|
|
197
|
+
5. Validation
|
|
198
|
+
- objective:
|
|
199
|
+
- prove the tests add real confidence
|
|
200
|
+
- required checks:
|
|
201
|
+
- run the narrowest honest pytest ring per completed file or directory tranche
|
|
202
|
+
- record validation as `MEASURE` notes with actual commands and results
|
|
203
|
+
- if tests were not run, say `Not run` and why
|
|
204
|
+
- verify that the new tests would fail for a real regression and would not
|
|
205
|
+
fail for a harmless refactor
|
|
206
|
+
- verify skipped files are recorded explicitly
|
|
207
|
+
|
|
208
|
+
6. Handoff / Closure
|
|
209
|
+
- objective:
|
|
210
|
+
- leave a resumable testing lane
|
|
211
|
+
- required board or ticket sync:
|
|
212
|
+
- update the active story and current file task notes with what was tested
|
|
213
|
+
- summarize skipped files and why they were skipped
|
|
214
|
+
- summarize which test layers were chosen and why
|
|
215
|
+
- leave the board routing on the next unfinished story/task, or move the lane
|
|
216
|
+
to review when the target scope is fully finished
|
|
217
|
+
|
|
218
|
+
## Ticket Behavior
|
|
219
|
+
- Required ticket types:
|
|
220
|
+
- one epic for the requested root scope
|
|
221
|
+
- one story per meaningful directory
|
|
222
|
+
- one task per important target file
|
|
223
|
+
- Required metadata:
|
|
224
|
+
- `Agent Name`
|
|
225
|
+
- Required note cadence:
|
|
226
|
+
- record the skip list before bulk execution
|
|
227
|
+
- record why each important file was selected
|
|
228
|
+
- record chosen test layers and validation results per file task
|
|
229
|
+
- Required artifact links:
|
|
230
|
+
- none by default
|
|
231
|
+
|
|
232
|
+
## Attention Board Behavior
|
|
233
|
+
- Required row fields:
|
|
234
|
+
- one active row routing the current story or file task
|
|
235
|
+
- Mode transitions:
|
|
236
|
+
- `discovery` while mapping the tree
|
|
237
|
+
- `implementation` while writing tests
|
|
238
|
+
- `validation` while running targeted pytest rings
|
|
239
|
+
- `handoff` or `review` equivalent board posture when a tranche is complete
|
|
240
|
+
- Exit signal rules:
|
|
241
|
+
- the target scope is fully ticketed, tested, and either routed to the next
|
|
242
|
+
unfinished slice or left in review for acceptance
|
|
243
|
+
|
|
244
|
+
## Escalation Rules
|
|
245
|
+
- Stop and ask if the target path is ambiguous.
|
|
246
|
+
- Raise `DECISION_REQUEST` if the target contains large generated/vendor zones
|
|
247
|
+
that should not be tested blindly.
|
|
248
|
+
- Raise `DECISION_REQUEST` if the current docs, graph, and source behavior
|
|
249
|
+
disagree enough that a deep test plan would be guesswork.
|
|
250
|
+
- Raise `BLOCKER` if the requested scope cannot be mapped safely because the
|
|
251
|
+
target tree is unreadable or inaccessible.
|
|
252
|
+
|
|
253
|
+
## Success Criteria
|
|
254
|
+
- The workflow accepts one file, one directory, or one tree target.
|
|
255
|
+
- The workflow recursively builds one epic, one story per meaningful
|
|
256
|
+
directory, and one task per important target file.
|
|
257
|
+
- Trivial junk files are skipped explicitly instead of silently included.
|
|
258
|
+
- Test depth is chosen deliberately across unit, component, and integration
|
|
259
|
+
layers.
|
|
260
|
+
- Validation results are recorded honestly.
|
|
261
|
+
- Execution remains manual, selective, and contract-driven.
|
|
262
|
+
|
|
263
|
+
## Anti-Patterns
|
|
264
|
+
- Testing `__init__.py`, enums, or trivial modules for coverage optics.
|
|
265
|
+
- Mocking internal details instead of real boundaries.
|
|
266
|
+
- Attribute-existence tests that do not prove behavior.
|
|
267
|
+
- Unit-only bias where component or integration tests are the real contract.
|
|
268
|
+
|
|
269
|
+
## Context / Handoff Summary
|
|
270
|
+
This workflow is the finishing-role repo pytest macro. It is designed to map
|
|
271
|
+
the selected scope recursively, skip junk explicitly, and then deepen one
|
|
272
|
+
important file at a time with graph-aware, contract-driven pytest work.
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
# Workflow: polish_repo_documentation
|
|
2
|
+
|
|
3
|
+
## Metadata
|
|
4
|
+
- Workflow ID: WF-polish-repo-documentation
|
|
5
|
+
- Status: active
|
|
6
|
+
- Owner: user
|
|
7
|
+
- Allowed Roles:
|
|
8
|
+
- synaptic_finishing_developer
|
|
9
|
+
- Default Roles:
|
|
10
|
+
- synaptic_finishing_developer
|
|
11
|
+
- Trigger:
|
|
12
|
+
- user explicitly asks to polish documentation for a file, directory, or
|
|
13
|
+
source tree
|
|
14
|
+
- Created: 2026-04-26T20:40:39Z
|
|
15
|
+
- Updated: 2026-04-26T20:40:39Z
|
|
16
|
+
|
|
17
|
+
## Purpose
|
|
18
|
+
Turn repo documentation finishing into a slow, recursive, system-aware macro:
|
|
19
|
+
- target one file, one directory, or a whole code tree
|
|
20
|
+
- create one epic for the requested root scope
|
|
21
|
+
- create one story per meaningful directory
|
|
22
|
+
- create one task per meaningful code file
|
|
23
|
+
- manually deepen public-library docstrings and comments using architecture,
|
|
24
|
+
component, and graph context instead of local-only guesswork
|
|
25
|
+
|
|
26
|
+
## Use When
|
|
27
|
+
- The user explicitly wants a documentation-finishing pass on a source file,
|
|
28
|
+
directory, or source tree.
|
|
29
|
+
- Public-library-grade docstrings and comments are the primary outcome.
|
|
30
|
+
- The agent needs to explain system placement, ownership, lifecycle,
|
|
31
|
+
concurrency, side effects, or cleanup contracts in richer detail.
|
|
32
|
+
|
|
33
|
+
## Do Not Use When
|
|
34
|
+
- The primary task is feature implementation instead of documentation
|
|
35
|
+
finishing.
|
|
36
|
+
- The user only wants a quick superficial comment pass.
|
|
37
|
+
- The target is mostly generated, vendor, or third-party code unless the user
|
|
38
|
+
explicitly approves finishing that content.
|
|
39
|
+
|
|
40
|
+
## Inputs
|
|
41
|
+
- Required:
|
|
42
|
+
- target path inside the repository
|
|
43
|
+
- one file, or
|
|
44
|
+
- one directory, or
|
|
45
|
+
- a whole tree such as `src/`
|
|
46
|
+
- Optional:
|
|
47
|
+
- include/exclude patterns for unusual edge cases
|
|
48
|
+
- explicit override to include otherwise skipped files
|
|
49
|
+
- explicit tranche limit if the user wants to stage a very large tree
|
|
50
|
+
|
|
51
|
+
## Outputs
|
|
52
|
+
- Expected artifacts:
|
|
53
|
+
- none by default unless the lane later requires separate design artifacts
|
|
54
|
+
- Expected ticket state:
|
|
55
|
+
- one epic for the requested root scope
|
|
56
|
+
- one story per meaningful directory in scope
|
|
57
|
+
- one task per meaningful file in scope
|
|
58
|
+
- explicit skip notes for excluded files
|
|
59
|
+
- Expected board state:
|
|
60
|
+
- one active row routing the current story or current file task
|
|
61
|
+
|
|
62
|
+
## Required Reads
|
|
63
|
+
- `system_docs/src_architecture.md`
|
|
64
|
+
- `system_docs/src_components_index.md`
|
|
65
|
+
- `agent_onboarding/default/engineer/skills/src_graph_usage.md`
|
|
66
|
+
- `system_docs/src_graph_index.md`
|
|
67
|
+
|
|
68
|
+
`src_components.md` and `src_graph.md` are sliced through the indexes above, per
|
|
69
|
+
file being documented, as the work reaches each one. They are not read whole -
|
|
70
|
+
listing a 25,000-line document as a "required read" turns a bounded lane into a
|
|
71
|
+
context burn. See `agent_onboarding/default/engineer/skills/context_protocol.md`.
|
|
72
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_craft.md`
|
|
73
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/comment_craft.md`
|
|
74
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/system_aware_docstrings.md`
|
|
75
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_test_alignment.md`
|
|
76
|
+
- target files and directories in bounded slices
|
|
77
|
+
|
|
78
|
+
## Required Skills
|
|
79
|
+
- `agent_onboarding/default/general/skills/ticketing.md`
|
|
80
|
+
- `agent_onboarding/default/general/skills/active_pointerboard.md`
|
|
81
|
+
- `agent_onboarding/default/general/skills/workflow.md`
|
|
82
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_craft.md`
|
|
83
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/comment_craft.md`
|
|
84
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/system_aware_docstrings.md`
|
|
85
|
+
- `agent_onboarding/user_defined/synaptic_finishing_developer/skills/documentation/docstring_test_alignment.md`
|
|
86
|
+
|
|
87
|
+
## Preconditions / Gates
|
|
88
|
+
- The target path must be explicit and must exist.
|
|
89
|
+
- The lane must create tickets before file editing starts:
|
|
90
|
+
- epic for the requested root scope
|
|
91
|
+
- story per meaningful directory
|
|
92
|
+
- task per meaningful file
|
|
93
|
+
- Files that do not carry meaningful finishing value must be skipped explicitly.
|
|
94
|
+
Default skip list:
|
|
95
|
+
- `__init__.py`
|
|
96
|
+
- pure export shims
|
|
97
|
+
- generated files
|
|
98
|
+
- vendor or third-party code
|
|
99
|
+
- empty placeholders
|
|
100
|
+
- Docstrings and comments must stay evidence-backed:
|
|
101
|
+
- source first
|
|
102
|
+
- system docs and graph second
|
|
103
|
+
- UNKNOWN when evidence is incomplete
|
|
104
|
+
- The workflow is manual by design:
|
|
105
|
+
- no mass autogenerated docstring spray
|
|
106
|
+
- no one-shot whole-tree "done" claims
|
|
107
|
+
- one file task at a time
|
|
108
|
+
|
|
109
|
+
## Phase Sequence
|
|
110
|
+
1. Intake
|
|
111
|
+
- objective:
|
|
112
|
+
- define the finishing target cleanly
|
|
113
|
+
- required actions:
|
|
114
|
+
- capture the target path
|
|
115
|
+
- determine whether the target is one file, one directory, or a whole tree
|
|
116
|
+
- ask for explicit override if the user wants otherwise skipped files
|
|
117
|
+
- stop conditions:
|
|
118
|
+
- target path is ambiguous
|
|
119
|
+
- target is mostly generated/vendor code and user approval is absent
|
|
120
|
+
|
|
121
|
+
2. Investigation
|
|
122
|
+
- objective:
|
|
123
|
+
- map the target into meaningful work units
|
|
124
|
+
- required actions:
|
|
125
|
+
- read the required system docs and role documentation skills
|
|
126
|
+
- walk the target tree manually and classify:
|
|
127
|
+
- meaningful code files
|
|
128
|
+
- meaningful directories
|
|
129
|
+
- skipped files with reasons
|
|
130
|
+
- inspect the readable source graph and architecture/component docs to
|
|
131
|
+
understand how each important file sits in the larger system
|
|
132
|
+
- required note or artifact updates:
|
|
133
|
+
- create the epic/story/task tree
|
|
134
|
+
- record skip reasons in the relevant ticket notes
|
|
135
|
+
- record graph/ownership/lifecycle findings in task notes before editing
|
|
136
|
+
|
|
137
|
+
3. Strategy
|
|
138
|
+
- objective:
|
|
139
|
+
- define the finishing order and contract depth
|
|
140
|
+
- decision points:
|
|
141
|
+
- if target is a single file:
|
|
142
|
+
- still create one epic for the root request
|
|
143
|
+
- create one story for the containing meaningful directory
|
|
144
|
+
- create one task for the file
|
|
145
|
+
- if target is a directory or tree:
|
|
146
|
+
- create one story per meaningful directory, including the root directory
|
|
147
|
+
when it owns direct in-scope files
|
|
148
|
+
- order tasks by public-surface importance, ownership centrality, and graph
|
|
149
|
+
significance before local helper cleanup
|
|
150
|
+
|
|
151
|
+
4. Implementation
|
|
152
|
+
- objective:
|
|
153
|
+
- finish one file at a time
|
|
154
|
+
- scope controls:
|
|
155
|
+
- update the current file task only after reading the file plus relevant
|
|
156
|
+
system context
|
|
157
|
+
- write docstrings like public library contracts:
|
|
158
|
+
- purpose
|
|
159
|
+
- system placement
|
|
160
|
+
- ownership vs borrowing
|
|
161
|
+
- lifecycle and cleanup
|
|
162
|
+
- threading and concurrency
|
|
163
|
+
- side effects and failure semantics
|
|
164
|
+
- improve comments only where they explain non-obvious behavior, invariants,
|
|
165
|
+
or safety boundaries
|
|
166
|
+
- do not churn comments for style only
|
|
167
|
+
- if a docstring claim implies a test contract, either:
|
|
168
|
+
- confirm current tests support it, or
|
|
169
|
+
- queue a follow-on under `optimize_pytests_for_repo`, or
|
|
170
|
+
- reduce the claim
|
|
171
|
+
|
|
172
|
+
5. Validation
|
|
173
|
+
- objective:
|
|
174
|
+
- prove the documentation is richer and still truthful
|
|
175
|
+
- required checks:
|
|
176
|
+
- re-read every edited file
|
|
177
|
+
- verify the final docstrings/comments match source behavior and documented
|
|
178
|
+
system boundaries
|
|
179
|
+
- verify skipped files are recorded explicitly
|
|
180
|
+
- if no runtime behavior changed, record validation as documentation reread
|
|
181
|
+
only
|
|
182
|
+
- if examples or executable text changed in a way that needs checking, run
|
|
183
|
+
the narrowest honest validation and record it as a `MEASURE`
|
|
184
|
+
|
|
185
|
+
6. Handoff / Closure
|
|
186
|
+
- objective:
|
|
187
|
+
- leave a resumable finishing lane
|
|
188
|
+
- required board or ticket sync:
|
|
189
|
+
- update the active story and current file task notes with what was polished
|
|
190
|
+
- summarize skipped files and why they were skipped
|
|
191
|
+
- leave the board routing on the next unfinished story/task, or move the lane
|
|
192
|
+
to review when the target scope is fully finished
|
|
193
|
+
|
|
194
|
+
## Ticket Behavior
|
|
195
|
+
- Required ticket types:
|
|
196
|
+
- one epic for the requested root scope
|
|
197
|
+
- one story per meaningful directory
|
|
198
|
+
- one task per meaningful file
|
|
199
|
+
- Required metadata:
|
|
200
|
+
- `Agent Name`
|
|
201
|
+
- Required note cadence:
|
|
202
|
+
- record the skip list before bulk execution
|
|
203
|
+
- record graph/system findings before file edits
|
|
204
|
+
- record one meaningful documentation finding per file task before moving on
|
|
205
|
+
- Required artifact links:
|
|
206
|
+
- none by default
|
|
207
|
+
|
|
208
|
+
## Attention Board Behavior
|
|
209
|
+
- Required row fields:
|
|
210
|
+
- one active row routing the current story or file task
|
|
211
|
+
- Mode transitions:
|
|
212
|
+
- `discovery` while mapping the tree
|
|
213
|
+
- `implementation` while polishing file tasks
|
|
214
|
+
- `handoff` or `review` equivalent board posture when a tranche is complete
|
|
215
|
+
- Exit signal rules:
|
|
216
|
+
- the target scope is fully ticketed, polished, and either routed to the next
|
|
217
|
+
unfinished slice or left in review for acceptance
|
|
218
|
+
|
|
219
|
+
## Escalation Rules
|
|
220
|
+
- Stop and ask if the target path is ambiguous.
|
|
221
|
+
- Raise `DECISION_REQUEST` if the target contains large generated/vendor zones
|
|
222
|
+
that should not be polished blindly.
|
|
223
|
+
- Raise `DECISION_REQUEST` if source behavior and architecture/component docs
|
|
224
|
+
materially disagree and the workflow cannot truthfully finish the docstrings
|
|
225
|
+
without a doc-repair cut first.
|
|
226
|
+
- Raise `BLOCKER` if the requested scope cannot be mapped safely because the
|
|
227
|
+
target tree is unreadable or inaccessible.
|
|
228
|
+
|
|
229
|
+
## Success Criteria
|
|
230
|
+
- The workflow accepts one file, one directory, or one tree target.
|
|
231
|
+
- The workflow recursively builds one epic, one story per meaningful
|
|
232
|
+
directory, and one task per meaningful file.
|
|
233
|
+
- Trivial junk files are skipped explicitly instead of silently included.
|
|
234
|
+
- Docstrings and comments become system-aware public library contracts rather
|
|
235
|
+
than local-only summaries.
|
|
236
|
+
- Execution remains manual, deliberate, and file-scoped.
|
|
237
|
+
|
|
238
|
+
## Anti-Patterns
|
|
239
|
+
- Bulk autogenerated docstring spray across a directory.
|
|
240
|
+
- Polishing `__init__.py` or meaningless export shims for optics.
|
|
241
|
+
- Local-only docstrings that ignore system ownership or graph relationships.
|
|
242
|
+
- Comment churn with no contract or safety value.
|
|
243
|
+
|
|
244
|
+
## Context / Handoff Summary
|
|
245
|
+
This workflow is the finishing-role repo documentation macro. It is designed to
|
|
246
|
+
map the selected scope recursively, skip junk explicitly, and then deepen one
|
|
247
|
+
meaningful file at a time with system-aware docstrings and comments.
|