[docs] docs: add AWF_ONE_SHOT_TOKEN_DEBUG documentation#867
Merged
Conversation
Document the AWF_ONE_SHOT_TOKEN_DEBUG environment variable in user-facing documentation to help users troubleshoot token caching issues. Changes: - docs/environment.md: Add Debugging Environment Variables section with AWF_ONE_SHOT_TOKEN_DEBUG documentation and usage examples - docs/troubleshooting.md: Add Token Caching Issues section with troubleshooting steps for one-shot-token library Related to commit 2d90521 which added the AWF_ONE_SHOT_TOKEN_DEBUG feature to both C and Rust implementations of the one-shot-token library.
This was referenced Feb 17, 2026
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.
Documentation Sync - Feb 9-16, 2026
This PR synchronizes documentation with code changes from the past 7 days.
Changes Made
docs/environment.md: Added "Debugging Environment Variables" section documenting theAWF_ONE_SHOT_TOKEN_DEBUGenvironment variable with usage examples and behavior descriptiondocs/troubleshooting.md: Added "Token Caching Issues" section with troubleshooting steps for one-shot-token library debug loggingCode Changes Referenced
2d90521: feat: add AWF_ONE_SHOT_TOKEN_DEBUG env var for silent-by-default logging (feat: add AWF_ONE_SHOT_TOKEN_DEBUG env var for silent-by-default logging #864)AWF_ONE_SHOT_TOKEN_DEBUGenvironment variable to control debug logging in both C and Rust implementationscontainers/agent/one-shot-token/README.mdwith comprehensive documentationdocs/environment.md(but did not include the debug variable)Documentation Gap
The recent commit added the
AWF_ONE_SHOT_TOKEN_DEBUGfeature and documented it in the one-shot-token library's README, but did not add it to user-facing documentation:docs/environment.md- Has an "Internal Environment Variables" section but was missing the debugging variabledocs/troubleshooting.md- Has debugging guidance but no mention of one-shot-token debuggingThis PR fills those gaps by adding the new environment variable to user-facing documentation with practical examples.
Verification
containers/agent/one-shot-token/README.md)