Expand description
Object type, actor, artifact, and header primitives.
This module centralizes the low-level metadata shared across the object layer:
ObjectTypedefines every persisted object family and the conversions needed by pack encoding, loose-object style headers, JSON payloads, and internal numeric ids.ActorKindandActorRefidentify who created an object.ArtifactReflinks an object to content stored outside the Git object database.Headeris the immutable metadata envelope embedded into AI objects such asIntent,Plan, orRun.
One important distinction in this module is that object types live in multiple identifier spaces:
- Git pack header type bits support only core Git types and delta entries.
- String/byte names are used for textual encodings and AI object persistence.
to_u8/from_u8provide a crate-local stable numeric mapping that covers every variant.
Structs§
- Actor
Ref - Reference to the actor that created or owns an object.
- Artifact
Ref - Reference to an artifact stored outside the object database.
- Header
- Shared immutable metadata header embedded into AI objects.
Enums§
- Actor
Kind - High-level category of the actor that created an object.
- Archived
Object Type - An archived
ObjectType - Object
Type - Canonical object kind shared across Git-native and AI-native objects.
- Object
Type Resolver - The resolver for an archived
ObjectType