Skip to content
Merged
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
6 changes: 1 addition & 5 deletions .github/workflows/design-decision-gate.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions .github/workflows/hourly-ci-cleaner.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 9 additions & 47 deletions pkg/agentdrain/data/default_weights.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,7 @@
],
"config": {
"Depth": 4,
"ExcludeFields": [
"session_id",
"trace_id",
"span_id",
"timestamp"
],
"ExcludeFields": ["session_id", "trace_id", "span_id", "timestamp"],
"MaskRules": [
{
"Name": "uuid",
Expand Down Expand Up @@ -151,21 +146,12 @@
"id": 1,
"size": 100,
"stage": "finish",
"template": [
"stage=finish",
"\u003c*\u003e",
"tokens=\u003cNUM\u003e"
]
"template": ["stage=finish", "\u003c*\u003e", "tokens=\u003cNUM\u003e"]
}
],
"config": {
"Depth": 4,
"ExcludeFields": [
"session_id",
"trace_id",
"span_id",
"timestamp"
],
"ExcludeFields": ["session_id", "trace_id", "span_id", "timestamp"],
"MaskRules": [
{
"Name": "uuid",
Expand Down Expand Up @@ -211,21 +197,12 @@
"id": 1,
"size": 58,
"stage": "plan",
"template": [
"stage=plan",
"errors=\u003cNUM\u003e",
"turns=\u003cNUM\u003e"
]
"template": ["stage=plan", "errors=\u003cNUM\u003e", "turns=\u003cNUM\u003e"]
}
],
"config": {
"Depth": 4,
"ExcludeFields": [
"session_id",
"trace_id",
"span_id",
"timestamp"
],
"ExcludeFields": ["session_id", "trace_id", "span_id", "timestamp"],
"MaskRules": [
{
"Name": "uuid",
Expand Down Expand Up @@ -269,12 +246,7 @@
"clusters": null,
"config": {
"Depth": 4,
"ExcludeFields": [
"session_id",
"trace_id",
"span_id",
"timestamp"
],
"ExcludeFields": ["session_id", "trace_id", "span_id", "timestamp"],
"MaskRules": [
{
"Name": "uuid",
Expand Down Expand Up @@ -318,12 +290,7 @@
"clusters": null,
"config": {
"Depth": 4,
"ExcludeFields": [
"session_id",
"trace_id",
"span_id",
"timestamp"
],
"ExcludeFields": ["session_id", "trace_id", "span_id", "timestamp"],
"MaskRules": [
{
"Name": "uuid",
Expand Down Expand Up @@ -1448,12 +1415,7 @@
],
"config": {
"Depth": 4,
"ExcludeFields": [
"session_id",
"trace_id",
"span_id",
"timestamp"
],
"ExcludeFields": ["session_id", "trace_id", "span_id", "timestamp"],
"MaskRules": [
{
"Name": "uuid",
Expand Down Expand Up @@ -1493,4 +1455,4 @@
},
"next_id": 15
}
}
}
12 changes: 12 additions & 0 deletions pkg/workflow/agentic_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ type CapabilityProvider interface {
// SupportsMaxContinuations returns true if this engine supports the max-continuations feature
// When true, max-continuations > 1 enables autopilot/multi-run mode for the engine
SupportsMaxContinuations() bool

// SupportsNativeAgentFile returns true if this engine handles agent-file imports natively
// in its own execution steps (reading the file, stripping frontmatter, and prepending the
// content to the prompt at runtime). When false, the compiler is responsible for including
// the agent file content in prompt.txt during the activation job so that the engine just
// reads the standard /tmp/gh-aw/aw-prompts/prompt.txt as usual.
SupportsNativeAgentFile() bool
}

// WorkflowExecutor handles workflow compilation and execution
Expand Down Expand Up @@ -260,6 +267,7 @@ type BaseEngine struct {
supportsMaxTurns bool
supportsMaxContinuations bool
supportsWebSearch bool
supportsNativeAgentFile bool
llmGatewayPort int
}

Expand Down Expand Up @@ -295,6 +303,10 @@ func (e *BaseEngine) SupportsMaxContinuations() bool {
return e.supportsMaxContinuations
}

func (e *BaseEngine) SupportsNativeAgentFile() bool {
return e.supportsNativeAgentFile
}

func (e *BaseEngine) getLLMGatewayPort() int {
return e.llmGatewayPort
}
Expand Down
Loading