templates/plate-template/.agents/skills/ce-compound/references/yaml-schema.md
schema.yaml in this directory is the canonical contract for docs/solutions/ frontmatter written by ce:compound.
Use this file as the quick reference for:
The problem_type determines which track applies. Each track has different required and optional fields.
| Track | problem_types | Description |
|---|---|---|
| Bug | build_error, test_failure, runtime_error, performance_issue, database_issue, security_issue, ui_bug, integration_issue, logic_error | Defects and failures that were diagnosed and fixed |
| Knowledge | best_practice, documentation_gap, workflow_issue, developer_experience | Practices, patterns, workflow improvements, and documentation |
YYYY-MM-DDrails_model, rails_controller, rails_view, service_object, background_job, database, frontend_stimulus, hotwire_turbo, email_processing, brief_system, assistant, authentication, payments, development_workflow, testing_framework, documentation, toolingcritical, high, medium, lowRequired:
missing_association, missing_include, missing_index, wrong_api, scope_issue, thread_violation, async_timing, memory_leak, config_error, logic_error, test_isolation, missing_validation, missing_permission, missing_workflow_step, inadequate_documentation, missing_tooling, incomplete_setupcode_fix, migration, config_change, test_fix, dependency_update, environment_setup, workflow_improvement, documentation_update, tooling_addition, seed_data_updateNo additional required fields beyond the shared ones. All fields below are optional:
X.Y.Z formatDocs created before the track system may have symptoms/root_cause/resolution_type on knowledge-type problem_types. These are valid legacy docs:
build_error -> docs/solutions/build-errors/test_failure -> docs/solutions/test-failures/runtime_error -> docs/solutions/runtime-errors/performance_issue -> docs/solutions/performance-issues/database_issue -> docs/solutions/database-issues/security_issue -> docs/solutions/security-issues/ui_bug -> docs/solutions/ui-bugs/integration_issue -> docs/solutions/integration-issues/logic_error -> docs/solutions/logic-errors/developer_experience -> docs/solutions/developer-experience/workflow_issue -> docs/solutions/workflow-issues/best_practice -> docs/solutions/best-practices/documentation_gap -> docs/solutions/documentation-gaps/problem_type using the Tracks table.symptoms, root_cause, resolution_type) must be present on bug-track docs.date must match YYYY-MM-DD.rails_version, if present, must match X.Y.Z and only applies to bug-track docs.