Skip to content

feat: OpenAI Enterprise org ID support and TUI scroll fix#20

Merged
initializ-mk merged 1 commit intomainfrom
core/openai-ent
Mar 4, 2026
Merged

feat: OpenAI Enterprise org ID support and TUI scroll fix#20
initializ-mk merged 1 commit intomainfrom
core/openai-ent

Conversation

@initializ-mk
Copy link
Contributor

Summary

  • OpenAI Enterprise Organization ID: Wire organization_id config field and OPENAI_ORG_ID env var through the full stack — config types, resolution with fallback inheritance, validation, OpenAI-Organization header on chat/embedder/responses clients, runner wiring, skill executor env injection, audit logging, CLI wizard org ID phase, init scaffolding (--org-id flag), and web dashboard support
  • TUI Wizard Scroll Fix: Add viewport-based scrolling to MultiSelect and SingleSelect components with ▲ N more above / ▼ N more below indicators, forward WindowSizeMsg from wizard to all step components so the skills selection (and other lists) no longer overflow small terminals
  • Documentation: Update configuration, commands, runtime, dashboard, tools, and hooks docs to reflect new features

Test plan

  • go build ./... passes for forge-core, forge-cli, forge-ui
  • go test ./... passes for all modules
  • golangci-lint run clean for forge-core and forge-cli
  • New tests: config_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)
  • Manual: run forge init in a 24-line terminal, verify skills step scrolls with indicators
  • Manual: configure organization_id in forge.yaml, verify OpenAI-Organization header on requests

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.
@initializ-mk initializ-mk merged commit 2da95ab into main Mar 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant