Conversation
… var Add the --session-state-dir CLI flag and AWF_SESSION_STATE_DIR environment variable to the documentation, introduced in #1593. - docs/usage.md: add --session-state-dir to the CLI options list (after --proxy-logs-dir), and expand the Agent Session State description to mention the flag's timeout-safe, predictable-path behaviour useful for GitHub Actions artifact uploads - docs/environment.md: add AWF_SESSION_STATE_DIR to the internal variables table and update the note to clarify it is user-configurable Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 - 2026-03-26 to 2026-04-02
This PR synchronizes documentation with code changes from the past 7 days.
Changes Made
Updated
docs/usage.md: Added--session-state-dirto the CLI options list (after--proxy-logs-dir), and expanded the Agent Session State description to explain the flag's timeout-safe, predictable-path behaviour and its usefulness for GitHub Actions artifact uploads.Updated
docs/environment.md: AddedAWF_SESSION_STATE_DIRto the internal variables table and updated the note below the table to clarify that this variable is user-configurable (unlike the other internal-only variables).Code Changes Referenced
6536923:fix: capture full session state — replace blanket ~/.copilot mount, add --session-state-dir (#1593)— introduced the--session-state-dirCLI flag andAWF_SESSION_STATE_DIRenvironment variable; neither was reflected in the documentation prior to this PR.Verification
--session-state-dirmatchessrc/cli.ts:1419option registrationAWF_SESSION_STATE_DIRmatchessrc/cli.ts:1733env var lookupsrc/cli.ts:1421("Directory to save Copilot CLI session state")--proxy-logs-dirdocumentation style