Skip to content
Merged
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
13 changes: 13 additions & 0 deletions pkg/constants/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ constants.AgentArtifactName // "agent" (unified agent artifact)
constants.DetectionArtifactName // "detection"
constants.LegacyDetectionArtifactName // "threat-detection.log" (backward compat)
constants.ActivationArtifactName // "activation"
constants.ExperimentArtifactName // "experiment" — A/B experiment state uploaded by the activation job
constants.UsageArtifactName // "usage" — compact run metadata and token-usage files from the conclusion job
constants.SafeOutputItemsArtifactName // "safe-outputs-items"
constants.SarifArtifactName // "code-scanning-sarif"

Expand All @@ -191,6 +193,7 @@ constants.SafeOutputsFilename // "safeoutputs.jsonl"
constants.TokenUsageFilename // "agent_usage.json"
constants.GithubRateLimitsFilename // "github_rate_limits.jsonl"
constants.OtelJsonlFilename // "otel.jsonl"
constants.OtlpExportErrorsFilename // "otlp-export-errors.jsonl" — OTLP per-endpoint export failure log
constants.TemporaryIdMapFilename // "temporary-id-map.json"
constants.SarifFileName // "code-scanning-alert.sarif"
constants.SarifArtifactDownloadPath // "/tmp/gh-aw/sarif/"
Expand Down Expand Up @@ -219,6 +222,7 @@ constants.PreActivationAppTokenStepID // "pre-activation-app-token"

// Agent job step IDs
constants.ParseMCPGatewayStepID // "parse-mcp-gateway"
constants.DetectAgentErrorsStepID // "detect-agent-errors" — post-execution error detection step
```

### Step Output Keys
Expand Down Expand Up @@ -265,6 +269,7 @@ constants.DefaultPiVersion // Pi CLI version (experimental)
// Infrastructure
constants.DefaultGitHubMCPServerVersion // GitHub MCP server Docker image version
constants.DefaultFirewallVersion // AWF firewall version
constants.DefaultThreatDetectVersion // gh-aw-threat-detection binary version
constants.DefaultMCPGatewayVersion // MCP Gateway (gh-aw-mcpg) Docker image version

// MCP tooling
Expand Down Expand Up @@ -398,6 +403,14 @@ constants.DefaultGitHubLockdown // false — GitHub MCP server lockdown def
constants.AWFAPIProxyContainerIP // "172.30.0.30" — fixed api-proxy sidecar address inside the AWF sandbox network
```

### Threat Detection Paths

```go
constants.ThreatDetectionLogPath // "/tmp/gh-aw/threat-detection/detection.log" — engine log file
constants.ThreatDetectionDir // "/tmp/gh-aw/threat-detection" — working directory
constants.ThreatDetectionResultPath // "/tmp/gh-aw/threat-detection/detection_result.json" — structured verdict output
```

## Validation Field Lists

These variables control YAML key ordering and validation during workflow compilation:
Expand Down
Loading