Skip to content

Commit 4eaa105

Browse files
authored
docs: correct some comments and references (ai-openshell#3059)
OCSF_VERSION has been 1.8.0; two descriptions still said 1.7.0. The default_gateway_id doc comment described a hostname fallback the implementation never had. A per-replica default would be wrong here: gateway_id is embedded in the JWT iss/aud, so it has to be stable across replicas. Signed-off-by: Kris Hicks <khicks@nvidia.com>
1 parent 9d449ef commit 4eaa105

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ These pipelines connect skills into end-to-end workflows. Individual skill files
3636
| `crates/openshell-router/` | Privacy router | Privacy-aware LLM routing |
3737
| `crates/openshell-bootstrap/` | Gateway metadata | Gateway registration metadata, auth token storage, mTLS bundle storage |
3838
| `crates/openshell-gateway-interceptors/` | Gateway interceptors | Intercepts and transforms configured gRPC requests at the gateway routing boundary |
39-
| `crates/openshell-ocsf/` | OCSF logging | OCSF v1.7.0 event types, builders, shorthand/JSONL formatters, tracing layers |
39+
| `crates/openshell-ocsf/` | OCSF logging | OCSF v1.8.0 event types, builders, shorthand/JSONL formatters, tracing layers |
4040
| `crates/openshell-otel/` | OpenTelemetry support | Shared OTLP trace provider, resource, and tracing-layer construction |
4141
| `crates/openshell-otel-test-support/` | OpenTelemetry test support | Shared loopback OTLP collector fixture for tracing tests |
4242
| `crates/openshell-core/` | Shared core | Common types, configuration, error handling |

‎crates/openshell-core/src/config.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,8 +1140,8 @@ pub struct GatewayJwtConfig {
11401140
pub public_key_path: PathBuf,
11411141
/// Path to the `kid` value (plain text, one line).
11421142
pub kid_path: PathBuf,
1143-
/// Stable gateway identity embedded in `iss`/`aud`. Defaults to the
1144-
/// hostname-or-`openshell` placeholder if unset.
1143+
/// Stable gateway identity embedded in `iss`/`aud`. Defaults to
1144+
/// `openshell`.
11451145
#[serde(default = "default_gateway_id")]
11461146
pub gateway_id: String,
11471147
/// Token lifetime in seconds. A value of 0 disables expiration and is

‎crates/openshell-core/src/settings.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub const REGISTERED_SETTINGS: &[RegisteredSetting] = &[
115115
kind: SettingValueKind::Bool,
116116
allowed_string_values: None,
117117
},
118-
// When true the sandbox writes OCSF v1.7.0 JSONL records to
118+
// When true the sandbox writes OCSF v1.8.0 JSONL records to
119119
// `/var/log/openshell-ocsf*.log` (daily rotation, 3 files) in addition
120120
// to the human-readable shorthand log. Defaults to false (no JSONL written).
121121
RegisteredSetting {

‎crates/openshell-ocsf/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "openshell-ocsf"
6-
description = "OCSF v1.7.0 event types, formatters, and tracing layers for OpenShell sandbox logging"
6+
description = "OCSF v1.8.0 event types, formatters, and tracing layers for OpenShell sandbox logging"
77
version.workspace = true
88
edition.workspace = true
99
rust-version.workspace = true

0 commit comments

Comments
 (0)