Skip to content

Glossary ​

These terms describe the implementation abstraction, not workspace directory labels. Chinese mirror: 术语表.

TermEnglishDefinitionEvidence
应用接口Application InterfaceA CLI, HTTP, MCP, or LSP surface that translates protocol requests into shared compiler operations.crates/cage-cli/src/main.rs:551
命令分发Command DispatchThe CLI decision table that starts one concrete pipeline and returns the process exit code.crates/cage-cli/src/main.rs:551-749
Web 服务Web ServiceThe loopback HTTP server exposing editor, status, build, artifact, snapshot, diff, upload, and registry APIs.crates/cage-cli/src/web/mod.rs:8-31, crates/cage-cli/src/web/mod.rs:63-70
MCP 工具MCP ToolA schema-described rmcp operation wrapping validation, inspection, dry-run, or config explanation.crates/cage-cli/src/mcp.rs:30-109, crates/cage-cli/src/mcp/tools.rs:25
LSP 会话LSP SessionA framed JSON-RPC session that validates the whole project and pushes diagnostics to open documents.crates/cage-cli/src/lsp.rs:8-27, crates/cage-cli/src/lsp.rs:202
工程配置Project ConfigThe cage.toml declaration of identity, profiles, sources, output, registry, dependencies, and remote settings.crates/cage-core/src/manifest/config.rs:39-79
工程装载Project LoadingConfig parsing, environment-name resolution, schema loading, source-root resolution, and document merging.crates/cage-cli/src/loading.rs:77-175, crates/cage-cli/src/loading.rs:77-175
ProfileProfileA named build view containing targets and variables; it also drives field/table visibility validation.crates/cage-core/src/manifest/config.rs:9-20, crates/cage-cli/src/loading.rs:550
目标配置Target ConfigurationOne generator declaration containing format, output directory, file template, and options.crates/cage-core/src/manifest/config.rs:24-35
SchemaSchemaOrdered table, field, type, constraint, enum, reference, and expression declarations for configuration.crates/cage-core/src/schema/mod.rs:9, crates/cage-core/src/schema/mod.rs:133-287
Canonical ValueCanonical ValueThe format-neutral Null/Bool/Int/UInt/Float/String/Bytes/Array/Object value model.crates/cage-core/src/value/mod.rs:134-160
Canonical DocumentCanonical DocumentThe merged insertion-ordered table collection plus source files and metadata produced by ingestion.crates/cage-core/src/value/mod.rs:324-364
Source LocationSource LocationFile, format, sheet/row/column, line/offset, and field metadata used to pinpoint diagnostics.crates/cage-core/src/value/mod.rs:6-30
归一化NormalizationDefault filling, cell-array splitting, and type-directed value coercion before validation/generation.crates/cage-core/src/normalize/fields.rs:20-286
校验级别Validation LevelOrdered L0-L7 checks from parse/schema through value/table/reference/semantic/game rules.crates/cage-core/src/validation/mod.rs:22-89
校验上下文Validation ContextPer-run references to schema/document/diagnostics plus level, profile, warning policy, and reference cache.crates/cage-core/src/validation/mod.rs:97-117
引用缓存Reference CacheThe transient primary-key index used to resolve cross-table references during one validation run.crates/cage-core/src/validation/mod.rs:117-150
依赖图Dependency GraphSchema-derived table dependency relationships used by validation and incremental planning.crates/cage-core/src/reference/graph.rs:10-15
增量规划器Incremental PlannerComputes transitive affected tables from changed tables for selective regeneration.crates/cage-core/src/reference/graph.rs:209-211
构建清单Build ManifestThe durable build record containing profile/environment/input hashes, target records, and artifact ledger.crates/cage-core/src/manifest/mod.rs:9-107
增量构建Incremental BuildFull skip, dependency-aware table propagation, and target-config propagation against prior manifest state.crates/cage-cli/src/build.rs:97-431, crates/cage-cli/src/build.rs:183-431
快照SnapshotA self-verifying directory of manifest, schema, artifacts, and a BLAKE3 HASHES.json ledger.crates/cage-core/src/snapshot/mod.rs:83-206
配置注册表Configuration RegistryA local package directory of verified snapshots with deterministic per-package version indexes.crates/cage-core/src/registry/model.rs:8-31, crates/cage-core/src/registry/store.rs:17-37
BundleBundleA deterministic tar/zstd export/import representation of one registry entry plus its index excerpt.crates/cage-core/src/registry/store.rs:350, crates/cage-core/src/registry/store.rs:456
直推Direct PushHTTP PUT upload of registry entry files followed by the merged package index.crates/cage-core/src/registry/push.rs:40-137
远程源Remote SourceAn HTTP API, MySQL/PostgreSQL query, Google Sheet, or registry reference consumed as configuration input.crates/cage-cli/src/loading.rs:77-175, crates/cage-core/src/manifest/config.rs:118-135
远程缓存Remote CacheProject-local deterministic cache bytes/path used for offline fallback and conditional GET.crates/cage-core/src/remote.rs:35-60, crates/cage-core/src/remote.rs:274-310
目标生成器Target GeneratorA schema/document-to-output transform for data, language bindings, contracts, or user templates.crates/cage-cli/src/gen.rs:139-221
诊断DiagnosticA first-class error/warning record with code, source location, context, help, and rendering.crates/cage-core/src/diagnostics/mod.rs:13-110
资产清单Asset InventoryA deterministic BLAKE3 baseline over rules, migrations, and local source files with verification report.crates/cage-core/src/assets/mod.rs:26-177
迁移MigrationDeclarative ordered data/schema migration steps with execution reports and post-apply revalidation.crates/cage-core/src/migrate/apply.rs:32-39, crates/cage-core/src/migrate/apply.rs:68-88
Schema 差异Schema DiffStructural comparison that derives migration drafts between two schema versions.crates/cage-core/src/migrate/diff.rs:109-169
编辑器交换模型Editor Exchange ModelThe core mapping between editor JSON and canonical schema YAML used by the Web editor.crates/cage-core/src/edit/mod.rs:35-90

Released under the Apache-2.0 license