Skip to content

refactor(config): centralize env and provider protocols - #79

Merged
M09Ic merged 7 commits into
masterfrom
refactor/unidirectional-layer-deps
Jul 29, 2026
Merged

refactor(config): centralize env and provider protocols#79
M09Ic merged 7 commits into
masterfrom
refactor/unidirectional-layer-deps

Conversation

@M09Ic

@M09Ic M09Ic commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • centralize runtime business environment resolution in core/config with explicit precedence
  • keep OpenAI-compatible and Anthropic as the only LLM protocols handled by AIScan
  • reject vendor provider names and remove legacy LLM/integration environment aliases
  • render frontend provider presets such as DeepSeek, OpenRouter, Ollama, and Zhipu; each preset writes only its protocol and Base URL
  • pass resolved Tavily, Uncover, TUI, data directory, and Playwright settings through runtime configuration
  • separate Uncover credentials from LLM provider terminology
  • align Web validation, provider profiles, examples, and documentation with strict two-protocol configuration

Tests

  • go test ./core/config ./agent/provider ./pkg/webproto ./pkg/web ./pkg/webagent ./pkg/runner ./tools/scan/engine ./tools/search ./cmd/aiscan ./cmd/agent ./cmd/runner
  • go test -tags full ./core/config ./agent/provider ./tools/scan/engine ./tools/playwright ./pkg/runner ./pkg/web ./cmd/aiscan
  • git diff --check

Frontend TypeScript reaches the existing cyber-ui CSTX dependency issue only (graphology); no ConfigPanel diagnostics are produced.

@M09Ic
M09Ic force-pushed the refactor/unidirectional-layer-deps branch from 1714f03 to 4a67247 Compare July 29, 2026 09:10
@M09Ic
M09Ic force-pushed the refactor/unidirectional-layer-deps branch from 4a67247 to d811949 Compare July 29, 2026 09:17
@M09Ic
M09Ic merged commit faa579d into master Jul 29, 2026
12 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