Skip to main content
Castor Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Manifest.proto

Package: castor.skills.v1

Imports

Import Description

Options

Name Value Description
go_package github.com/retail-cortex/castor/proto/castor/skills/v1
java_package com.retailcortex.castor.proto.skills.v1
java_multiple_files true

castor.skills.v1 Diagram

classDiagram
direction LR
%% Mermaid Diagram for package: castor.skills.v1

%% ManifestLockEntry records the skill identity, download URI, and calculated SHA-256 hash.

class ManifestLockEntry {
  + string skill_name
  + string uri
  + string sha256
  + string compiled_sha256
  + bool strict_schema
  + string hitl_tier
}

%% ManifestLock represents the .manifest.lock file schema in skill target directories.

class ManifestLock {
  + string version
  + Map~string,  ManifestLockEntry~ skills
}
ManifestLock .. ` ManifestLockEntry`

%% VerificationResult details the verification audit for a single skill.

class VerificationResult {
  + string skill_name
  + string uri
  + VerificationStatus status
  + string expected_sha256
  + string actual_sha256
  + string error
}
VerificationResult --> `VerificationStatus`

%% VerificationReport captures the full audit summary for a target directory.

class VerificationReport {
  + string target_dir
  + int32 total_skills
  + int32 verified_count
  + int32 modified_count
  + int32 missing_count
  + List~VerificationResult~ results
}
VerificationReport --> `VerificationResult`
%% VerificationStatus indicates the integrity audit result for a skill.

class VerificationStatus{
  <<enumeration>>
  VERIFICATION_STATUS_UNSPECIFIED
  VERIFICATION_STATUS_VERIFIED
  VERIFICATION_STATUS_MODIFIED
  VERIFICATION_STATUS_MISSING
}

Enum: VerificationStatus

FQN: castor.skills.v1.VerificationStatus

VerificationStatus indicates the integrity audit result for a skill.

Name Ordinal Description
VERIFICATION_STATUS_UNSPECIFIED 0
VERIFICATION_STATUS_VERIFIED 1
VERIFICATION_STATUS_MODIFIED 2
VERIFICATION_STATUS_MISSING 3

VerificationStatus Diagram

classDiagram
direction LR
%% VerificationStatus indicates the integrity audit result for a skill.

class VerificationStatus{
  <<enumeration>>
  VERIFICATION_STATUS_UNSPECIFIED
  VERIFICATION_STATUS_VERIFIED
  VERIFICATION_STATUS_MODIFIED
  VERIFICATION_STATUS_MISSING
}

ManifestLockEntry Diagram

classDiagram
direction LR

%% ManifestLockEntry records the skill identity, download URI, and calculated SHA-256 hash.

class ManifestLockEntry {
  + string skill_name
  + string uri
  + string sha256
  + string compiled_sha256
  + bool strict_schema
  + string hitl_tier
}

ManifestLock Diagram

classDiagram
direction LR

%% ManifestLock represents the .manifest.lock file schema in skill target directories.

class ManifestLock {
  + string version
  + Map~string,  ManifestLockEntry~ skills
}
ManifestLock .. ` ManifestLockEntry`

VerificationResult Diagram

classDiagram
direction LR

%% VerificationResult details the verification audit for a single skill.

class VerificationResult {
  + string skill_name
  + string uri
  + VerificationStatus status
  + string expected_sha256
  + string actual_sha256
  + string error
}
VerificationResult --> `VerificationStatus`

VerificationReport Diagram

classDiagram
direction LR

%% VerificationReport captures the full audit summary for a target directory.

class VerificationReport {
  + string target_dir
  + int32 total_skills
  + int32 verified_count
  + int32 modified_count
  + int32 missing_count
  + List~VerificationResult~ results
}
VerificationReport --> `VerificationResult`

Message: ManifestLockEntry

FQN: castor.skills.v1.ManifestLockEntry

ManifestLockEntry records the skill identity, download URI, and calculated SHA-256 hash.

Field Ordinal Type Label Description
skill_name 1 string
uri 2 string
sha256 3 string
compiled_sha256 4 string
strict_schema 5 bool
hitl_tier 6 string

Message: ManifestLock

FQN: castor.skills.v1.ManifestLock

ManifestLock represents the .manifest.lock file schema in skill target directories.

Field Ordinal Type Label Description
version 1 string
skills 2 string, ManifestLockEntry Map

Message: VerificationResult

FQN: castor.skills.v1.VerificationResult

VerificationResult details the verification audit for a single skill.

Field Ordinal Type Label Description
skill_name 1 string
uri 2 string
status 3 VerificationStatus
expected_sha256 4 string
actual_sha256 5 string
error 6 string

Message: VerificationReport

FQN: castor.skills.v1.VerificationReport

VerificationReport captures the full audit summary for a target directory.

Field Ordinal Type Label Description
target_dir 1 string
total_skills 2 int32
verified_count 3 int32
modified_count 4 int32
missing_count 5 int32
results 6 VerificationResult Repeated