| name | Module Metadata Specification |
|---|---|
| description | A formal specification defining the required and optional fields for valid module frontmatter, including their data types and constraints. |
| tier | principle |
| layer | |
| schema | specification |
This specification defines the mandatory structure and data types for the YAML frontmatter of every module file (.md) to ensure system-wide consistency, parsability, and automated validation. Adherence to this specification is non-negotiable.
The YAML frontmatter of every module MUST contain the following fields with the specified types and constraints:
-
name(string, required)- A human-readable, Title Case name for the module.
- Example:
'First-Principles Thinking'
-
description(string, required)- A concise, one-sentence summary of the module's purpose.
-
tier(string, required)- The module's architectural tier.
- MUST be one of the following exact values:
foundation,principle,technology,execution.
-
schema(string, required)- The schema that defines the structure of the module's Markdown content.
- MUST be one of the following exact values:
procedure,specification,pattern,checklist,data,rule.
-
order(number | null, required)- The module's required sequential position in the cognitive hierarchy of the
Foundationtier. - MUST be an integer from
0to4iftierisfoundation. - MUST be
nulliftierisprinciple,technology, orexecution.
- The module's required sequential position in the cognitive hierarchy of the
-
author(array of strings, optional)- A list of contributors to the module.
- Each string MUST follow the format:
'FullName <email@example.com>'.
-
implement(array of strings, optional)- A list of unique IDs of other modules that this module formally implements or instantiates.
- Each value MUST correspond to the ID of an existing module in the library.
- Example:
['principle/specs/conventional-commits']
- Run the
copilot-instructions validatecommand frequently during authoring to catch metadata errors early. - Use the optional
implementfield to formally declare one or more Synergistic Pairs, making the relationship between modules explicit and verifiable. - Keep the
authorlist updated as new contributors make significant changes to the module.
- Keyword Confusion: Using the plural, reserved keyword
implementsinstead of the correct singularimplement. The validator will reject this. - Order Mismatch: Assigning a numerical
orderto a non-foundationmodule, or assigningnullto afoundationmodule. - Schema Omission: Forgetting to include the
schemafield. This is one of the most critical pieces of metadata. - Instructional Creep: Placing instructional content, such as rules or process steps, inside the
descriptionfield. The description is for discovery and summary purposes only.