feat: OpenAI Enterprise org ID support and TUI scroll fix#20
Merged
initializ-mk merged 1 commit intomainfrom Mar 4, 2026
Merged
feat: OpenAI Enterprise org ID support and TUI scroll fix#20initializ-mk merged 1 commit intomainfrom
initializ-mk merged 1 commit intomainfrom
Conversation
Wire organization_id config field and OPENAI_ORG_ID env var through the full stack: config types, resolution, validation, OpenAI chat/ embedder/responses clients (OpenAI-Organization header), runner, skill executor env injection, audit logging, CLI wizard, init scaffolding, and web dashboard. Add viewport scrolling to TUI MultiSelect and SingleSelect components so the wizard doesn't overflow on small terminals, with scroll indicators and WindowSizeMsg forwarding from wizard to steps. Update docs to reflect new configuration, flags, and behavior.
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
organization_idconfig field andOPENAI_ORG_IDenv var through the full stack — config types, resolution with fallback inheritance, validation,OpenAI-Organizationheader on chat/embedder/responses clients, runner wiring, skill executor env injection, audit logging, CLI wizard org ID phase, init scaffolding (--org-idflag), and web dashboard supportMultiSelectandSingleSelectcomponents with▲ N more above/▼ N more belowindicators, forwardWindowSizeMsgfrom wizard to all step components so the skills selection (and other lists) no longer overflow small terminalsTest plan
go build ./...passes for forge-core, forge-cli, forge-uigo test ./...passes for all modulesgolangci-lint runclean for forge-core and forge-cliconfig_test.go(org ID from YAML, env override, fallback inheritance/override, non-OpenAI skip),openai_test.go/responses_test.go/openai_embedder_test.go(header verification via httptest),exec_test.go(OPENAI_ORG_ID in skill env),forge_config_test.go(validation warning)forge initin a 24-line terminal, verify skills step scrolls with indicatorsorganization_idin forge.yaml, verifyOpenAI-Organizationheader on requests