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,74 @@
|
|
|
1
|
+
"""Context Compass - durable, file-backed execution state for coding agents.
|
|
2
|
+
|
|
3
|
+
This module is the INSTALLER and CLI. It is deliberately NOT named
|
|
4
|
+
`contextcompass`, even though that is the distribution name, because the payload
|
|
5
|
+
directory in this repository is `src/contextcompass/` and two things claiming one
|
|
6
|
+
import name resolve differently depending on how Python was invoked. Keeping the
|
|
7
|
+
module name distinct means no collision is possible.
|
|
8
|
+
|
|
9
|
+
Three names are in play here and they are not interchangeable:
|
|
10
|
+
|
|
11
|
+
contextcompass the DISTRIBUTION on PyPI, and the repository
|
|
12
|
+
contextcompass_cli this MODULE - what `import` sees
|
|
13
|
+
context_compass the DIRECTORY, both in `src/` and in a consuming repo
|
|
14
|
+
|
|
15
|
+
The last one keeps its underscore. 119 shipped documents cite paths like
|
|
16
|
+
`context_compass/tools/...` - 546 mentions - plus a config filename and two
|
|
17
|
+
tool filenames carrying the same name. Renaming it is a migration, not a
|
|
18
|
+
rename, and it buys nothing now that this module is named distinctly.
|
|
19
|
+
|
|
20
|
+
`src/` mirrors the install deliberately: what you see there is what lands in a
|
|
21
|
+
repository, with no translation step. The one thing that must NOT match either
|
|
22
|
+
is this module's name, because a module sharing a name with a directory in the
|
|
23
|
+
user's repo resolves differently depending on how Python was invoked.
|
|
24
|
+
|
|
25
|
+
The payload ships inside this module as `_package/`.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
from __future__ import annotations
|
|
29
|
+
|
|
30
|
+
import pathlib
|
|
31
|
+
|
|
32
|
+
# Single source of truth for the version. `MANIFEST.md` inside the payload
|
|
33
|
+
# records the same number, and a test asserts they agree - a version maintained
|
|
34
|
+
# in two places is a version that will disagree, which is the whole reason the
|
|
35
|
+
# manifest is derived rather than declared.
|
|
36
|
+
__version__ = "2.15.0"
|
|
37
|
+
|
|
38
|
+
# What `init` creates in the user's repository. Distinct from both the source
|
|
39
|
+
# directory and the module name; see the docstring above.
|
|
40
|
+
INSTALL_DIRNAME = "context_compass"
|
|
41
|
+
|
|
42
|
+
# Where the payload lives in THIS repository's source tree. Deliberately the
|
|
43
|
+
# same as INSTALL_DIRNAME: what you see in `src/` is what lands in a repo, with
|
|
44
|
+
# no translation step to hold in your head.
|
|
45
|
+
SOURCE_DIRNAME = "context_compass"
|
|
46
|
+
|
|
47
|
+
_HERE = pathlib.Path(__file__).resolve().parent
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _find_payload() -> pathlib.Path:
|
|
51
|
+
"""Where the shipped package files live, installed or in a source checkout.
|
|
52
|
+
|
|
53
|
+
In a wheel the build maps `src/contextcompass/` to `_package/` beside this
|
|
54
|
+
module. In a source tree that directory does not exist and the payload is
|
|
55
|
+
the sibling `src/contextcompass/`. Without this fallback the CLI works only
|
|
56
|
+
after a build, so every source-run and every test would exercise a different
|
|
57
|
+
code path from the one users get.
|
|
58
|
+
|
|
59
|
+
The older layout put the payload at `src/context_compass/`. That is still
|
|
60
|
+
accepted, because a checkout mid-rename should not fail obscurely.
|
|
61
|
+
"""
|
|
62
|
+
installed = _HERE / "_package"
|
|
63
|
+
if (installed / "AGENTS.MD").is_file():
|
|
64
|
+
return installed
|
|
65
|
+
for sibling in (SOURCE_DIRNAME, INSTALL_DIRNAME):
|
|
66
|
+
checkout = _HERE.parent / sibling
|
|
67
|
+
if (checkout / "AGENTS.MD").is_file():
|
|
68
|
+
return checkout
|
|
69
|
+
return installed # report the installed path in the error message
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
PAYLOAD = _find_payload()
|
|
73
|
+
|
|
74
|
+
__all__ = ["__version__", "PAYLOAD", "INSTALL_DIRNAME", "SOURCE_DIRNAME"]
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""The `contextcompass` command.
|
|
3
|
+
|
|
4
|
+
contextcompass init put context_compass/ into this repo
|
|
5
|
+
contextcompass upgrade --check what an upgrade would change
|
|
6
|
+
contextcompass upgrade --apply do it
|
|
7
|
+
contextcompass migrate-boards ... one-time board migration
|
|
8
|
+
contextcompass version installed and on-disk versions
|
|
9
|
+
|
|
10
|
+
WHY A CLI AT ALL
|
|
11
|
+
|
|
12
|
+
Without it, adopting Context Compass means cloning a repository and copying a
|
|
13
|
+
directory out of it by hand, and upgrading means keeping a second checkout
|
|
14
|
+
around at the right version so `--new` has somewhere to point. As a command, the
|
|
15
|
+
installed package IS the new version, so there is nothing to keep in sync.
|
|
16
|
+
|
|
17
|
+
The subcommands delegate to the same scripts that ship inside the payload. They
|
|
18
|
+
are not reimplemented here: one copy of the logic, exercised by the same tests,
|
|
19
|
+
whether it is reached through the CLI or run directly from a repository.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from __future__ import annotations
|
|
23
|
+
|
|
24
|
+
import argparse
|
|
25
|
+
import pathlib
|
|
26
|
+
import runpy
|
|
27
|
+
import shutil
|
|
28
|
+
import sys
|
|
29
|
+
|
|
30
|
+
from . import PAYLOAD, INSTALL_DIRNAME, __version__
|
|
31
|
+
|
|
32
|
+
TOOLS = PAYLOAD / "tools"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _run_tool(script: pathlib.Path, argv: list[str]) -> int:
|
|
36
|
+
"""Run a payload script in-process with the argv it expects.
|
|
37
|
+
|
|
38
|
+
`runpy` rather than a subprocess: the scripts bootstrap their own imports by
|
|
39
|
+
inserting their directory on `sys.path`, and this keeps that behaviour
|
|
40
|
+
identical whether they are reached through the CLI or invoked directly.
|
|
41
|
+
"""
|
|
42
|
+
old_argv = sys.argv
|
|
43
|
+
sys.argv = [str(script), *argv]
|
|
44
|
+
try:
|
|
45
|
+
runpy.run_path(str(script), run_name="__main__")
|
|
46
|
+
return 0
|
|
47
|
+
except SystemExit as exc:
|
|
48
|
+
return int(exc.code or 0)
|
|
49
|
+
finally:
|
|
50
|
+
sys.argv = old_argv
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def cmd_init(args: argparse.Namespace) -> int:
|
|
54
|
+
target = args.into.resolve() / INSTALL_DIRNAME
|
|
55
|
+
if target.exists():
|
|
56
|
+
print(f"REFUSED: {target} already exists.")
|
|
57
|
+
print(" This command creates a new install; it will not write over one.")
|
|
58
|
+
print(" To bring an existing install up to date: contextcompass upgrade --check")
|
|
59
|
+
return 2
|
|
60
|
+
|
|
61
|
+
if not PAYLOAD.is_dir():
|
|
62
|
+
print(f"ERROR: payload missing from the installed package ({PAYLOAD}).")
|
|
63
|
+
print(" This is a packaging fault, not a usage error - the wheel was built")
|
|
64
|
+
print(" without its data files.")
|
|
65
|
+
return 2
|
|
66
|
+
|
|
67
|
+
# Importing the payload's tools compiles bytecode INTO the installed
|
|
68
|
+
# package, so a pip-installed copy grows `__pycache__` directories that are
|
|
69
|
+
# not part of the package. Copying those into someone's repository puts 29
|
|
70
|
+
# untracked binary files in their first commit and makes the install
|
|
71
|
+
# disagree with its own manifest.
|
|
72
|
+
ignore = shutil.ignore_patterns("__pycache__", "*.pyc", "*.pyo")
|
|
73
|
+
|
|
74
|
+
if args.check:
|
|
75
|
+
n = sum(1 for p in PAYLOAD.rglob("*")
|
|
76
|
+
if p.is_file() and "__pycache__" not in p.parts)
|
|
77
|
+
print(f"WOULD CREATE: {target} ({n} files, version {__version__})")
|
|
78
|
+
return 0
|
|
79
|
+
|
|
80
|
+
shutil.copytree(PAYLOAD, target, ignore=ignore)
|
|
81
|
+
n = sum(1 for p in target.rglob("*") if p.is_file())
|
|
82
|
+
print(f"CREATED: {target}")
|
|
83
|
+
print(f" {n} files, version {__version__}")
|
|
84
|
+
print()
|
|
85
|
+
print("Next:")
|
|
86
|
+
print(f" 1. Point your agent at {INSTALL_DIRNAME}/AGENTS.MD and ask it to onboard")
|
|
87
|
+
print(" as `engineer`.")
|
|
88
|
+
print(" 2. Commit the directory. It is your repository's memory now, and it is")
|
|
89
|
+
print(" meant to be reviewed and diffed like any other source.")
|
|
90
|
+
return 0
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def cmd_upgrade(args: argparse.Namespace) -> int:
|
|
94
|
+
install = args.install.resolve()
|
|
95
|
+
if not (install / "AGENTS.MD").is_file():
|
|
96
|
+
print(f"ERROR: {install} is not a Context Compass install (no AGENTS.MD).")
|
|
97
|
+
print(f" Pass --install, or run from a repo containing {INSTALL_DIRNAME}/.")
|
|
98
|
+
return 2
|
|
99
|
+
argv = ["--install", str(install), "--new", str(PAYLOAD)]
|
|
100
|
+
argv += ["--apply"] if args.apply else ["--check"]
|
|
101
|
+
for flag in ("keep_retired", "preserve_local", "seed_instance"):
|
|
102
|
+
if getattr(args, flag):
|
|
103
|
+
argv.append("--" + flag.replace("_", "-"))
|
|
104
|
+
return _run_tool(TOOLS / "update_context_compass.py", argv)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def cmd_migrate_boards(args: argparse.Namespace) -> int:
|
|
108
|
+
install = args.install.resolve()
|
|
109
|
+
if not (install / "AGENTS.MD").is_file():
|
|
110
|
+
print(f"ERROR: {install} is not a Context Compass install (no AGENTS.MD).")
|
|
111
|
+
return 2
|
|
112
|
+
argv = ["--install", str(install), "--new", str(PAYLOAD)]
|
|
113
|
+
argv += ["--apply"] if args.apply else ["--check"]
|
|
114
|
+
if args.diff:
|
|
115
|
+
argv.append("--diff")
|
|
116
|
+
return _run_tool(TOOLS / "migrate_boards.py", argv)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def cmd_version(args: argparse.Namespace) -> int:
|
|
120
|
+
print(f"contextcompass {__version__}")
|
|
121
|
+
manifest = PAYLOAD / "MANIFEST.md"
|
|
122
|
+
if manifest.is_file():
|
|
123
|
+
for line in manifest.read_text(encoding="utf-8").splitlines():
|
|
124
|
+
if line.startswith("| package_version |"):
|
|
125
|
+
print(f" payload manifest: {line.split('|')[2].strip()}")
|
|
126
|
+
break
|
|
127
|
+
install = args.install.resolve() / "MANIFEST.md" if args.install else None
|
|
128
|
+
if install and install.is_file():
|
|
129
|
+
for line in install.read_text(encoding="utf-8").splitlines():
|
|
130
|
+
if line.startswith("| package_version |"):
|
|
131
|
+
print(f" installed here : {line.split('|')[2].strip()}")
|
|
132
|
+
break
|
|
133
|
+
return 0
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def default_install() -> pathlib.Path:
|
|
137
|
+
"""`./context_compass` if it exists, else `.` - so both layouts just work."""
|
|
138
|
+
here = pathlib.Path.cwd()
|
|
139
|
+
nested = here / INSTALL_DIRNAME
|
|
140
|
+
return nested if (nested / "AGENTS.MD").is_file() else here
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def build_parser() -> argparse.ArgumentParser:
|
|
144
|
+
ap = argparse.ArgumentParser(
|
|
145
|
+
prog="contextcompass", description=__doc__,
|
|
146
|
+
formatter_class=argparse.RawDescriptionHelpFormatter)
|
|
147
|
+
ap.add_argument("--version", action="version", version=f"contextcompass {__version__}")
|
|
148
|
+
sub = ap.add_subparsers(dest="command", required=True)
|
|
149
|
+
|
|
150
|
+
p = sub.add_parser("init", help=f"create {INSTALL_DIRNAME}/ in a repository")
|
|
151
|
+
p.add_argument("--into", type=pathlib.Path, default=pathlib.Path("."),
|
|
152
|
+
help="repository root (default: current directory)")
|
|
153
|
+
p.add_argument("--check", action="store_true", help="report only, write nothing")
|
|
154
|
+
p.set_defaults(func=cmd_init)
|
|
155
|
+
|
|
156
|
+
# Flags are declared, not forwarded blindly. `parse_known_args` would pass a
|
|
157
|
+
# typo straight through to a tool that ignores it, and the run would look
|
|
158
|
+
# like it honoured a flag it never saw.
|
|
159
|
+
p = sub.add_parser("upgrade", help="upgrade an install to this version")
|
|
160
|
+
p.add_argument("--install", type=pathlib.Path, default=None)
|
|
161
|
+
p.add_argument("--check", action="store_true",
|
|
162
|
+
help="report only, write nothing (the default)")
|
|
163
|
+
p.add_argument("--apply", action="store_true", help="perform the upgrade")
|
|
164
|
+
p.add_argument("--keep-retired", action="store_true",
|
|
165
|
+
help="do not sweep files the new version no longer ships")
|
|
166
|
+
p.add_argument("--preserve-local", action="store_true",
|
|
167
|
+
help="do not conform package files you have edited")
|
|
168
|
+
p.add_argument("--seed-instance", action="store_true",
|
|
169
|
+
help="create INSTANCE files the manifest lists but disk lacks")
|
|
170
|
+
p.set_defaults(func=cmd_upgrade)
|
|
171
|
+
|
|
172
|
+
p = sub.add_parser("migrate-boards",
|
|
173
|
+
help="one-time board migration into USER-DEFINED regions")
|
|
174
|
+
p.add_argument("--install", type=pathlib.Path, default=None)
|
|
175
|
+
p.add_argument("--check", action="store_true",
|
|
176
|
+
help="report only, write nothing (the default)")
|
|
177
|
+
p.add_argument("--apply", action="store_true", help="rewrite the boards")
|
|
178
|
+
p.add_argument("--diff", action="store_true", help="print a unified diff per board")
|
|
179
|
+
p.set_defaults(func=cmd_migrate_boards)
|
|
180
|
+
|
|
181
|
+
p = sub.add_parser("version", help="show installed and on-disk versions")
|
|
182
|
+
p.add_argument("--install", type=pathlib.Path, default=None)
|
|
183
|
+
p.set_defaults(func=cmd_version)
|
|
184
|
+
return ap
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
def main(argv: list[str] | None = None) -> int:
|
|
188
|
+
args = build_parser().parse_args(argv)
|
|
189
|
+
if getattr(args, "install", "missing") is None:
|
|
190
|
+
args.install = default_install()
|
|
191
|
+
return args.func(args)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
if __name__ == "__main__":
|
|
195
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# AGENTS.MD - Prime Policies
|
|
4
|
+
## Execution Order
|
|
5
|
+
|
|
6
|
+
- Before running tools, editing files, or executing commands, complete
|
|
7
|
+
onboarding from `context_compass/AGENTS.MD`.
|
|
8
|
+
- If there is any conflict between repository-root `AGENTS.MD` and
|
|
9
|
+
`context_compass/AGENTS.MD`, `context_compass/AGENTS.MD` is authoritative.
|
|
10
|
+
|
|
11
|
+
## Tooling Mandate: Context Compass Is the Only System of Record
|
|
12
|
+
|
|
13
|
+
### Who this binds
|
|
14
|
+
|
|
15
|
+
This rule binds you by what your runtime PROVIDES, not by who built it. No brand
|
|
16
|
+
is named because no brand needs to be: if your environment gives you any of the
|
|
17
|
+
surfaces below, you are in scope.
|
|
18
|
+
|
|
19
|
+
You are in scope if you are:
|
|
20
|
+
- a command-line coding agent,
|
|
21
|
+
- an agent embedded in an editor or IDE,
|
|
22
|
+
- a desktop or chat agent application with file and shell access,
|
|
23
|
+
- a headless agent built on an SDK or API,
|
|
24
|
+
- a browser-driving agent,
|
|
25
|
+
- an agent running in CI or on a schedule,
|
|
26
|
+
- or any other automated runtime acting on this repository.
|
|
27
|
+
|
|
28
|
+
You are in scope if your runtime exposes any of:
|
|
29
|
+
- task lists, todo lists, or checklists
|
|
30
|
+
- plans, goals, or planning widgets
|
|
31
|
+
- status indicators, progress trackers, or work summaries
|
|
32
|
+
- scratchpads, memory panes, or session memory
|
|
33
|
+
- any other session-local coordination surface
|
|
34
|
+
|
|
35
|
+
**If you are reading this and unsure whether a surface of yours counts, it
|
|
36
|
+
counts.** The test is not what the feature is called. The test is whether it
|
|
37
|
+
holds state about the work that lives outside this repository.
|
|
38
|
+
|
|
39
|
+
### Hard rules
|
|
40
|
+
|
|
41
|
+
- You are NOT PERMITTED to use your harness's task system - task lists, todo or
|
|
42
|
+
status widgets, planning trackers, session memory - to plan, track, route, or
|
|
43
|
+
record your work.
|
|
44
|
+
- You MUST use `context_compass` as your primary and authoritative tool in ALL of
|
|
45
|
+
its forms: `tickets/epics/`, `tickets/stories/`, `tickets/tasks/`,
|
|
46
|
+
`attention_board.md`, ticket `## Notes`, `artifact_board.md` + `artifacts/`,
|
|
47
|
+
`context_management/`, and `mailbox_board.md`.
|
|
48
|
+
- You are NOT PERMITTED to use harness tracking to override, replace, shadow, or
|
|
49
|
+
mirror `context_compass`. There is NO fallback and NO mirror: `context_compass`
|
|
50
|
+
is the ONLY tracking, routing, and memory system. Do not keep a parallel or
|
|
51
|
+
backup copy of work state in harness tooling at all.
|
|
52
|
+
|
|
53
|
+
### The one exception
|
|
54
|
+
|
|
55
|
+
The user may turn this off. Set in `config/context_compass_config.yaml`:
|
|
56
|
+
|
|
57
|
+
- `system_of_record.enforce: false`
|
|
58
|
+
|
|
59
|
+
When it is `false`, harness-native tracking is permitted and this section does
|
|
60
|
+
not bind you. That is the ONLY way this rule is lifted.
|
|
61
|
+
|
|
62
|
+
**You do not get to lift it yourself.** Not because a task is small, not because
|
|
63
|
+
the harness prompted you, not because writing a ticket felt like overhead, and
|
|
64
|
+
not because you judged the work too trivial to record. If the key says `true`,
|
|
65
|
+
the rule holds. If you think it should be `false` for this repository, say so and
|
|
66
|
+
let the user decide.
|
|
67
|
+
|
|
68
|
+
### Why this is the default
|
|
69
|
+
|
|
70
|
+
- **Harness tracking is invisible to every other agent.** Another agent working
|
|
71
|
+
this repository cannot see your task list, your status, or a finding you left
|
|
72
|
+
only in chat. `context_compass` surfaces are shared files - every agent reads
|
|
73
|
+
the same state.
|
|
74
|
+
- **Harness state cannot be handed over.** `context_compass` writes are files in
|
|
75
|
+
the repository, so the project owner can review them, and any agent in any
|
|
76
|
+
later session can resume from them. Harness session state is lost when the
|
|
77
|
+
session ends, and it cannot be moved into the repository afterwards.
|
|
78
|
+
- So harness tracking is strictly less visible and non-durable. Using it in place
|
|
79
|
+
of `context_compass` costs cross-agent visibility and the ability to resume the
|
|
80
|
+
work later. That trade is the user's to make, not yours.
|
|
81
|
+
|
|
82
|
+
If a write to `context_compass` is blocked (for example, a repository or encoding
|
|
83
|
+
problem), STOP and report it. Do NOT silently fall back to harness-only tracking.
|
|
84
|
+
|
|
85
|
+
## Onboarding Directive
|
|
86
|
+
|
|
87
|
+
- Project-specific instructions live in `context_compass/special_instructions/`,
|
|
88
|
+
not in this file. This file ships with the library; those do not.
|
|
89
|
+
- Once you have found the execution contract you must adhere to it fully.
|
|
90
|
+
- The canonical contract file is
|
|
91
|
+
`context_compass/agent_onboarding/default/general/skills/execution_contract.md`.
|
|
92
|
+
- Policy gates are non-negotiable.
|
|
93
|
+
- Do NOT offer "options" that bypass onboarding, re-onboarding, certification,
|
|
94
|
+
required reads, or tool-use restrictions.
|
|
95
|
+
- If a required step cannot be completed, state `BLOCKED` and ask the user
|
|
96
|
+
for instructions. Do not improvise a different compliance regime.
|
|
97
|
+
- Do NOT propose rewriting policy, reducing the readset, or changing certification criteria
|
|
98
|
+
as a workaround unless the user explicitly requests policy changes.
|
|
99
|
+
- If you are new to this repository (or this is a fresh session), onboard
|
|
100
|
+
before doing any work.
|
|
101
|
+
- Onboarding is single-pass per trigger event. Do not restart onboarding in the
|
|
102
|
+
same uninterrupted session unless a new trigger event occurs.
|
|
103
|
+
- Read and follow `context_compass/AGENTS.MD` as the canonical onboarding and
|
|
104
|
+
execution policy.
|
|
105
|
+
- You MUST determine whether a file exceeds `reading.read_loc_max` LOC before reading it.
|
|
106
|
+
- If the file might exceed `reading.read_loc_max`, compute the line count (LOC) first.
|
|
107
|
+
- If the file is clearly <= `reading.read_loc_max`, do NOT waste tool calls on LOC counting.
|
|
108
|
+
- You must read every required **baseline** onboarding file completely.
|
|
109
|
+
- Do not skip required-baseline files.
|
|
110
|
+
- Do NOT claim a file was read unless it was actually read.
|
|
111
|
+
- On-demand files are required only when the active task triggers them.
|
|
112
|
+
- Loop-based document reads are forbidden except for line counts. Content reads
|
|
113
|
+
must be manual per file path.
|
|
114
|
+
- Files larger than `reading.read_loc_max` LOC must be read in sequential chunks
|
|
115
|
+
with each read operation at or below `reading.viewer_tool_read_limit`.
|
|
116
|
+
- Repository-root `AGENTS.MD` is a pointer only. The canonical onboarding and
|
|
117
|
+
execution policy lives in `context_compass/AGENTS.MD`, and that file wins on
|
|
118
|
+
any conflict.
|
|
119
|
+
|
|
120
|
+
## Compaction Directive
|
|
121
|
+
|
|
122
|
+
- Highest priority adherence: after any context compaction or handoff,
|
|
123
|
+
immediately re-onboard before any action.
|
|
124
|
+
- Re-read `context_compass/AGENTS.MD` and
|
|
125
|
+
`context_compass/agent_onboarding/default/general/skills/compaction_requirements.md`
|
|
126
|
+
before continuing work.
|
|
127
|
+
- For compaction/handoff summaries, you MUST keep summaries empty when the runtime allows it;
|
|
128
|
+
otherwise you MUST use minimal file-pointer summaries only.
|
|
129
|
+
- Post `REONBOARD: COMPLETE` attestation **with read-integrity proof** before any action:
|
|
130
|
+
- `ROLE_SKILLS_READ`
|
|
131
|
+
- `READ_INTEGRITY_PROOF`
|
|
132
|
+
- `NO_ACTION_TAKEN_YET: true`
|
|
133
|
+
|
|
134
|
+
## Highest Priority Adherence (Compaction Re-Onboarding)
|
|
135
|
+
|
|
136
|
+
After any context compaction or handoff:
|
|
137
|
+
|
|
138
|
+
- Stop and re-onboard before any tooling, edits, execution, or planning.
|
|
139
|
+
- Re-onboarding is single-pass per trigger event. Do not repeat the same
|
|
140
|
+
`AGENTS.MD` + `execution_contract.md` reread sequence again in the same
|
|
141
|
+
uninterrupted session unless a new compaction/handoff/session-reset event
|
|
142
|
+
occurs.
|
|
143
|
+
- Re-onboarding is reserved for compaction/handoff recovery only.
|
|
144
|
+
- Fresh-session startup uses ONBOARD flow, not REONBOARD flow.
|
|
145
|
+
- Re-read `agent_onboarding/default/general/skills/execution_contract.md` in
|
|
146
|
+
full immediately after `AGENTS.MD`.
|
|
147
|
+
- Start from `config/context_compass_config.yaml`, then `SKILLS.MD`.
|
|
148
|
+
- Re-read and follow every Markdown document in `context_compass/special_instructions/` using relative repo paths only.
|
|
149
|
+
- Re-read `agent_onboarding/default/general/skills/compaction_requirements.md`.
|
|
150
|
+
- Re-check-in on `context_compass/mailbox_board.md` (update your row,
|
|
151
|
+
consume messages addressed to you) per
|
|
152
|
+
`agent_onboarding/default/general/skills/mailbox_protocol.md`.
|
|
153
|
+
- README reads are allowed for `new` first-time onboarding only; non-`new`
|
|
154
|
+
roles use policy/skills docs.
|
|
155
|
+
- Re-certify with a message that includes:
|
|
156
|
+
- `AGENT_NAME: <name>`
|
|
157
|
+
- the exact phrase `CERTIFY: APPROVED`
|
|
158
|
+
before acting.
|
|
159
|
+
- If anything is unclear after re-onboarding, ask the user for instructions and
|
|
160
|
+
get confirmation before acting.
|
|
161
|
+
- During compaction/handoff summarization, you MUST keep summaries empty when allowed;
|
|
162
|
+
otherwise you MUST emit minimal file-pointer summaries only.
|
|
163
|
+
- Before any action, publish a Re-Onboarding Attestation message with:
|
|
164
|
+
- `REONBOARD: COMPLETE`
|
|
165
|
+
- `ROLE_SKILLS_READ` (resolved role chain in parent-first order)
|
|
166
|
+
- `AGENT_NAME` (`<name>` if already supplied for this re-onboarding cycle,
|
|
167
|
+
otherwise `REQUIRED_FROM_USER`)
|
|
168
|
+
- `FILES_REREAD` (at minimum: `attention_board.md` + active ticket paths)
|
|
169
|
+
- `READ_INTEGRITY_PROOF` (concise comprehension proof; NOT tool logs)
|
|
170
|
+
- `NO_ACTION_TAKEN_YET: true`
|
|
171
|
+
|
|
172
|
+
Performative compliance is forbidden during re-onboarding:
|
|
173
|
+
|
|
174
|
+
- marker-only loops (for example, `$null = Get-Content ...` plus `REREAD:`
|
|
175
|
+
output) do not count as re-reading
|
|
176
|
+
- parallel/bulk reading is allowed only when document contents are actually read
|
|
177
|
+
- onboarding claims are valid only when required source documents were actually
|
|
178
|
+
read
|
|
179
|
+
- onboarding dump files are non-canonical artifacts and do not satisfy
|
|
180
|
+
onboarding requirements
|
|
181
|
+
|
|
182
|
+
## Onboarding Gate (Required)
|
|
183
|
+
|
|
184
|
+
Before any tooling, edits, or execution:
|
|
185
|
+
|
|
186
|
+
- Read `agent_onboarding/default/general/skills/execution_contract.md` in full
|
|
187
|
+
immediately after `AGENTS.MD`.
|
|
188
|
+
- Do not perform duplicate end-of-onboarding rereads of `AGENTS.MD` or
|
|
189
|
+
`execution_contract.md` in the same uninterrupted session.
|
|
190
|
+
- Read `config/context_compass_config.yaml`.
|
|
191
|
+
- Read `SKILLS.MD`.
|
|
192
|
+
- Read and follow every Markdown document in `context_compass/special_instructions/` using relative repo paths only.
|
|
193
|
+
- Check in on `context_compass/mailbox_board.md` (add/update your
|
|
194
|
+
checked-in row; read messages addressed to you if other agents are
|
|
195
|
+
active) per
|
|
196
|
+
`agent_onboarding/default/general/skills/mailbox_protocol.md`.
|
|
197
|
+
- When `SKILLS.MD` is read, list the roles in its registry table and ask the
|
|
198
|
+
user which role to take on unless the user already selected one explicitly.
|
|
199
|
+
- Resolve the selected role to its `SKILLS.MD` path from the `SKILLS.MD`
|
|
200
|
+
registry table. `SKILLS.MD` is the single role registry;
|
|
201
|
+
`config/context_compass_config.yaml` does not enumerate roles.
|
|
202
|
+
- Read the selected role `SKILLS.MD` and all inherited parent `SKILLS.MD`
|
|
203
|
+
files in parent-first order, walking each file's `INHERITS_SKILLS_FROM`
|
|
204
|
+
header.
|
|
205
|
+
- Treat every path in every section a resolved `SKILLS.MD` marks as **baseline**
|
|
206
|
+
as an active skill doc, and read all of them.
|
|
207
|
+
- **The test is the label, not the heading.** Roles name their baseline
|
|
208
|
+
sections differently - **Active skills**, **Required baseline skills**,
|
|
209
|
+
**Baseline system orientation** - and a role may introduce another. Read
|
|
210
|
+
what the role marks baseline; do not match against a fixed list of headings.
|
|
211
|
+
- Sections not marked baseline sit outside certification, and there are two
|
|
212
|
+
kinds. **On-demand** states a trigger: those paths become mandatory once it
|
|
213
|
+
fires, and MUST be read before any work in that scope. **Self-directed** has
|
|
214
|
+
no trigger at all: read those at your own initiative whenever the work needs
|
|
215
|
+
them, without asking permission.
|
|
216
|
+
- **Do not treat Self-directed as On-demand-with-no-trigger-yet.** That reading
|
|
217
|
+
produces an agent that never opens the document, and it has already happened.
|
|
218
|
+
- If first-time onboarding is active and selected role is `new`, complete
|
|
219
|
+
onboarding then set:
|
|
220
|
+
- `profiles.onboarding.first_time_enabled: false`
|
|
221
|
+
- Performative onboarding is forbidden: do real reads of required docs and do
|
|
222
|
+
not treat marker-only output as compliance.
|
|
223
|
+
- Do not use onboarding dump artifacts as a substitute for reading source
|
|
224
|
+
policy documents.
|
|
225
|
+
|
|
226
|
+
Onboarding readset authority:
|
|
227
|
+
|
|
228
|
+
- `context_compass/config/context_compass_config.yaml`
|
|
229
|
+
- `context_compass/SKILLS.MD`
|
|
230
|
+
- `context_compass/special_instructions/` (read every Markdown document under this directory using relative repo paths only)
|
|
231
|
+
- resolved `SKILLS.MD` chain under `context_compass/agent_onboarding/`
|
|
232
|
+
|
|
233
|
+
Onboarding completion attestation (first onboarding in a fresh session):
|
|
234
|
+
|
|
235
|
+
- Publish this before requesting certification:
|
|
236
|
+
- `ONBOARD: COMPLETE`
|
|
237
|
+
- `ROLE_SKILLS_READ` (resolved role chain in parent-first order)
|
|
238
|
+
- `AGENT_NAME` (`<name>` if already supplied for this onboarding cycle, otherwise `REQUIRED_FROM_USER`)
|
|
239
|
+
- `READ_INTEGRITY_PROOF` (concise comprehension proof; NOT tool logs)
|
|
240
|
+
- `NO_ACTION_TAKEN_YET: true`
|
|
241
|
+
|
|
242
|
+
Certification gating:
|
|
243
|
+
|
|
244
|
+
- Obey certification gating from
|
|
245
|
+
`agent_onboarding/default/general/policies/policy_skills.md` and
|
|
246
|
+
`agent_onboarding/default/general/skills/self_certification.md`.
|
|
247
|
+
- Do not use tools or edit files until the user replies with a message that
|
|
248
|
+
includes:
|
|
249
|
+
- `AGENT_NAME: <name>`
|
|
250
|
+
- the exact phrase `CERTIFY: APPROVED`
|
|
251
|
+
except tools needed to read onboarding docs.
|
|
252
|
+
- If certification is missing, stop and request it before edits or tool use.
|
|
253
|
+
|
|
254
|
+
## Communication Style and Feedback Standards
|
|
255
|
+
|
|
256
|
+
- Be direct and technical. No polite padding, no motivational fluff.
|
|
257
|
+
- Do not mirror insults. Stay professional and blunt.
|
|
258
|
+
- Professional baseline only. Compare quality/skill/practice only to
|
|
259
|
+
professional-grade expectations.
|
|
260
|
+
- Never handwave. State evidence, uncertainty, and next verification step when
|
|
261
|
+
needed.
|
|
262
|
+
- When the user asks "why" (e.g., why we are re-reading or gating):
|
|
263
|
+
- You MUST answer with the underlying rationale first (decision quality, correctness, safety, trust),
|
|
264
|
+
THEN cite the policy requirement.
|
|
265
|
+
- A reply that only cites policy ("because policy says so") is non-compliant.
|
|
266
|
+
- If you cannot explain the rationale, STOP and ask for clarification rather than bluffing.
|
|
267
|
+
- Use collaborative voice. Speak as "we" when aligning on shared goals without
|
|
268
|
+
slipping into fluff.
|
|
269
|
+
- Treasure context. Treat durable context as a top priority.
|
|
270
|
+
|
|
271
|
+
## Direction Recall / Path Correction
|
|
272
|
+
|
|
273
|
+
When the user signals that the direction has been lost - scope feels unbounded,
|
|
274
|
+
the goal has gone fuzzy, or the remaining work reads as one undifferentiated
|
|
275
|
+
mass:
|
|
276
|
+
|
|
277
|
+
- Re-anchor to the active ticket, the `attention_board.md` route, and any
|
|
278
|
+
documents in `context_compass/special_instructions/`.
|
|
279
|
+
- Restate what is being built in concrete terms: components, boundaries, flows.
|
|
280
|
+
- State what is already built and verified, with evidence, not encouragement.
|
|
281
|
+
- Reduce the problem to the next real layer rather than the whole remaining
|
|
282
|
+
future.
|
|
283
|
+
- Do not shrink the goal into something smaller just because the path is long.
|
|
284
|
+
Re-scoping is the user's decision to make explicitly, not a thing to do
|
|
285
|
+
quietly on their behalf.
|
|
286
|
+
- Keep the language grounded and high-signal. Empty motivation is noise, and it
|
|
287
|
+
costs credibility that the evidence-first parts of this system depend on.
|
|
288
|
+
|
|
289
|
+
This is a direction-setting protocol, not emotional support. If a user appears
|
|
290
|
+
to be struggling personally rather than architecturally, respond as a person
|
|
291
|
+
would - plainly and with care - and do not run a policy routine at them.
|
|
292
|
+
|
|
293
|
+
## Special Instructions Directory
|
|
294
|
+
|
|
295
|
+
- Project-specific instructions live in `context_compass/special_instructions/`.
|
|
296
|
+
- Read and follow every Markdown document in that directory.
|
|
297
|
+
- Use relative repo paths only.
|
|
298
|
+
|
|
299
|
+
## Compliance Challenge Protocol (Anti-Drift)
|
|
300
|
+
|
|
301
|
+
When the user signals distrust or drift (e.g., "performative compliance", "playing games",
|
|
302
|
+
"you're lying", "box-checking"):
|
|
303
|
+
|
|
304
|
+
1) STOP. Do not continue the current action stream.
|
|
305
|
+
2) State current status plainly: ONBOARD/REONBOARD complete? If uncertain, treat as NOT complete.
|
|
306
|
+
3) Cite the controlling rule(s) (file + section name).
|
|
307
|
+
4) Execute the single compliant next step. Do not present options unless multiple compliant paths truly exist.
|
|
308
|
+
5) Prove, don't posture: repair/provide `READ_INTEGRITY_PROOF` (no tool-log theatre).
|
|
309
|
+
If proof cannot be produced, mark `BLOCKED` and ask for instructions.
|
|
310
|
+
|