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,406 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# tests_components_instructions
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
- Define the exact build protocol for
|
|
7
|
+
`context_compass/system_docs/tests_components.md`.
|
|
8
|
+
- Produce evidence-backed C3/C2/C1 test component mapping aligned to test
|
|
9
|
+
architecture boundaries.
|
|
10
|
+
|
|
11
|
+
## Canonical Output
|
|
12
|
+
- `context_compass/system_docs/tests_components.md`
|
|
13
|
+
|
|
14
|
+
## Example Documents (Required Read)
|
|
15
|
+
- `context_compass/examples/example_components/tests_components.md`
|
|
16
|
+
- `context_compass/examples/example_components/src_components.md`
|
|
17
|
+
- `context_compass/examples/example_architecture/tests_architecture.md`
|
|
18
|
+
- `context_compass/examples/example_architecture/src_architecture.md`
|
|
19
|
+
|
|
20
|
+
The canonical output does not ship with the package. `system_docs/` is empty in
|
|
21
|
+
a fresh install, so on first run you are creating this document, not editing
|
|
22
|
+
one. The examples above are the shape reference; this repository is the source
|
|
23
|
+
of truth for the content.
|
|
24
|
+
|
|
25
|
+
## Required Inputs (Read First)
|
|
26
|
+
- `context_compass/system_docs/tests_architecture.md`
|
|
27
|
+
- `context_compass/system_docs/src_architecture.md`
|
|
28
|
+
- `context_compass/system_docs/src_components.md`
|
|
29
|
+
- `context_compass/system_docs/src_graph.md`
|
|
30
|
+
- `context_compass/agent_onboarding/default/design_engineer/skills/tests_architecture_instructions.md`
|
|
31
|
+
- Active ticket and `context_compass/attention_board.md` route
|
|
32
|
+
|
|
33
|
+
## Indexing Contract (Non-Negotiable)
|
|
34
|
+
|
|
35
|
+
This document is AUTHORED. Nothing generates its prose. The only generated
|
|
36
|
+
artifact is its index, and the index is only as useful as the heading structure
|
|
37
|
+
you give it.
|
|
38
|
+
|
|
39
|
+
Regenerate the index in the SAME pass that edits the document:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
43
|
+
--doc context_compass/system_docs/tests_components.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Heading discipline the index depends on:
|
|
47
|
+
- **Exactly one H1.** A second one and the indexer cannot identify the document
|
|
48
|
+
title, so it stops omitting it and emits a section spanning the whole file.
|
|
49
|
+
- **The navigable unit is H3 `### Component: <Name>`.** Consistent depth, never mixed.
|
|
50
|
+
- **Names unique and stable.** Index rows are selected on name; two sections
|
|
51
|
+
sharing a name are indistinguishable to a consumer.
|
|
52
|
+
- **Never leave a container heading as the read target.** `## C3 Components
|
|
53
|
+
Catalog` wraps only other headings, so it indexes as a range covering every
|
|
54
|
+
component beneath it. Select a component, never the catalog. Measured on a
|
|
55
|
+
production `src_components.md` that catalog indexes as a **1,945-line**
|
|
56
|
+
section, so a reader selecting it loads 37% of the document believing they
|
|
57
|
+
sliced it. The same shape applies to whatever you write here.
|
|
58
|
+
|
|
59
|
+
Consume the index by slicing, never by reading the document whole:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
63
|
+
--doc context_compass/system_docs/tests_components.md --slice "<section name>"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
It verifies the index before returning anything, refuses on a stale index, and
|
|
67
|
+
lists candidates rather than guessing when a name is ambiguous. Section names
|
|
68
|
+
are therefore the query - keep them unique and descriptive.
|
|
69
|
+
|
|
70
|
+
Verify before trusting any range:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
python context_compass/tools/system_documents/index_document.py \
|
|
74
|
+
--doc context_compass/system_docs/tests_components.md --check
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
An index records `line_count`, `content_sha256`, and `line_ending`. Insert one
|
|
78
|
+
line near the top and every range below it is wrong while still parsing and
|
|
79
|
+
still returning content - the WRONG content, confidently. On mismatch: STOP,
|
|
80
|
+
regenerate, do not eyeball an offset.
|
|
81
|
+
|
|
82
|
+
Full format specification:
|
|
83
|
+
`agent_onboarding/default/engineer/skills/system_document_build.md`
|
|
84
|
+
|
|
85
|
+
## Unknowns Gate (Non-Negotiable)
|
|
86
|
+
- New component claims default to `UNKNOWN`.
|
|
87
|
+
- Promote to `FACT` only with concrete evidence.
|
|
88
|
+
- Preserve unresolved UNKNOWNs; do not normalize into assumptions.
|
|
89
|
+
|
|
90
|
+
## Required Section Contract
|
|
91
|
+
`tests_components.md` must contain these sections in order:
|
|
92
|
+
1. `## Metadata`
|
|
93
|
+
2. `## Scope`
|
|
94
|
+
3. `## Indexing`
|
|
95
|
+
4. `## DO NOT ASSUME / Unknowns Gate`
|
|
96
|
+
5. `## Unknowns`
|
|
97
|
+
6. `## C3 Components Catalog`
|
|
98
|
+
7. `## C2 Subcomponents Catalog`
|
|
99
|
+
8. `## Method-Level Call Flows (C1)`
|
|
100
|
+
9. `## C1 Code Map (Core)`
|
|
101
|
+
10. `## Diagrams`
|
|
102
|
+
11. `## Information Sources`
|
|
103
|
+
12. `## Context / Handoff Summary`
|
|
104
|
+
|
|
105
|
+
### The document names no path into this package
|
|
106
|
+
|
|
107
|
+
`tests_components.md` is committed to the repository it describes and, in a
|
|
108
|
+
packaged project, ships inside the wheel. Every reader of that copy has the code
|
|
109
|
+
and does not have Context Compass. A line like
|
|
110
|
+
`context_compass/tools/system_documents/index_document.py` resolves for you and
|
|
111
|
+
for nobody downstream.
|
|
112
|
+
|
|
113
|
+
**No path in the produced document points into this package - written either
|
|
114
|
+
way.** `context_compass/tools/system_documents/index_document.py` and a bare
|
|
115
|
+
`tools/system_documents/index_document.py` are the same file; the second merely
|
|
116
|
+
drops the prefix because whoever wrote it was thinking install-relative. The
|
|
117
|
+
unprefixed form is the commoner leak and much the easier to miss, so the rule is
|
|
118
|
+
about the destination, not the spelling. The same goes for `agent_onboarding/`,
|
|
119
|
+
`system_docs/`, `patches/active/` and any tool filename.
|
|
120
|
+
|
|
121
|
+
Not in `## Indexing`, not in `## Information Sources`, not in a Key Files list,
|
|
122
|
+
not in a cross-reference. This is a hard rule, and it is checked in the Quality
|
|
123
|
+
Gate.
|
|
124
|
+
|
|
125
|
+
- **Maintenance commands are relocated, not deleted.** The command that rebuilds
|
|
126
|
+
the index lives in this skill, which is where a maintainer already is when
|
|
127
|
+
they need it. The document's `## Indexing` section states that an index
|
|
128
|
+
companion exists and what heading rules it depends on. A reader needs both
|
|
129
|
+
facts and neither one requires naming a tool.
|
|
130
|
+
- **Cross-references use a logical document id**: `tests_architecture`, not
|
|
131
|
+
`context_compass/system_docs/tests_architecture.md`. The id survives the
|
|
132
|
+
document being vendored, renamed, or published under a different root. The
|
|
133
|
+
path does not.
|
|
134
|
+
- **Paths into the subject stay, and stay repo-relative.** `tests/unit/test_x.py`
|
|
135
|
+
in a C1 entry or a Key Files list is exactly right - that is the suite being
|
|
136
|
+
documented and it is the whole point of the entry. Relative to the repository
|
|
137
|
+
root, never absolute: `C:\Users\...\tests\unit\test_x.py` encodes one
|
|
138
|
+
machine's checkout location into a document that gets committed and shipped,
|
|
139
|
+
so it is wrong for every reader who is not you, and it breaks the moment the
|
|
140
|
+
repo is cloned anywhere else. The rule bans paths into the tooling that
|
|
141
|
+
produced the document, never paths into the thing it describes.
|
|
142
|
+
|
|
143
|
+
`src_graph.md` is the model to copy: it is fully generated and contains zero
|
|
144
|
+
install-prefixed paths.
|
|
145
|
+
|
|
146
|
+
### Sections not in the contract
|
|
147
|
+
|
|
148
|
+
The contract is a **minimum in a fixed relative order**, not a whitelist. Other
|
|
149
|
+
sections are permitted and are common. Measured on one real architecture
|
|
150
|
+
document: 44 H2 sections against its 17-section contract - read literally as
|
|
151
|
+
"only these sections", a recomposition deletes roughly 1,200 lines. That figure
|
|
152
|
+
is from the source side; the ratio is what carries over. The contract above
|
|
153
|
+
lists twelve, and a mature test components document will exceed it too.
|
|
154
|
+
|
|
155
|
+
If material genuinely does not belong here, it is **moved, never deleted**:
|
|
156
|
+
|
|
157
|
+
- relocate it to a named target - the patch lane
|
|
158
|
+
(`system_docs/patches/active/<patch_id>/`) is the conventional destination
|
|
159
|
+
- name that target in `## Context / Handoff Summary`
|
|
160
|
+
- state plainly that until it is re-absorbed it lives in neither canonical
|
|
161
|
+
document
|
|
162
|
+
|
|
163
|
+
"Delete it because the contract does not list it" is never the right answer.
|
|
164
|
+
|
|
165
|
+
### What "core" means
|
|
166
|
+
|
|
167
|
+
**Core is the deduplicated union of every `Key Files (C1)` list in the C3
|
|
168
|
+
catalog.** A file a component claims as its own is core by that component's own
|
|
169
|
+
claim, and the set maintains itself: change a component's key files and the core
|
|
170
|
+
set follows, so nothing new has to be tracked.
|
|
171
|
+
|
|
172
|
+
Measured on the source side of one real package: 574 modules resolved to 170
|
|
173
|
+
core paths - a scope an agent can actually verify, against an inventory it
|
|
174
|
+
cannot. The same reduction is what makes this tractable for a test tree.
|
|
175
|
+
|
|
176
|
+
An exhaustive inventory is still useful. Keep it, do not let the rename delete
|
|
177
|
+
it: put it beneath as `### Full Package Inventory (exhaustive, retained)`.
|
|
178
|
+
Narrowing a section's scope is not a licence to destroy what was there.
|
|
179
|
+
|
|
180
|
+
## Component Entry Contract (C3 Minimum)
|
|
181
|
+
Each C3 test component must include:
|
|
182
|
+
- `Purpose`
|
|
183
|
+
- `Responsibilities`
|
|
184
|
+
- `Inputs`
|
|
185
|
+
- `Outputs`
|
|
186
|
+
- `Owned State`
|
|
187
|
+
- `Lifecycle/Cleanup`
|
|
188
|
+
- `Concurrency/Threading`
|
|
189
|
+
- `Invariants/Guarantees`
|
|
190
|
+
- `Failure Modes`
|
|
191
|
+
- `Observability`
|
|
192
|
+
- `Extension Points`
|
|
193
|
+
- `Key Files (C1)`
|
|
194
|
+
|
|
195
|
+
**`Key Files (C1)` cites in-scope TEST paths only.** This is the mirror of the
|
|
196
|
+
source-side rule, and it runs the other way: `src_components.md` cites source
|
|
197
|
+
paths because that is what its graph is keyed by, and this document cites test
|
|
198
|
+
paths because test surfaces are its subject. A source path here is the same
|
|
199
|
+
category error as a test path there. If a test component needs to name the code
|
|
200
|
+
it exercises, name it in `Purpose` or `Responsibilities` as the thing under test,
|
|
201
|
+
not in `Key Files`.
|
|
202
|
+
|
|
203
|
+
**There is no graph to join against on this side, and that is the asymmetry.**
|
|
204
|
+
The source-side skill can hand you a `comm -23` recipe because every source file
|
|
205
|
+
has a row in `src_graph_index.md`. No equivalent index exists for the test tree,
|
|
206
|
+
so nothing will tell you a path here has rotted. Verify by existence and
|
|
207
|
+
remeasure every range on every pass:
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
DOC=context_compass/system_docs/tests_components.md
|
|
211
|
+
|
|
212
|
+
# Same extraction the source-side skill uses: the two contract fields that hold
|
|
213
|
+
# paths, not every backtick - code-fence tags are backticked too, and a check
|
|
214
|
+
# that reports `bash` as a missing file gets ignored by its second run.
|
|
215
|
+
{ grep -o 'Key Files (C1):.*' "$DOC"; grep -o '^- path: .*' "$DOC"; } \
|
|
216
|
+
| grep -o '`[^`]*`' | tr -d '`' | grep -v '[*?]' | sort -u \
|
|
217
|
+
| while read -r p; do [ -e "$p" ] || echo "MISSING $p"; done
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Match `` `[^`]*` `` **including both backticks**: a lookahead form like
|
|
221
|
+
`` `\K[^`]+(?=`) `` resumes at the closing backtick, treats it as an opening
|
|
222
|
+
one, and reports the `, ` between two cited paths as a path. `grep -v '[*?]'`
|
|
223
|
+
drops globs - a glob is a statement about a set, not a citation that resolves to
|
|
224
|
+
one file. Existence is the weaker check; it catches a deleted file but not a
|
|
225
|
+
range that has drifted inside a file that still exists, which is why ranges here
|
|
226
|
+
are remeasured rather than trusted.
|
|
227
|
+
|
|
228
|
+
This is the same twelve-field minimum `src_components_instructions.md` requires.
|
|
229
|
+
Test components are components. If a field genuinely does not apply, say so in
|
|
230
|
+
the field rather than dropping it - a missing field and a deliberately empty one
|
|
231
|
+
look identical to a reader, and only one of them is a decision.
|
|
232
|
+
|
|
233
|
+
## C1 Flow/Map Contract
|
|
234
|
+
- Call-flow entries must include concrete test methods/functions/fixtures.
|
|
235
|
+
- C1 map entries must include:
|
|
236
|
+
- `path`
|
|
237
|
+
- `start_line`
|
|
238
|
+
- `end_line`
|
|
239
|
+
- `loc`
|
|
240
|
+
- `verified_at` (UTC DateTime `YYYY-MM-DDTHH:MM:SSZ`)
|
|
241
|
+
|
|
242
|
+
**Directories are not valid C1 entries.** A directory has no line range, so a
|
|
243
|
+
citation to one carries no evidence and cannot be verified or remeasured. Expand
|
|
244
|
+
it into its constituent test files - excluding whatever the test scope already
|
|
245
|
+
excludes - and measure each. Do not write `UNKNOWN` for a directory: `UNKNOWN`
|
|
246
|
+
means "not yet verified and here is the investigation target", and a directory is
|
|
247
|
+
unverifiable in principle - the marker would sit there forever with nothing to
|
|
248
|
+
resolve it.
|
|
249
|
+
|
|
250
|
+
Ranges are measured, never estimated. If the exact range is not verified, keep
|
|
251
|
+
the claim `UNKNOWN` and add an investigation target in `## Unknowns` rather than
|
|
252
|
+
writing a plausible number.
|
|
253
|
+
|
|
254
|
+
## Build Sequence (Bottom-Up, Required)
|
|
255
|
+
1. Confirm active ticket route and test component scope.
|
|
256
|
+
2. If the document already exists, capture the Content Preservation baseline
|
|
257
|
+
now, before the first edit. Captured later it proves nothing.
|
|
258
|
+
3. Read required example documents and extract reusable C3/C2/C1 patterns.
|
|
259
|
+
4. Re-read tests architecture boundaries and terminology.
|
|
260
|
+
5. Unwrap any heading spanning more than one physical line. A reflowed heading
|
|
261
|
+
parses as several sections; the first wins "narrowest match" and `--slice`
|
|
262
|
+
returns a stub. `index_document.py` warns on unclosed brackets, which is the
|
|
263
|
+
usual tell, but it cannot catch every wrap - scan the heading list once
|
|
264
|
+
before you trust it.
|
|
265
|
+
6. Draft/refresh metadata, scope, unknowns gate, and unknowns inventory.
|
|
266
|
+
7. Build C3 test component catalog with entry-contract fields.
|
|
267
|
+
8. Build C2 subcomponents and wiring/dependency notes.
|
|
268
|
+
9. Capture method-level C1 flows (fixtures, harnesses, execution paths).
|
|
269
|
+
10. Build the C1 core map with ranges, LOC, and verification timestamps.
|
|
270
|
+
11. Add diagrams aligned to terminology and flow.
|
|
271
|
+
12. If patch lane is active, confirm the component patch has not moved a
|
|
272
|
+
boundary this document still describes the old way.
|
|
273
|
+
13. Refresh `Information Sources` and `Context / Handoff Summary`.
|
|
274
|
+
14. Rebuild the index in this same pass, then satisfy the Content Preservation
|
|
275
|
+
Gate and the Quality Gate.
|
|
276
|
+
|
|
277
|
+
If a test component claim conflicts with `tests_architecture.md` or with the
|
|
278
|
+
component it verifies in `src_components.md`, log `CONFLICT` in ticket notes and
|
|
279
|
+
escalate before proceeding. The mismatch is the finding; resolving it silently
|
|
280
|
+
in either direction destroys it.
|
|
281
|
+
|
|
282
|
+
## Content Preservation Gate (Non-Negotiable)
|
|
283
|
+
|
|
284
|
+
**Structural checks cannot see content loss.** Every check in the Quality Gate
|
|
285
|
+
below is structural - sections present, fields present, ranges present. A
|
|
286
|
+
recomposition can pass all of them while having silently destroyed text.
|
|
287
|
+
|
|
288
|
+
This is not hypothetical. A real recomposition of a 2,249-line architecture
|
|
289
|
+
document lost ~170 lines to a regex that captured only the description text on
|
|
290
|
+
the same physical line as the path: fifteen wrapped descriptions truncated, two
|
|
291
|
+
destroyed outright, and a previous `## Context / Handoff Summary` overwritten,
|
|
292
|
+
taking a record of decisions in force with it. All six structural checks passed
|
|
293
|
+
the entire time. It was caught by a human noticing the file had shrunk.
|
|
294
|
+
|
|
295
|
+
So, before the first transform:
|
|
296
|
+
|
|
297
|
+
1. Capture a **multiset** of the document's non-blank, whitespace-normalised
|
|
298
|
+
lines. Counts, not a set - a set cannot see that a line appearing three times
|
|
299
|
+
now appears once.
|
|
300
|
+
2. Do the work.
|
|
301
|
+
3. Re-capture and compare. Every line from the baseline must appear either in
|
|
302
|
+
the resulting document or in a **named migration target** you can point at.
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
# BEFORE the first transform
|
|
306
|
+
grep -v '^[[:space:]]*$' DOC.md | sed 's/[[:space:]]\+/ /g' | sort | uniq -c > /tmp/before.txt
|
|
307
|
+
|
|
308
|
+
# AFTER - the document PLUS every target you moved material into
|
|
309
|
+
cat DOC.md MIGRATION_TARGET.md ... | grep -v '^[[:space:]]*$' \
|
|
310
|
+
| sed 's/[[:space:]]\+/ /g' | sort | uniq -c > /tmp/after.txt
|
|
311
|
+
|
|
312
|
+
diff /tmp/before.txt /tmp/after.txt
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
**The `after` capture must span the document and its migration targets.**
|
|
316
|
+
Comparing the document against itself contradicts the rule above: relocation is
|
|
317
|
+
explicitly allowed, so every legitimately moved line reports as loss. That fires
|
|
318
|
+
hardest on a recomposition that moves material - the exact case this gate exists
|
|
319
|
+
for - and a gate that cries wolf is disabled by the second person who hits it.
|
|
320
|
+
|
|
321
|
+
**The baseline must be captured BEFORE the first edit.** Captured afterwards it
|
|
322
|
+
proves nothing - it describes the document you already built, which is the exact
|
|
323
|
+
trap that makes "I verified it" feel true while content is gone.
|
|
324
|
+
|
|
325
|
+
**Reformatting reads as loss under a line comparison.** Rewrapping prose or
|
|
326
|
+
changing a record's shape leaves the content intact and the line text different,
|
|
327
|
+
so this recipe flags it. When a pass deliberately reshapes entries, compare
|
|
328
|
+
extracted content - the paths, the field values, the claims - rather than raw
|
|
329
|
+
lines, or the gate fails on work that lost nothing. Do not respond by relaxing
|
|
330
|
+
the gate; respond by comparing the right thing.
|
|
331
|
+
|
|
332
|
+
A line legitimately removed is fine. A line you cannot account for is a defect,
|
|
333
|
+
and this gate fails until you can name where it went.
|
|
334
|
+
|
|
335
|
+
## Quality Gate (Pass/Fail)
|
|
336
|
+
Pass only when all checks are true:
|
|
337
|
+
- [ ] Content Preservation Gate satisfied: every baseline line is present
|
|
338
|
+
in this document or in a named migration target.
|
|
339
|
+
- [ ] Required section order exists and is complete.
|
|
340
|
+
- [ ] Every C3 entry includes the minimum contract fields.
|
|
341
|
+
- [ ] C1 call flows include concrete methods/functions/fixtures.
|
|
342
|
+
- [ ] C1 map entries include path, range, LOC, and verified_at.
|
|
343
|
+
- [ ] Terminology aligns with `tests_architecture.md`.
|
|
344
|
+
- [ ] Information Sources support promoted FACT claims.
|
|
345
|
+
- [ ] No path in the document begins with the install directory, and every path
|
|
346
|
+
into the documented suite is repo-relative rather than absolute.
|
|
347
|
+
|
|
348
|
+
Passing this gate means the document is structurally sound, not that it is good.
|
|
349
|
+
Every check above is binary: an entry reading "Runs the suite" satisfies the
|
|
350
|
+
contract fields and names no behaviour it protects. Score the document with
|
|
351
|
+
`agent_onboarding/default/design_engineer/policies/system_document_quality_rubric.md`
|
|
352
|
+
(tests_components profile - Depth is scored per entry and averaged) and record
|
|
353
|
+
the total in the active ticket. Below 60 it is not usable as evidence
|
|
354
|
+
downstream. Expect a lower score here than on the source side on a first pass;
|
|
355
|
+
that gap is the finding, not an excuse.
|
|
356
|
+
|
|
357
|
+
## Validation Commands
|
|
358
|
+
- `rg -n '^#{1,6} .*[([][^)\]]*$' context_compass/system_docs/tests_components.md` - headings with an unclosed bracket, the usual sign of a wrap
|
|
359
|
+
- `rg -n "^## " context_compass/system_docs/tests_components.md`
|
|
360
|
+
- `rg -n "C3 Components|C2 Subcomponents|Method-Level Call Flows|C1 Code Map" context_compass/system_docs/tests_components.md`
|
|
361
|
+
- `rg -n "path|start_line|end_line|loc|verified_at" context_compass/system_docs/tests_components.md`
|
|
362
|
+
|
|
363
|
+
Two that must return nothing. These are the portability rule, and unlike the
|
|
364
|
+
others a hit is a defect rather than a thing to eyeball:
|
|
365
|
+
|
|
366
|
+
- `rg -n "context_compass/|agent_onboarding/|tools/system_documents/|index_document\.py|system_docs/|patches/active/" context_compass/system_docs/tests_components.md` -
|
|
367
|
+
any hit is a path into this package that a downstream reader cannot resolve.
|
|
368
|
+
Note the alternation. Checking only for `context_compass/` finds nothing on a
|
|
369
|
+
real leaked document, because an agent writing from inside the install writes
|
|
370
|
+
`python tools/system_documents/index_document.py --doc system_docs/tests_components.md`
|
|
371
|
+
with no prefix at all. That is the same file and the same defect.
|
|
372
|
+
- `rg -n "([A-Za-z]:\\\\|^\s*-?\s*path:\s*[\`']?/)" context_compass/system_docs/tests_components.md` -
|
|
373
|
+
absolute paths, Windows or POSIX, which encode one machine's checkout location
|
|
374
|
+
|
|
375
|
+
## Staleness Triggers (When Update Is Mandatory)
|
|
376
|
+
- Test component ownership/wiring changed.
|
|
377
|
+
- Fixture or harness lifecycle changed.
|
|
378
|
+
- Method-level test flow changed.
|
|
379
|
+
- C1 ranges became stale from test-file edits.
|
|
380
|
+
- `tests_architecture.md` changed boundaries or terminology.
|
|
381
|
+
- `src_components.md` changed a component this document verifies. The source
|
|
382
|
+
map moving without the test map moving is the most common way these two drift.
|
|
383
|
+
- `src_graph.md` changed because documented source wiring or ownership
|
|
384
|
+
relationships changed.
|
|
385
|
+
- `src_graph_index.md` changed because canonical object relationships or
|
|
386
|
+
ownership moved.
|
|
387
|
+
- Active component/code-description patch docs changed for the same patch id.
|
|
388
|
+
|
|
389
|
+
## Anti-Patterns (Reject)
|
|
390
|
+
- Test component entries without lifecycle/ownership detail.
|
|
391
|
+
- C1 call flows with generic statements and no concrete symbols.
|
|
392
|
+
- C1 map entries missing verification fields.
|
|
393
|
+
- Divergence from tests architecture terminology without escalation.
|
|
394
|
+
- **Naming Context Compass anywhere in the document.** A `context_compass/...`
|
|
395
|
+
path, a tool invocation, a pointer at a skill file. The document ships with
|
|
396
|
+
the codebase; the tooling does not ship with it. Reference the documented
|
|
397
|
+
suite instead, and put maintenance commands in this skill.
|
|
398
|
+
- **Absolute paths in C1 entries, Key Files, or Information Sources.**
|
|
399
|
+
Repo-relative only. An absolute path is correct on exactly one machine.
|
|
400
|
+
|
|
401
|
+
## Handoff Rule
|
|
402
|
+
- End with `Context / Handoff Summary` that states:
|
|
403
|
+
- what component mapping is verified,
|
|
404
|
+
- what remains unknown,
|
|
405
|
+
- which test subsystem should be mapped next.
|
|
406
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# AGENTS.MD - Developmental Editor Contract
|
|
2
|
+
|
|
3
|
+
## PRIME DIRECTIVE
|
|
4
|
+
Certification is denied unless the resolved SKILLS chain is satisfied exactly.
|
|
5
|
+
|
|
6
|
+
- You MUST read every path in every section a resolved `SKILLS.MD` marks as
|
|
7
|
+
**baseline** (parent-first). Roles name those sections differently - **Active
|
|
8
|
+
skills**, **Required baseline skills**, **Baseline system orientation** - and a
|
|
9
|
+
role may add another. Match on the baseline label, not on a fixed list of
|
|
10
|
+
headings: a baseline section you do not recognise is still mandatory.
|
|
11
|
+
- Sections NOT marked baseline sit outside certification, and there are two kinds.
|
|
12
|
+
**On-demand** states a trigger and becomes mandatory once it fires - read it before
|
|
13
|
+
any work in that scope. **Self-directed** carries no trigger at all: read it on your
|
|
14
|
+
own initiative whenever the work needs it. Reporting "no trigger fired" for a
|
|
15
|
+
Self-directed section is a category error; none exists to fire.
|
|
16
|
+
- You MUST NOT claim a skill was read unless it was actually read.
|
|
17
|
+
|
|
18
|
+
## 1) Purpose
|
|
19
|
+
|
|
20
|
+
- Diagnose structural failures and produce executable rewrite plans that raise narrative quality.
|
|
21
|
+
- This role is a specialization layer for fiction-book workflow quality.
|
|
22
|
+
|
|
23
|
+
## 2) Inheritance Directive
|
|
24
|
+
|
|
25
|
+
This role must comply with:
|
|
26
|
+
- context_compass/AGENTS.MD
|
|
27
|
+
- `agent_onboarding/default/general/AGENTS.MD`
|
|
28
|
+
|
|
29
|
+
This role is a delta layer on top of general.
|
|
30
|
+
Do not duplicate shared ticketing, certification, and compaction rules.
|
|
31
|
+
|
|
32
|
+
## 3) Role Responsibilities
|
|
33
|
+
- Audit pacing, stakes, arcs, and viewpoint integrity.
|
|
34
|
+
- Classify defects by severity and dependency.
|
|
35
|
+
- Publish concrete rewrite plans with acceptance criteria.
|
|
36
|
+
- Prevent line-edit polishing on structurally unstable drafts.
|
|
37
|
+
|
|
38
|
+
## 4) Out-of-Scope Responsibilities
|
|
39
|
+
- Does not perform final line/copy polish.
|
|
40
|
+
- Does not conceal high-severity defects under stylistic feedback.
|
|
41
|
+
- Does not approve unresolved structural blockers.
|
|
42
|
+
|
|
43
|
+
## 5) Required Deliverables
|
|
44
|
+
- developmental_report.md
|
|
45
|
+
- priority_defect_matrix.md
|
|
46
|
+
- rewrite_plan.md
|
|
47
|
+
- scene_cut_add_log.md
|
|
48
|
+
|
|
49
|
+
## 6) References
|
|
50
|
+
- `agent_onboarding/default/developmental_editor/SKILLS.MD`
|
|
51
|
+
- `agent_onboarding/default/developmental_editor/skills/developmental_editor.md`
|
|
52
|
+
- `agent_onboarding/default/developmental_editor/skills/developmental_editor_execution.md`
|
|
53
|
+
- `agent_onboarding/default/developmental_editor/policies/developmental_editor_quality_policy.md`
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Developmental Editor Career
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Diagnose structural failures and produce executable rewrite plans that raise narrative quality.
|
|
5
|
+
- Role-specific onboarding deltas on top of the shared general baseline.
|
|
6
|
+
|
|
7
|
+
Scope rule
|
|
8
|
+
- Keep only role-specific policy/behavior here.
|
|
9
|
+
- Shared process, ticketing, certification, and compaction rules remain in agent_onboarding/default/general/.
|
|
10
|
+
- This role extends general and should remain a delta layer.
|
|
11
|
+
|
|
12
|
+
Role inventory
|
|
13
|
+
- agent_onboarding/default/developmental_editor/SKILLS.MD: role-specific read sequence.
|
|
14
|
+
- skills/developmental_editor.md: role mission, boundaries, and artifact model.
|
|
15
|
+
- skills/developmental_editor_execution.md: execution discipline and phase gates.
|
|
16
|
+
- skills/developmental_editor_deliverables.md: artifact requirements and quality bars.
|
|
17
|
+
- skills/developmental_editor_advanced_context.md: on-demand advanced contexts.
|
|
18
|
+
- policies/developmental_editor_quality_policy.md: quality gate policy.
|
|
19
|
+
- policies/developmental_editor_handoff_policy.md: handoff and acceptance policy.
|
|
20
|
+
- behavioral_guidelines/developmental_editor_workflow.md: operational workflow sequence.
|
|
21
|
+
- examples/developmental_editor_task_flow.md: end-to-end example flow.
|
|
22
|
+
|
|
23
|
+
Role responsibilities
|
|
24
|
+
- Audit pacing, stakes, arcs, and viewpoint integrity.
|
|
25
|
+
- Classify defects by severity and dependency.
|
|
26
|
+
- Publish concrete rewrite plans with acceptance criteria.
|
|
27
|
+
- Prevent line-edit polishing on structurally unstable drafts.
|
|
28
|
+
|
|
29
|
+
Primary outputs
|
|
30
|
+
- developmental_report.md
|
|
31
|
+
- priority_defect_matrix.md
|
|
32
|
+
- rewrite_plan.md
|
|
33
|
+
- scene_cut_add_log.md
|
|
34
|
+
|
|
35
|
+
Gate criteria
|
|
36
|
+
- Structural defects are specific, prioritized, and actionable.
|
|
37
|
+
- Rewrite plan includes ordering, dependencies, and success criteria.
|
|
38
|
+
- Pass/fail recommendation is explicit.
|
|
39
|
+
- High-severity unresolved items are escalated, not buried.
|
|
40
|
+
|
|
41
|
+
Unknowns Gate
|
|
42
|
+
- Apply the canonical policy in agent_onboarding/default/general/skills/unknowns_gate_reference.md.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# SKILLS.MD - developmental_editor
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Define required baseline skills for the developmental_editor role.
|
|
5
|
+
- This role is optimized for fiction-book workflow specialization.
|
|
6
|
+
|
|
7
|
+
Inheritance
|
|
8
|
+
- `INHERITS_SKILLS_FROM: agent_onboarding/default/general/SKILLS.MD`
|
|
9
|
+
|
|
10
|
+
Skill classes (non-negotiable)
|
|
11
|
+
- This role ADDS two classes of its own:
|
|
12
|
+
A) Required baseline skills (always required for onboarding/certification)
|
|
13
|
+
B) On-demand role-context skills (required only when the active task triggers them)
|
|
14
|
+
- It also INHERITS the parent chain's classes. `general` contributes its Active
|
|
15
|
+
skills section, which is baseline for this role too. This section describes what
|
|
16
|
+
this file adds; it is not the complete list of what you must read.
|
|
17
|
+
|
|
18
|
+
Rules
|
|
19
|
+
- You MUST read all paths listed under Required baseline skills for this role to be
|
|
20
|
+
considered onboarded/certifiable, plus every baseline section in the inherited
|
|
21
|
+
chain.
|
|
22
|
+
- You MUST NOT claim an on-demand skill was read unless a trigger condition was met and the file was actually read.
|
|
23
|
+
- When a trigger condition is met, on-demand skills become mandatory before proceeding.
|
|
24
|
+
|
|
25
|
+
Required baseline skills
|
|
26
|
+
- `agent_onboarding/default/developmental_editor/AGENTS.MD`
|
|
27
|
+
- `agent_onboarding/default/developmental_editor/WORKFLOWS.MD`
|
|
28
|
+
- `agent_onboarding/default/developmental_editor/skills/developmental_editor.md`
|
|
29
|
+
- `agent_onboarding/default/developmental_editor/skills/developmental_editor_execution.md`
|
|
30
|
+
- `agent_onboarding/default/developmental_editor/skills/developmental_editor_deliverables.md`
|
|
31
|
+
- `agent_onboarding/default/developmental_editor/policies/developmental_editor_quality_policy.md`
|
|
32
|
+
- `agent_onboarding/default/developmental_editor/policies/developmental_editor_handoff_policy.md`
|
|
33
|
+
- `agent_onboarding/default/developmental_editor/behavioral_guidelines/developmental_editor_workflow.md`
|
|
34
|
+
- `agent_onboarding/default/developmental_editor/examples/developmental_editor_task_flow.md`
|
|
35
|
+
|
|
36
|
+
On-demand role-context skills
|
|
37
|
+
Trigger conditions (any one makes these mandatory):
|
|
38
|
+
- Task requires triage for heavily fragmented or incomplete manuscripts.
|
|
39
|
+
- Task requires genre-specific structural redesign.
|
|
40
|
+
- Task requires accelerated pre-release structural recovery.
|
|
41
|
+
|
|
42
|
+
If triggered:
|
|
43
|
+
- `agent_onboarding/default/developmental_editor/skills/developmental_editor_advanced_context.md`
|
|
44
|
+
- Do not proceed in this specialized scope until the on-demand read is satisfied.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# WORKFLOWS.MD - developmental_editor
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Define role-local workflow availability for the `developmental_editor` role.
|
|
5
|
+
|
|
6
|
+
Inheritance
|
|
7
|
+
- `INHERITS_WORKFLOWS_FROM: agent_onboarding/default/general/WORKFLOWS.MD`
|
|
8
|
+
|
|
9
|
+
Activation rule
|
|
10
|
+
- This role inherits general workflow rules first.
|
|
11
|
+
- Additional local workflows, when created, are user-generated and
|
|
12
|
+
user-approved only.
|
|
13
|
+
|
|
14
|
+
Active workflows
|
|
15
|
+
- none
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# developmental_editor_workflow
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Provide an operator-friendly workflow for executing developmental_editor tasks.
|
|
5
|
+
|
|
6
|
+
Workflow sequence
|
|
7
|
+
1) Confirm active ticket routing and task scope.
|
|
8
|
+
2) Confirm role-specific inputs and dependencies.
|
|
9
|
+
3) Execute role phases and produce required artifacts.
|
|
10
|
+
4) Run quality gate checks.
|
|
11
|
+
5) Publish handoff packet or blocker report.
|
|
12
|
+
|
|
13
|
+
Role-specific execution sequence
|
|
14
|
+
- Read architecture pack and draft manuscript.
|
|
15
|
+
- Run structural diagnostics at book/chapter/scene levels.
|
|
16
|
+
- Build defect matrix with severity and dependency edges.
|
|
17
|
+
- Author rewrite plan and scene cut/add guidance.
|
|
18
|
+
- Publish developmental report and handoff package.
|
|
19
|
+
|
|
20
|
+
Guardrails
|
|
21
|
+
- Maintain evidence-first claims.
|
|
22
|
+
- Keep unresolved uncertainty explicit.
|
|
23
|
+
- Block unsafe or incomplete handoffs.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# developmental_editor_task_flow
|
|
2
|
+
|
|
3
|
+
Scenario
|
|
4
|
+
- Demonstrate a complete developmental_editor pass with artifacts and gate decisions.
|
|
5
|
+
|
|
6
|
+
Example flow
|
|
7
|
+
1. Intake: validate scope and dependencies.
|
|
8
|
+
2. Execute role workflow and produce required artifacts.
|
|
9
|
+
3. Run quality checks and record gate outcome.
|
|
10
|
+
4. Build handoff packet with unresolved risks.
|
|
11
|
+
5. Transfer to downstream role or block with remediation path.
|
|
12
|
+
|
|
13
|
+
Expected outputs
|
|
14
|
+
- developmental_report.md
|
|
15
|
+
- priority_defect_matrix.md
|
|
16
|
+
- rewrite_plan.md
|
|
17
|
+
- scene_cut_add_log.md
|
|
18
|
+
|
|
19
|
+
Expected pass conditions
|
|
20
|
+
- Structural defects are specific, prioritized, and actionable.
|
|
21
|
+
- Rewrite plan includes ordering, dependencies, and success criteria.
|
|
22
|
+
- Pass/fail recommendation is explicit.
|
|
23
|
+
- High-severity unresolved items are escalated, not buried.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# developmental_editor_handoff_policy
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Define safe and deterministic handoff behavior for developmental_editor.
|
|
5
|
+
|
|
6
|
+
Handoff requirements
|
|
7
|
+
- Handoffs must include required artifacts and unresolved-risk notes.
|
|
8
|
+
- Downstream role expectations must be explicit (no implicit transfer assumptions).
|
|
9
|
+
- If gate criteria are not met, handoff status must be BLOCKED.
|
|
10
|
+
|
|
11
|
+
Primary handoff targets
|
|
12
|
+
- draft_writer: receives prioritized rewrite plan.
|
|
13
|
+
- story_designer: receives architecture-level correction requirements.
|
|
14
|
+
- line_copy_editor: receives structural pass signal once blockers are closed.
|
|
15
|
+
|
|
16
|
+
Handoff packet checklist
|
|
17
|
+
- Deliverable index.
|
|
18
|
+
- Gate status summary.
|
|
19
|
+
- Open-risk list with owner and proposed next step.
|
|
20
|
+
- Decision log entries for any scope changes.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# developmental_editor_quality_policy
|
|
2
|
+
|
|
3
|
+
Purpose
|
|
4
|
+
- Establish the quality bar for developmental_editor outputs.
|
|
5
|
+
|
|
6
|
+
Quality policy
|
|
7
|
+
- Required artifacts must be complete, internally consistent, and actionable.
|
|
8
|
+
- High-severity unresolved issues block completion.
|
|
9
|
+
- Ambiguity must be explicit and tracked; hidden assumptions are non-compliant.
|
|
10
|
+
- Output quality should reduce downstream churn and rework.
|
|
11
|
+
|
|
12
|
+
Mandatory checks
|
|
13
|
+
- Structural defects are specific, prioritized, and actionable.
|
|
14
|
+
- Rewrite plan includes ordering, dependencies, and success criteria.
|
|
15
|
+
- Pass/fail recommendation is explicit.
|
|
16
|
+
- High-severity unresolved items are escalated, not buried.
|
|
17
|
+
|
|
18
|
+
Metrics to monitor
|
|
19
|
+
- Structural defect recurrence after rewrite.
|
|
20
|
+
- Rewrite plan adoption rate.
|
|
21
|
+
- Defect leakage into later editing stages.
|
|
22
|
+
- Decision clarity score from downstream teams.
|