Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record CodexConfiguration
public string SitePrefix { get; set; } = "/";

/// <summary>
/// The environment name for this codex (e.g., "engineering", "security").
/// The environment name for this codex (e.g., "internal", "security").
/// Used as part of the Elasticsearch index namespace.
/// </summary>
[YamlMember(Alias = "environment")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GitLinkIndexReader : ILinkIndexReader, IDisposable
public GitLinkIndexReader(string environment, IFileSystem? fileSystem = null)
{
if (string.IsNullOrWhiteSpace(environment))
throw new ArgumentException("Environment must be specified in the codex configuration (e.g., 'engineering', 'security').", nameof(environment));
throw new ArgumentException("Environment must be specified in the codex configuration (e.g., 'internal', 'security').", nameof(environment));

_environment = environment;
_fileSystem = fileSystem ?? new FileSystem();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public ElasticsearchClientAccessor(
/// <summary>
/// Extracts the ruleset name from the index name.
/// Index name format: "semantic-docs-{namespace}-latest" -> ruleset: "docs-ruleset-{namespace}"
/// The namespace may contain hyphens (e.g., "codex-engineering"), so we extract everything
/// The namespace may contain hyphens (e.g., "codex-internal"), so we extract everything
/// between the "semantic-docs-" prefix and the "-latest" suffix.
/// </summary>
private static string? ExtractRulesetName(string indexName)
Expand Down
6 changes: 3 additions & 3 deletions src/tooling/docs-builder/Commands/Codex/CodexCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public async Task<int> CloneAndBuild(

if (string.IsNullOrWhiteSpace(codexConfig.Environment))
{
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security').");
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security').");
return 1;
}

Expand Down Expand Up @@ -139,7 +139,7 @@ public async Task<int> Clone(

if (string.IsNullOrWhiteSpace(codexConfig.Environment))
{
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security').");
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security').");
return 1;
}

Expand Down Expand Up @@ -187,7 +187,7 @@ public async Task<int> Build(

if (string.IsNullOrWhiteSpace(codexConfig.Environment))
{
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security').");
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security').");
return 1;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public async Task<int> Index(

if (string.IsNullOrWhiteSpace(codexConfig.Environment))
{
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security').");
collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security').");
return 1;
}

Expand Down
Loading