Conversation
The generated docs/env.md mostly listed provider credentials and SDK settings that are forwarded to agent runtimes, plus controller, UI, and test knobs. Those are implementation details. The supported user surface is the Helm chart, the install CLI, and the CRDs, and application settings already live in protobuf schemas instead of environment variables. We drop the env-docs and env-docs-check Make targets, the CI step, docs/env.md, the hidden "kagent env" command, and the markdown and JSON exporters. The registry in go/core/pkg/env stays, since code still uses it for typed lookups. No user-facing behavior changes. Signed-off-by: timflannagan <timflannagan@gmail.com>
Contributor
Author
|
Just a quick PR for some (potential) cleanup that I noticed earlier. @EItanya You're probably best to answer whether this was intentionally leftover after we cutover to the config-based approach a week or so back. My 2c, I don't think we should be maintaining a registry of envvars if they're effectively passthrough to the chart. I'd rather model that via our supported user facing surfaces, e.g. properly helm chart values, but it's entirely (and likely) that I'm missing something here and wanted to open a quick PR to discuss. |
EItanya
approved these changes
Oct 29, 2026
adalundhe
added a commit
to adalundhe/kagent
that referenced
this pull request
Oct 29, 2026
…env vars Settings belong in the protobuf config schemas, read from Helm or the controller configuration, rather than in process environment variables (kagent-dev#3434). The two limits move from KAGENT_TASKSTORE_* to a TaskStoreConfig message: - runtimeDefaults.taskStore (Helm: config.runtimeDefaults.taskStore) holds operation_budget and attempt_timeout, with protovalidate bounds and a rule that an attempt may not exceed the budget. - The controller compiles it into the Go ADK runtime's runtime.task_store only when one is set, so a runtime image that predates the field still loads its configuration. - The Go ADK main passes it as app.AppConfig.TaskStore, and taskstore.New takes it. Absent fields keep the 90 s and 30 s defaults. The Claude and Codex runtimes keep the defaults for now. Verified: make proto-lint proto-generate and make proto-breaking pass; go test -race ./adk/pkg/taskstore/ ./adk/pkg/app/ ./core/internal/translator/... ./core/pkg/config/ pass; helm unittest -f tests/controller-configmap_test.yaml passes 16 of 16; make lint reports 0 issues; the grpcserver Postgres tests pass on Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Ada Lundhe <adalundhe@lundhe.audio>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The generated
docs/env.mdlists provider credentials, OTEL settings, and controller, UI, and test knobs read from the process environment. Those names are internal wiring rather than a supported interface: users configure kagent through the Helm chart, the install CLI, and the CRDs. Telemetry already has first-class Helm settings (controller.telemetry,runtimeDefaults.telemetry), credentials flow throughModelConfigsecret references, and application settings live in protobuf schemas with no env fallback.This removes the
env-docsandenv-docs-checktargets, the CI step that ran the check,docs/env.md, the hiddenkagent envcommand, and the markdown and JSON exporters. The registry ingo/core/pkg/envstays, since code still uses it for typed lookups.DEVELOPMENT.mdand the process configuration architecture doc are updated to match.