Update from code changes: document init flags, profiles, and FORGE_GUARD_STRICT#75
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Docs PR opened: #82 Expanded six Simplified Chinese CLI page descriptions to reach the 130-character SEO target and made each locale's wording unique. |
Contributor
Author
|
Docs PR opened: #78 Added a new changelog page documenting this week's forge init flag additions, profile consolidation, and FORGE_GUARD_STRICT environment variable. Note: failed to automatically merge |
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.
Summary
Document the new
forge initflags, the reduced policy-profile set, and theFORGE_GUARD_STRICTenv var introduced upstream.Changes
cli/core.mdx: added an "Init flags" table (--profile,--no-settings,--remove-settings,--settings-only) and a "Policy profiles" section noting that onlyminimalandstandardare supported and thatweb-app/backend-service/library/regulatedare deprecated aliases ofstandard. Also called out that an invalid profile aborts before any side effects and that a failed settings merge now fails init loudly.cli/overview.mdx: added an "Environment variables" table under Conventions, enumeratingFORGE_ENFORCE,FORGE_GUARD_STRICT,FORGE_NO_UPDATE_CHECK,FORGE_NO_HINT,FORGE_VERBOSE, andFORGE_EMBED, withFORGE_GUARD_STRICTexplaining that it escalates the secret redactor's DEGRADED warning into a blocking exit.Context
Follows upstream PR #72, which added the
--remove-settingsflag, collapsed the profile set, made an invalid profile abort before side effects, and introducedFORGE_GUARD_STRICT=1for hard-blocking degraded redaction.