context new
The new command scaffolds a new semantic plane — an OSI model with companion governance and rules files — inside your existing project.
context new <name>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
name | Name for the semantic plane (e.g. sales-analytics, inventory) |
Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
--source <name> | Bind to a named data source from contextkit.config.yaml | — |
--context-dir <path> | Path to context directory | context/ |
Examples
Section titled “Examples”Scaffold a new semantic plane
Section titled “Scaffold a new semantic plane”context new sales-analyticsCreates:
context/├── models/sales-analytics.osi.yaml├── governance/sales-analytics.governance.yaml├── governance/sales-analytics.rules.yaml└── owners/default-team.owner.yamlBind to a specific data source
Section titled “Bind to a specific data source”context new inventory --source warehouseThe scaffolded model includes a data_source: warehouse reference matching your config:
data_sources: warehouse: adapter: postgres connection: postgres://localhost:5432/warehouseMultiple semantic planes
Section titled “Multiple semantic planes”A single RunContext project can contain multiple semantic planes. Each is an independent model with its own governance, rules, and tier score:
context new sales-analytics --source crmcontext new inventory --source warehousecontext new marketing-attribution --source analytics-dbAll semantic planes compile together and are served through the same MCP server. Run context tier to see the scorecard for each, or context blueprint to export their AI Blueprints.
Next steps
Section titled “Next steps”- Populate from a database:
context introspect --db <url> - Auto-fill descriptions:
context enrich --target silver --apply - Check progress:
context tier - Export the AI Blueprint:
context blueprint