Compare commits

..

No commits in common. "b7d8c123e16baa3c67ef60f7b4f5675ffce0db6e" and "bc51cd41138d47642eb6e61d499e8ca814bd22a0" have entirely different histories.

452 changed files with 133245 additions and 19207 deletions

View File

@ -19,11 +19,9 @@
// Code blocks - fenced only // Code blocks - fenced only
"MD046": { "style": "fenced" }, // code-block-style "MD046": { "style": "fenced" }, // code-block-style
// CRITICAL: MD040 only checks for missing language on opening fence. // NOTE: MD040 only checks for missing language on opening fence.
// It does NOT catch malformed closing fences with language specifiers (e.g., ```plaintext). // It does NOT catch malformed closing fences with language specifiers (e.g., ```plaintext).
// This is a CommonMark violation that must be caught by custom pre-commit hook. // Custom pre-commit hook required to enforce proper closing fence syntax.
// Pre-commit hook: check-malformed-fences (provisioning/core/.pre-commit-config.yaml)
// Script: provisioning/scripts/check-malformed-fences.nu
// Formatting - strict whitespace // Formatting - strict whitespace
"MD009": true, // no-hard-tabs "MD009": true, // no-hard-tabs
@ -98,6 +96,7 @@
".coder/**", ".coder/**",
".claude/**", ".claude/**",
".wrks/**", ".wrks/**",
".vale/**" ".vale/**",
"extensions/providers/*/kcl/docs/**"
] ]
} }

View File

@ -44,36 +44,32 @@ repos:
# stages: [pre-push] # stages: [pre-push]
# ============================================================================ # ============================================================================
# Nushell Hooks (ACTIVE) # Nushell Hooks (optional - enable if using Nushell)
# ============================================================================ # ============================================================================
- repo: local # - repo: local
hooks: # hooks:
- id: nushell-check # - id: nushell-check
name: Nushell validation (nu --ide-check) # name: Nushell validation (nu --ide-check)
entry: >- # entry: bash -c 'for f in $(git diff --cached --name-only --diff-filter=ACM | grep "\.nu$"); do echo "Checking: $f"; nu --ide-check 100 "$f" || exit 1; done'
bash -c 'for f in $(git diff --cached --name-only --diff-filter=ACM | grep "\.nu$"); do # language: system
echo "Checking: $f"; nu --ide-check 100 "$f" || exit 1; done' # types: [file]
language: system # files: \.nu$
types: [file] # pass_filenames: false
files: \.nu$ # stages: [commit]
pass_filenames: false
stages: [pre-commit]
# ============================================================================ # ============================================================================
# Nickel Hooks (ACTIVE) # Nickel Hooks (optional - enable if using Nickel)
# ============================================================================ # ============================================================================
- repo: local # - repo: local
hooks: # hooks:
- id: nickel-typecheck # - id: nickel-typecheck
name: Nickel type checking # name: Nickel type checking
entry: >- # entry: bash -c 'export NICKEL_IMPORT_PATH="/Users/Akasha/Tools/dev-system/ci/schemas:/Users/Akasha/Tools/dev-system/ci/validators:/Users/Akasha/Tools/dev-system/ci/defaults:."; for f in $(git diff --cached --name-only --diff-filter=ACM | grep "\.ncl$"); do echo "Checking: $f"; nickel typecheck "$f" || exit 1; done'
bash -c 'export NICKEL_IMPORT_PATH="../:."; for f in $(git diff --cached --name-only --diff-filter=ACM | grep "\.ncl$"); do # language: system
echo "Checking: $f"; nickel typecheck "$f" || exit 1; done' # types: [file]
language: system # files: \.ncl$
types: [file] # pass_filenames: false
files: \.ncl$ # stages: [commit]
pass_filenames: false
stages: [pre-commit]
# ============================================================================ # ============================================================================
# Bash Hooks (optional - enable if using Bash) # Bash Hooks (optional - enable if using Bash)
@ -95,29 +91,10 @@ repos:
# stages: [commit] # stages: [commit]
# ============================================================================ # ============================================================================
# Markdown Hooks (ACTIVE) # Markdown Hooks
# ============================================================================ # ============================================================================
- repo: local # NOTE: Markdown linting moved to pre-commit phase (too slow for pre-push)
hooks: # See provisioning/core/.pre-commit-config.yaml for active markdown validation
- id: markdownlint
name: Markdown linting (markdownlint-cli2)
entry: markdownlint-cli2
language: system
types: [markdown]
stages: [pre-commit]
# CRITICAL: markdownlint-cli2 MD040 only checks opening fences for language.
# It does NOT catch malformed closing fences (e.g., ```plaintext) - CommonMark violation.
# This hook is ESSENTIAL to prevent malformed closing fences from entering the repo.
# See: .markdownlint-cli2.jsonc line 22-24 for details.
- id: check-malformed-fences
name: Check malformed closing fences (CommonMark)
entry: bash -c 'nu scripts/check-malformed-fences.nu $(git diff --cached --name-only --diff-filter=ACM | grep "\.md$" | grep -v ".coder/" | grep -v ".claude/" | grep -v "old_config/" | tr "\n" " ")'
language: system
types: [markdown]
pass_filenames: false
stages: [pre-commit]
exclude: ^\.coder/|^\.claude/|^old_config/
# ============================================================================ # ============================================================================
# General Pre-commit Hooks # General Pre-commit Hooks

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
description = "Interactive configuration for continuous integration and code quality tools" description = "Interactive configuration for continuous integration and code quality tools"
display_mode = "complete" display_mode = "complete"
locales_path = "../../../locales" locales_path = ""
name = "CI Configuration Form" name = "CI Configuration Form"
[[elements]] [[elements]]
@ -13,7 +13,11 @@ type = "section_header"
[[elements]] [[elements]]
help = "Name of the project" help = "Name of the project"
name = "project_name" name = "project_name"
nickel_path = ["ci", "project", "name"] nickel_path = [
"ci",
"project",
"name",
]
placeholder = "my-project" placeholder = "my-project"
prompt = "Project name" prompt = "Project name"
required = true required = true
@ -22,7 +26,11 @@ type = "text"
[[elements]] [[elements]]
help = "Optional description" help = "Optional description"
name = "project_description" name = "project_description"
nickel_path = ["ci", "project", "description"] nickel_path = [
"ci",
"project",
"description",
]
placeholder = "Brief description of what this project does" placeholder = "Brief description of what this project does"
prompt = "Project description" prompt = "Project description"
required = false required = false
@ -32,7 +40,11 @@ type = "text"
default = "" default = ""
help = "Project website or documentation site URL" help = "Project website or documentation site URL"
name = "project_site_url" name = "project_site_url"
nickel_path = ["ci", "project", "site_url"] nickel_path = [
"ci",
"project",
"site_url",
]
placeholder = "https://example.com" placeholder = "https://example.com"
prompt = "Project Site URL" prompt = "Project Site URL"
required = false required = false
@ -42,7 +54,11 @@ type = "text"
default = "" default = ""
help = "Project repository URL (GitHub, GitLab, etc.)" help = "Project repository URL (GitHub, GitLab, etc.)"
name = "project_repo_url" name = "project_repo_url"
nickel_path = ["ci", "project", "repo_url"] nickel_path = [
"ci",
"project",
"repo_url",
]
placeholder = "https://github.com/user/repo" placeholder = "https://github.com/user/repo"
prompt = "Project Repo URL" prompt = "Project Repo URL"
required = false required = false
@ -61,77 +77,85 @@ display_mode = "grid"
help = "Select all languages detected or used in the project" help = "Select all languages detected or used in the project"
min_selected = 1 min_selected = 1
name = "detected_languages" name = "detected_languages"
nickel_path = ["ci", "project", "detected_languages"] nickel_path = [
"ci",
"project",
"detected_languages",
]
prompt = "Which languages are used in this project?" prompt = "Which languages are used in this project?"
required = true required = true
searchable = true searchable = true
type = "multiselect" type = "multiselect"
[[elements.options]] [[elements.options]]
label = "🦀 Rust" value = "rust"
value = "rust" label = "🦀 Rust"
[[elements.options]] [[elements.options]]
label = "🐚 NuShell" value = "nushell"
value = "nushell" label = "🐚 NuShell"
[[elements.options]] [[elements.options]]
label = "⚙️ Nickel" value = "nickel"
value = "nickel" label = "⚙️ Nickel"
[[elements.options]] [[elements.options]]
label = "🔧 Bash/Shell" value = "bash"
value = "bash" label = "🔧 Bash/Shell"
[[elements.options]] [[elements.options]]
label = "📝 Markdown/Documentation" value = "markdown"
value = "markdown" label = "📝 Markdown/Documentation"
[[elements.options]] [[elements.options]]
label = "🐍 Python" value = "python"
value = "python" label = "🐍 Python"
[[elements.options]] [[elements.options]]
label = "📜 JavaScript/TypeScript" value = "javascript"
value = "javascript" label = "📜 JavaScript/TypeScript"
[[elements]] [[elements]]
default = "rust"
help = "Main language used for defaults (e.g., in GitHub Actions workflows)" help = "Main language used for defaults (e.g., in GitHub Actions workflows)"
name = "primary_language" name = "primary_language"
nickel_path = ["ci", "project", "primary_language"] nickel_path = [
"ci",
"project",
"primary_language",
]
options_from = "detected_languages" options_from = "detected_languages"
prompt = "Primary language" prompt = "Primary language"
required = true required = true
type = "select" type = "select"
default = "rust"
[[elements.options]] [[elements.options]]
label = "🦀 Rust" value = "rust"
value = "rust" label = "🦀 Rust"
[[elements.options]] [[elements.options]]
label = "🐚 NuShell" value = "nushell"
value = "nushell" label = "🐚 NuShell"
[[elements.options]] [[elements.options]]
label = "⚙️ Nickel" value = "nickel"
value = "nickel" label = "⚙️ Nickel"
[[elements.options]] [[elements.options]]
label = "🔧 Bash" value = "bash"
value = "bash" label = "🔧 Bash"
[[elements.options]] [[elements.options]]
label = "📝 Markdown" value = "markdown"
value = "markdown" label = "📝 Markdown"
[[elements.options]] [[elements.options]]
label = "🐍 Python" value = "python"
value = "python" label = "🐍 Python"
[[elements.options]] [[elements.options]]
label = "📜 JavaScript" value = "javascript"
value = "javascript" label = "📜 JavaScript"
[[elements]] [[elements]]
includes = ["fragments/rust-tools.toml"] includes = ["fragments/rust-tools.toml"]
@ -191,7 +215,11 @@ type = "section_header"
default = "true" default = "true"
help = "Set up continuous integration and deployment pipelines" help = "Set up continuous integration and deployment pipelines"
name = "enable_ci_cd" name = "enable_ci_cd"
nickel_path = ["ci", "features", "enable_ci_cd"] nickel_path = [
"ci",
"features",
"enable_ci_cd",
]
prompt = "Enable CI/CD integration?" prompt = "Enable CI/CD integration?"
type = "confirm" type = "confirm"

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
description = "Interactive configuration for continuous integration and code quality tools" description = "Interactive configuration for continuous integration and code quality tools"
display_mode = "complete" display_mode = "complete"
locales_path = "../../../locales" locales_path = ""
name = "CI Configuration Form" name = "CI Configuration Form"
[[elements]] [[elements]]
@ -13,7 +13,11 @@ type = "section_header"
[[elements]] [[elements]]
help = "Name of the project" help = "Name of the project"
name = "project_name" name = "project_name"
nickel_path = ["ci", "project", "name"] nickel_path = [
"ci",
"project",
"name",
]
placeholder = "my-project" placeholder = "my-project"
prompt = "Project name" prompt = "Project name"
required = true required = true
@ -22,7 +26,11 @@ type = "text"
[[elements]] [[elements]]
help = "Optional description" help = "Optional description"
name = "project_description" name = "project_description"
nickel_path = ["ci", "project", "description"] nickel_path = [
"ci",
"project",
"description",
]
placeholder = "Brief description of what this project does" placeholder = "Brief description of what this project does"
prompt = "Project description" prompt = "Project description"
required = false required = false
@ -32,7 +40,11 @@ type = "text"
default = "" default = ""
help = "Project website or documentation site URL" help = "Project website or documentation site URL"
name = "project_site_url" name = "project_site_url"
nickel_path = ["ci", "project", "site_url"] nickel_path = [
"ci",
"project",
"site_url",
]
placeholder = "https://example.com" placeholder = "https://example.com"
prompt = "Project Site URL" prompt = "Project Site URL"
required = false required = false
@ -42,7 +54,11 @@ type = "text"
default = "" default = ""
help = "Project repository URL (GitHub, GitLab, etc.)" help = "Project repository URL (GitHub, GitLab, etc.)"
name = "project_repo_url" name = "project_repo_url"
nickel_path = ["ci", "project", "repo_url"] nickel_path = [
"ci",
"project",
"repo_url",
]
placeholder = "https://github.com/user/repo" placeholder = "https://github.com/user/repo"
prompt = "Project Repo URL" prompt = "Project Repo URL"
required = false required = false
@ -61,77 +77,85 @@ display_mode = "grid"
help = "Select all languages detected or used in the project" help = "Select all languages detected or used in the project"
min_selected = 1 min_selected = 1
name = "detected_languages" name = "detected_languages"
nickel_path = ["ci", "project", "detected_languages"] nickel_path = [
"ci",
"project",
"detected_languages",
]
prompt = "Which languages are used in this project?" prompt = "Which languages are used in this project?"
required = true required = true
searchable = true searchable = true
type = "multiselect" type = "multiselect"
[[elements.options]] [[elements.options]]
label = "🦀 Rust" value = "rust"
value = "rust" label = "🦀 Rust"
[[elements.options]] [[elements.options]]
label = "🐚 NuShell" value = "nushell"
value = "nushell" label = "🐚 NuShell"
[[elements.options]] [[elements.options]]
label = "⚙️ Nickel" value = "nickel"
value = "nickel" label = "⚙️ Nickel"
[[elements.options]] [[elements.options]]
label = "🔧 Bash/Shell" value = "bash"
value = "bash" label = "🔧 Bash/Shell"
[[elements.options]] [[elements.options]]
label = "📝 Markdown/Documentation" value = "markdown"
value = "markdown" label = "📝 Markdown/Documentation"
[[elements.options]] [[elements.options]]
label = "🐍 Python" value = "python"
value = "python" label = "🐍 Python"
[[elements.options]] [[elements.options]]
label = "📜 JavaScript/TypeScript" value = "javascript"
value = "javascript" label = "📜 JavaScript/TypeScript"
[[elements]] [[elements]]
default = "rust"
help = "Main language used for defaults (e.g., in GitHub Actions workflows)" help = "Main language used for defaults (e.g., in GitHub Actions workflows)"
name = "primary_language" name = "primary_language"
nickel_path = ["ci", "project", "primary_language"] nickel_path = [
"ci",
"project",
"primary_language",
]
options_from = "detected_languages" options_from = "detected_languages"
prompt = "Primary language" prompt = "Primary language"
required = true required = true
type = "select" type = "select"
default = "rust"
[[elements.options]] [[elements.options]]
label = "🦀 Rust" value = "rust"
value = "rust" label = "🦀 Rust"
[[elements.options]] [[elements.options]]
label = "🐚 NuShell" value = "nushell"
value = "nushell" label = "🐚 NuShell"
[[elements.options]] [[elements.options]]
label = "⚙️ Nickel" value = "nickel"
value = "nickel" label = "⚙️ Nickel"
[[elements.options]] [[elements.options]]
label = "🔧 Bash" value = "bash"
value = "bash" label = "🔧 Bash"
[[elements.options]] [[elements.options]]
label = "📝 Markdown" value = "markdown"
value = "markdown" label = "📝 Markdown"
[[elements.options]] [[elements.options]]
label = "🐍 Python" value = "python"
value = "python" label = "🐍 Python"
[[elements.options]] [[elements.options]]
label = "📜 JavaScript" value = "javascript"
value = "javascript" label = "📜 JavaScript"
[[elements]] [[elements]]
includes = ["fragments/rust-tools.toml"] includes = ["fragments/rust-tools.toml"]
@ -191,7 +215,11 @@ type = "section_header"
default = "true" default = "true"
help = "Set up continuous integration and deployment pipelines" help = "Set up continuous integration and deployment pipelines"
name = "enable_ci_cd" name = "enable_ci_cd"
nickel_path = ["ci", "features", "enable_ci_cd"] nickel_path = [
"ci",
"features",
"enable_ci_cd",
]
prompt = "Enable CI/CD integration?" prompt = "Enable CI/CD integration?"
type = "confirm" type = "confirm"

View File

@ -4,7 +4,7 @@
description = "Interactive authentication login" description = "Interactive authentication login"
display_mode = "complete" display_mode = "complete"
locales_path = "../../../../../locales" locales_path = ""
name = "Authentication Login" name = "Authentication Login"
# ============================================================================ # ============================================================================
@ -49,13 +49,13 @@ title = "🔒 Multi-Factor Authentication"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = false
help = "Do you have MFA enabled for this account?" help = "Do you have MFA enabled for this account?"
name = "has_mfa" name = "has_mfa"
nickel_path = ["auth", "has_mfa"] nickel_path = ["auth", "has_mfa"]
prompt = "MFA enabled?" prompt = "MFA enabled?"
required = false required = false
type = "confirm" type = "confirm"
default = false
[[elements]] [[elements]]
help = "Enter your MFA code (6 digits)" help = "Enter your MFA code (6 digits)"
@ -80,10 +80,10 @@ title = "✅ Confirmation"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = true
help = "Confirm login with the provided credentials" help = "Confirm login with the provided credentials"
name = "confirm_login" name = "confirm_login"
nickel_path = ["auth", "confirm_login"] nickel_path = ["auth", "confirm_login"]
prompt = "Proceed with login?" prompt = "Proceed with login?"
required = false required = false
type = "confirm" type = "confirm"
default = true

View File

@ -3,114 +3,114 @@
# Purpose: Confirm destructive cluster deletion operation # Purpose: Confirm destructive cluster deletion operation
[meta] [meta]
allow_cancel = true
description = "This action will permanently delete the entire cluster and all associated resources"
title = "Cluster Deletion Confirmation" title = "Cluster Deletion Confirmation"
description = "This action will permanently delete the entire cluster and all associated resources"
allow_cancel = true
# ============================================================================ # ============================================================================
# CRITICAL WARNING SECTION # CRITICAL WARNING SECTION
# ============================================================================ # ============================================================================
[items.critical_warning] [items.critical_warning]
display_only = true
prompt = "🔴 CRITICAL: Cluster Deletion is Irreversible"
type = "text" type = "text"
prompt = "🔴 CRITICAL: Cluster Deletion is Irreversible"
display_only = true
[items.warning_details] [items.warning_details]
display_only = true type = "text"
prompt = "Cluster Deletion will:"
help = """ help = """
Permanently delete all nodes in the cluster Permanently delete all nodes in the cluster
Destroy all persistent volumes and data Destroy all persistent volumes and data
Terminate all running applications and services Terminate all running applications and services
Remove all persistent configurations Remove all persistent configurations
Make cluster inaccessible - cannot be recovered""" Make cluster inaccessible - cannot be recovered"""
prompt = "Cluster Deletion will:" display_only = true
type = "text"
# ============================================================================ # ============================================================================
# CLUSTER INFORMATION # CLUSTER INFORMATION
# ============================================================================ # ============================================================================
[items.cluster_info_header] [items.cluster_info_header]
display_only = true
prompt = "Cluster to Delete"
type = "text" type = "text"
prompt = "Cluster to Delete"
display_only = true
[items.cluster_name] [items.cluster_name]
type = "text"
prompt = "Cluster Name"
default = "{{ cluster_name | default('unknown') }}" default = "{{ cluster_name | default('unknown') }}"
display_only = true display_only = true
prompt = "Cluster Name"
type = "text"
[items.cluster_type] [items.cluster_type]
type = "text"
prompt = "Cluster Type"
default = "{{ cluster_type | default('unknown') }}" default = "{{ cluster_type | default('unknown') }}"
display_only = true display_only = true
prompt = "Cluster Type"
type = "text"
[items.node_count] [items.node_count]
type = "text"
prompt = "Number of Nodes"
default = "{{ node_count | default('unknown') }}" default = "{{ node_count | default('unknown') }}"
display_only = true display_only = true
prompt = "Number of Nodes"
type = "text"
[items.total_resources] [items.total_resources]
type = "text"
prompt = "Total Resources"
help = "Approximate total CPU and memory that will be freed"
default = "{{ total_resources | default('unknown') }}" default = "{{ total_resources | default('unknown') }}"
display_only = true display_only = true
help = "Approximate total CPU and memory that will be freed"
prompt = "Total Resources"
type = "text"
# ============================================================================ # ============================================================================
# DEPENDENT RESOURCES # DEPENDENT RESOURCES
# ============================================================================ # ============================================================================
[items.dependents_header] [items.dependents_header]
display_only = true
prompt = "Resources That Will Be Deleted"
type = "text" type = "text"
prompt = "Resources That Will Be Deleted"
display_only = true
[items.deployments_count] [items.deployments_count]
type = "text"
prompt = "Deployments"
default = "{{ deployments_count | default('0') }}" default = "{{ deployments_count | default('0') }}"
display_only = true display_only = true
prompt = "Deployments"
type = "text"
[items.services_count] [items.services_count]
type = "text"
prompt = "Services"
default = "{{ services_count | default('0') }}" default = "{{ services_count | default('0') }}"
display_only = true display_only = true
prompt = "Services"
type = "text"
[items.volumes_count] [items.volumes_count]
type = "text"
prompt = "Persistent Volumes"
default = "{{ volumes_count | default('0') }}" default = "{{ volumes_count | default('0') }}"
display_only = true display_only = true
prompt = "Persistent Volumes"
type = "text"
# ============================================================================ # ============================================================================
# CONFIRMATION # CONFIRMATION
# ============================================================================ # ============================================================================
[items.confirm_header] [items.confirm_header]
display_only = true
prompt = "Final Confirmation Required"
type = "text" type = "text"
prompt = "Final Confirmation Required"
display_only = true
[items.confirmation_text] [items.confirmation_text]
help = "You must type the exact phrase: DELETE CLUSTER"
prompt = "Type 'DELETE CLUSTER' to Confirm"
required = true
type = "text" type = "text"
prompt = "Type 'DELETE CLUSTER' to Confirm"
help = "You must type the exact phrase: DELETE CLUSTER"
required = true
[items.understand_final] [items.understand_final]
help = "Check this box to acknowledge that you understand the consequences"
prompt = "I understand this operation is permanent and all data will be lost"
required = true
type = "confirm" type = "confirm"
prompt = "I understand this operation is permanent and all data will be lost"
help = "Check this box to acknowledge that you understand the consequences"
required = true
[items.proceed_final] [items.proceed_final]
help = "This is the final confirmation. There is no undo."
prompt = "Delete cluster '{{ cluster_name | default('cluster') }}' with {{ node_count | default('all') }} nodes?"
required = true
type = "confirm" type = "confirm"
prompt = "Delete cluster '{{ cluster_name | default('cluster') }}' with {{ node_count | default('all') }} nodes?"
help = "This is the final confirmation. There is no undo."
required = true

View File

@ -3,81 +3,81 @@
# Purpose: Generic confirmation for any resource deletion # Purpose: Generic confirmation for any resource deletion
[meta] [meta]
allow_cancel = true
description = "Confirm permanent deletion of resource"
title = "Resource Deletion Confirmation" title = "Resource Deletion Confirmation"
description = "Confirm permanent deletion of resource"
allow_cancel = true
# ============================================================================ # ============================================================================
# WARNING SECTION # WARNING SECTION
# ============================================================================ # ============================================================================
[items.warning_header] [items.warning_header]
display_only = true
prompt = "⚠️ Warning: Permanent Deletion"
type = "text" type = "text"
prompt = "⚠️ Warning: Permanent Deletion"
display_only = true
[items.resource_type] [items.resource_type]
type = "text"
prompt = "Resource Type"
default = "{{ resource_type | default('Resource') }}" default = "{{ resource_type | default('Resource') }}"
display_only = true display_only = true
prompt = "Resource Type"
type = "text"
[items.resource_name] [items.resource_name]
type = "text"
prompt = "Resource Name"
default = "{{ resource_name | default('unknown') }}" default = "{{ resource_name | default('unknown') }}"
display_only = true display_only = true
prompt = "Resource Name"
type = "text"
[items.resource_id] [items.resource_id]
type = "text"
prompt = "Resource ID"
help = "Unique identifier of the resource"
default = "{{ resource_id | default('') }}" default = "{{ resource_id | default('') }}"
display_only = true display_only = true
help = "Unique identifier of the resource"
prompt = "Resource ID"
type = "text"
[items.resource_status] [items.resource_status]
type = "text"
prompt = "Current Status"
default = "{{ resource_status | default('unknown') }}" default = "{{ resource_status | default('unknown') }}"
display_only = true display_only = true
prompt = "Current Status"
type = "text"
# ============================================================================ # ============================================================================
# IMPACT INFORMATION # IMPACT INFORMATION
# ============================================================================ # ============================================================================
[items.impact_header] [items.impact_header]
display_only = true
prompt = "Deletion Impact"
type = "text" type = "text"
prompt = "Deletion Impact"
display_only = true
[items.irreversible_warning] [items.irreversible_warning]
display_only = true
help = "There is no way to undo this operation"
prompt = "This action is irreversible"
type = "text" type = "text"
prompt = "This action is irreversible"
help = "There is no way to undo this operation"
display_only = true
[items.data_loss_warning] [items.data_loss_warning]
display_only = true
help = "This includes configurations, logs, and cached data"
prompt = "All associated data will be permanently lost"
type = "text" type = "text"
prompt = "All associated data will be permanently lost"
help = "This includes configurations, logs, and cached data"
display_only = true
# ============================================================================ # ============================================================================
# CONFIRMATION # CONFIRMATION
# ============================================================================ # ============================================================================
[items.confirm_text] [items.confirm_text]
help = "This prevents accidental deletion"
prompt = "Type 'DELETE' to Confirm"
required = true
type = "text" type = "text"
prompt = "Type 'DELETE' to Confirm"
help = "This prevents accidental deletion"
required = true
[items.final_confirm] [items.final_confirm]
type = "confirm"
prompt = "I understand this is permanent and all data will be lost" prompt = "I understand this is permanent and all data will be lost"
required = true required = true
type = "confirm"
[items.proceed] [items.proceed]
type = "confirm"
prompt = "Delete {{ resource_type | default('resource') }} '{{ resource_name | default('unknown') }}'?" prompt = "Delete {{ resource_type | default('resource') }} '{{ resource_name | default('unknown') }}'?"
required = true required = true
type = "confirm"

View File

@ -3,82 +3,82 @@
# Purpose: Confirm destructive server deletion operation # Purpose: Confirm destructive server deletion operation
[meta] [meta]
allow_cancel = true
description = "This action will permanently delete the server and all associated data"
title = "Server Deletion Confirmation" title = "Server Deletion Confirmation"
description = "This action will permanently delete the server and all associated data"
allow_cancel = true
# ============================================================================ # ============================================================================
# WARNING SECTION # WARNING SECTION
# ============================================================================ # ============================================================================
[items.warning_header] [items.warning_header]
display_only = true
prompt = "⚠️ WARNING: This Action Cannot Be Undone"
type = "text" type = "text"
prompt = "⚠️ WARNING: This Action Cannot Be Undone"
display_only = true
[items.warning_text] [items.warning_text]
display_only = true type = "text"
prompt = "Server Deletion will:"
help = """ help = """
Permanently remove the server from all providers Permanently remove the server from all providers
Delete all associated data and configurations Delete all associated data and configurations
Terminate all running services Terminate all running services
Release allocated IP addresses and storage""" Release allocated IP addresses and storage"""
prompt = "Server Deletion will:" display_only = true
type = "text"
# ============================================================================ # ============================================================================
# SERVER INFORMATION # SERVER INFORMATION
# ============================================================================ # ============================================================================
[items.server_info_header] [items.server_info_header]
display_only = true
prompt = "Server to Delete"
type = "text" type = "text"
prompt = "Server to Delete"
display_only = true
[items.server_name] [items.server_name]
type = "text"
prompt = "Server Name"
help = "Name of the server being deleted"
default = "{{ server_name | default('unknown') }}" default = "{{ server_name | default('unknown') }}"
display_only = true display_only = true
help = "Name of the server being deleted"
prompt = "Server Name"
type = "text"
[items.server_ip] [items.server_ip]
type = "text"
prompt = "IP Address"
help = "Current IP address of the server"
default = "{{ server_ip | default('not assigned') }}" default = "{{ server_ip | default('not assigned') }}"
display_only = true display_only = true
help = "Current IP address of the server"
prompt = "IP Address"
type = "text"
[items.server_status] [items.server_status]
type = "text"
prompt = "Current Status"
help = "Current operational status"
default = "{{ server_status | default('unknown') }}" default = "{{ server_status | default('unknown') }}"
display_only = true display_only = true
help = "Current operational status"
prompt = "Current Status"
type = "text"
# ============================================================================ # ============================================================================
# CONFIRMATION # CONFIRMATION
# ============================================================================ # ============================================================================
[items.confirm_header] [items.confirm_header]
display_only = true
prompt = "Confirm Deletion"
type = "text" type = "text"
prompt = "Confirm Deletion"
display_only = true
[items.confirmation_text] [items.confirmation_text]
help = "This prevents accidental deletion. You must type the exact word DELETE"
prompt = "Type 'DELETE' to Confirm"
required = true
type = "text" type = "text"
prompt = "Type 'DELETE' to Confirm"
help = "This prevents accidental deletion. You must type the exact word DELETE"
required = true
[items.final_confirm] [items.final_confirm]
help = "Check this box to confirm you understand the consequences"
prompt = "I understand this is permanent and cannot be undone"
required = true
type = "confirm" type = "confirm"
prompt = "I understand this is permanent and cannot be undone"
help = "Check this box to confirm you understand the consequences"
required = true
[items.proceed] [items.proceed]
help = "Final confirmation to proceed with deletion"
prompt = "Delete server {{ server_name | default('server') }}?"
required = true
type = "confirm" type = "confirm"
prompt = "Delete server {{ server_name | default('server') }}?"
help = "Final confirmation to proceed with deletion"
required = true

View File

@ -3,106 +3,106 @@
# Purpose: Confirm destructive taskserv deletion operation # Purpose: Confirm destructive taskserv deletion operation
[meta] [meta]
allow_cancel = true
description = "This action will permanently delete the task service and all associated data"
title = "Task Service Deletion Confirmation" title = "Task Service Deletion Confirmation"
description = "This action will permanently delete the task service and all associated data"
allow_cancel = true
# ============================================================================ # ============================================================================
# WARNING SECTION # WARNING SECTION
# ============================================================================ # ============================================================================
[items.warning_header] [items.warning_header]
display_only = true
prompt = "⚠️ WARNING: This Action Cannot Be Undone"
type = "text" type = "text"
prompt = "⚠️ WARNING: This Action Cannot Be Undone"
display_only = true
[items.warning_text] [items.warning_text]
display_only = true type = "text"
prompt = "Task Service Deletion will:"
help = """ help = """
Permanently remove the service definition Permanently remove the service definition
Delete all containers and images Delete all containers and images
Remove all associated volumes and data Remove all associated volumes and data
Terminate all running tasks Terminate all running tasks
Invalidate all service references""" Invalidate all service references"""
prompt = "Task Service Deletion will:" display_only = true
type = "text"
# ============================================================================ # ============================================================================
# TASKSERV INFORMATION # TASKSERV INFORMATION
# ============================================================================ # ============================================================================
[items.taskserv_info_header] [items.taskserv_info_header]
display_only = true
prompt = "Task Service to Delete"
type = "text" type = "text"
prompt = "Task Service to Delete"
display_only = true
[items.taskserv_name] [items.taskserv_name]
type = "text"
prompt = "Service Name"
help = "Name of the task service being deleted"
default = "{{ taskserv_name | default('unknown') }}" default = "{{ taskserv_name | default('unknown') }}"
display_only = true display_only = true
help = "Name of the task service being deleted"
prompt = "Service Name"
type = "text"
[items.taskserv_type] [items.taskserv_type]
type = "text"
prompt = "Service Type"
help = "Type of service (e.g., kubernetes, postgres, redis)"
default = "{{ taskserv_type | default('unknown') }}" default = "{{ taskserv_type | default('unknown') }}"
display_only = true display_only = true
help = "Type of service (e.g., kubernetes, postgres, redis)"
prompt = "Service Type"
type = "text"
[items.taskserv_server] [items.taskserv_server]
type = "text"
prompt = "Deployed On Server"
help = "Server hosting this task service"
default = "{{ taskserv_server | default('unknown') }}" default = "{{ taskserv_server | default('unknown') }}"
display_only = true display_only = true
help = "Server hosting this task service"
prompt = "Deployed On Server"
type = "text"
[items.taskserv_status] [items.taskserv_status]
type = "text"
prompt = "Current Status"
help = "Operational status of the service"
default = "{{ taskserv_status | default('unknown') }}" default = "{{ taskserv_status | default('unknown') }}"
display_only = true display_only = true
help = "Operational status of the service"
prompt = "Current Status"
type = "text"
# ============================================================================ # ============================================================================
# IMPACT ANALYSIS # IMPACT ANALYSIS
# ============================================================================ # ============================================================================
[items.impact_header] [items.impact_header]
display_only = true
prompt = "Services That Depend on This"
type = "text" type = "text"
prompt = "Services That Depend on This"
display_only = true
[items.dependent_services] [items.dependent_services]
type = "text"
prompt = "Dependent Services"
help = "These services will be affected by deletion"
default = "{{ dependent_services | default('none') }}" default = "{{ dependent_services | default('none') }}"
display_only = true display_only = true
help = "These services will be affected by deletion"
prompt = "Dependent Services"
type = "text"
# ============================================================================ # ============================================================================
# CONFIRMATION # CONFIRMATION
# ============================================================================ # ============================================================================
[items.confirm_header] [items.confirm_header]
display_only = true
prompt = "Confirm Deletion"
type = "text" type = "text"
prompt = "Confirm Deletion"
display_only = true
[items.confirmation_text] [items.confirmation_text]
help = "This prevents accidental deletion. You must type the exact word DELETE"
prompt = "Type 'DELETE' to Confirm"
required = true
type = "text" type = "text"
prompt = "Type 'DELETE' to Confirm"
help = "This prevents accidental deletion. You must type the exact word DELETE"
required = true
[items.final_confirm] [items.final_confirm]
help = "Check this box to confirm you understand the consequences"
prompt = "I understand this is permanent and will affect dependent services"
required = true
type = "confirm" type = "confirm"
prompt = "I understand this is permanent and will affect dependent services"
help = "Check this box to confirm you understand the consequences"
required = true
[items.proceed] [items.proceed]
help = "Final confirmation to proceed with deletion"
prompt = "Delete {{ taskserv_type | default('task service') }} '{{ taskserv_name | default('unknown') }}'?"
required = true
type = "confirm" type = "confirm"
prompt = "Delete {{ taskserv_type | default('task service') }} '{{ taskserv_name | default('unknown') }}'?"
help = "Final confirmation to proceed with deletion"
required = true

View File

@ -4,7 +4,7 @@
description = "Interactive Multi-Factor Authentication enrollment" description = "Interactive Multi-Factor Authentication enrollment"
display_mode = "complete" display_mode = "complete"
locales_path = "../../../../../locales" locales_path = ""
name = "MFA Enrollment" name = "MFA Enrollment"
# ============================================================================ # ============================================================================
@ -19,14 +19,14 @@ title = "🔐 Multi-Factor Authentication Setup"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = "totp"
help = "Choose the MFA method" help = "Choose the MFA method"
name = "mfa_type" name = "mfa_type"
nickel_path = ["mfa", "type"] nickel_path = ["mfa", "type"]
options = ["totp", "webauthn", "sms"]
prompt = "MFA Type" prompt = "MFA Type"
required = true required = true
type = "select" type = "select"
options = ["totp", "webauthn", "sms"]
default = "totp"
# ============================================================================ # ============================================================================
# TOTP CONFIGURATION (Time-based One-Time Password) # TOTP CONFIGURATION (Time-based One-Time Password)
@ -41,7 +41,6 @@ type = "section_header"
when = "mfa_type == 'totp'" when = "mfa_type == 'totp'"
[[elements]] [[elements]]
default = "Authenticator App"
help = "Name for this MFA device (e.g., 'iPhone', 'Authenticator App')" help = "Name for this MFA device (e.g., 'iPhone', 'Authenticator App')"
name = "totp_device_name" name = "totp_device_name"
nickel_path = ["mfa", "totp", "device_name"] nickel_path = ["mfa", "totp", "device_name"]
@ -49,6 +48,7 @@ placeholder = "My Phone"
prompt = "Device name" prompt = "Device name"
required = false required = false
type = "text" type = "text"
default = "Authenticator App"
when = "mfa_type == 'totp'" when = "mfa_type == 'totp'"
[[elements]] [[elements]]
@ -75,7 +75,6 @@ type = "section_header"
when = "mfa_type == 'webauthn'" when = "mfa_type == 'webauthn'"
[[elements]] [[elements]]
default = "Security Key"
help = "Name for this security key (e.g., 'YubiKey', 'Fingerprint')" help = "Name for this security key (e.g., 'YubiKey', 'Fingerprint')"
name = "webauthn_device_name" name = "webauthn_device_name"
nickel_path = ["mfa", "webauthn", "device_name"] nickel_path = ["mfa", "webauthn", "device_name"]
@ -83,6 +82,7 @@ placeholder = "Security Key"
prompt = "Device name" prompt = "Device name"
required = false required = false
type = "text" type = "text"
default = "Security Key"
when = "mfa_type == 'webauthn'" when = "mfa_type == 'webauthn'"
# ============================================================================ # ============================================================================
@ -131,24 +131,24 @@ title = "💾 Backup Codes"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = true
help = "Generate backup codes for account recovery" help = "Generate backup codes for account recovery"
name = "generate_backup_codes" name = "generate_backup_codes"
nickel_path = ["mfa", "generate_backup_codes"] nickel_path = ["mfa", "generate_backup_codes"]
prompt = "Generate backup codes?" prompt = "Generate backup codes?"
required = false required = false
type = "confirm" type = "confirm"
default = true
[[elements]] [[elements]]
default = 10
help = "Number of backup codes to generate" help = "Number of backup codes to generate"
max = 20
min = 5
name = "backup_codes_count" name = "backup_codes_count"
nickel_path = ["mfa", "backup_codes_count"] nickel_path = ["mfa", "backup_codes_count"]
prompt = "Number of backup codes" prompt = "Number of backup codes"
required = false required = false
type = "number" type = "number"
min = 5
max = 20
default = 10
when = "generate_backup_codes == true" when = "generate_backup_codes == true"
# ============================================================================ # ============================================================================
@ -163,10 +163,10 @@ title = "✅ Confirmation"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = true
help = "Confirm MFA enrollment with the provided configuration" help = "Confirm MFA enrollment with the provided configuration"
name = "confirm_enroll" name = "confirm_enroll"
nickel_path = ["mfa", "confirm_enroll"] nickel_path = ["mfa", "confirm_enroll"]
prompt = "Complete MFA enrollment?" prompt = "Complete MFA enrollment?"
required = false required = false
type = "confirm" type = "confirm"
default = true

View File

@ -4,7 +4,7 @@
description = "Interactive setup wizard for provisioning system initialization" description = "Interactive setup wizard for provisioning system initialization"
display_mode = "complete" display_mode = "complete"
locales_path = "../../../../../locales" locales_path = ""
name = "Provisioning System Setup Wizard" name = "Provisioning System Setup Wizard"
# ============================================================================ # ============================================================================
@ -28,13 +28,13 @@ required = true
type = "text" type = "text"
[[elements]] [[elements]]
default = true
help = "Use recommended paths for your operating system" help = "Use recommended paths for your operating system"
name = "use_defaults" name = "use_defaults"
nickel_path = ["system_config", "use_defaults"] nickel_path = ["system_config", "use_defaults"]
prompt = "Use recommended paths for your OS?" prompt = "Use recommended paths for your OS?"
required = false required = false
type = "confirm" type = "confirm"
default = true
# ============================================================================ # ============================================================================
# DEPLOYMENT MODE SELECTION # DEPLOYMENT MODE SELECTION
@ -48,14 +48,14 @@ title = "🚀 Deployment Mode"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = "docker-compose"
help = "Choose how platform services will be deployed" help = "Choose how platform services will be deployed"
name = "deployment_mode" name = "deployment_mode"
nickel_path = ["deployment_mode"] nickel_path = ["deployment_mode"]
options = ["docker-compose", "kubernetes", "remote-ssh", "systemd"]
prompt = "Deployment mode" prompt = "Deployment mode"
required = true required = true
type = "select" type = "select"
options = ["docker-compose", "kubernetes", "remote-ssh", "systemd"]
default = "docker-compose"
# ============================================================================ # ============================================================================
# PROVIDER SELECTION # PROVIDER SELECTION
@ -75,40 +75,40 @@ title = "Select at least one provider"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = false
help = "Enable UpCloud provider" help = "Enable UpCloud provider"
name = "provider_upcloud" name = "provider_upcloud"
nickel_path = ["providers", "upcloud"] nickel_path = ["providers", "upcloud"]
prompt = "Use UpCloud?" prompt = "Use UpCloud?"
required = false required = false
type = "confirm" type = "confirm"
default = false
[[elements]] [[elements]]
default = false
help = "Enable AWS provider" help = "Enable AWS provider"
name = "provider_aws" name = "provider_aws"
nickel_path = ["providers", "aws"] nickel_path = ["providers", "aws"]
prompt = "Use AWS?" prompt = "Use AWS?"
required = false required = false
type = "confirm" type = "confirm"
default = false
[[elements]] [[elements]]
default = false
help = "Enable Hetzner provider" help = "Enable Hetzner provider"
name = "provider_hetzner" name = "provider_hetzner"
nickel_path = ["providers", "hetzner"] nickel_path = ["providers", "hetzner"]
prompt = "Use Hetzner?" prompt = "Use Hetzner?"
required = false required = false
type = "confirm" type = "confirm"
default = false
[[elements]] [[elements]]
default = true
help = "Enable local provider (required for local deployments)" help = "Enable local provider (required for local deployments)"
name = "provider_local" name = "provider_local"
nickel_path = ["providers", "local"] nickel_path = ["providers", "local"]
prompt = "Use local provider?" prompt = "Use local provider?"
required = false required = false
type = "confirm" type = "confirm"
default = true
# ============================================================================ # ============================================================================
# RESOURCE ALLOCATION # RESOURCE ALLOCATION
@ -122,26 +122,26 @@ title = "💻 Resource Allocation"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = 4
help = "Number of CPU cores to allocate" help = "Number of CPU cores to allocate"
max = 128
min = 1
name = "cpu_count" name = "cpu_count"
nickel_path = ["resources", "cpu_count"] nickel_path = ["resources", "cpu_count"]
prompt = "Number of CPUs to allocate" prompt = "Number of CPUs to allocate"
required = true required = true
type = "number" type = "number"
min = 1
max = 128
default = 4
[[elements]] [[elements]]
default = 8
help = "Amount of memory to allocate (in GB)" help = "Amount of memory to allocate (in GB)"
max = 1024
min = 1
name = "memory_gb" name = "memory_gb"
nickel_path = ["resources", "memory_gb"] nickel_path = ["resources", "memory_gb"]
prompt = "Memory in GB to allocate" prompt = "Memory in GB to allocate"
required = true required = true
type = "number" type = "number"
min = 1
max = 1024
default = 8
# ============================================================================ # ============================================================================
# SECURITY CONFIGURATION # SECURITY CONFIGURATION
@ -155,31 +155,31 @@ title = "🔒 Security Configuration"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = true
help = "Enable Multi-Factor Authentication for enhanced security" help = "Enable Multi-Factor Authentication for enhanced security"
name = "enable_mfa" name = "enable_mfa"
nickel_path = ["security", "enable_mfa"] nickel_path = ["security", "enable_mfa"]
prompt = "Enable Multi-Factor Authentication (MFA)?" prompt = "Enable Multi-Factor Authentication (MFA)?"
required = false required = false
type = "confirm" type = "confirm"
default = true
[[elements]] [[elements]]
default = true
help = "Enable audit logging for all operations" help = "Enable audit logging for all operations"
name = "enable_audit" name = "enable_audit"
nickel_path = ["security", "enable_audit"] nickel_path = ["security", "enable_audit"]
prompt = "Enable audit logging for all operations?" prompt = "Enable audit logging for all operations?"
required = false required = false
type = "confirm" type = "confirm"
default = true
[[elements]] [[elements]]
default = true
help = "Require approval for destructive operations" help = "Require approval for destructive operations"
name = "require_approval" name = "require_approval"
nickel_path = ["security", "require_approval_for_destructive"] nickel_path = ["security", "require_approval_for_destructive"]
prompt = "Require approval for destructive operations?" prompt = "Require approval for destructive operations?"
required = false required = false
type = "confirm" type = "confirm"
default = true
# ============================================================================ # ============================================================================
# WORKSPACE CONFIGURATION # WORKSPACE CONFIGURATION
@ -193,30 +193,30 @@ title = "📁 Initial Workspace"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = true
help = "Create an initial workspace for your infrastructure" help = "Create an initial workspace for your infrastructure"
name = "create_workspace" name = "create_workspace"
nickel_path = ["workspace", "create_workspace"] nickel_path = ["workspace", "create_workspace"]
prompt = "Create workspace now?" prompt = "Create workspace now?"
required = false required = false
type = "confirm" type = "confirm"
default = true
[[elements]] [[elements]]
default = "default"
help = "Name for the initial workspace" help = "Name for the initial workspace"
name = "workspace_name" name = "workspace_name"
nickel_path = ["workspace", "name"] nickel_path = ["workspace", "name"]
prompt = "Workspace name" prompt = "Workspace name"
required = false required = false
type = "text" type = "text"
default = "default"
when = "create_workspace == true" when = "create_workspace == true"
[[elements]] [[elements]]
default = "Default workspace"
help = "Optional description for the workspace" help = "Optional description for the workspace"
name = "workspace_description" name = "workspace_description"
nickel_path = ["workspace", "description"] nickel_path = ["workspace", "description"]
prompt = "Workspace description (optional)" prompt = "Workspace description (optional)"
required = false required = false
type = "text" type = "text"
default = "Default workspace"
when = "create_workspace == true" when = "create_workspace == true"

File diff suppressed because one or more lines are too long

View File

@ -1,13 +1,13 @@
# AI Service Configuration Form # AI Service Configuration Form
# Sections for AI Service deployment with RAG/MCP integration # Sections for AI Service deployment with RAG/MCP integration
description = "Configure AI Service with RAG and MCP integration"
title = "AI Service Configuration" title = "AI Service Configuration"
description = "Configure AI Service with RAG and MCP integration"
sections = [ sections = [
{ name = "server", label = "Server Settings", description = "HTTP server and worker configuration" }, { name = "server", label = "Server Settings", description = "HTTP server and worker configuration" },
{ name = "rag_integration", label = "RAG Integration", description = "Retrieval-Augmented Generation service integration" }, { name = "rag_integration", label = "RAG Integration", description = "Retrieval-Augmented Generation service integration" },
{ name = "mcp_integration", label = "MCP Integration", description = "Model Context Protocol service integration" }, { name = "mcp_integration", label = "MCP Integration", description = "Model Context Protocol service integration" },
{ name = "dag", label = "DAG Execution", description = "Directed Acyclic Graph task execution settings" }, { name = "dag", label = "DAG Execution", description = "Directed Acyclic Graph task execution settings" },
{ name = "monitoring", label = "Monitoring", description = "Health checks and observability" }, { name = "monitoring", label = "Monitoring", description = "Health checks and observability" }
] ]

View File

@ -1,7 +1,7 @@
name = "control_center_configuration"
description = "Interactive configuration for Control Center service (policy and RBAC management)" description = "Interactive configuration for Control Center service (policy and RBAC management)"
display_mode = "complete" display_mode = "complete"
fallback_locale = "en-US" fallback_locale = "en-US"
name = "control_center_configuration"
# ============================================================================ # ============================================================================
# CONTROL CENTER SERVICE FORM - COMPOSED FROM FRAGMENTS # CONTROL CENTER SERVICE FORM - COMPOSED FROM FRAGMENTS
@ -13,109 +13,106 @@ name = "control_center_configuration"
# DEPLOYMENT MODE SELECTION # DEPLOYMENT MODE SELECTION
# Determines service resources and feature set (solo/multiuser/cicd/enterprise) # Determines service resources and feature set (solo/multiuser/cicd/enterprise)
[[items]] [[items]]
description = "Select deployment mode and database backend"
includes = [
"fragments/deployment/mode-selection.toml",
"fragments/deployment/database-backend-selection.toml",
]
name = "deployment_mode_group" name = "deployment_mode_group"
title = "Deployment Configuration"
type = "group" type = "group"
title = "Deployment Configuration"
description = "Select deployment mode and database backend"
includes = ["fragments/deployment/mode-selection.toml", "fragments/deployment/database-backend-selection.toml"]
# WORKSPACE CONFIGURATION # WORKSPACE CONFIGURATION
# Workspace name, path, and context # Workspace name, path, and context
[[items]] [[items]]
name = "workspace_group"
type = "group"
title = "Workspace Settings"
description = "Configure workspace context for this Control Center instance" description = "Configure workspace context for this Control Center instance"
includes = ["fragments/workspace-section.toml"] includes = ["fragments/workspace-section.toml"]
name = "workspace_group"
title = "Workspace Settings"
type = "group"
# SERVER CONFIGURATION # SERVER CONFIGURATION
# HTTP server settings (host, port, workers, connections) # HTTP server settings (host, port, workers, connections)
[[items]] [[items]]
name = "server_group"
type = "group"
title = "Server Settings"
description = "Configure HTTP server for Control Center" description = "Configure HTTP server for Control Center"
includes = ["fragments/server-section.toml"] includes = ["fragments/server-section.toml"]
name = "server_group"
title = "Server Settings"
type = "group"
# DATABASE BACKEND CONFIGURATION # DATABASE BACKEND CONFIGURATION
# Conditional sections based on selected backend # Conditional sections based on selected backend
[[items]] [[items]]
condition = "database_backend_selection == 'rocksdb'"
description = "Configure RocksDB backend for policy storage"
includes = ["fragments/database-rocksdb-section.toml"]
name = "database_rocksdb_group" name = "database_rocksdb_group"
type = "group"
title = "RocksDB Configuration" title = "RocksDB Configuration"
type = "group" description = "Configure RocksDB backend for policy storage"
condition = "database_backend_selection == 'rocksdb'"
includes = ["fragments/database-rocksdb-section.toml"]
[[items]] [[items]]
condition = "database_backend_selection == 'surrealdb_embedded' || database_backend_selection == 'surrealdb_server'"
description = "Configure SurrealDB backend for policy storage"
includes = ["fragments/database-surrealdb-section.toml"]
name = "database_surrealdb_group" name = "database_surrealdb_group"
title = "SurrealDB Configuration"
type = "group" type = "group"
title = "SurrealDB Configuration"
description = "Configure SurrealDB backend for policy storage"
condition = "database_backend_selection == 'surrealdb_embedded' || database_backend_selection == 'surrealdb_server'"
includes = ["fragments/database-surrealdb-section.toml"]
[[items]] [[items]]
condition = "database_backend_selection == 'postgresql'"
description = "Configure PostgreSQL backend for policy storage"
includes = ["fragments/database-postgres-section.toml"]
name = "database_postgres_group" name = "database_postgres_group"
title = "PostgreSQL Configuration"
type = "group" type = "group"
title = "PostgreSQL Configuration"
description = "Configure PostgreSQL backend for policy storage"
condition = "database_backend_selection == 'postgresql'"
includes = ["fragments/database-postgres-section.toml"]
# CONTROL CENTER-SPECIFIC: SECURITY CONFIGURATION # CONTROL CENTER-SPECIFIC: SECURITY CONFIGURATION
# JWT, RBAC, MFA, rate limiting, TLS, sessions # JWT, RBAC, MFA, rate limiting, TLS, sessions
[[items]] [[items]]
name = "security_group"
type = "group"
title = "Security Configuration"
description = "Configure authentication, authorization, and security settings" description = "Configure authentication, authorization, and security settings"
includes = ["fragments/control-center/security-section.toml"] includes = ["fragments/control-center/security-section.toml"]
name = "security_group"
title = "Security Configuration"
type = "group"
# CONTROL CENTER-SPECIFIC: POLICY CONFIGURATION # CONTROL CENTER-SPECIFIC: POLICY CONFIGURATION
# Policy caching, versioning, management # Policy caching, versioning, management
[[items]] [[items]]
name = "policy_group"
type = "group"
title = "Policy Configuration"
description = "Configure policy engine and policy management" description = "Configure policy engine and policy management"
includes = ["fragments/control-center/policy-section.toml"] includes = ["fragments/control-center/policy-section.toml"]
name = "policy_group"
title = "Policy Configuration"
type = "group"
# CONTROL CENTER-SPECIFIC: USER MANAGEMENT CONFIGURATION # CONTROL CENTER-SPECIFIC: USER MANAGEMENT CONFIGURATION
# User registration, sessions, audit logging # User registration, sessions, audit logging
[[items]] [[items]]
name = "users_group"
type = "group"
title = "User Management Configuration"
description = "Configure user registration, sessions, and audit" description = "Configure user registration, sessions, and audit"
includes = ["fragments/control-center/users-section.toml"] includes = ["fragments/control-center/users-section.toml"]
name = "users_group"
title = "User Management Configuration"
type = "group"
# CONTROL CENTER-SPECIFIC: COMPLIANCE & AUDIT CONFIGURATION # CONTROL CENTER-SPECIFIC: COMPLIANCE & AUDIT CONFIGURATION
# Audit logging, compliance frameworks, data retention, encryption # Audit logging, compliance frameworks, data retention, encryption
[[items]] [[items]]
name = "compliance_group"
type = "group"
title = "Compliance & Audit Configuration"
description = "Configure audit logging, compliance, and data retention" description = "Configure audit logging, compliance, and data retention"
includes = ["fragments/control-center/compliance-section.toml"] includes = ["fragments/control-center/compliance-section.toml"]
name = "compliance_group"
title = "Compliance & Audit Configuration"
type = "group"
# MONITORING CONFIGURATION # MONITORING CONFIGURATION
# Metrics collection, health checks # Metrics collection, health checks
[[items]] [[items]]
name = "monitoring_group"
type = "group"
title = "Monitoring Configuration"
description = "Configure metrics and health checks" description = "Configure metrics and health checks"
includes = ["fragments/monitoring-section.toml"] includes = ["fragments/monitoring-section.toml"]
name = "monitoring_group"
title = "Monitoring Configuration"
type = "group"
# LOGGING CONFIGURATION # LOGGING CONFIGURATION
# Log levels, formats, rotation # Log levels, formats, rotation
[[items]] [[items]]
name = "logging_group"
type = "group"
title = "Logging Configuration"
description = "Configure logging behavior and output" description = "Configure logging behavior and output"
includes = ["fragments/logging-section.toml"] includes = ["fragments/logging-section.toml"]
name = "logging_group"
title = "Logging Configuration"
type = "group"

View File

@ -1,36 +1,36 @@
[form] [form]
description = "Multi-instance extension distribution via Git sources (Gitea, Forgejo, GitHub) and OCI registries"
name = "Extension Registry Configuration" name = "Extension Registry Configuration"
description = "Multi-instance extension distribution via Git sources (Gitea, Forgejo, GitHub) and OCI registries"
version = "2.0" version = "2.0"
[[sections]] [[sections]]
name = "Server Configuration"
description = "Network and performance settings" description = "Network and performance settings"
includes = ["fragments/extension-registry/server.toml"] includes = ["fragments/extension-registry/server.toml"]
name = "Server Configuration"
[[sections]] [[sections]]
name = "Git Sources"
description = "Configure Gitea, Forgejo, and GitHub as extension sources" description = "Configure Gitea, Forgejo, and GitHub as extension sources"
includes = [ includes = [
"fragments/extension-registry/gitea-multi.toml", "fragments/extension-registry/gitea-multi.toml",
"fragments/extension-registry/forgejo-multi.toml", "fragments/extension-registry/forgejo-multi.toml",
"fragments/extension-registry/github-multi.toml", "fragments/extension-registry/github-multi.toml",
] ]
name = "Git Sources"
[[sections]] [[sections]]
name = "OCI Registries"
description = "Configure OCI registries for distribution (Zot, Harbor, Docker Hub, GHCR, Quay)" description = "Configure OCI registries for distribution (Zot, Harbor, Docker Hub, GHCR, Quay)"
includes = ["fragments/extension-registry/oci-multi.toml"] includes = ["fragments/extension-registry/oci-multi.toml"]
name = "OCI Registries"
[[sections]] [[sections]]
name = "Caching"
description = "Cache configuration and TTL settings" description = "Cache configuration and TTL settings"
includes = ["fragments/extension-registry/cache.toml"] includes = ["fragments/extension-registry/cache.toml"]
name = "Caching"
[[sections]] [[sections]]
name = "Legacy Configuration"
description = "Single-instance configuration (automatically migrated to multi-instance format)" description = "Single-instance configuration (automatically migrated to multi-instance format)"
includes = [ includes = [
"fragments/extension-registry/gitea-legacy.toml", "fragments/extension-registry/gitea-legacy.toml",
"fragments/extension-registry/oci-legacy.toml", "fragments/extension-registry/oci-legacy.toml",
] ]
name = "Legacy Configuration"

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
# AI Service DAG Workflow Configuration Fragment # AI Service DAG Workflow Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "ai_dag_header" name = "ai_dag_header"
title = "🔀 DAG Workflow Configuration" title = "🔀 DAG Workflow Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# AI Service MCP Integration Fragment # AI Service MCP Integration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "ai_mcp_header" name = "ai_mcp_header"
title = "🔧 MCP Integration" title = "🔧 MCP Integration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# AI Service Monitoring Configuration Fragment # AI Service Monitoring Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "ai_monitoring_header" name = "ai_monitoring_header"
title = "📊 Monitoring Configuration" title = "📊 Monitoring Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# AI Service RAG Integration Fragment # AI Service RAG Integration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "ai_rag_header" name = "ai_rag_header"
title = "🧠 RAG Integration" title = "🧠 RAG Integration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# AI Service Server Configuration Fragment # AI Service Server Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "ai_service_server_header" name = "ai_service_server_header"
title = "🖥️ Server Configuration" title = "🖥️ Server Configuration"
type = "section_header" type = "section_header"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
# Control Center Compliance & Audit Configuration Fragment # Control Center Compliance & Audit Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "compliance_section_header" name = "compliance_section_header"
title = "✅ Compliance & Audit" title = "✅ Compliance & Audit"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Control Center Policy Engine Configuration Fragment # Control Center Policy Engine Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "policy_section_header" name = "policy_section_header"
title = "📋 Policy Engine Configuration" title = "📋 Policy Engine Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Control Center RBAC Configuration Fragment # Control Center RBAC Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "rbac_section_header" name = "rbac_section_header"
title = "🔐 RBAC Configuration" title = "🔐 RBAC Configuration"
type = "section_header" type = "section_header"

View File

@ -2,8 +2,8 @@
# JWT, RBAC, MFA, rate limiting # JWT, RBAC, MFA, rate limiting
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "security_section_header" name = "security_section_header"
title = "🔐 Security Configuration" title = "🔐 Security Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Control Center User Management Configuration Fragment # Control Center User Management Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "users_section_header" name = "users_section_header"
title = "👥 User Management" title = "👥 User Management"
type = "section_header" type = "section_header"

View File

@ -2,8 +2,8 @@
# Used by: control-center, installer (when backend = postgresql) # Used by: control-center, installer (when backend = postgresql)
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "database_section_header" name = "database_section_header"
title = "💾 PostgreSQL Database Configuration" title = "💾 PostgreSQL Database Configuration"
type = "section_header" type = "section_header"

View File

@ -2,8 +2,8 @@
# Used by: control-center, installer (when backend = rocksdb) # Used by: control-center, installer (when backend = rocksdb)
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "database_section_header" name = "database_section_header"
title = "💾 RocksDB Database Configuration" title = "💾 RocksDB Database Configuration"
type = "section_header" type = "section_header"

View File

@ -2,8 +2,8 @@
# Used by: orchestrator, control-center (when backend = surrealdb) # Used by: orchestrator, control-center (when backend = surrealdb)
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "database_section_header" name = "database_section_header"
title = "💾 SurrealDB Database Configuration" title = "💾 SurrealDB Database Configuration"
type = "section_header" type = "section_header"

View File

@ -3,8 +3,8 @@
# Based on the selection, include the corresponding database-*-section.toml fragment # Based on the selection, include the corresponding database-*-section.toml fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "database_backend_selection_header" name = "database_backend_selection_header"
title = "🗄️ Database Backend Selection" title = "🗄️ Database Backend Selection"
type = "section_header" type = "section_header"
@ -25,69 +25,69 @@ condition = "database_backend_selection == 'rocksdb'"
default = false default = false
help = "RocksDB: Embedded key-value store. Zero external dependencies, local filesystem storage, good for solo/multiuser modes. Limited to single instance." help = "RocksDB: Embedded key-value store. Zero external dependencies, local filesystem storage, good for solo/multiuser modes. Limited to single instance."
name = "rocksdb_info" name = "rocksdb_info"
prompt = "RocksDB Info"
type = "info" type = "info"
prompt = "RocksDB Info"
[[elements]] [[elements]]
condition = "database_backend_selection == 'surrealdb_embedded'" condition = "database_backend_selection == 'surrealdb_embedded'"
default = false default = false
help = "SurrealDB (Embedded): In-process SurrealDB. No external server needed, queryable JSON/SQL, suitable for small to medium deployments." help = "SurrealDB (Embedded): In-process SurrealDB. No external server needed, queryable JSON/SQL, suitable for small to medium deployments."
name = "surrealdb_embedded_info" name = "surrealdb_embedded_info"
prompt = "SurrealDB Embedded Info"
type = "info" type = "info"
prompt = "SurrealDB Embedded Info"
[[elements]] [[elements]]
condition = "database_backend_selection == 'surrealdb_server'" condition = "database_backend_selection == 'surrealdb_server'"
default = false default = false
help = "SurrealDB (Server): External SurrealDB server. Scalable multi-instance, HA ready, suitable for multiuser/enterprise modes." help = "SurrealDB (Server): External SurrealDB server. Scalable multi-instance, HA ready, suitable for multiuser/enterprise modes."
name = "surrealdb_server_info" name = "surrealdb_server_info"
prompt = "SurrealDB Server Info"
type = "info" type = "info"
prompt = "SurrealDB Server Info"
[[elements]] [[elements]]
condition = "database_backend_selection == 'postgresql'" condition = "database_backend_selection == 'postgresql'"
default = false default = false
help = "PostgreSQL: Traditional RDBMS. Proven stability, full ACID, complex queries, suitable for enterprise with HA via replication." help = "PostgreSQL: Traditional RDBMS. Proven stability, full ACID, complex queries, suitable for enterprise with HA via replication."
name = "postgresql_info" name = "postgresql_info"
prompt = "PostgreSQL Info"
type = "info" type = "info"
prompt = "PostgreSQL Info"
# Backend Selection Guidelines # Backend Selection Guidelines
[[elements]] [[elements]]
border_bottom = true
border_top = true
name = "backend_selection_guide" name = "backend_selection_guide"
title = "Backend Selection Guide"
type = "section_header" type = "section_header"
title = "Backend Selection Guide"
border_top = true
border_bottom = true
[[elements]] [[elements]]
condition = "deployment_mode == 'solo'" condition = "deployment_mode == 'solo'"
default = false default = false
help = "Recommended for Solo: RocksDB (simplest) or SurrealDB Embedded (more features, same simplicity)" help = "Recommended for Solo: RocksDB (simplest) or SurrealDB Embedded (more features, same simplicity)"
name = "solo_recommendation" name = "solo_recommendation"
prompt = "Solo Recommendation"
type = "info" type = "info"
prompt = "Solo Recommendation"
[[elements]] [[elements]]
condition = "deployment_mode == 'multiuser'" condition = "deployment_mode == 'multiuser'"
default = false default = false
help = "Recommended for MultiUser: SurrealDB Server (scalable, easy clustering) or PostgreSQL (if you need traditional RDBMS)" help = "Recommended for MultiUser: SurrealDB Server (scalable, easy clustering) or PostgreSQL (if you need traditional RDBMS)"
name = "multiuser_recommendation" name = "multiuser_recommendation"
prompt = "MultiUser Recommendation"
type = "info" type = "info"
prompt = "MultiUser Recommendation"
[[elements]] [[elements]]
condition = "deployment_mode == 'cicd'" condition = "deployment_mode == 'cicd'"
default = false default = false
help = "Recommended for CI/CD: SurrealDB Embedded (ephemeral, no external deps) or RocksDB (fastest)" help = "Recommended for CI/CD: SurrealDB Embedded (ephemeral, no external deps) or RocksDB (fastest)"
name = "cicd_recommendation" name = "cicd_recommendation"
prompt = "CI/CD Recommendation"
type = "info" type = "info"
prompt = "CI/CD Recommendation"
[[elements]] [[elements]]
condition = "deployment_mode == 'enterprise'" condition = "deployment_mode == 'enterprise'"
default = false default = false
help = "Recommended for Enterprise: SurrealDB Server HA (native clustering) or PostgreSQL with replication + external backup service" help = "Recommended for Enterprise: SurrealDB Server HA (native clustering) or PostgreSQL with replication + external backup service"
name = "enterprise_recommendation" name = "enterprise_recommendation"
prompt = "Enterprise Recommendation"
type = "info" type = "info"
prompt = "Enterprise Recommendation"

View File

@ -1,8 +1,8 @@
# Deployment Mode Selection Fragment # Deployment Mode Selection Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "deployment_mode_section_header" name = "deployment_mode_section_header"
title = "🚀 Deployment Mode" title = "🚀 Deployment Mode"
type = "section_header" type = "section_header"
@ -19,11 +19,11 @@ type = "select"
# Mode Descriptions # Mode Descriptions
[[elements]] [[elements]]
border_bottom = true
border_top = false
name = "mode_description" name = "mode_description"
title = "Mode Details"
type = "section_header" type = "section_header"
title = "Mode Details"
border_top = false
border_bottom = true
# Solo Mode Info (conditional) # Solo Mode Info (conditional)
[[elements]] [[elements]]
@ -67,29 +67,29 @@ condition = "deployment_mode == 'solo'"
default = false default = false
help = "Resources: 2 CPU, 4GB RAM | Storage: 50GB | Database: Filesystem or RocksDB | Security: Optional | HA: None" help = "Resources: 2 CPU, 4GB RAM | Storage: 50GB | Database: Filesystem or RocksDB | Security: Optional | HA: None"
name = "solo_resources_info" name = "solo_resources_info"
prompt = "Solo Resources"
type = "text" type = "text"
prompt = "Solo Resources"
[[elements]] [[elements]]
condition = "deployment_mode == 'multiuser'" condition = "deployment_mode == 'multiuser'"
default = false default = false
help = "Resources: 4 CPU, 8GB RAM | Storage: 100GB | Database: PostgreSQL or SurrealDB | Security: RBAC | HA: Optional" help = "Resources: 4 CPU, 8GB RAM | Storage: 100GB | Database: PostgreSQL or SurrealDB | Security: RBAC | HA: Optional"
name = "multiuser_resources_info" name = "multiuser_resources_info"
prompt = "MultiUser Resources"
type = "text" type = "text"
prompt = "MultiUser Resources"
[[elements]] [[elements]]
condition = "deployment_mode == 'cicd'" condition = "deployment_mode == 'cicd'"
default = false default = false
help = "Resources: 8 CPU, 16GB RAM | Storage: 200GB (ephemeral) | Database: Embedded | Security: API tokens | HA: None" help = "Resources: 8 CPU, 16GB RAM | Storage: 200GB (ephemeral) | Database: Embedded | Security: API tokens | HA: None"
name = "cicd_resources_info" name = "cicd_resources_info"
prompt = "CI/CD Resources"
type = "text" type = "text"
prompt = "CI/CD Resources"
[[elements]] [[elements]]
condition = "deployment_mode == 'enterprise'" condition = "deployment_mode == 'enterprise'"
default = false default = false
help = "Resources: 16+ CPU, 32+ GB RAM | Storage: 500GB+ | Database: SurrealDB Cluster HA | Security: MFA, Vault | HA: Full clustering" help = "Resources: 16+ CPU, 32+ GB RAM | Storage: 500GB+ | Database: SurrealDB Cluster HA | Security: MFA, Vault | HA: Full clustering"
name = "enterprise_resources_info" name = "enterprise_resources_info"
prompt = "Enterprise Resources"
type = "text" type = "text"
prompt = "Enterprise Resources"

View File

@ -1,8 +1,8 @@
# Extension Registry Authentication Fragment # Extension Registry Authentication Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "registry_auth_header" name = "registry_auth_header"
title = "🔐 Authentication" title = "🔐 Authentication"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Extension Registry Cache Configuration Fragment # Extension Registry Cache Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "registry_cache_header" name = "registry_cache_header"
title = "⚡ Cache Configuration" title = "⚡ Cache Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Extension Registry Gitea Configuration Fragment # Extension Registry Gitea Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "registry_gitea_header" name = "registry_gitea_header"
title = "🐙 Gitea Configuration" title = "🐙 Gitea Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Extension Registry OCI Configuration Fragment # Extension Registry OCI Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "registry_oci_header" name = "registry_oci_header"
title = "📦 OCI Registry Configuration" title = "📦 OCI Registry Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Extension Registry Server Configuration Fragment # Extension Registry Server Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "registry_server_header" name = "registry_server_header"
title = "🖥️ Server Configuration" title = "🖥️ Server Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Installer Database Configuration Fragment # Installer Database Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "database_section_header" name = "database_section_header"
title = "🗄️ Database Configuration" title = "🗄️ Database Configuration"
type = "section_header" type = "section_header"
@ -105,8 +105,8 @@ type = "confirm"
condition = "backup_before_install == true" condition = "backup_before_install == true"
default = 7 default = 7
help = "Backup retention in days" help = "Backup retention in days"
max = 365
min = 1 min = 1
max = 365
name = "backup_retention_days" name = "backup_retention_days"
nickel_path = ["installer", "database", "backup", "retention_days"] nickel_path = ["installer", "database", "backup", "retention_days"]
prompt = "Backup Retention (days)" prompt = "Backup Retention (days)"

View File

@ -1,8 +1,8 @@
# Installer High Availability Configuration Fragment # Installer High Availability Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "ha_section_header" name = "ha_section_header"
title = "🔄 High Availability" title = "🔄 High Availability"
type = "section_header" type = "section_header"
@ -21,8 +21,8 @@ type = "confirm"
condition = "ha_enabled == true" condition = "ha_enabled == true"
default = 3 default = 3
help = "Number of nodes in the HA cluster" help = "Number of nodes in the HA cluster"
max = 256
min = 3 min = 3
max = 256
name = "ha_cluster_size" name = "ha_cluster_size"
nickel_path = ["installer", "ha", "cluster_size"] nickel_path = ["installer", "ha", "cluster_size"]
prompt = "Cluster Size" prompt = "Cluster Size"
@ -103,8 +103,8 @@ type = "confirm"
condition = "ha_health_checks_enabled == true" condition = "ha_health_checks_enabled == true"
default = 10 default = 10
help = "Health check interval in seconds" help = "Health check interval in seconds"
max = 120
min = 1 min = 1
max = 120
name = "ha_health_check_interval" name = "ha_health_check_interval"
nickel_path = ["installer", "ha", "health_checks", "interval_seconds"] nickel_path = ["installer", "ha", "health_checks", "interval_seconds"]
prompt = "Health Check Interval (seconds)" prompt = "Health Check Interval (seconds)"
@ -114,8 +114,8 @@ type = "number"
condition = "ha_health_checks_enabled == true" condition = "ha_health_checks_enabled == true"
default = 30000 default = 30000
help = "Health check timeout in milliseconds" help = "Health check timeout in milliseconds"
max = 300000
min = 1000 min = 1000
max = 300000
name = "ha_health_check_timeout" name = "ha_health_check_timeout"
nickel_path = ["installer", "ha", "health_checks", "timeout_ms"] nickel_path = ["installer", "ha", "health_checks", "timeout_ms"]
prompt = "Health Check Timeout (ms)" prompt = "Health Check Timeout (ms)"
@ -125,8 +125,8 @@ type = "number"
condition = "ha_health_checks_enabled == true" condition = "ha_health_checks_enabled == true"
default = 3 default = 3
help = "Number of failed checks before marking node as unhealthy" help = "Number of failed checks before marking node as unhealthy"
max = 10
min = 1 min = 1
max = 10
name = "ha_health_check_failure_threshold" name = "ha_health_check_failure_threshold"
nickel_path = ["installer", "ha", "health_checks", "failure_threshold"] nickel_path = ["installer", "ha", "health_checks", "failure_threshold"]
prompt = "Failure Threshold" prompt = "Failure Threshold"
@ -156,8 +156,8 @@ type = "select"
condition = "ha_failover_enabled == true" condition = "ha_failover_enabled == true"
default = 60 default = 60
help = "Failover delay in seconds (wait before failing over)" help = "Failover delay in seconds (wait before failing over)"
max = 600
min = 0 min = 0
max = 600
name = "ha_failover_delay" name = "ha_failover_delay"
nickel_path = ["installer", "ha", "failover", "delay_seconds"] nickel_path = ["installer", "ha", "failover", "delay_seconds"]
prompt = "Failover Delay (seconds)" prompt = "Failover Delay (seconds)"
@ -167,8 +167,8 @@ type = "number"
condition = "ha_failover_enabled == true && ha_failover_strategy == 'priority_based'" condition = "ha_failover_enabled == true && ha_failover_strategy == 'priority_based'"
default = 100 default = 100
help = "Priority value for node selection in failover (higher = higher priority)" help = "Priority value for node selection in failover (higher = higher priority)"
max = 1000
min = 0 min = 0
max = 1000
name = "ha_node_priority" name = "ha_node_priority"
nickel_path = ["installer", "ha", "failover", "node_priority"] nickel_path = ["installer", "ha", "failover", "node_priority"]
prompt = "Node Priority" prompt = "Node Priority"
@ -188,8 +188,8 @@ type = "confirm"
condition = "ha_split_brain_enabled == true" condition = "ha_split_brain_enabled == true"
default = 30 default = 30
help = "Timeout for detecting split-brain in seconds" help = "Timeout for detecting split-brain in seconds"
max = 300
min = 5 min = 5
max = 300
name = "ha_split_brain_timeout" name = "ha_split_brain_timeout"
nickel_path = ["installer", "ha", "split_brain", "timeout_seconds"] nickel_path = ["installer", "ha", "split_brain", "timeout_seconds"]
prompt = "Split-Brain Timeout (seconds)" prompt = "Split-Brain Timeout (seconds)"
@ -230,8 +230,8 @@ type = "number"
condition = "ha_backup_enabled == true" condition = "ha_backup_enabled == true"
default = 7 default = 7
help = "Backup retention in days" help = "Backup retention in days"
max = 365
min = 1 min = 1
max = 365
name = "ha_backup_retention_days" name = "ha_backup_retention_days"
nickel_path = ["installer", "ha", "backup", "retention_days"] nickel_path = ["installer", "ha", "backup", "retention_days"]
prompt = "Backup Retention (days)" prompt = "Backup Retention (days)"

View File

@ -1,8 +1,8 @@
# Installer Installation Strategy Configuration Fragment # Installer Installation Strategy Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "installation_section_header" name = "installation_section_header"
title = "🔧 Installation Strategy" title = "🔧 Installation Strategy"
type = "section_header" type = "section_header"
@ -216,8 +216,8 @@ type = "confirm"
condition = "auto_recovery_enabled == true" condition = "auto_recovery_enabled == true"
default = 3 default = 3
help = "Maximum number of recovery attempts" help = "Maximum number of recovery attempts"
max = 10
min = 1 min = 1
max = 10
name = "auto_recovery_max_attempts" name = "auto_recovery_max_attempts"
nickel_path = ["installer", "installation", "auto_recovery", "max_attempts"] nickel_path = ["installer", "installation", "auto_recovery", "max_attempts"]
prompt = "Max Recovery Attempts" prompt = "Max Recovery Attempts"

View File

@ -1,8 +1,8 @@
# Installer Networking Configuration Fragment # Installer Networking Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "installer_networking_section_header" name = "installer_networking_section_header"
title = "🌐 Networking Configuration" title = "🌐 Networking Configuration"
type = "section_header" type = "section_header"
@ -56,8 +56,8 @@ type = "text"
condition = "configure_dns == true" condition = "configure_dns == true"
default = 53 default = 53
help = "DNS server port" help = "DNS server port"
max = 65535
min = 1 min = 1
max = 65535
name = "dns_port" name = "dns_port"
nickel_path = ["installer", "networking", "dns", "port"] nickel_path = ["installer", "networking", "dns", "port"]
prompt = "DNS Port" prompt = "DNS Port"

View File

@ -1,8 +1,8 @@
# Installer Post-Installation Configuration Fragment # Installer Post-Installation Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "post_install_section_header" name = "post_install_section_header"
title = "✨ Post-Installation" title = "✨ Post-Installation"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Installer Preflight Checks Configuration Fragment # Installer Preflight Checks Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "preflight_section_header" name = "preflight_section_header"
title = "✅ Preflight Checks" title = "✅ Preflight Checks"
type = "section_header" type = "section_header"
@ -40,8 +40,8 @@ type = "confirm"
condition = "check_memory == true" condition = "check_memory == true"
default = 4 default = 4
help = "Minimum required RAM in GB" help = "Minimum required RAM in GB"
max = 512
min = 1 min = 1
max = 512
name = "min_memory_gb" name = "min_memory_gb"
nickel_path = ["installer", "preflight", "memory_check", "min_memory_gb"] nickel_path = ["installer", "preflight", "memory_check", "min_memory_gb"]
prompt = "Min Memory (GB)" prompt = "Min Memory (GB)"
@ -60,8 +60,8 @@ type = "confirm"
condition = "check_cpu == true" condition = "check_cpu == true"
default = 2 default = 2
help = "Minimum required CPU cores" help = "Minimum required CPU cores"
max = 128
min = 1 min = 1
max = 128
name = "min_cpu_cores" name = "min_cpu_cores"
nickel_path = ["installer", "preflight", "cpu_check", "min_cpu_cores"] nickel_path = ["installer", "preflight", "cpu_check", "min_cpu_cores"]
prompt = "Min CPU Cores" prompt = "Min CPU Cores"

View File

@ -1,8 +1,8 @@
# Installer Services Selection Fragment # Installer Services Selection Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "services_section_header" name = "services_section_header"
title = "🚀 Services Selection" title = "🚀 Services Selection"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Installer Storage Configuration Fragment # Installer Storage Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "installer_storage_section_header" name = "installer_storage_section_header"
title = "💾 Storage Configuration" title = "💾 Storage Configuration"
type = "section_header" type = "section_header"
@ -218,8 +218,8 @@ type = "confirm"
condition = "storage_cleanup_enabled == true" condition = "storage_cleanup_enabled == true"
default = 90 default = 90
help = "Retention period for archived data in days" help = "Retention period for archived data in days"
max = 3650
min = 7 min = 7
max = 3650
name = "storage_cleanup_retention_days" name = "storage_cleanup_retention_days"
nickel_path = ["installer", "storage", "cleanup", "retention_days"] nickel_path = ["installer", "storage", "cleanup", "retention_days"]
prompt = "Retention Period (days)" prompt = "Retention Period (days)"

View File

@ -1,8 +1,8 @@
# Installer Target Configuration Fragment # Installer Target Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "target_section_header" name = "target_section_header"
title = "🎯 Installation Target" title = "🎯 Installation Target"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Installer Upgrades Configuration Fragment # Installer Upgrades Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "upgrades_section_header" name = "upgrades_section_header"
title = "📦 Upgrades Configuration" title = "📦 Upgrades Configuration"
type = "section_header" type = "section_header"
@ -58,8 +58,8 @@ type = "select"
condition = "upgrade_strategy == 'rolling'" condition = "upgrade_strategy == 'rolling'"
default = 1 default = 1
help = "Number of services to upgrade in parallel" help = "Number of services to upgrade in parallel"
max = 10
min = 1 min = 1
max = 10
name = "rolling_upgrade_parallel" name = "rolling_upgrade_parallel"
nickel_path = ["installer", "upgrades", "rolling", "parallel_services"] nickel_path = ["installer", "upgrades", "rolling", "parallel_services"]
prompt = "Parallel Services" prompt = "Parallel Services"
@ -69,8 +69,8 @@ type = "number"
condition = "upgrade_strategy == 'canary'" condition = "upgrade_strategy == 'canary'"
default = 10 default = 10
help = "Percentage of traffic to route to canary version" help = "Percentage of traffic to route to canary version"
max = 50
min = 1 min = 1
max = 50
name = "canary_percentage" name = "canary_percentage"
nickel_path = ["installer", "upgrades", "canary", "traffic_percentage"] nickel_path = ["installer", "upgrades", "canary", "traffic_percentage"]
prompt = "Canary Traffic %" prompt = "Canary Traffic %"
@ -185,8 +185,8 @@ type = "select"
condition = "backup_before_upgrade == true" condition = "backup_before_upgrade == true"
default = 30 default = 30
help = "Backup timeout in minutes" help = "Backup timeout in minutes"
max = 1440
min = 5 min = 5
max = 1440
name = "backup_timeout_minutes" name = "backup_timeout_minutes"
nickel_path = ["installer", "upgrades", "backup_timeout_minutes"] nickel_path = ["installer", "upgrades", "backup_timeout_minutes"]
prompt = "Backup Timeout (minutes)" prompt = "Backup Timeout (minutes)"

View File

@ -2,8 +2,8 @@
# Optional for all services # Optional for all services
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "logging_section_header" name = "logging_section_header"
title = "📝 Logging Configuration" title = "📝 Logging Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# MCP Server Prompts Configuration Fragment # MCP Server Prompts Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "prompts_section_header" name = "prompts_section_header"
title = "💬 Prompts Configuration" title = "💬 Prompts Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# MCP Server Resources Configuration Fragment # MCP Server Resources Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "resources_section_header" name = "resources_section_header"
title = "📦 Resources Configuration" title = "📦 Resources Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# MCP Server Sampling Configuration Fragment # MCP Server Sampling Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "sampling_section_header" name = "sampling_section_header"
title = "🎲 Sampling Configuration" title = "🎲 Sampling Configuration"
type = "section_header" type = "section_header"
@ -39,8 +39,8 @@ type = "text"
condition = "sampling_enabled == true" condition = "sampling_enabled == true"
default = 0.7 default = 0.7
help = "Temperature for sampling (0.0-2.0, higher = more creative)" help = "Temperature for sampling (0.0-2.0, higher = more creative)"
max = 2.0
min = 0.0 min = 0.0
max = 2.0
name = "sampling_temperature" name = "sampling_temperature"
nickel_path = ["sampling", "temperature"] nickel_path = ["sampling", "temperature"]
prompt = "Temperature" prompt = "Temperature"

View File

@ -1,8 +1,8 @@
# MCP Server Tools Configuration Fragment # MCP Server Tools Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "tools_section_header" name = "tools_section_header"
title = "🔧 Tools Configuration" title = "🔧 Tools Configuration"
type = "section_header" type = "section_header"
@ -30,8 +30,8 @@ type = "number"
condition = "tools_enabled == true" condition = "tools_enabled == true"
default = 30000 default = 30000
help = "Tool execution timeout in milliseconds (range: ${constraint.mcp_server.tools.timeout.min}-${constraint.mcp_server.tools.timeout.max})" help = "Tool execution timeout in milliseconds (range: ${constraint.mcp_server.tools.timeout.min}-${constraint.mcp_server.tools.timeout.max})"
max = "${constraint.mcp_server.tools.timeout.max}"
min = "${constraint.mcp_server.tools.timeout.min}" min = "${constraint.mcp_server.tools.timeout.min}"
max = "${constraint.mcp_server.tools.timeout.max}"
name = "tools_timeout" name = "tools_timeout"
nickel_path = ["tools", "timeout"] nickel_path = ["tools", "timeout"]
prompt = "Tool Timeout (ms)" prompt = "Tool Timeout (ms)"

View File

@ -2,8 +2,8 @@
# Optional for all services # Optional for all services
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "monitoring_section_header" name = "monitoring_section_header"
title = "📊 Monitoring Configuration" title = "📊 Monitoring Configuration"
type = "section_header" type = "section_header"
@ -29,8 +29,8 @@ type = "confirm"
condition = "monitoring_enabled == true && monitoring_metrics_enabled == true" condition = "monitoring_enabled == true && monitoring_metrics_enabled == true"
default = 60 default = 60
help = "Metrics collection interval in seconds (range: ${constraint.common.monitoring.metrics_interval.min}-${constraint.common.monitoring.metrics_interval.max})" help = "Metrics collection interval in seconds (range: ${constraint.common.monitoring.metrics_interval.min}-${constraint.common.monitoring.metrics_interval.max})"
max = "${constraint.common.monitoring.metrics_interval.max}"
min = "${constraint.common.monitoring.metrics_interval.min}" min = "${constraint.common.monitoring.metrics_interval.min}"
max = "${constraint.common.monitoring.metrics_interval.max}"
name = "monitoring_metrics_interval" name = "monitoring_metrics_interval"
nickel_path = ["monitoring", "metrics", "interval"] nickel_path = ["monitoring", "metrics", "interval"]
prompt = "Metrics Collection Interval (seconds)" prompt = "Metrics Collection Interval (seconds)"

View File

@ -1,8 +1,8 @@
# Orchestrator Batch Workflow Configuration Fragment # Orchestrator Batch Workflow Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "batch_section_header" name = "batch_section_header"
title = "🔄 Batch Workflow Configuration" title = "🔄 Batch Workflow Configuration"
type = "section_header" type = "section_header"
@ -20,8 +20,8 @@ type = "number"
[[elements]] [[elements]]
default = 1800000 default = 1800000
help = "Batch operation timeout in milliseconds (range: ${constraint.orchestrator.batch.operation_timeout.min}-${constraint.orchestrator.batch.operation_timeout.max})" help = "Batch operation timeout in milliseconds (range: ${constraint.orchestrator.batch.operation_timeout.min}-${constraint.orchestrator.batch.operation_timeout.max})"
max = "${constraint.orchestrator.batch.operation_timeout.max}"
min = "${constraint.orchestrator.batch.operation_timeout.min}" min = "${constraint.orchestrator.batch.operation_timeout.min}"
max = "${constraint.orchestrator.batch.operation_timeout.max}"
name = "batch_operation_timeout" name = "batch_operation_timeout"
nickel_path = ["batch", "operation_timeout"] nickel_path = ["batch", "operation_timeout"]
prompt = "Operation Timeout (ms)" prompt = "Operation Timeout (ms)"

View File

@ -1,8 +1,8 @@
# Orchestrator Extensions Configuration Fragment # Orchestrator Extensions Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "extensions_section_header" name = "extensions_section_header"
title = "🔌 Extensions Configuration" title = "🔌 Extensions Configuration"
type = "section_header" type = "section_header"
@ -123,8 +123,8 @@ type = "number"
condition = "auto_load_extensions == true && extensions_sandbox_enabled == true" condition = "auto_load_extensions == true && extensions_sandbox_enabled == true"
default = 1 default = 1
help = "Maximum CPU cores for sandboxed extension" help = "Maximum CPU cores for sandboxed extension"
max = 8
min = 0.1 min = 0.1
max = 8
name = "extensions_sandbox_max_cpu" name = "extensions_sandbox_max_cpu"
nickel_path = ["orchestrator", "extensions", "sandbox", "max_cpu"] nickel_path = ["orchestrator", "extensions", "sandbox", "max_cpu"]
prompt = "Max CPU Cores" prompt = "Max CPU Cores"
@ -174,8 +174,8 @@ type = "number"
condition = "auto_load_extensions == true && extensions_health_check_enabled == true" condition = "auto_load_extensions == true && extensions_health_check_enabled == true"
default = 3 default = 3
help = "Number of failed health checks before unloading extension" help = "Number of failed health checks before unloading extension"
max = 10
min = 1 min = 1
max = 10
name = "extensions_health_check_failure_threshold" name = "extensions_health_check_failure_threshold"
nickel_path = ["orchestrator", "extensions", "health_check", "failure_threshold"] nickel_path = ["orchestrator", "extensions", "health_check", "failure_threshold"]
prompt = "Failure Threshold" prompt = "Failure Threshold"

View File

@ -1,8 +1,8 @@
# Orchestrator Performance Configuration Fragment # Orchestrator Performance Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "performance_section_header" name = "performance_section_header"
title = "⚡ Performance Configuration" title = "⚡ Performance Configuration"
type = "section_header" type = "section_header"
@ -39,8 +39,8 @@ type = "confirm"
condition = "memory_limits_enabled == true" condition = "memory_limits_enabled == true"
default = 4096 default = 4096
help = "Maximum heap memory in MB" help = "Maximum heap memory in MB"
max = 131072
min = 256 min = 256
max = 131072
name = "memory_max_heap_mb" name = "memory_max_heap_mb"
nickel_path = ["orchestrator", "performance", "memory_limits", "max_heap_mb"] nickel_path = ["orchestrator", "performance", "memory_limits", "max_heap_mb"]
prompt = "Max Heap Memory (MB)" prompt = "Max Heap Memory (MB)"
@ -61,8 +61,8 @@ type = "number"
condition = "memory_limits_enabled == true" condition = "memory_limits_enabled == true"
default = 80 default = 80
help = "Garbage collection trigger threshold (%)" help = "Garbage collection trigger threshold (%)"
max = 95
min = 50 min = 50
max = 95
name = "memory_gc_threshold_percent" name = "memory_gc_threshold_percent"
nickel_path = ["orchestrator", "performance", "memory_limits", "gc_threshold_percent"] nickel_path = ["orchestrator", "performance", "memory_limits", "gc_threshold_percent"]
prompt = "GC Threshold (%)" prompt = "GC Threshold (%)"
@ -91,8 +91,8 @@ type = "select"
condition = "profiling_enabled == true" condition = "profiling_enabled == true"
default = 100 default = 100
help = "Profiling sampling rate in Hz (samples per second)" help = "Profiling sampling rate in Hz (samples per second)"
max = 1000
min = 10 min = 10
max = 1000
name = "profiling_sample_rate" name = "profiling_sample_rate"
nickel_path = ["orchestrator", "performance", "profiling", "sample_rate_hz"] nickel_path = ["orchestrator", "performance", "profiling", "sample_rate_hz"]
prompt = "Sampling Rate (Hz)" prompt = "Sampling Rate (Hz)"
@ -172,8 +172,8 @@ type = "number"
[[elements]] [[elements]]
default = 4 default = 4
help = "Number of worker threads for task execution" help = "Number of worker threads for task execution"
max = 256
min = 1 min = 1
max = 256
name = "thread_pool_size" name = "thread_pool_size"
nickel_path = ["orchestrator", "performance", "thread_pool", "size"] nickel_path = ["orchestrator", "performance", "thread_pool", "size"]
prompt = "Thread Pool Size" prompt = "Thread Pool Size"
@ -182,8 +182,8 @@ type = "number"
[[elements]] [[elements]]
default = 128 default = 128
help = "Work queue size per worker thread" help = "Work queue size per worker thread"
max = 10000
min = 8 min = 8
max = 10000
name = "thread_pool_queue_size" name = "thread_pool_queue_size"
nickel_path = ["orchestrator", "performance", "thread_pool", "queue_size"] nickel_path = ["orchestrator", "performance", "thread_pool", "queue_size"]
prompt = "Work Queue Size" prompt = "Work Queue Size"
@ -211,8 +211,8 @@ type = "confirm"
condition = "async_io_enabled == true" condition = "async_io_enabled == true"
default = 4 default = 4
help = "Number of I/O worker threads" help = "Number of I/O worker threads"
max = 32
min = 1 min = 1
max = 32
name = "async_io_worker_threads" name = "async_io_worker_threads"
nickel_path = ["orchestrator", "performance", "async_io", "worker_threads"] nickel_path = ["orchestrator", "performance", "async_io", "worker_threads"]
prompt = "I/O Worker Threads" prompt = "I/O Worker Threads"

View File

@ -1,8 +1,8 @@
# Orchestrator Queue Configuration Fragment # Orchestrator Queue Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "queue_section_header" name = "queue_section_header"
title = "📦 Queue Configuration" title = "📦 Queue Configuration"
type = "section_header" type = "section_header"
@ -20,8 +20,8 @@ type = "number"
[[elements]] [[elements]]
default = 3 default = 3
help = "Number of retry attempts for failed tasks (range: ${constraint.orchestrator.queue.retry_attempts.min}-${constraint.orchestrator.queue.retry_attempts.max})" help = "Number of retry attempts for failed tasks (range: ${constraint.orchestrator.queue.retry_attempts.min}-${constraint.orchestrator.queue.retry_attempts.max})"
max = "${constraint.orchestrator.queue.retry_attempts.max}"
min = "${constraint.orchestrator.queue.retry_attempts.min}" min = "${constraint.orchestrator.queue.retry_attempts.min}"
max = "${constraint.orchestrator.queue.retry_attempts.max}"
name = "queue_retry_attempts" name = "queue_retry_attempts"
nickel_path = ["queue", "retry_attempts"] nickel_path = ["queue", "retry_attempts"]
prompt = "Retry Attempts" prompt = "Retry Attempts"
@ -30,8 +30,8 @@ type = "number"
[[elements]] [[elements]]
default = 5000 default = 5000
help = "Delay in milliseconds between retry attempts (range: ${constraint.orchestrator.queue.retry_delay.min}-${constraint.orchestrator.queue.retry_delay.max})" help = "Delay in milliseconds between retry attempts (range: ${constraint.orchestrator.queue.retry_delay.min}-${constraint.orchestrator.queue.retry_delay.max})"
max = "${constraint.orchestrator.queue.retry_delay.max}"
min = "${constraint.orchestrator.queue.retry_delay.min}" min = "${constraint.orchestrator.queue.retry_delay.min}"
max = "${constraint.orchestrator.queue.retry_delay.max}"
name = "queue_retry_delay" name = "queue_retry_delay"
nickel_path = ["queue", "retry_delay"] nickel_path = ["queue", "retry_delay"]
prompt = "Retry Delay (ms)" prompt = "Retry Delay (ms)"
@ -40,8 +40,8 @@ type = "number"
[[elements]] [[elements]]
default = 3600000 default = 3600000
help = "Task timeout in milliseconds (range: ${constraint.orchestrator.queue.task_timeout.min}-${constraint.orchestrator.queue.task_timeout.max})" help = "Task timeout in milliseconds (range: ${constraint.orchestrator.queue.task_timeout.min}-${constraint.orchestrator.queue.task_timeout.max})"
max = "${constraint.orchestrator.queue.task_timeout.max}"
min = "${constraint.orchestrator.queue.task_timeout.min}" min = "${constraint.orchestrator.queue.task_timeout.min}"
max = "${constraint.orchestrator.queue.task_timeout.max}"
name = "queue_task_timeout" name = "queue_task_timeout"
nickel_path = ["queue", "task_timeout"] nickel_path = ["queue", "task_timeout"]
prompt = "Task Timeout (ms)" prompt = "Task Timeout (ms)"

View File

@ -1,8 +1,8 @@
# Orchestrator Storage Configuration Fragment # Orchestrator Storage Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "storage_section_header" name = "storage_section_header"
title = "💾 Storage Configuration" title = "💾 Storage Configuration"
type = "section_header" type = "section_header"
@ -134,8 +134,8 @@ type = "select"
condition = "storage_compression_enabled == true && storage_compression_algorithm == 'zstd'" condition = "storage_compression_enabled == true && storage_compression_algorithm == 'zstd'"
default = 3 default = 3
help = "Compression level (1-19, higher = better compression but slower)" help = "Compression level (1-19, higher = better compression but slower)"
max = 19
min = 1 min = 1
max = 19
name = "storage_compression_level" name = "storage_compression_level"
nickel_path = ["orchestrator", "storage", "compression", "level"] nickel_path = ["orchestrator", "storage", "compression", "level"]
prompt = "Compression Level" prompt = "Compression Level"

View File

@ -1,8 +1,8 @@
# Provisioning Daemon Actions Configuration Fragment # Provisioning Daemon Actions Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "daemon_actions_header" name = "daemon_actions_header"
title = "✓ Actions Configuration" title = "✓ Actions Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Provisioning Daemon Configuration Fragment # Provisioning Daemon Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "daemon_config_header" name = "daemon_config_header"
title = "⚙️ Daemon Configuration" title = "⚙️ Daemon Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Provisioning Daemon Health Check Configuration Fragment # Provisioning Daemon Health Check Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "daemon_health_header" name = "daemon_health_header"
title = "❤️ Health Check Configuration" title = "❤️ Health Check Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Provisioning Daemon Logging Configuration Fragment # Provisioning Daemon Logging Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "daemon_logging_header" name = "daemon_logging_header"
title = "📝 Logging Configuration" title = "📝 Logging Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Provisioning Daemon Worker Configuration Fragment # Provisioning Daemon Worker Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "daemon_workers_header" name = "daemon_workers_header"
title = "👷 Worker Configuration" title = "👷 Worker Configuration"
type = "section_header" type = "section_header"

View File

@ -1 +1,98 @@
# TypeDialog + Nickel Configuration Scripts\n\nPhase 8 Nushell automation scripts for interactive configuration workflow, config generation, validation, and deployment.\n\n## Quick Start\n\n```\n# 1. Interactive Configuration (TypeDialog)\nnu scripts/configure.nu orchestrator solo\n\n# 2. Generate TOML configs\nnu scripts/generate-configs.nu orchestrator solo\n\n# 3. Validate configuration\nnu scripts/validate-config.nu provisioning/.typedialog/provisioning/platform/values/orchestrator.solo.ncl\n\n# 4. Render Docker Compose\nnu scripts/render-docker-compose.nu solo\n\n# 5. Full deployment workflow\nnu scripts/install-services.nu orchestrator solo --docker\n```\n\n## Scripts Overview\n\n### Shared Helpers\n- **ansi.nu** - ANSI color and emoji output formatting\n- **paths.nu** - Path validation and directory structure helpers \n- **external.nu** - Safe external command execution with error handling\n\n### Core Configuration Scripts\n- **configure.nu** - Interactive TypeDialog configuration wizard\n- **generate-configs.nu** - Export Nickel configs to TOML\n- **validate-config.nu** - Validate Nickel configuration\n\n### Rendering Scripts\n- **render-docker-compose.nu** - Render Docker Compose from Nickel templates\n- **render-kubernetes.nu** - Render Kubernetes manifests from Nickel templates\n\n### Deployment & Monitoring Scripts\n- **install-services.nu** - Full deployment orchestration\n- **detect-services.nu** - Auto-detect running services\n\n## Supported Services\n- orchestrator (port 9090)\n- control-center (port 8080)\n- mcp-server (port 8888)\n- installer (port 8000)\n\n## Supported Deployment Modes\n- solo (2 CPU, 4GB RAM)\n- multiuser (4 CPU, 8GB RAM)\n- cicd (8 CPU, 16GB RAM)\n- enterprise (16+ CPU, 32+ GB RAM)\n\n## Nushell Compliance\nAll scripts follow Nushell 0.109.0+ guidelines with proper type signatures, error handling, and no try-catch blocks.\n\n## Examples\n\n### Single Service Configuration\n```\nnu scripts/configure.nu orchestrator solo --backend web\nnu scripts/validate-config.nu provisioning/.typedialog/provisioning/platform/values/orchestrator.solo.ncl\nnu scripts/generate-configs.nu orchestrator solo\ncargo run -p orchestrator -- --config provisioning/platform/config/orchestrator.solo.toml\n```\n\n### Docker Compose Deployment\n```\nnu scripts/generate-configs.nu orchestrator multiuser\nnu scripts/render-docker-compose.nu multiuser\ndocker-compose -f provisioning/platform/infrastructure/docker/docker-compose.multiuser.yml up -d\n```\n\n### Kubernetes Deployment\n```\nnu scripts/generate-configs.nu orchestrator enterprise\nnu scripts/render-kubernetes.nu enterprise --namespace production\nnu scripts/install-services.nu all enterprise --kubernetes --namespace production\n```\n\n## Phase 8 Status\n\n✅ Phase 8.A: Shared helper modules\n✅ Phase 8.B: Core configuration scripts \n✅ Phase 8.C: Rendering scripts\n✅ Phase 8.D: Deployment orchestration\n✅ Phase 8.E: Testing and documentation\n\n## Requirements\n\n- Nushell 0.109.1+\n- Nickel 1.15.1+\n- TypeDialog CLI\n- yq v4.50.1+\n- Docker (optional)\n- kubectl (optional) # TypeDialog + Nickel Configuration Scripts
Phase 8 Nushell automation scripts for interactive configuration workflow, config generation, validation, and deployment.
## Quick Start
```bash
# 1. Interactive Configuration (TypeDialog)
nu scripts/configure.nu orchestrator solo
# 2. Generate TOML configs
nu scripts/generate-configs.nu orchestrator solo
# 3. Validate configuration
nu scripts/validate-config.nu provisioning/.typedialog/provisioning/platform/values/orchestrator.solo.ncl
# 4. Render Docker Compose
nu scripts/render-docker-compose.nu solo
# 5. Full deployment workflow
nu scripts/install-services.nu orchestrator solo --docker
```
## Scripts Overview
### Shared Helpers
- **ansi.nu** - ANSI color and emoji output formatting
- **paths.nu** - Path validation and directory structure helpers
- **external.nu** - Safe external command execution with error handling
### Core Configuration Scripts
- **configure.nu** - Interactive TypeDialog configuration wizard
- **generate-configs.nu** - Export Nickel configs to TOML
- **validate-config.nu** - Validate Nickel configuration
### Rendering Scripts
- **render-docker-compose.nu** - Render Docker Compose from Nickel templates
- **render-kubernetes.nu** - Render Kubernetes manifests from Nickel templates
### Deployment & Monitoring Scripts
- **install-services.nu** - Full deployment orchestration
- **detect-services.nu** - Auto-detect running services
## Supported Services
- orchestrator (port 9090)
- control-center (port 8080)
- mcp-server (port 8888)
- installer (port 8000)
## Supported Deployment Modes
- solo (2 CPU, 4GB RAM)
- multiuser (4 CPU, 8GB RAM)
- cicd (8 CPU, 16GB RAM)
- enterprise (16+ CPU, 32+ GB RAM)
## Nushell Compliance
All scripts follow Nushell 0.109.0+ guidelines with proper type signatures, error handling, and no try-catch blocks.
## Examples
### Single Service Configuration
```bash
nu scripts/configure.nu orchestrator solo --backend web
nu scripts/validate-config.nu provisioning/.typedialog/provisioning/platform/values/orchestrator.solo.ncl
nu scripts/generate-configs.nu orchestrator solo
cargo run -p orchestrator -- --config provisioning/platform/config/orchestrator.solo.toml
```
### Docker Compose Deployment
```bash
nu scripts/generate-configs.nu orchestrator multiuser
nu scripts/render-docker-compose.nu multiuser
docker-compose -f provisioning/platform/infrastructure/docker/docker-compose.multiuser.yml up -d
```
### Kubernetes Deployment
```bash
nu scripts/generate-configs.nu orchestrator enterprise
nu scripts/render-kubernetes.nu enterprise --namespace production
nu scripts/install-services.nu all enterprise --kubernetes --namespace production
```
## Phase 8 Status
✅ Phase 8.A: Shared helper modules
✅ Phase 8.B: Core configuration scripts
✅ Phase 8.C: Rendering scripts
✅ Phase 8.D: Deployment orchestration
✅ Phase 8.E: Testing and documentation
## Requirements
- Nushell 0.109.1+
- Nickel 1.15.1+
- TypeDialog CLI
- yq v4.50.1+
- Docker (optional)
- kubectl (optional)

View File

@ -1,8 +1,8 @@
# RAG Embeddings Configuration Fragment # RAG Embeddings Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "rag_embeddings_header" name = "rag_embeddings_header"
title = "🧠 Embeddings Configuration" title = "🧠 Embeddings Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# RAG Document Ingestion Configuration Fragment # RAG Document Ingestion Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "rag_ingestion_header" name = "rag_ingestion_header"
title = "📄 Document Ingestion Configuration" title = "📄 Document Ingestion Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# RAG Language Model Configuration Fragment # RAG Language Model Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "rag_llm_header" name = "rag_llm_header"
title = "🤖 Language Model Configuration" title = "🤖 Language Model Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# RAG Retrieval Configuration Fragment # RAG Retrieval Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "rag_retrieval_header" name = "rag_retrieval_header"
title = "🔍 Retrieval Configuration" title = "🔍 Retrieval Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# RAG Vector Database Configuration Fragment # RAG Vector Database Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "rag_vector_db_header" name = "rag_vector_db_header"
title = "🗄️ Vector Database Configuration" title = "🗄️ Vector Database Configuration"
type = "section_header" type = "section_header"

View File

@ -2,8 +2,8 @@
# Used by all services: orchestrator, control-center, mcp-server # Used by all services: orchestrator, control-center, mcp-server
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "server_section_header" name = "server_section_header"
title = "🌐 HTTP Server Configuration" title = "🌐 HTTP Server Configuration"
type = "section_header" type = "section_header"
@ -31,8 +31,8 @@ type = "number"
[[elements]] [[elements]]
default = 4 default = 4
help = "Number of worker threads for HTTP server (range: ${constraint.common.server.workers.min}-${constraint.common.server.workers.max})" help = "Number of worker threads for HTTP server (range: ${constraint.common.server.workers.min}-${constraint.common.server.workers.max})"
max = "${constraint.common.server.workers.max}"
min = "${constraint.common.server.workers.min}" min = "${constraint.common.server.workers.min}"
max = "${constraint.common.server.workers.max}"
name = "server_workers" name = "server_workers"
nickel_path = ["server", "workers"] nickel_path = ["server", "workers"]
prompt = "Worker Threads" prompt = "Worker Threads"
@ -41,8 +41,8 @@ type = "number"
[[elements]] [[elements]]
default = 75 default = 75
help = "TCP keep-alive timeout in seconds (0 = disabled, range: ${constraint.common.server.keep_alive.min}-${constraint.common.server.keep_alive.max})" help = "TCP keep-alive timeout in seconds (0 = disabled, range: ${constraint.common.server.keep_alive.min}-${constraint.common.server.keep_alive.max})"
max = "${constraint.common.server.keep_alive.max}"
min = "${constraint.common.server.keep_alive.min}" min = "${constraint.common.server.keep_alive.min}"
max = "${constraint.common.server.keep_alive.max}"
name = "server_keep_alive" name = "server_keep_alive"
nickel_path = ["server", "keep_alive"] nickel_path = ["server", "keep_alive"]
prompt = "Keep-Alive Timeout (seconds)" prompt = "Keep-Alive Timeout (seconds)"
@ -51,8 +51,8 @@ type = "number"
[[elements]] [[elements]]
default = 100 default = 100
help = "Maximum number of concurrent TCP connections (range: ${constraint.common.server.max_connections.min}-${constraint.common.server.max_connections.max})" help = "Maximum number of concurrent TCP connections (range: ${constraint.common.server.max_connections.min}-${constraint.common.server.max_connections.max})"
max = "${constraint.common.server.max_connections.max}"
min = "${constraint.common.server.max_connections.min}" min = "${constraint.common.server.max_connections.min}"
max = "${constraint.common.server.max_connections.max}"
name = "server_max_connections" name = "server_max_connections"
nickel_path = ["server", "max_connections"] nickel_path = ["server", "max_connections"]
prompt = "Max Connections" prompt = "Max Connections"

View File

@ -1,8 +1,8 @@
# Vault Service High Availability Configuration Fragment # Vault Service High Availability Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "vault_ha_header" name = "vault_ha_header"
title = "🔄 High Availability Configuration" title = "🔄 High Availability Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Vault Service Mount Point Configuration Fragment # Vault Service Mount Point Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "vault_mount_header" name = "vault_mount_header"
title = "📍 Mount Point Configuration" title = "📍 Mount Point Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Vault Service Server Configuration Fragment # Vault Service Server Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "vault_server_header" name = "vault_server_header"
title = "🖥️ Server Configuration" title = "🖥️ Server Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Vault Service Storage Configuration Fragment # Vault Service Storage Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "vault_storage_header" name = "vault_storage_header"
title = "💾 Storage Configuration" title = "💾 Storage Configuration"
type = "section_header" type = "section_header"

View File

@ -1,8 +1,8 @@
# Vault Service TLS Configuration Fragment # Vault Service TLS Configuration Fragment
[[elements]] [[elements]]
border_bottom = false
border_top = true border_top = true
border_bottom = false
name = "vault_tls_header" name = "vault_tls_header"
title = "🔒 TLS Configuration" title = "🔒 TLS Configuration"
type = "section_header" type = "section_header"

View File

@ -1,7 +1,7 @@
name = "installer_configuration"
description = "Interactive configuration for Provisioning Platform Installer (deployment and lifecycle management)" description = "Interactive configuration for Provisioning Platform Installer (deployment and lifecycle management)"
display_mode = "complete" display_mode = "complete"
fallback_locale = "en-US" fallback_locale = "en-US"
name = "installer_configuration"
# ============================================================================ # ============================================================================
# INSTALLER SERVICE FORM - COMPOSED FROM FRAGMENTS # INSTALLER SERVICE FORM - COMPOSED FROM FRAGMENTS
@ -13,101 +13,98 @@ name = "installer_configuration"
# DEPLOYMENT MODE SELECTION # DEPLOYMENT MODE SELECTION
# Determines deployment environment and service resources # Determines deployment environment and service resources
[[items]] [[items]]
description = "Select deployment mode and database backend for installed services"
includes = [
"fragments/deployment/mode-selection.toml",
"fragments/deployment/database-backend-selection.toml",
]
name = "deployment_mode_group" name = "deployment_mode_group"
title = "Deployment Configuration"
type = "group" type = "group"
title = "Deployment Configuration"
description = "Select deployment mode and database backend for installed services"
includes = ["fragments/deployment/mode-selection.toml", "fragments/deployment/database-backend-selection.toml"]
# INSTALLATION TARGET CONFIGURATION # INSTALLATION TARGET CONFIGURATION
# Target environment: local, remote, kubernetes, docker # Target environment: local, remote, kubernetes, docker
[[items]] [[items]]
name = "target_group"
type = "group"
title = "Installation Target"
description = "Configure target environment and connectivity" description = "Configure target environment and connectivity"
includes = ["fragments/installer/target-section.toml"] includes = ["fragments/installer/target-section.toml"]
name = "target_group"
title = "Installation Target"
type = "group"
# PREFLIGHT CHECKS CONFIGURATION # PREFLIGHT CHECKS CONFIGURATION
# Disk, memory, CPU, network, dependencies, ports validation # Disk, memory, CPU, network, dependencies, ports validation
[[items]] [[items]]
name = "preflight_group"
type = "group"
title = "Preflight Checks"
description = "Configure pre-installation validation checks" description = "Configure pre-installation validation checks"
includes = ["fragments/installer/preflight-section.toml"] includes = ["fragments/installer/preflight-section.toml"]
name = "preflight_group"
title = "Preflight Checks"
type = "group"
# INSTALLATION STRATEGY CONFIGURATION # INSTALLATION STRATEGY CONFIGURATION
# Installation mode, parallelization, timeout, rollback, logging, hooks # Installation mode, parallelization, timeout, rollback, logging, hooks
[[items]] [[items]]
name = "installation_group"
type = "group"
title = "Installation Strategy"
description = "Configure installation behavior and strategy" description = "Configure installation behavior and strategy"
includes = ["fragments/installer/installation-section.toml"] includes = ["fragments/installer/installation-section.toml"]
name = "installation_group"
title = "Installation Strategy"
type = "group"
# SERVICES SELECTION CONFIGURATION # SERVICES SELECTION CONFIGURATION
# Which services to install, ports, auto-start, health checks # Which services to install, ports, auto-start, health checks
[[items]] [[items]]
name = "services_group"
type = "group"
title = "Services Selection"
description = "Select which services to install and configure their deployment" description = "Select which services to install and configure their deployment"
includes = ["fragments/installer/services-section.toml"] includes = ["fragments/installer/services-section.toml"]
name = "services_group"
title = "Services Selection"
type = "group"
# DATABASE CONFIGURATION # DATABASE CONFIGURATION
# Database initialization, migrations, backup, verification, optimization # Database initialization, migrations, backup, verification, optimization
[[items]] [[items]]
name = "database_group"
type = "group"
title = "Database Configuration"
description = "Configure database initialization and management" description = "Configure database initialization and management"
includes = ["fragments/installer/database-section.toml"] includes = ["fragments/installer/database-section.toml"]
name = "database_group"
title = "Database Configuration"
type = "group"
# STORAGE CONFIGURATION # STORAGE CONFIGURATION
# Storage location, backend, compression, encryption, replication, cleanup # Storage location, backend, compression, encryption, replication, cleanup
[[items]] [[items]]
name = "storage_group"
type = "group"
title = "Storage Configuration"
description = "Configure storage for provisioning data and artifacts" description = "Configure storage for provisioning data and artifacts"
includes = ["fragments/installer/storage-section.toml"] includes = ["fragments/installer/storage-section.toml"]
name = "storage_group"
title = "Storage Configuration"
type = "group"
# NETWORKING CONFIGURATION # NETWORKING CONFIGURATION
# Bind address, DNS, TLS, firewall, load balancer, ingress, proxy # Bind address, DNS, TLS, firewall, load balancer, ingress, proxy
[[items]] [[items]]
name = "networking_group"
type = "group"
title = "Networking Configuration"
description = "Configure networking, DNS, TLS, and firewall" description = "Configure networking, DNS, TLS, and firewall"
includes = ["fragments/installer/networking-section.toml"] includes = ["fragments/installer/networking-section.toml"]
name = "networking_group"
title = "Networking Configuration"
type = "group"
# HIGH AVAILABILITY CONFIGURATION # HIGH AVAILABILITY CONFIGURATION
# Cluster setup, replication, health checks, failover, backup, load distribution # Cluster setup, replication, health checks, failover, backup, load distribution
[[items]] [[items]]
name = "ha_group"
type = "group"
title = "High Availability Configuration"
description = "Configure high availability and clustering" description = "Configure high availability and clustering"
includes = ["fragments/installer/ha-section.toml"] includes = ["fragments/installer/ha-section.toml"]
name = "ha_group"
title = "High Availability Configuration"
type = "group"
# POST-INSTALLATION CONFIGURATION # POST-INSTALLATION CONFIGURATION
# Admin user, workspace config, extensions, API setup, verification, cleanup # Admin user, workspace config, extensions, API setup, verification, cleanup
[[items]] [[items]]
name = "post_install_group"
type = "group"
title = "Post-Installation Configuration"
description = "Configure post-installation tasks and verification" description = "Configure post-installation tasks and verification"
includes = ["fragments/installer/post-install-section.toml"] includes = ["fragments/installer/post-install-section.toml"]
name = "post_install_group"
title = "Post-Installation Configuration"
type = "group"
# UPGRADES CONFIGURATION # UPGRADES CONFIGURATION
# Auto-upgrade, channels, strategies, pre-checks, backup, rollback, health monitoring # Auto-upgrade, channels, strategies, pre-checks, backup, rollback, health monitoring
[[items]] [[items]]
name = "upgrades_group"
type = "group"
title = "Upgrades Configuration"
description = "Configure automatic updates and upgrade strategies" description = "Configure automatic updates and upgrade strategies"
includes = ["fragments/installer/upgrades-section.toml"] includes = ["fragments/installer/upgrades-section.toml"]
name = "upgrades_group"
title = "Upgrades Configuration"
type = "group"

View File

@ -1,7 +1,7 @@
name = "mcp_server_configuration"
description = "Interactive configuration for MCP Server service (Model Context Protocol interface)" description = "Interactive configuration for MCP Server service (Model Context Protocol interface)"
display_mode = "complete" display_mode = "complete"
fallback_locale = "en-US" fallback_locale = "en-US"
name = "mcp_server_configuration"
# ============================================================================ # ============================================================================
# MCP SERVER SERVICE FORM - COMPOSED FROM FRAGMENTS # MCP SERVER SERVICE FORM - COMPOSED FROM FRAGMENTS
@ -13,109 +13,106 @@ name = "mcp_server_configuration"
# DEPLOYMENT MODE SELECTION # DEPLOYMENT MODE SELECTION
# Determines service resources and feature set (solo/multiuser/cicd/enterprise) # Determines service resources and feature set (solo/multiuser/cicd/enterprise)
[[items]] [[items]]
description = "Select deployment mode and database backend"
includes = [
"fragments/deployment/mode-selection.toml",
"fragments/deployment/database-backend-selection.toml",
]
name = "deployment_mode_group" name = "deployment_mode_group"
title = "Deployment Configuration"
type = "group" type = "group"
title = "Deployment Configuration"
description = "Select deployment mode and database backend"
includes = ["fragments/deployment/mode-selection.toml", "fragments/deployment/database-backend-selection.toml"]
# WORKSPACE CONFIGURATION # WORKSPACE CONFIGURATION
# Workspace name, path, and context # Workspace name, path, and context
[[items]] [[items]]
name = "workspace_group"
type = "group"
title = "Workspace Settings"
description = "Configure workspace context for this MCP Server instance" description = "Configure workspace context for this MCP Server instance"
includes = ["fragments/workspace-section.toml"] includes = ["fragments/workspace-section.toml"]
name = "workspace_group"
title = "Workspace Settings"
type = "group"
# SERVER CONFIGURATION # SERVER CONFIGURATION
# HTTP server settings (host, port, workers, connections) # HTTP server settings (host, port, workers, connections)
[[items]] [[items]]
name = "server_group"
type = "group"
title = "Server Settings"
description = "Configure HTTP server for MCP Server" description = "Configure HTTP server for MCP Server"
includes = ["fragments/server-section.toml"] includes = ["fragments/server-section.toml"]
name = "server_group"
title = "Server Settings"
type = "group"
# DATABASE BACKEND CONFIGURATION # DATABASE BACKEND CONFIGURATION
# Conditional sections based on selected backend # Conditional sections based on selected backend
[[items]] [[items]]
condition = "database_backend_selection == 'rocksdb'"
description = "Configure RocksDB backend for MCP state"
includes = ["fragments/database-rocksdb-section.toml"]
name = "database_rocksdb_group" name = "database_rocksdb_group"
type = "group"
title = "RocksDB Configuration" title = "RocksDB Configuration"
type = "group" description = "Configure RocksDB backend for MCP state"
condition = "database_backend_selection == 'rocksdb'"
includes = ["fragments/database-rocksdb-section.toml"]
[[items]] [[items]]
condition = "database_backend_selection == 'surrealdb_embedded' || database_backend_selection == 'surrealdb_server'"
description = "Configure SurrealDB backend for MCP state"
includes = ["fragments/database-surrealdb-section.toml"]
name = "database_surrealdb_group" name = "database_surrealdb_group"
title = "SurrealDB Configuration"
type = "group" type = "group"
title = "SurrealDB Configuration"
description = "Configure SurrealDB backend for MCP state"
condition = "database_backend_selection == 'surrealdb_embedded' || database_backend_selection == 'surrealdb_server'"
includes = ["fragments/database-surrealdb-section.toml"]
[[items]] [[items]]
condition = "database_backend_selection == 'postgresql'"
description = "Configure PostgreSQL backend for MCP state"
includes = ["fragments/database-postgres-section.toml"]
name = "database_postgres_group" name = "database_postgres_group"
title = "PostgreSQL Configuration"
type = "group" type = "group"
title = "PostgreSQL Configuration"
description = "Configure PostgreSQL backend for MCP state"
condition = "database_backend_selection == 'postgresql'"
includes = ["fragments/database-postgres-section.toml"]
# MCP-SPECIFIC: TOOLS CONFIGURATION # MCP-SPECIFIC: TOOLS CONFIGURATION
# Tool management, validation, caching, concurrent execution # Tool management, validation, caching, concurrent execution
[[items]] [[items]]
name = "tools_group"
type = "group"
title = "Tools Configuration"
description = "Configure MCP tools, execution, and caching" description = "Configure MCP tools, execution, and caching"
includes = ["fragments/mcp-server/tools-section.toml"] includes = ["fragments/mcp-server/tools-section.toml"]
name = "tools_group"
title = "Tools Configuration"
type = "group"
# MCP-SPECIFIC: PROMPTS CONFIGURATION # MCP-SPECIFIC: PROMPTS CONFIGURATION
# Custom prompt templates, versioning, caching # Custom prompt templates, versioning, caching
[[items]] [[items]]
name = "prompts_group"
type = "group"
title = "Prompts Configuration"
description = "Configure custom prompt templates and management" description = "Configure custom prompt templates and management"
includes = ["fragments/mcp-server/prompts-section.toml"] includes = ["fragments/mcp-server/prompts-section.toml"]
name = "prompts_group"
title = "Prompts Configuration"
type = "group"
# MCP-SPECIFIC: RESOURCES CONFIGURATION # MCP-SPECIFIC: RESOURCES CONFIGURATION
# Resource management, max size, caching, validation # Resource management, max size, caching, validation
[[items]] [[items]]
name = "resources_group"
type = "group"
title = "Resources Configuration"
description = "Configure MCP resources and resource management" description = "Configure MCP resources and resource management"
includes = ["fragments/mcp-server/resources-section.toml"] includes = ["fragments/mcp-server/resources-section.toml"]
name = "resources_group"
title = "Resources Configuration"
type = "group"
# MCP-SPECIFIC: SAMPLING CONFIGURATION # MCP-SPECIFIC: SAMPLING CONFIGURATION
# AI model sampling, temperature, output tokens, caching # AI model sampling, temperature, output tokens, caching
[[items]] [[items]]
name = "sampling_group"
type = "group"
title = "Sampling Configuration"
description = "Configure AI model sampling and inference" description = "Configure AI model sampling and inference"
includes = ["fragments/mcp-server/sampling-section.toml"] includes = ["fragments/mcp-server/sampling-section.toml"]
name = "sampling_group"
title = "Sampling Configuration"
type = "group"
# MONITORING CONFIGURATION # MONITORING CONFIGURATION
# Metrics collection, health checks # Metrics collection, health checks
[[items]] [[items]]
name = "monitoring_group"
type = "group"
title = "Monitoring Configuration"
description = "Configure metrics and health checks" description = "Configure metrics and health checks"
includes = ["fragments/monitoring-section.toml"] includes = ["fragments/monitoring-section.toml"]
name = "monitoring_group"
title = "Monitoring Configuration"
type = "group"
# LOGGING CONFIGURATION # LOGGING CONFIGURATION
# Log levels, formats, rotation # Log levels, formats, rotation
[[items]] [[items]]
name = "logging_group"
type = "group"
title = "Logging Configuration"
description = "Configure logging behavior and output" description = "Configure logging behavior and output"
includes = ["fragments/logging-section.toml"] includes = ["fragments/logging-section.toml"]
name = "logging_group"
title = "Logging Configuration"
type = "group"

View File

@ -1,7 +1,7 @@
name = "orchestrator_configuration"
description = "Interactive configuration for Orchestrator service (workflow engine and task scheduling)" description = "Interactive configuration for Orchestrator service (workflow engine and task scheduling)"
display_mode = "complete" display_mode = "complete"
fallback_locale = "en-US" fallback_locale = "en-US"
name = "orchestrator_configuration"
# ============================================================================ # ============================================================================
# ORCHESTRATOR SERVICE FORM - COMPOSED FROM FRAGMENTS # ORCHESTRATOR SERVICE FORM - COMPOSED FROM FRAGMENTS
@ -13,118 +13,115 @@ name = "orchestrator_configuration"
# DEPLOYMENT MODE SELECTION # DEPLOYMENT MODE SELECTION
# Determines service resources and feature set (solo/multiuser/cicd/enterprise) # Determines service resources and feature set (solo/multiuser/cicd/enterprise)
[[items]] [[items]]
description = "Select deployment mode and database backend"
includes = [
"fragments/deployment/mode-selection.toml",
"fragments/deployment/database-backend-selection.toml",
]
name = "deployment_mode_group" name = "deployment_mode_group"
title = "Deployment Configuration"
type = "group" type = "group"
title = "Deployment Configuration"
description = "Select deployment mode and database backend"
includes = ["fragments/deployment/mode-selection.toml", "fragments/deployment/database-backend-selection.toml"]
# WORKSPACE CONFIGURATION # WORKSPACE CONFIGURATION
# Workspace name, path, and multi-workspace mode # Workspace name, path, and multi-workspace mode
[[items]] [[items]]
name = "workspace_group"
type = "group"
title = "Workspace Settings"
description = "Configure workspace context for this Orchestrator instance" description = "Configure workspace context for this Orchestrator instance"
includes = ["fragments/workspace-section.toml"] includes = ["fragments/workspace-section.toml"]
name = "workspace_group"
title = "Workspace Settings"
type = "group"
# SERVER CONFIGURATION # SERVER CONFIGURATION
# HTTP server settings (host, port, workers, connections) # HTTP server settings (host, port, workers, connections)
[[items]] [[items]]
name = "server_group"
type = "group"
title = "Server Settings"
description = "Configure HTTP server for Orchestrator" description = "Configure HTTP server for Orchestrator"
includes = ["fragments/server-section.toml"] includes = ["fragments/server-section.toml"]
name = "server_group"
title = "Server Settings"
type = "group"
# DATABASE BACKEND CONFIGURATION # DATABASE BACKEND CONFIGURATION
# Conditional sections based on selected backend # Conditional sections based on selected backend
[[items]] [[items]]
condition = "database_backend_selection == 'rocksdb'"
description = "Configure RocksDB backend"
includes = ["fragments/database-rocksdb-section.toml"]
name = "database_rocksdb_group" name = "database_rocksdb_group"
type = "group"
title = "RocksDB Configuration" title = "RocksDB Configuration"
type = "group" description = "Configure RocksDB backend"
condition = "database_backend_selection == 'rocksdb'"
includes = ["fragments/database-rocksdb-section.toml"]
[[items]] [[items]]
condition = "database_backend_selection == 'surrealdb_embedded' || database_backend_selection == 'surrealdb_server'"
description = "Configure SurrealDB backend"
includes = ["fragments/database-surrealdb-section.toml"]
name = "database_surrealdb_group" name = "database_surrealdb_group"
title = "SurrealDB Configuration"
type = "group" type = "group"
title = "SurrealDB Configuration"
description = "Configure SurrealDB backend"
condition = "database_backend_selection == 'surrealdb_embedded' || database_backend_selection == 'surrealdb_server'"
includes = ["fragments/database-surrealdb-section.toml"]
[[items]] [[items]]
condition = "database_backend_selection == 'postgresql'"
description = "Configure PostgreSQL backend"
includes = ["fragments/database-postgres-section.toml"]
name = "database_postgres_group" name = "database_postgres_group"
title = "PostgreSQL Configuration"
type = "group" type = "group"
title = "PostgreSQL Configuration"
description = "Configure PostgreSQL backend"
condition = "database_backend_selection == 'postgresql'"
includes = ["fragments/database-postgres-section.toml"]
# ORCHESTRATOR-SPECIFIC: STORAGE CONFIGURATION # ORCHESTRATOR-SPECIFIC: STORAGE CONFIGURATION
# Storage backend, caching, compression, garbage collection # Storage backend, caching, compression, garbage collection
[[items]] [[items]]
name = "storage_group"
type = "group"
title = "Storage Configuration"
description = "Configure storage backend for workflow state and artifacts" description = "Configure storage backend for workflow state and artifacts"
includes = ["fragments/orchestrator/storage-section.toml"] includes = ["fragments/orchestrator/storage-section.toml"]
name = "storage_group"
title = "Storage Configuration"
type = "group"
# ORCHESTRATOR-SPECIFIC: QUEUE CONFIGURATION # ORCHESTRATOR-SPECIFIC: QUEUE CONFIGURATION
# Task queue, concurrency, retries, timeouts # Task queue, concurrency, retries, timeouts
[[items]] [[items]]
name = "queue_group"
type = "group"
title = "Task Queue Configuration"
description = "Configure task queue behavior and limits" description = "Configure task queue behavior and limits"
includes = ["fragments/orchestrator/queue-section.toml"] includes = ["fragments/orchestrator/queue-section.toml"]
name = "queue_group"
title = "Task Queue Configuration"
type = "group"
# ORCHESTRATOR-SPECIFIC: BATCH WORKFLOW CONFIGURATION # ORCHESTRATOR-SPECIFIC: BATCH WORKFLOW CONFIGURATION
# Batch operations, parallel limits, checkpointing, rollback # Batch operations, parallel limits, checkpointing, rollback
[[items]] [[items]]
name = "batch_group"
type = "group"
title = "Batch Workflow Configuration"
description = "Configure batch workflow execution and recovery" description = "Configure batch workflow execution and recovery"
includes = ["fragments/orchestrator/batch-section.toml"] includes = ["fragments/orchestrator/batch-section.toml"]
name = "batch_group"
title = "Batch Workflow Configuration"
type = "group"
# ORCHESTRATOR-SPECIFIC: EXTENSIONS CONFIGURATION # ORCHESTRATOR-SPECIFIC: EXTENSIONS CONFIGURATION
# Extension auto-loading, OCI registry, discovery, sandboxing # Extension auto-loading, OCI registry, discovery, sandboxing
[[items]] [[items]]
name = "extensions_group"
type = "group"
title = "Extensions Configuration"
description = "Configure extension management and auto-loading" description = "Configure extension management and auto-loading"
includes = ["fragments/orchestrator/extensions-section.toml"] includes = ["fragments/orchestrator/extensions-section.toml"]
name = "extensions_group"
title = "Extensions Configuration"
type = "group"
# ORCHESTRATOR-SPECIFIC: PERFORMANCE CONFIGURATION # ORCHESTRATOR-SPECIFIC: PERFORMANCE CONFIGURATION
# CPU affinity, memory limits, profiling, caching, thread pools # CPU affinity, memory limits, profiling, caching, thread pools
[[items]] [[items]]
name = "performance_group"
type = "group"
title = "Performance Configuration"
description = "Configure advanced performance settings" description = "Configure advanced performance settings"
includes = ["fragments/orchestrator/performance-section.toml"] includes = ["fragments/orchestrator/performance-section.toml"]
name = "performance_group"
title = "Performance Configuration"
type = "group"
# MONITORING CONFIGURATION # MONITORING CONFIGURATION
# Metrics collection, health checks # Metrics collection, health checks
[[items]] [[items]]
name = "monitoring_group"
type = "group"
title = "Monitoring Configuration"
description = "Configure metrics and health checks" description = "Configure metrics and health checks"
includes = ["fragments/monitoring-section.toml"] includes = ["fragments/monitoring-section.toml"]
name = "monitoring_group"
title = "Monitoring Configuration"
type = "group"
# LOGGING CONFIGURATION # LOGGING CONFIGURATION
# Log levels, formats, rotation # Log levels, formats, rotation
[[items]] [[items]]
name = "logging_group"
type = "group"
title = "Logging Configuration"
description = "Configure logging behavior and output" description = "Configure logging behavior and output"
includes = ["fragments/logging-section.toml"] includes = ["fragments/logging-section.toml"]
name = "logging_group"
title = "Logging Configuration"
type = "group"

View File

@ -1,13 +1,13 @@
# Provisioning Daemon Configuration Form # Provisioning Daemon Configuration Form
# Sections for provisioning daemon background service # Sections for provisioning daemon background service
description = "Configure background provisioning daemon service"
title = "Provisioning Daemon Configuration" title = "Provisioning Daemon Configuration"
description = "Configure background provisioning daemon service"
sections = [ sections = [
{ name = "daemon", label = "Daemon Control", description = "Daemon operation and polling configuration" }, { name = "daemon", label = "Daemon Control", description = "Daemon operation and polling configuration" },
{ name = "logging", label = "Logging", description = "Log output and verbosity settings" }, { name = "logging", label = "Logging", description = "Log output and verbosity settings" },
{ name = "actions", label = "Actions", description = "Automatic actions and cleanup policies" }, { name = "actions", label = "Actions", description = "Automatic actions and cleanup policies" },
{ name = "workers", label = "Workers", description = "Worker thread and concurrency settings" }, { name = "workers", label = "Workers", description = "Worker thread and concurrency settings" },
{ name = "health", label = "Health", description = "Health checks and monitoring" }, { name = "health", label = "Health", description = "Health checks and monitoring" }
] ]

View File

@ -1,23 +1,23 @@
[form] [form]
description = "Retrieval-Augmented Generation system"
name = "RAG System Configuration" name = "RAG System Configuration"
description = "Retrieval-Augmented Generation system"
[[sections]] [[sections]]
includes = ["fragments/rag/embeddings.toml"]
name = "Embeddings" name = "Embeddings"
includes = ["fragments/rag/embeddings.toml"]
[[sections]] [[sections]]
includes = ["fragments/rag/vector-db.toml"]
name = "Vector Database" name = "Vector Database"
includes = ["fragments/rag/vector-db.toml"]
[[sections]] [[sections]]
includes = ["fragments/rag/llm.toml"]
name = "Language Model" name = "Language Model"
includes = ["fragments/rag/llm.toml"]
[[sections]] [[sections]]
includes = ["fragments/rag/retrieval.toml"]
name = "Retrieval" name = "Retrieval"
includes = ["fragments/rag/retrieval.toml"]
[[sections]] [[sections]]
includes = ["fragments/rag/ingestion.toml"]
name = "Ingestion" name = "Ingestion"
includes = ["fragments/rag/ingestion.toml"]

View File

@ -1,29 +1,29 @@
[form] [form]
description = "Secrets management and encryption service configuration"
name = "Vault Service Configuration" name = "Vault Service Configuration"
description = "Secrets management and encryption service configuration"
version = "1.0" version = "1.0"
[[sections]] [[sections]]
name = "Server"
description = "HTTP server configuration" description = "HTTP server configuration"
includes = ["fragments/vault-service/server.toml"] includes = ["fragments/vault-service/server.toml"]
name = "Server"
[[sections]] [[sections]]
name = "Storage"
description = "Storage backend configuration" description = "Storage backend configuration"
includes = ["fragments/vault-service/storage.toml"] includes = ["fragments/vault-service/storage.toml"]
name = "Storage"
[[sections]] [[sections]]
name = "TLS/SSL"
description = "TLS and security settings" description = "TLS and security settings"
includes = ["fragments/vault-service/tls.toml"] includes = ["fragments/vault-service/tls.toml"]
name = "TLS/SSL"
[[sections]] [[sections]]
name = "Mount Point"
description = "Vault mount point and key configuration" description = "Vault mount point and key configuration"
includes = ["fragments/vault-service/mount.toml"] includes = ["fragments/vault-service/mount.toml"]
name = "Mount Point"
[[sections]] [[sections]]
name = "High Availability"
description = "HA and clustering configuration" description = "HA and clustering configuration"
includes = ["fragments/vault-service/ha.toml"] includes = ["fragments/vault-service/ha.toml"]
name = "High Availability"

File diff suppressed because one or more lines are too long

View File

@ -3,154 +3,154 @@
# Version: 1.0.0 # Version: 1.0.0
[project] [project]
description_max_length = 500
name_max_length = 64
name_min_length = 1 name_min_length = 1
name_max_length = 64
name_pattern = "^[a-z0-9-]+$" name_pattern = "^[a-z0-9-]+$"
version_pattern = "^[0-9]+\\.[0-9]+\\.[0-9]+$" version_pattern = "^[0-9]+\\.[0-9]+\\.[0-9]+$"
description_max_length = 500
[service] [service]
# Service type must be one of these # Service type must be one of these
allowed_types = ["api", "worker", "scheduler", "frontend", "backend", "database", "cache", "queue"] allowed_types = ["api", "worker", "scheduler", "frontend", "backend", "database", "cache", "queue"]
healthcheck_interval_max = 300
healthcheck_interval_min = 5
healthcheck_retries_max = 10
healthcheck_retries_min = 1
healthcheck_timeout_max = 60
healthcheck_timeout_min = 1
name_max_length = 32
name_min_length = 1 name_min_length = 1
name_max_length = 32
name_pattern = "^[a-z0-9-]+$" name_pattern = "^[a-z0-9-]+$"
replicas_max = 100
replicas_min = 1 replicas_min = 1
replicas_max = 100
healthcheck_interval_min = 5
healthcheck_interval_max = 300
healthcheck_timeout_min = 1
healthcheck_timeout_max = 60
healthcheck_retries_min = 1
healthcheck_retries_max = 10
[service.image] [service.image]
name_max_length = 256 name_min_length = 1
name_min_length = 1 name_max_length = 256
tag_max_length = 128 tag_max_length = 128
tag_pattern = "^[a-zA-Z0-9._-]+$" tag_pattern = "^[a-zA-Z0-9._-]+$"
[service.ports] [service.ports]
container_port_max = 65535 container_port_min = 1
container_port_min = 1 container_port_max = 65535
host_port_max = 65535 host_port_min = 1024
host_port_min = 1024 host_port_max = 65535
protocol_allowed = ["tcp", "udp", "sctp"] protocol_allowed = ["tcp", "udp", "sctp"]
[service.resources] [service.resources]
# CPU limits in millicores or cores (e.g., "100m", "1.5") # CPU limits in millicores or cores (e.g., "100m", "1.5")
cpu_limit_pattern = "^[0-9]+(\\.[0-9]+)?[m]?$" cpu_limit_pattern = "^[0-9]+(\\.[0-9]+)?[m]?$"
cpu_request_pattern = "^[0-9]+(\\.[0-9]+)?[m]?$" cpu_request_pattern = "^[0-9]+(\\.[0-9]+)?[m]?$"
# Memory limits (e.g., "128Mi", "1Gi", "512M") # Memory limits (e.g., "128Mi", "1Gi", "512M")
memory_limit_pattern = "^[0-9]+(Mi|Gi|M|G|Ki|K)$" memory_limit_pattern = "^[0-9]+(Mi|Gi|M|G|Ki|K)$"
memory_request_pattern = "^[0-9]+(Mi|Gi|M|G|Ki|K)$" memory_request_pattern = "^[0-9]+(Mi|Gi|M|G|Ki|K)$"
[database] [database]
allowed_types = ["sqlite", "postgres", "mysql", "surrealdb", "none"] allowed_types = ["sqlite", "postgres", "mysql", "surrealdb", "none"]
name_max_length = 64
name_pattern = "^[a-zA-Z0-9_]+$" name_pattern = "^[a-zA-Z0-9_]+$"
name_max_length = 64
[database.sqlite] [database.sqlite]
database_path_max_length = 256 database_path_max_length = 256
[database.postgres] [database.postgres]
connection_timeout_max = 300 host_max_length = 256
connection_timeout_min = 1 port_min = 1024
database_name_max_length = 64 port_max = 65535
host_max_length = 256 database_name_max_length = 64
idle_timeout_max = 3600 username_max_length = 64
idle_timeout_min = 60 password_min_length = 8
max_lifetime_max = 86400 password_max_length = 128
max_lifetime_min = 300 pool_size_min = 1
password_max_length = 128 pool_size_max = 1000
password_min_length = 8 connection_timeout_min = 1
pool_size_max = 1000 connection_timeout_max = 300
pool_size_min = 1 idle_timeout_min = 60
port_max = 65535 idle_timeout_max = 3600
port_min = 1024 max_lifetime_min = 300
username_max_length = 64 max_lifetime_max = 86400
[database.mysql] [database.mysql]
connection_timeout_max = 300 host_max_length = 256
connection_timeout_min = 1 port_min = 1024
database_name_max_length = 64 port_max = 65535
host_max_length = 256 database_name_max_length = 64
password_max_length = 128 username_max_length = 32
password_min_length = 8 password_min_length = 8
pool_size_max = 1000 password_max_length = 128
pool_size_min = 1 pool_size_min = 1
port_max = 65535 pool_size_max = 1000
port_min = 1024 connection_timeout_min = 1
username_max_length = 32 connection_timeout_max = 300
[database.surrealdb] [database.surrealdb]
database_name_max_length = 64 host_max_length = 256
host_max_length = 256 port_min = 1024
namespace_max_length = 64 port_max = 65535
password_max_length = 128 namespace_max_length = 64
password_min_length = 8 database_name_max_length = 64
port_max = 65535 username_max_length = 64
port_min = 1024 password_min_length = 8
username_max_length = 64 password_max_length = 128
[deployment.docker_compose] [deployment.docker_compose]
restart_policy_allowed = ["no", "always", "on-failure", "unless-stopped"]
version_allowed = ["3.8", "3.9"] version_allowed = ["3.8", "3.9"]
restart_policy_allowed = ["no", "always", "on-failure", "unless-stopped"]
[deployment.kubernetes] [deployment.kubernetes]
api_version_allowed = ["v1", "apps/v1", "networking.k8s.io/v1"]
namespace_max_length = 63
namespace_pattern = "^[a-z0-9-]+$" namespace_pattern = "^[a-z0-9-]+$"
namespace_max_length = 63
api_version_allowed = ["v1", "apps/v1", "networking.k8s.io/v1"]
[deployment.kubernetes.ingress] [deployment.kubernetes.ingress]
class_name_max_length = 64 path_type_allowed = ["Prefix", "Exact", "ImplementationSpecific"]
path_type_allowed = ["Prefix", "Exact", "ImplementationSpecific"] class_name_max_length = 64
[network] [network]
driver_allowed = ["bridge", "host", "overlay", "macvlan", "none"]
network_name_max_length = 64
network_name_pattern = "^[a-z0-9-]+$" network_name_pattern = "^[a-z0-9-]+$"
network_name_max_length = 64
driver_allowed = ["bridge", "host", "overlay", "macvlan", "none"]
subnet_pattern = "^([0-9]{1,3}\\.){3}[0-9]{1,3}/[0-9]{1,2}$" subnet_pattern = "^([0-9]{1,3}\\.){3}[0-9]{1,3}/[0-9]{1,2}$"
[storage] [storage]
volume_name_pattern = "^[a-z0-9-]+$"
volume_name_max_length = 64
driver_allowed = ["local", "nfs", "cifs"] driver_allowed = ["local", "nfs", "cifs"]
mount_path_max_length = 256 mount_path_max_length = 256
size_pattern = "^[0-9]+(Mi|Gi|Ti|M|G|T)$" size_pattern = "^[0-9]+(Mi|Gi|Ti|M|G|T)$"
volume_name_max_length = 64
volume_name_pattern = "^[a-z0-9-]+$"
[monitoring.prometheus] [monitoring.prometheus]
evaluation_interval_max = 300
evaluation_interval_min = 5
port_max = 65535
port_min = 1024 port_min = 1024
retention_pattern = "^[0-9]+(d|h|m)$" port_max = 65535
scrape_interval_max = 300
scrape_interval_min = 5 scrape_interval_min = 5
scrape_interval_max = 300
evaluation_interval_min = 5
evaluation_interval_max = 300
retention_pattern = "^[0-9]+(d|h|m)$"
[monitoring.grafana] [monitoring.grafana]
admin_password_max_length = 128
admin_password_min_length = 8
port_max = 65535
port_min = 1024 port_min = 1024
port_max = 65535
admin_password_min_length = 8
admin_password_max_length = 128
[security.tls] [security.tls]
ca_path_max_length = 256
cert_path_max_length = 256 cert_path_max_length = 256
key_path_max_length = 256 key_path_max_length = 256
ca_path_max_length = 256
[security.secrets] [security.secrets]
secret_key_max_length = 64
secret_name_max_length = 64
secret_name_pattern = "^[a-z0-9-]+$" secret_name_pattern = "^[a-z0-9-]+$"
secret_name_max_length = 64
secret_key_max_length = 64
[security.auth] [security.auth]
allowed_methods = ["none", "basic", "bearer", "oauth2", "jwt", "api_key"] allowed_methods = ["none", "basic", "bearer", "oauth2", "jwt", "api_key"]
token_expiry_max = 86400
token_expiry_min = 300 token_expiry_min = 300
token_expiry_max = 86400
[environment] [environment]
# Environment variable constraints # Environment variable constraints
var_name_max_length = 128
var_name_pattern = "^[A-Z_][A-Z0-9_]*$" var_name_pattern = "^[A-Z_][A-Z0-9_]*$"
var_name_max_length = 128
var_value_max_length = 4096 var_value_max_length = 4096

View File

@ -4,7 +4,7 @@
description = "Interactive configuration for deployment provisioning (Docker Compose, Kubernetes, databases, monitoring)" description = "Interactive configuration for deployment provisioning (Docker Compose, Kubernetes, databases, monitoring)"
display_mode = "complete" display_mode = "complete"
locales_path = "../../../locales" locales_path = ""
name = "Provisioning Configuration Form" name = "Provisioning Configuration Form"
# ============================================================================ # ============================================================================
@ -29,7 +29,6 @@ type = "text"
validation_pattern = "^[a-z0-9-]+$" validation_pattern = "^[a-z0-9-]+$"
[[elements]] [[elements]]
default = "0.1.0"
help = "Semantic version (X.Y.Z)" help = "Semantic version (X.Y.Z)"
name = "project_version" name = "project_version"
nickel_path = ["provisioning", "project", "version"] nickel_path = ["provisioning", "project", "version"]
@ -37,6 +36,7 @@ placeholder = "0.1.0"
prompt = "Project version" prompt = "Project version"
required = true required = true
type = "text" type = "text"
default = "0.1.0"
validation_pattern = "^[0-9]+\\.[0-9]+\\.[0-9]+$" validation_pattern = "^[0-9]+\\.[0-9]+\\.[0-9]+$"
[[elements]] [[elements]]
@ -60,21 +60,21 @@ title = "💾 Database Configuration"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = "sqlite"
help = "Select the database type for your application" help = "Select the database type for your application"
name = "database_type" name = "database_type"
nickel_path = ["provisioning", "database", "type"] nickel_path = ["provisioning", "database", "type"]
options = ["none", "sqlite", "postgres", "mysql", "surrealdb"]
prompt = "Database type" prompt = "Database type"
required = true required = true
type = "select" type = "select"
options = ["none", "sqlite", "postgres", "mysql", "surrealdb"]
default = "sqlite"
# Load database-specific fragments (conditional) # Load database-specific fragments (conditional)
load_fragments = [ load_fragments = [
"fragments/database-sqlite.toml", "fragments/database-sqlite.toml",
"fragments/database-postgres.toml", "fragments/database-postgres.toml",
"fragments/database-mysql.toml", "fragments/database-mysql.toml",
"fragments/database-surrealdb.toml", "fragments/database-surrealdb.toml"
] ]
# ============================================================================ # ============================================================================
@ -89,7 +89,6 @@ title = "🚀 Service Configuration"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = "api"
help = "Name of the main API service" help = "Name of the main API service"
name = "api_service_name" name = "api_service_name"
nickel_path = ["provisioning", "services", "api", "name"] nickel_path = ["provisioning", "services", "api", "name"]
@ -97,33 +96,33 @@ placeholder = "api"
prompt = "API service name" prompt = "API service name"
required = true required = true
type = "text" type = "text"
default = "api"
[[elements]] [[elements]]
custom_type = "u16"
default = "8080"
help = "Container port for the API service" help = "Container port for the API service"
maximum = "65535"
minimum = "1"
name = "api_container_port" name = "api_container_port"
nickel_path = ["provisioning", "services", "api", "ports", "0", "container_port"] nickel_path = ["provisioning", "services", "api", "ports", "0", "container_port"]
prompt = "Container port" prompt = "Container port"
required = true required = true
type = "custom" type = "custom"
[[elements]]
custom_type = "u16" custom_type = "u16"
default = "8080" default = "8080"
help = "Host port to expose the API service" minimum = "1"
maximum = "65535" maximum = "65535"
minimum = "1024"
[[elements]]
help = "Host port to expose the API service"
name = "api_host_port" name = "api_host_port"
nickel_path = ["provisioning", "services", "api", "ports", "0", "host_port"] nickel_path = ["provisioning", "services", "api", "ports", "0", "host_port"]
prompt = "Host port" prompt = "Host port"
required = true required = true
type = "custom" type = "custom"
custom_type = "u16"
default = "8080"
minimum = "1024"
maximum = "65535"
[[elements]] [[elements]]
default = "/health"
help = "Health check endpoint for the API" help = "Health check endpoint for the API"
name = "api_healthcheck_endpoint" name = "api_healthcheck_endpoint"
nickel_path = ["provisioning", "services", "api", "healthcheck", "endpoint"] nickel_path = ["provisioning", "services", "api", "healthcheck", "endpoint"]
@ -131,18 +130,19 @@ placeholder = "/health"
prompt = "Health check endpoint" prompt = "Health check endpoint"
required = true required = true
type = "text" type = "text"
default = "/health"
[[elements]] [[elements]]
custom_type = "u16"
default = "1"
help = "Number of service replicas" help = "Number of service replicas"
maximum = "100"
minimum = "1"
name = "api_replicas" name = "api_replicas"
nickel_path = ["provisioning", "services", "api", "replicas"] nickel_path = ["provisioning", "services", "api", "replicas"]
prompt = "Number of replicas" prompt = "Number of replicas"
required = true required = true
type = "custom" type = "custom"
custom_type = "u16"
default = "1"
minimum = "1"
maximum = "100"
# ============================================================================ # ============================================================================
# DEPLOYMENT TARGET (Always shown) # DEPLOYMENT TARGET (Always shown)
@ -156,17 +156,20 @@ title = "🚢 Deployment Target"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = "docker"
help = "Select the deployment platform" help = "Select the deployment platform"
name = "deployment_target" name = "deployment_target"
nickel_path = ["provisioning", "deployment", "target"] nickel_path = ["provisioning", "deployment", "target"]
options = ["docker", "kubernetes", "both"]
prompt = "Deployment target" prompt = "Deployment target"
required = true required = true
type = "select" type = "select"
options = ["docker", "kubernetes", "both"]
default = "docker"
# Load deployment-specific fragments (conditional) # Load deployment-specific fragments (conditional)
load_fragments = ["fragments/deployment-docker.toml", "fragments/deployment-k8s.toml"] load_fragments = [
"fragments/deployment-docker.toml",
"fragments/deployment-k8s.toml"
]
# ============================================================================ # ============================================================================
# MONITORING (Optional) # MONITORING (Optional)
@ -180,16 +183,18 @@ title = "📊 Monitoring & Observability"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = false
help = "Enable monitoring stack (Prometheus, Grafana)" help = "Enable monitoring stack (Prometheus, Grafana)"
name = "enable_monitoring" name = "enable_monitoring"
nickel_path = ["provisioning", "monitoring", "enabled"] nickel_path = ["provisioning", "monitoring", "enabled"]
prompt = "Enable monitoring?" prompt = "Enable monitoring?"
required = true required = true
type = "confirm" type = "confirm"
default = false
# Load monitoring fragment (conditional) # Load monitoring fragment (conditional)
load_fragments = ["fragments/monitoring.toml"] load_fragments = [
"fragments/monitoring.toml"
]
# ============================================================================ # ============================================================================
# SECURITY (Optional) # SECURITY (Optional)
@ -203,26 +208,29 @@ title = "🔒 Security Configuration"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = false
help = "Enable TLS/SSL for services" help = "Enable TLS/SSL for services"
name = "enable_tls" name = "enable_tls"
nickel_path = ["provisioning", "security", "tls", "enabled"] nickel_path = ["provisioning", "security", "tls", "enabled"]
prompt = "Enable TLS/SSL?" prompt = "Enable TLS/SSL?"
required = true required = true
type = "confirm" type = "confirm"
default = false
[[elements]] [[elements]]
default = "none"
help = "Authentication method" help = "Authentication method"
name = "auth_method" name = "auth_method"
nickel_path = ["provisioning", "security", "auth", "method"] nickel_path = ["provisioning", "security", "auth", "method"]
options = ["none", "basic", "bearer", "oauth2", "jwt", "api_key"]
prompt = "Authentication method" prompt = "Authentication method"
required = true required = true
type = "select" type = "select"
options = ["none", "basic", "bearer", "oauth2", "jwt", "api_key"]
default = "none"
# Load security fragments (conditional) # Load security fragments (conditional)
load_fragments = ["fragments/auth-jwt.toml", "fragments/auth-api-key.toml"] load_fragments = [
"fragments/auth-jwt.toml",
"fragments/auth-api-key.toml"
]
# ============================================================================ # ============================================================================
# CONFIRMATION (Always shown) # CONFIRMATION (Always shown)
@ -236,9 +244,9 @@ title = "✅ Confirmation"
type = "section_header" type = "section_header"
[[elements]] [[elements]]
default = true
help = "Review your configuration and confirm to generate" help = "Review your configuration and confirm to generate"
name = "confirm_generation" name = "confirm_generation"
prompt = "Generate provisioning configuration?" prompt = "Generate provisioning configuration?"
required = true required = true
type = "confirm" type = "confirm"
default = true

View File

@ -2,30 +2,30 @@
# Conditional: when auth_method == "api_key" # Conditional: when auth_method == "api_key"
[[elements]] [[elements]]
default = "X-API-Key" type = "text"
help = "HTTP header name for API key (e.g., 'X-API-Key', 'Authorization')"
name = "api_key_header_name" name = "api_key_header_name"
nickel_path = ["provisioning", "security", "auth", "api_key", "header_name"]
prompt = "API key header name" prompt = "API key header name"
help = "HTTP header name for API key (e.g., 'X-API-Key', 'Authorization')"
default = "X-API-Key"
nickel_path = ["provisioning", "security", "auth", "api_key", "header_name"]
required = true required = true
type = "text"
when = "auth_method == api_key" when = "auth_method == api_key"
[[elements]] [[elements]]
help = "Query parameter name for API key (e.g., 'api_key'). Leave empty to disable." type = "text"
name = "api_key_query_param" name = "api_key_query_param"
nickel_path = ["provisioning", "security", "auth", "api_key", "query_param"]
placeholder = "api_key"
prompt = "API key query parameter (optional)" prompt = "API key query parameter (optional)"
help = "Query parameter name for API key (e.g., 'api_key'). Leave empty to disable."
placeholder = "api_key"
nickel_path = ["provisioning", "security", "auth", "api_key", "query_param"]
required = false required = false
type = "text"
when = "auth_method == api_key" when = "auth_method == api_key"
[[elements]] [[elements]]
border_bottom = true type = "section_header"
border_top = true
help = "API keys will need to be manually configured in the generated config file"
name = "api_key_note" name = "api_key_note"
title = " API Keys Configuration" title = " API Keys Configuration"
type = "section_header" border_top = true
border_bottom = true
help = "API keys will need to be manually configured in the generated config file"
when = "auth_method == api_key" when = "auth_method == api_key"

View File

@ -2,45 +2,45 @@
# Conditional: when auth_method == "jwt" # Conditional: when auth_method == "jwt"
[[elements]] [[elements]]
help = "Secret key for signing JWT tokens (min 8 characters, use strong random string)"
name = "jwt_secret"
nickel_path = ["provisioning", "security", "auth", "jwt", "secret"]
placeholder = "your-secret-key-here"
prompt = "JWT secret key"
required = true
type = "password" type = "password"
name = "jwt_secret"
prompt = "JWT secret key"
help = "Secret key for signing JWT tokens (min 8 characters, use strong random string)"
placeholder = "your-secret-key-here"
nickel_path = ["provisioning", "security", "auth", "jwt", "secret"]
required = true
when = "auth_method == jwt" when = "auth_method == jwt"
[[elements]] [[elements]]
default = "HS256"
help = "Algorithm for signing JWT tokens"
name = "jwt_algorithm"
nickel_path = ["provisioning", "security", "auth", "jwt", "algorithm"]
options = ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512"]
prompt = "JWT signing algorithm"
required = true
type = "select" type = "select"
when = "auth_method == jwt" name = "jwt_algorithm"
prompt = "JWT signing algorithm"
[[elements]] help = "Algorithm for signing JWT tokens"
custom_type = "u32" options = ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512"]
default = "3600" default = "HS256"
help = "JWT token expiration time in seconds (300-86400)" nickel_path = ["provisioning", "security", "auth", "jwt", "algorithm"]
maximum = "86400"
minimum = "300"
name = "jwt_expiry_seconds"
nickel_path = ["provisioning", "security", "auth", "jwt", "expiry_seconds"]
prompt = "Token expiry (seconds)"
required = true required = true
type = "custom"
when = "auth_method == jwt" when = "auth_method == jwt"
[[elements]] [[elements]]
help = "Issuer claim for JWT tokens (e.g., 'my-api')" type = "custom"
name = "jwt_issuer" custom_type = "u32"
nickel_path = ["provisioning", "security", "auth", "jwt", "issuer"] name = "jwt_expiry_seconds"
placeholder = "my-api" prompt = "Token expiry (seconds)"
prompt = "JWT issuer" help = "JWT token expiration time in seconds (300-86400)"
required = false default = "3600"
type = "text" minimum = "300"
maximum = "86400"
nickel_path = ["provisioning", "security", "auth", "jwt", "expiry_seconds"]
required = true
when = "auth_method == jwt"
[[elements]]
type = "text"
name = "jwt_issuer"
prompt = "JWT issuer"
help = "Issuer claim for JWT tokens (e.g., 'my-api')"
placeholder = "my-api"
nickel_path = ["provisioning", "security", "auth", "jwt", "issuer"]
required = false
when = "auth_method == jwt" when = "auth_method == jwt"

View File

@ -2,87 +2,87 @@
# Conditional: when database_type == "mysql" # Conditional: when database_type == "mysql"
[[elements]] [[elements]]
default = "localhost" type = "text"
help = "Hostname or IP address of MySQL server"
name = "mysql_host" name = "mysql_host"
nickel_path = ["provisioning", "database", "mysql", "host"]
prompt = "MySQL host" prompt = "MySQL host"
help = "Hostname or IP address of MySQL server"
default = "localhost"
nickel_path = ["provisioning", "database", "mysql", "host"]
required = true required = true
type = "text"
when = "database_type == mysql" when = "database_type == mysql"
[[elements]] [[elements]]
type = "custom"
custom_type = "u16" custom_type = "u16"
default = "3306"
help = "Port number for MySQL server"
maximum = "65535"
minimum = "1024"
name = "mysql_port" name = "mysql_port"
nickel_path = ["provisioning", "database", "mysql", "port"]
prompt = "MySQL port" prompt = "MySQL port"
help = "Port number for MySQL server"
default = "3306"
minimum = "1024"
maximum = "65535"
nickel_path = ["provisioning", "database", "mysql", "port"]
required = true required = true
type = "custom"
when = "database_type == mysql" when = "database_type == mysql"
[[elements]] [[elements]]
help = "MySQL database name" type = "text"
name = "mysql_database" name = "mysql_database"
nickel_path = ["provisioning", "database", "mysql", "database"]
placeholder = "myapp"
prompt = "Database name" prompt = "Database name"
help = "MySQL database name"
placeholder = "myapp"
nickel_path = ["provisioning", "database", "mysql", "database"]
required = true required = true
type = "text" when = "database_type == mysql"
validation_pattern = "^[a-zA-Z0-9_]+$" validation_pattern = "^[a-zA-Z0-9_]+$"
when = "database_type == mysql"
[[elements]] [[elements]]
default = "root" type = "text"
help = "MySQL username for authentication"
name = "mysql_username" name = "mysql_username"
nickel_path = ["provisioning", "database", "mysql", "username"]
prompt = "Database username" prompt = "Database username"
help = "MySQL username for authentication"
default = "root"
nickel_path = ["provisioning", "database", "mysql", "username"]
required = true required = true
type = "text"
when = "database_type == mysql" when = "database_type == mysql"
[[elements]] [[elements]]
help = "MySQL password (min 8 characters)"
name = "mysql_password"
nickel_path = ["provisioning", "database", "mysql", "password"]
prompt = "Database password"
required = true
type = "password" type = "password"
name = "mysql_password"
prompt = "Database password"
help = "MySQL password (min 8 characters)"
nickel_path = ["provisioning", "database", "mysql", "password"]
required = true
when = "database_type == mysql" when = "database_type == mysql"
[[elements]] [[elements]]
custom_type = "u16"
default = "10"
help = "Maximum number of database connections (1-1000)"
maximum = "1000"
minimum = "1"
name = "mysql_pool_size"
nickel_path = ["provisioning", "database", "mysql", "pool_size"]
prompt = "Connection pool size"
required = true
type = "custom" type = "custom"
custom_type = "u16"
name = "mysql_pool_size"
prompt = "Connection pool size"
help = "Maximum number of database connections (1-1000)"
default = "10"
minimum = "1"
maximum = "1000"
nickel_path = ["provisioning", "database", "mysql", "pool_size"]
required = true
when = "database_type == mysql" when = "database_type == mysql"
[[elements]] [[elements]]
default = "utf8mb4" type = "text"
help = "MySQL character set"
name = "mysql_charset" name = "mysql_charset"
nickel_path = ["provisioning", "database", "mysql", "charset"]
prompt = "Character set" prompt = "Character set"
help = "MySQL character set"
default = "utf8mb4"
nickel_path = ["provisioning", "database", "mysql", "charset"]
required = true required = true
type = "text"
when = "database_type == mysql" when = "database_type == mysql"
[[elements]] [[elements]]
default = "utf8mb4_unicode_ci"
help = "MySQL collation"
name = "mysql_collation"
nickel_path = ["provisioning", "database", "mysql", "collation"]
prompt = "Collation"
required = true
type = "text" type = "text"
name = "mysql_collation"
prompt = "Collation"
help = "MySQL collation"
default = "utf8mb4_unicode_ci"
nickel_path = ["provisioning", "database", "mysql", "collation"]
required = true
when = "database_type == mysql" when = "database_type == mysql"

View File

@ -2,91 +2,91 @@
# Conditional: when database_type == "postgres" # Conditional: when database_type == "postgres"
[[elements]] [[elements]]
default = "localhost" type = "text"
help = "Hostname or IP address of PostgreSQL server"
name = "postgres_host" name = "postgres_host"
nickel_path = ["provisioning", "database", "postgres", "host"]
prompt = "PostgreSQL host" prompt = "PostgreSQL host"
help = "Hostname or IP address of PostgreSQL server"
default = "localhost"
nickel_path = ["provisioning", "database", "postgres", "host"]
required = true required = true
type = "text"
when = "database_type == postgres" when = "database_type == postgres"
[[elements]] [[elements]]
type = "custom"
custom_type = "u16" custom_type = "u16"
default = "5432"
help = "Port number for PostgreSQL server"
maximum = "65535"
minimum = "1024"
name = "postgres_port" name = "postgres_port"
nickel_path = ["provisioning", "database", "postgres", "port"]
prompt = "PostgreSQL port" prompt = "PostgreSQL port"
help = "Port number for PostgreSQL server"
default = "5432"
minimum = "1024"
maximum = "65535"
nickel_path = ["provisioning", "database", "postgres", "port"]
required = true required = true
type = "custom"
when = "database_type == postgres" when = "database_type == postgres"
[[elements]] [[elements]]
help = "PostgreSQL database name" type = "text"
name = "postgres_database" name = "postgres_database"
nickel_path = ["provisioning", "database", "postgres", "database"]
placeholder = "myapp"
prompt = "Database name" prompt = "Database name"
help = "PostgreSQL database name"
placeholder = "myapp"
nickel_path = ["provisioning", "database", "postgres", "database"]
required = true required = true
type = "text" when = "database_type == postgres"
validation_pattern = "^[a-zA-Z0-9_]+$" validation_pattern = "^[a-zA-Z0-9_]+$"
when = "database_type == postgres"
[[elements]] [[elements]]
default = "postgres"
help = "PostgreSQL username for authentication"
name = "postgres_username"
nickel_path = ["provisioning", "database", "postgres", "username"]
prompt = "Database username"
required = true
type = "text" type = "text"
name = "postgres_username"
prompt = "Database username"
help = "PostgreSQL username for authentication"
default = "postgres"
nickel_path = ["provisioning", "database", "postgres", "username"]
required = true
when = "database_type == postgres" when = "database_type == postgres"
[[elements]] [[elements]]
help = "PostgreSQL password (min 8 characters)"
name = "postgres_password"
nickel_path = ["provisioning", "database", "postgres", "password"]
prompt = "Database password"
required = true
type = "password" type = "password"
name = "postgres_password"
prompt = "Database password"
help = "PostgreSQL password (min 8 characters)"
nickel_path = ["provisioning", "database", "postgres", "password"]
required = true
when = "database_type == postgres" when = "database_type == postgres"
[[elements]] [[elements]]
type = "custom"
custom_type = "u16" custom_type = "u16"
default = "10"
help = "Maximum number of database connections (1-1000)"
maximum = "1000"
minimum = "1"
name = "postgres_pool_size" name = "postgres_pool_size"
nickel_path = ["provisioning", "database", "postgres", "pool_size"]
prompt = "Connection pool size" prompt = "Connection pool size"
required = true help = "Maximum number of database connections (1-1000)"
type = "custom" default = "10"
when = "database_type == postgres"
[[elements]]
custom_type = "u16"
default = "30"
help = "Timeout for establishing database connections (1-300)"
maximum = "300"
minimum = "1" minimum = "1"
name = "postgres_connection_timeout" maximum = "1000"
nickel_path = ["provisioning", "database", "postgres", "connection_timeout"] nickel_path = ["provisioning", "database", "postgres", "pool_size"]
prompt = "Connection timeout (seconds)"
required = true required = true
type = "custom"
when = "database_type == postgres" when = "database_type == postgres"
[[elements]] [[elements]]
default = "prefer" type = "custom"
help = "PostgreSQL SSL connection mode" custom_type = "u16"
name = "postgres_ssl_mode" name = "postgres_connection_timeout"
nickel_path = ["provisioning", "database", "postgres", "ssl_mode"] prompt = "Connection timeout (seconds)"
options = ["disable", "allow", "prefer", "require", "verify-ca", "verify-full"] help = "Timeout for establishing database connections (1-300)"
prompt = "SSL mode" default = "30"
minimum = "1"
maximum = "300"
nickel_path = ["provisioning", "database", "postgres", "connection_timeout"]
required = true
when = "database_type == postgres"
[[elements]]
type = "select"
name = "postgres_ssl_mode"
prompt = "SSL mode"
help = "PostgreSQL SSL connection mode"
options = ["disable", "allow", "prefer", "require", "verify-ca", "verify-full"]
default = "prefer"
nickel_path = ["provisioning", "database", "postgres", "ssl_mode"]
required = true required = true
type = "select"
when = "database_type == postgres" when = "database_type == postgres"

View File

@ -2,43 +2,43 @@
# Conditional: when database_type == "sqlite" # Conditional: when database_type == "sqlite"
[[elements]] [[elements]]
default = "./data/app.db"
help = "Path to SQLite database file (will be created if it doesn't exist)"
name = "sqlite_database_path"
nickel_path = ["provisioning", "database", "sqlite", "database_path"]
prompt = "Database file path"
required = true
type = "text" type = "text"
name = "sqlite_database_path"
prompt = "Database file path"
help = "Path to SQLite database file (will be created if it doesn't exist)"
default = "./data/app.db"
nickel_path = ["provisioning", "database", "sqlite", "database_path"]
required = true
when = "database_type == sqlite" when = "database_type == sqlite"
[[elements]] [[elements]]
default = "WAL" type = "select"
help = "SQLite journaling mode (WAL is recommended for concurrency)"
name = "sqlite_journal_mode" name = "sqlite_journal_mode"
nickel_path = ["provisioning", "database", "sqlite", "journal_mode"]
options = ["WAL", "DELETE", "TRUNCATE", "PERSIST", "MEMORY"]
prompt = "Journal mode" prompt = "Journal mode"
help = "SQLite journaling mode (WAL is recommended for concurrency)"
options = ["WAL", "DELETE", "TRUNCATE", "PERSIST", "MEMORY"]
default = "WAL"
nickel_path = ["provisioning", "database", "sqlite", "journal_mode"]
required = true required = true
type = "select"
when = "database_type == sqlite" when = "database_type == sqlite"
[[elements]] [[elements]]
default = "NORMAL" type = "select"
help = "SQLite synchronous mode (NORMAL balances safety and speed)"
name = "sqlite_synchronous" name = "sqlite_synchronous"
nickel_path = ["provisioning", "database", "sqlite", "synchronous"]
options = ["OFF", "NORMAL", "FULL", "EXTRA"]
prompt = "Synchronous mode" prompt = "Synchronous mode"
help = "SQLite synchronous mode (NORMAL balances safety and speed)"
options = ["OFF", "NORMAL", "FULL", "EXTRA"]
default = "NORMAL"
nickel_path = ["provisioning", "database", "sqlite", "synchronous"]
required = true required = true
type = "select"
when = "database_type == sqlite" when = "database_type == sqlite"
[[elements]] [[elements]]
default = true
help = "Enable SQLite foreign key enforcement"
name = "sqlite_foreign_keys"
nickel_path = ["provisioning", "database", "sqlite", "foreign_keys"]
prompt = "Enable foreign key constraints?"
required = true
type = "confirm" type = "confirm"
name = "sqlite_foreign_keys"
prompt = "Enable foreign key constraints?"
help = "Enable SQLite foreign key enforcement"
default = true
nickel_path = ["provisioning", "database", "sqlite", "foreign_keys"]
required = true
when = "database_type == sqlite" when = "database_type == sqlite"

View File

@ -2,74 +2,74 @@
# Conditional: when database_type == "surrealdb" # Conditional: when database_type == "surrealdb"
[[elements]] [[elements]]
default = "localhost" type = "text"
help = "Hostname or IP address of SurrealDB server"
name = "surrealdb_host" name = "surrealdb_host"
nickel_path = ["provisioning", "database", "surrealdb", "host"]
prompt = "SurrealDB host" prompt = "SurrealDB host"
help = "Hostname or IP address of SurrealDB server"
default = "localhost"
nickel_path = ["provisioning", "database", "surrealdb", "host"]
required = true required = true
type = "text"
when = "database_type == surrealdb" when = "database_type == surrealdb"
[[elements]] [[elements]]
custom_type = "u16"
default = "8000"
help = "Port number for SurrealDB server"
maximum = "65535"
minimum = "1024"
name = "surrealdb_port"
nickel_path = ["provisioning", "database", "surrealdb", "port"]
prompt = "SurrealDB port"
required = true
type = "custom" type = "custom"
custom_type = "u16"
name = "surrealdb_port"
prompt = "SurrealDB port"
help = "Port number for SurrealDB server"
default = "8000"
minimum = "1024"
maximum = "65535"
nickel_path = ["provisioning", "database", "surrealdb", "port"]
required = true
when = "database_type == surrealdb" when = "database_type == surrealdb"
[[elements]] [[elements]]
help = "SurrealDB namespace" type = "text"
name = "surrealdb_namespace" name = "surrealdb_namespace"
nickel_path = ["provisioning", "database", "surrealdb", "namespace"]
placeholder = "myapp"
prompt = "Namespace" prompt = "Namespace"
help = "SurrealDB namespace"
placeholder = "myapp"
nickel_path = ["provisioning", "database", "surrealdb", "namespace"]
required = true required = true
type = "text"
when = "database_type == surrealdb" when = "database_type == surrealdb"
[[elements]] [[elements]]
help = "SurrealDB database name" type = "text"
name = "surrealdb_database" name = "surrealdb_database"
nickel_path = ["provisioning", "database", "surrealdb", "database"]
placeholder = "main"
prompt = "Database name" prompt = "Database name"
help = "SurrealDB database name"
placeholder = "main"
nickel_path = ["provisioning", "database", "surrealdb", "database"]
required = true required = true
type = "text"
when = "database_type == surrealdb" when = "database_type == surrealdb"
[[elements]] [[elements]]
default = "root" type = "text"
help = "SurrealDB username for authentication"
name = "surrealdb_username" name = "surrealdb_username"
nickel_path = ["provisioning", "database", "surrealdb", "username"]
prompt = "Database username" prompt = "Database username"
help = "SurrealDB username for authentication"
default = "root"
nickel_path = ["provisioning", "database", "surrealdb", "username"]
required = true required = true
type = "text"
when = "database_type == surrealdb" when = "database_type == surrealdb"
[[elements]] [[elements]]
help = "SurrealDB password (min 8 characters)"
name = "surrealdb_password"
nickel_path = ["provisioning", "database", "surrealdb", "password"]
prompt = "Database password"
required = true
type = "password" type = "password"
name = "surrealdb_password"
prompt = "Database password"
help = "SurrealDB password (min 8 characters)"
nickel_path = ["provisioning", "database", "surrealdb", "password"]
required = true
when = "database_type == surrealdb" when = "database_type == surrealdb"
[[elements]] [[elements]]
default = "http"
help = "Protocol for connecting to SurrealDB"
name = "surrealdb_protocol"
nickel_path = ["provisioning", "database", "surrealdb", "protocol"]
options = ["http", "https", "ws", "wss"]
prompt = "Connection protocol"
required = true
type = "select" type = "select"
name = "surrealdb_protocol"
prompt = "Connection protocol"
help = "Protocol for connecting to SurrealDB"
options = ["http", "https", "ws", "wss"]
default = "http"
nickel_path = ["provisioning", "database", "surrealdb", "protocol"]
required = true
when = "database_type == surrealdb" when = "database_type == surrealdb"

View File

@ -2,43 +2,43 @@
# Conditional: when deployment_target == "docker" or deployment_target == "both" # Conditional: when deployment_target == "docker" or deployment_target == "both"
[[elements]] [[elements]]
default = "3.8" type = "select"
help = "Docker Compose file format version"
name = "docker_compose_version" name = "docker_compose_version"
nickel_path = ["provisioning", "deployment", "docker_compose", "version"]
options = ["3.8", "3.9"]
prompt = "Docker Compose version" prompt = "Docker Compose version"
help = "Docker Compose file format version"
options = ["3.8", "3.9"]
default = "3.8"
nickel_path = ["provisioning", "deployment", "docker_compose", "version"]
required = true required = true
type = "select"
when = "deployment_target == docker || deployment_target == both" when = "deployment_target == docker || deployment_target == both"
[[elements]] [[elements]]
help = "Project name for Docker Compose (optional, uses directory name if not set)" type = "text"
name = "docker_project_name" name = "docker_project_name"
nickel_path = ["provisioning", "deployment", "docker_compose", "project_name"]
placeholder = "my-app"
prompt = "Docker Compose project name" prompt = "Docker Compose project name"
help = "Project name for Docker Compose (optional, uses directory name if not set)"
placeholder = "my-app"
nickel_path = ["provisioning", "deployment", "docker_compose", "project_name"]
required = false required = false
type = "text"
when = "deployment_target == docker || deployment_target == both" when = "deployment_target == docker || deployment_target == both"
[[elements]] [[elements]]
default = ".env" type = "text"
help = "Path to .env file for environment variables"
name = "docker_env_file" name = "docker_env_file"
nickel_path = ["provisioning", "deployment", "docker_compose", "env_file"]
prompt = "Environment file path" prompt = "Environment file path"
help = "Path to .env file for environment variables"
default = ".env"
nickel_path = ["provisioning", "deployment", "docker_compose", "env_file"]
required = true required = true
type = "text"
when = "deployment_target == docker || deployment_target == both" when = "deployment_target == docker || deployment_target == both"
[[elements]] [[elements]]
default = "unless-stopped"
help = "Restart policy for containers"
name = "restart_policy"
nickel_path = ["provisioning", "services", "api", "restart_policy"]
options = ["no", "always", "on-failure", "unless-stopped"]
prompt = "Container restart policy"
required = true
type = "select" type = "select"
name = "restart_policy"
prompt = "Container restart policy"
help = "Restart policy for containers"
options = ["no", "always", "on-failure", "unless-stopped"]
default = "unless-stopped"
nickel_path = ["provisioning", "services", "api", "restart_policy"]
required = true
when = "deployment_target == docker || deployment_target == both" when = "deployment_target == docker || deployment_target == both"

View File

@ -2,152 +2,152 @@
# Conditional: when deployment_target == "kubernetes" or deployment_target == "both" # Conditional: when deployment_target == "kubernetes" or deployment_target == "both"
[[elements]] [[elements]]
default = "default" type = "text"
help = "Namespace for deploying resources"
name = "k8s_namespace" name = "k8s_namespace"
nickel_path = ["provisioning", "deployment", "kubernetes", "namespace"]
prompt = "Kubernetes namespace" prompt = "Kubernetes namespace"
help = "Namespace for deploying resources"
default = "default"
nickel_path = ["provisioning", "deployment", "kubernetes", "namespace"]
required = true required = true
type = "text" when = "deployment_target == kubernetes || deployment_target == both"
validation_pattern = "^[a-z0-9-]+$" validation_pattern = "^[a-z0-9-]+$"
when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
default = false type = "confirm"
help = "Automatically create the namespace during deployment"
name = "k8s_create_namespace" name = "k8s_create_namespace"
nickel_path = ["provisioning", "deployment", "kubernetes", "create_namespace"]
prompt = "Create namespace if it doesn't exist?" prompt = "Create namespace if it doesn't exist?"
help = "Automatically create the namespace during deployment"
default = false
nickel_path = ["provisioning", "deployment", "kubernetes", "create_namespace"]
required = true required = true
type = "confirm"
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
default = "ClusterIP"
help = "Kubernetes Service type"
name = "k8s_service_type"
nickel_path = ["provisioning", "deployment", "kubernetes", "service", "type"]
options = ["ClusterIP", "NodePort", "LoadBalancer"]
prompt = "Service type"
required = true
type = "select" type = "select"
name = "k8s_service_type"
prompt = "Service type"
help = "Kubernetes Service type"
options = ["ClusterIP", "NodePort", "LoadBalancer"]
default = "ClusterIP"
nickel_path = ["provisioning", "deployment", "kubernetes", "service", "type"]
required = true
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
default = false type = "confirm"
help = "Create an Ingress resource for external access"
name = "k8s_enable_ingress" name = "k8s_enable_ingress"
nickel_path = ["provisioning", "deployment", "kubernetes", "ingress", "enabled"]
prompt = "Enable Ingress?" prompt = "Enable Ingress?"
required = true help = "Create an Ingress resource for external access"
type = "confirm"
when = "deployment_target == kubernetes || deployment_target == both"
[[elements]]
default = "nginx"
help = "Ingress controller class (e.g., nginx, traefik)"
name = "k8s_ingress_class"
nickel_path = ["provisioning", "deployment", "kubernetes", "ingress", "class_name"]
prompt = "Ingress class name"
required = true
type = "text"
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_ingress == true"
[[elements]]
help = "Hostname for Ingress (e.g., api.example.com)"
name = "k8s_ingress_host"
nickel_path = ["provisioning", "deployment", "kubernetes", "ingress", "rules", 0, "host"]
placeholder = "api.example.com"
prompt = "Ingress hostname"
required = true
type = "text"
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_ingress == true"
[[elements]]
default = false default = false
help = "Automatically scale pods based on CPU/memory usage" nickel_path = ["provisioning", "deployment", "kubernetes", "ingress", "enabled"]
name = "k8s_enable_hpa"
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "enabled"]
prompt = "Enable Horizontal Pod Autoscaler?"
required = true required = true
when = "deployment_target == kubernetes || deployment_target == both"
[[elements]]
type = "text"
name = "k8s_ingress_class"
prompt = "Ingress class name"
help = "Ingress controller class (e.g., nginx, traefik)"
default = "nginx"
nickel_path = ["provisioning", "deployment", "kubernetes", "ingress", "class_name"]
required = true
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_ingress == true"
[[elements]]
type = "text"
name = "k8s_ingress_host"
prompt = "Ingress hostname"
help = "Hostname for Ingress (e.g., api.example.com)"
placeholder = "api.example.com"
nickel_path = ["provisioning", "deployment", "kubernetes", "ingress", "rules", 0, "host"]
required = true
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_ingress == true"
[[elements]]
type = "confirm" type = "confirm"
name = "k8s_enable_hpa"
prompt = "Enable Horizontal Pod Autoscaler?"
help = "Automatically scale pods based on CPU/memory usage"
default = false
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "enabled"]
required = true
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
type = "custom"
custom_type = "u16" custom_type = "u16"
default = "1"
help = "Minimum number of pods (1-100)"
maximum = "100"
minimum = "1"
name = "k8s_hpa_min_replicas" name = "k8s_hpa_min_replicas"
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "min_replicas"]
prompt = "Minimum replicas" prompt = "Minimum replicas"
help = "Minimum number of pods (1-100)"
default = "1"
minimum = "1"
maximum = "100"
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "min_replicas"]
required = true required = true
type = "custom"
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_hpa == true" when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_hpa == true"
[[elements]] [[elements]]
type = "custom"
custom_type = "u16" custom_type = "u16"
default = "10"
help = "Maximum number of pods (1-100)"
maximum = "100"
minimum = "1"
name = "k8s_hpa_max_replicas" name = "k8s_hpa_max_replicas"
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "max_replicas"]
prompt = "Maximum replicas" prompt = "Maximum replicas"
required = true help = "Maximum number of pods (1-100)"
type = "custom" default = "10"
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_hpa == true"
[[elements]]
custom_type = "u16"
default = "80"
help = "Target CPU utilization percentage (1-100)"
maximum = "100"
minimum = "1" minimum = "1"
name = "k8s_hpa_cpu_target" maximum = "100"
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "target_cpu_utilization"] nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "max_replicas"]
prompt = "Target CPU utilization (%)"
required = true required = true
type = "custom"
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_hpa == true" when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_hpa == true"
[[elements]] [[elements]]
default = "100m" type = "custom"
help = "CPU request (e.g., '100m', '1')" custom_type = "u16"
name = "k8s_hpa_cpu_target"
prompt = "Target CPU utilization (%)"
help = "Target CPU utilization percentage (1-100)"
default = "80"
minimum = "1"
maximum = "100"
nickel_path = ["provisioning", "deployment", "kubernetes", "hpa", "target_cpu_utilization"]
required = true
when = "(deployment_target == kubernetes || deployment_target == both) && k8s_enable_hpa == true"
[[elements]]
type = "text"
name = "k8s_cpu_request" name = "k8s_cpu_request"
nickel_path = ["provisioning", "services", "api", "resources", "cpu_request"]
prompt = "CPU request" prompt = "CPU request"
help = "CPU request (e.g., '100m', '1')"
default = "100m"
nickel_path = ["provisioning", "services", "api", "resources", "cpu_request"]
required = false required = false
type = "text"
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
default = "500m" type = "text"
help = "CPU limit (e.g., '500m', '2')"
name = "k8s_cpu_limit" name = "k8s_cpu_limit"
nickel_path = ["provisioning", "services", "api", "resources", "cpu_limit"]
prompt = "CPU limit" prompt = "CPU limit"
help = "CPU limit (e.g., '500m', '2')"
default = "500m"
nickel_path = ["provisioning", "services", "api", "resources", "cpu_limit"]
required = false required = false
type = "text"
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
default = "128Mi" type = "text"
help = "Memory request (e.g., '128Mi', '1Gi')"
name = "k8s_memory_request" name = "k8s_memory_request"
nickel_path = ["provisioning", "services", "api", "resources", "memory_request"]
prompt = "Memory request" prompt = "Memory request"
help = "Memory request (e.g., '128Mi', '1Gi')"
default = "128Mi"
nickel_path = ["provisioning", "services", "api", "resources", "memory_request"]
required = false required = false
type = "text"
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"
[[elements]] [[elements]]
default = "512Mi"
help = "Memory limit (e.g., '512Mi', '2Gi')"
name = "k8s_memory_limit"
nickel_path = ["provisioning", "services", "api", "resources", "memory_limit"]
prompt = "Memory limit"
required = false
type = "text" type = "text"
name = "k8s_memory_limit"
prompt = "Memory limit"
help = "Memory limit (e.g., '512Mi', '2Gi')"
default = "512Mi"
nickel_path = ["provisioning", "services", "api", "resources", "memory_limit"]
required = false
when = "deployment_target == kubernetes || deployment_target == both" when = "deployment_target == kubernetes || deployment_target == both"

View File

@ -2,97 +2,97 @@
# Conditional: when enable_monitoring == true # Conditional: when enable_monitoring == true
[[elements]] [[elements]]
default = true type = "confirm"
help = "Enable Prometheus for metrics collection"
name = "enable_prometheus" name = "enable_prometheus"
nickel_path = ["provisioning", "monitoring", "prometheus", "enabled"]
prompt = "Enable Prometheus?" prompt = "Enable Prometheus?"
required = true help = "Enable Prometheus for metrics collection"
type = "confirm"
when = "enable_monitoring == true"
[[elements]]
custom_type = "u16"
default = "9090"
help = "Port for Prometheus web UI"
maximum = "65535"
minimum = "1024"
name = "prometheus_port"
nickel_path = ["provisioning", "monitoring", "prometheus", "port"]
prompt = "Prometheus port"
required = true
type = "custom"
when = "enable_monitoring == true && enable_prometheus == true"
[[elements]]
default = "15d"
help = "How long to keep metrics (e.g., '15d', '30d')"
name = "prometheus_retention"
nickel_path = ["provisioning", "monitoring", "prometheus", "retention"]
prompt = "Data retention period"
required = true
type = "text"
when = "enable_monitoring == true && enable_prometheus == true"
[[elements]]
default = true default = true
help = "Enable Grafana for visualizing metrics" nickel_path = ["provisioning", "monitoring", "prometheus", "enabled"]
name = "enable_grafana"
nickel_path = ["provisioning", "monitoring", "grafana", "enabled"]
prompt = "Enable Grafana?"
required = true required = true
type = "confirm"
when = "enable_monitoring == true" when = "enable_monitoring == true"
[[elements]] [[elements]]
custom_type = "u16"
default = "3000"
help = "Port for Grafana web UI"
maximum = "65535"
minimum = "1024"
name = "grafana_port"
nickel_path = ["provisioning", "monitoring", "grafana", "port"]
prompt = "Grafana port"
required = true
type = "custom" type = "custom"
when = "enable_monitoring == true && enable_grafana == true" custom_type = "u16"
name = "prometheus_port"
prompt = "Prometheus port"
help = "Port for Prometheus web UI"
default = "9090"
minimum = "1024"
maximum = "65535"
nickel_path = ["provisioning", "monitoring", "prometheus", "port"]
required = true
when = "enable_monitoring == true && enable_prometheus == true"
[[elements]] [[elements]]
default = "admin"
help = "Admin username for Grafana"
name = "grafana_admin_user"
nickel_path = ["provisioning", "monitoring", "grafana", "admin_user"]
prompt = "Grafana admin username"
required = true
type = "text" type = "text"
name = "prometheus_retention"
prompt = "Data retention period"
help = "How long to keep metrics (e.g., '15d', '30d')"
default = "15d"
nickel_path = ["provisioning", "monitoring", "prometheus", "retention"]
required = true
when = "enable_monitoring == true && enable_prometheus == true"
[[elements]]
type = "confirm"
name = "enable_grafana"
prompt = "Enable Grafana?"
help = "Enable Grafana for visualizing metrics"
default = true
nickel_path = ["provisioning", "monitoring", "grafana", "enabled"]
required = true
when = "enable_monitoring == true"
[[elements]]
type = "custom"
custom_type = "u16"
name = "grafana_port"
prompt = "Grafana port"
help = "Port for Grafana web UI"
default = "3000"
minimum = "1024"
maximum = "65535"
nickel_path = ["provisioning", "monitoring", "grafana", "port"]
required = true
when = "enable_monitoring == true && enable_grafana == true" when = "enable_monitoring == true && enable_grafana == true"
[[elements]] [[elements]]
default = "changeme" type = "text"
help = "Admin password for Grafana (min 8 characters)" name = "grafana_admin_user"
name = "grafana_admin_password" prompt = "Grafana admin username"
nickel_path = ["provisioning", "monitoring", "grafana", "admin_password"] help = "Admin username for Grafana"
prompt = "Grafana admin password" default = "admin"
nickel_path = ["provisioning", "monitoring", "grafana", "admin_user"]
required = true required = true
when = "enable_monitoring == true && enable_grafana == true"
[[elements]]
type = "password" type = "password"
name = "grafana_admin_password"
prompt = "Grafana admin password"
help = "Admin password for Grafana (min 8 characters)"
default = "changeme"
nickel_path = ["provisioning", "monitoring", "grafana", "admin_password"]
required = true
when = "enable_monitoring == true && enable_grafana == true" when = "enable_monitoring == true && enable_grafana == true"
[[elements]] [[elements]]
default = false
help = "Enable Loki for log aggregation"
name = "enable_loki"
nickel_path = ["provisioning", "monitoring", "loki", "enabled"]
prompt = "Enable Loki?"
required = true
type = "confirm" type = "confirm"
name = "enable_loki"
prompt = "Enable Loki?"
help = "Enable Loki for log aggregation"
default = false
nickel_path = ["provisioning", "monitoring", "loki", "enabled"]
required = true
when = "enable_monitoring == true" when = "enable_monitoring == true"
[[elements]] [[elements]]
default = false
help = "Enable Jaeger for distributed tracing"
name = "enable_jaeger"
nickel_path = ["provisioning", "monitoring", "jaeger", "enabled"]
prompt = "Enable Jaeger?"
required = true
type = "confirm" type = "confirm"
name = "enable_jaeger"
prompt = "Enable Jaeger?"
help = "Enable Jaeger for distributed tracing"
default = false
nickel_path = ["provisioning", "monitoring", "jaeger", "enabled"]
required = true
when = "enable_monitoring == true" when = "enable_monitoring == true"

View File

@ -2,7 +2,7 @@ Based on [write-good](https://github.com/btford/write-good).
> Naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too. > Naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too.
``` ```plaintext
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2014 Brian Ford Copyright (c) 2014 Brian Ford

View File

@ -1 +1,79 @@
# Woodpecker CI Configuration\n\nPipelines for Gitea/Forgejo + Woodpecker CI.\n\n## Files\n\n- **`ci.yml`** - Main CI pipeline (push, pull requests)\n- **`Dockerfile`** - Custom CI image with pre-installed tools\n- **`Dockerfile.cross`** - Cross-compilation image for multi-platform builds\n\n## Setup\n\n### 1. Activate Woodpecker CI\n\nEnable Woodpecker CI in your Gitea/Forgejo repository settings.\n\n### 2. (Optional) Build Custom Image\n\nSpeeds up CI by pre-installing tools (~5 min faster per run).\n\n```\n# Build CI image\ndocker build -t your-registry/ci:latest -f .woodpecker/Dockerfile .\n\n# Push to your registry\ndocker push your-registry/ci:latest\n\n# Update .woodpecker/ci.yml\n# Change: image: rust:latest\n# To: image: your-registry/ci:latest\n```\n\n### 3. Cross-Compilation Setup\n\nFor multi-platform builds:\n\n```\n# Build cross-compilation image\ndocker build -t your-registry/ci-cross:latest -f .woodpecker/Dockerfile.cross .\n\n# Push to registry\ndocker push your-registry/ci-cross:latest\n```\n\n## CI Pipeline (`ci.yml`)\n\n**Triggers**: Push to `main`/`develop`, Pull Requests\n\n**Jobs**:\n\n1. Lint (Rust, Bash, Nickel, Nushell, Markdown) - Parallel\n2. Test (all features)\n3. Build (release)\n4. Security audit\n5. License compliance check\n\n**Duration**: ~15-20 minutes (without custom image), ~10-15 minutes (with custom image)\n\n## Triggering Pipelines\n\n```\n# CI pipeline (automatic on push/PR)\ngit push origin main\n```\n\n## Viewing Results\n\n- **Gitea/Forgejo**: Repository → Actions → Pipeline runs\n- **Woodpecker UI**: <https://your-woodpecker.instance/repos/{user}/{repo}>\n\n## Differences from GitHub Actions\n\n| Feature | GitHub Actions | Woodpecker CI |\n| --------- | --------------- | --------------- |\n| Matrix builds | ✅ 3 OS | ❌ Linux only* |\n| Caching | ✅ Built-in | ⚠️ Server-side** |\n\n\* Multi-OS builds require multiple Woodpecker agents\n\*\* Configure in Woodpecker server settings # Woodpecker CI Configuration
Pipelines for Gitea/Forgejo + Woodpecker CI.
## Files
- **`ci.yml`** - Main CI pipeline (push, pull requests)
- **`Dockerfile`** - Custom CI image with pre-installed tools
- **`Dockerfile.cross`** - Cross-compilation image for multi-platform builds
## Setup
### 1. Activate Woodpecker CI
Enable Woodpecker CI in your Gitea/Forgejo repository settings.
### 2. (Optional) Build Custom Image
Speeds up CI by pre-installing tools (~5 min faster per run).
```bash
# Build CI image
docker build -t your-registry/ci:latest -f .woodpecker/Dockerfile .
# Push to your registry
docker push your-registry/ci:latest
# Update .woodpecker/ci.yml
# Change: image: rust:latest
# To: image: your-registry/ci:latest
```
### 3. Cross-Compilation Setup
For multi-platform builds:
```bash
# Build cross-compilation image
docker build -t your-registry/ci-cross:latest -f .woodpecker/Dockerfile.cross .
# Push to registry
docker push your-registry/ci-cross:latest
```
## CI Pipeline (`ci.yml`)
**Triggers**: Push to `main`/`develop`, Pull Requests
**Jobs**:
1. Lint (Rust, Bash, Nickel, Nushell, Markdown) - Parallel
2. Test (all features)
3. Build (release)
4. Security audit
5. License compliance check
**Duration**: ~15-20 minutes (without custom image), ~10-15 minutes (with custom image)
## Triggering Pipelines
```bash
# CI pipeline (automatic on push/PR)
git push origin main
```
## Viewing Results
- **Gitea/Forgejo**: Repository → Actions → Pipeline runs
- **Woodpecker UI**: <https://your-woodpecker.instance/repos/{user}/{repo}>
## Differences from GitHub Actions
| Feature | GitHub Actions | Woodpecker CI |
| --------- | --------------- | --------------- |
| Matrix builds | ✅ 3 OS | ❌ Linux only* |
| Caching | ✅ Built-in | ⚠️ Server-side** |
\* Multi-OS builds require multiple Woodpecker agents
\*\* Configure in Woodpecker server settings

File diff suppressed because one or more lines are too long

View File

@ -1 +1,107 @@
# Code of Conduct\n\n## Our Pledge\n\nWe, as members, contributors, and leaders, pledge to make participation in our project and community a harassment-free experience for everyone, regardless of:\n\n- Age\n- Body size\n- Visible or invisible disability\n- Ethnicity\n- Sex characteristics\n- Gender identity and expression\n- Level of experience\n- Education\n- Socioeconomic status\n- Nationality\n- Personal appearance\n- Race\n- Caste\n- Color\n- Religion\n- Sexual identity and orientation\n\nWe pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.\n\n## Our Standards\n\nExamples of behavior that contributes to a positive environment for our community include:\n\n- Demonstrating empathy and kindness toward other people\n- Being respectful of differing opinions, viewpoints, and experiences\n- Giving and gracefully accepting constructive feedback\n- Accepting responsibility and apologizing to those affected by mistakes\n- Focusing on what is best not just for us as individuals, but for the overall community\n\nExamples of unacceptable behavior include:\n\n- The use of sexualized language or imagery\n- Trolling, insulting, or derogatory comments\n- Personal or political attacks\n- Public or private harassment\n- Publishing others' private information (doxing)\n- Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Enforcement Responsibilities\n\nProject maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate corrective action in response to unacceptable behavior.\n\nMaintainers have the right and responsibility to:\n\n- Remove, edit, or reject comments, commits, code, and other contributions\n- Ban contributors for behavior they deem inappropriate, threatening, or harmful\n\n## Scope\n\nThis Code of Conduct applies to:\n\n- All community spaces (GitHub, forums, chat, events, etc.)\n- Official project channels and representations\n- Interactions between community members related to the project\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported to project maintainers:\n\n- Email: [project contact]\n- GitHub: Private security advisory\n- Issues: Report with `conduct` label (public discussions only)\n\nAll complaints will be reviewed and investigated promptly and fairly.\n\n### Enforcement Guidelines\n\n**1. Correction**\n\n- Community impact: Use of inappropriate language or unwelcoming behavior\n- Action: Private written warning with explanation and clarity on impact\n- Consequence: Warning and no further violations\n\n**2. Warning**\n\n- Community impact: Violation through single incident or series of actions\n- Action: Written warning with severity consequences for continued behavior\n- Consequence: Suspension from community interaction\n\n**3. Temporary Ban**\n\n- Community impact: Serious violation of standards\n- Action: Temporary ban from community interaction\n- Consequence: Revocation of ban after reflection period\n\n**4. Permanent Ban**\n\n- Community impact: Pattern of violating community standards\n- Action: Permanent ban from community interaction\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.\n\nFor answers to common questions about this code of conduct, see the FAQ at <https://www.contributor-covenant.org/faq>.\n\n---\n\n**Thank you for being part of our community!**\n\nWe believe in creating a welcoming and inclusive space where everyone can contribute their best work. Together, we make this project better. # Code of Conduct
## Our Pledge
We, as members, contributors, and leaders, pledge to make participation in our project and community a harassment-free experience for everyone, regardless of:
- Age
- Body size
- Visible or invisible disability
- Ethnicity
- Sex characteristics
- Gender identity and expression
- Level of experience
- Education
- Socioeconomic status
- Nationality
- Personal appearance
- Race
- Caste
- Color
- Religion
- Sexual identity and orientation
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by mistakes
- Focusing on what is best not just for us as individuals, but for the overall community
Examples of unacceptable behavior include:
- The use of sexualized language or imagery
- Trolling, insulting, or derogatory comments
- Personal or political attacks
- Public or private harassment
- Publishing others' private information (doxing)
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Enforcement Responsibilities
Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate corrective action in response to unacceptable behavior.
Maintainers have the right and responsibility to:
- Remove, edit, or reject comments, commits, code, and other contributions
- Ban contributors for behavior they deem inappropriate, threatening, or harmful
## Scope
This Code of Conduct applies to:
- All community spaces (GitHub, forums, chat, events, etc.)
- Official project channels and representations
- Interactions between community members related to the project
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to project maintainers:
- Email: [project contact]
- GitHub: Private security advisory
- Issues: Report with `conduct` label (public discussions only)
All complaints will be reviewed and investigated promptly and fairly.
### Enforcement Guidelines
**1. Correction**
- Community impact: Use of inappropriate language or unwelcoming behavior
- Action: Private written warning with explanation and clarity on impact
- Consequence: Warning and no further violations
**2. Warning**
- Community impact: Violation through single incident or series of actions
- Action: Written warning with severity consequences for continued behavior
- Consequence: Suspension from community interaction
**3. Temporary Ban**
- Community impact: Serious violation of standards
- Action: Temporary ban from community interaction
- Consequence: Revocation of ban after reflection period
**4. Permanent Ban**
- Community impact: Pattern of violating community standards
- Action: Permanent ban from community interaction
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.
For answers to common questions about this code of conduct, see the FAQ at <https://www.contributor-covenant.org/faq>.
---
**Thank you for being part of our community!**
We believe in creating a welcoming and inclusive space where everyone can contribute their best work. Together, we make this project better.

Some files were not shown because too many files have changed in this diff Show More