Ceremony orchestrator + governance UI layer over substrate CRDs. guildhall presents and coordinates; substrate decides and enforces. Apps: - guildhall_web: Phoenix LiveView UI for ceremony workflows, Forge visualization, posture dashboards - guildhall_orchestrator: watches CeremonyRequest CRDs, notifies witnesses, collects signatures, tracks ceremony lifecycle - guildhall_ops_db: Ecto schemas for the five Ops DB tables (per DESIGN-OPS-DB-CHAIN-OF-CUSTODY-0001) - guildhall_graph_bridge: Microsoft Graph API reconciler (stub) - guildhall_chronicle: Chronicle event consumer + Ops DB projector (stub) Naming: guildhall components are orchestrators (workflow), NOT engines (enforcement). The ceremony engine is a substrate K8s operator. guildhall coordinates humans around CRDs. Elixir 1.17.3 / OTP 27 / Phoenix 1.8.5. SHA-256 git repo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Tyler J King <tking@guildhouse.dev>
46 lines
1.4 KiB
Elixir
46 lines
1.4 KiB
Elixir
import Config
|
|
|
|
# Ops DB development database
|
|
config :guildhall_ops_db, Guildhall.OpsDb.Repo,
|
|
username: "postgres",
|
|
password: "postgres",
|
|
hostname: "localhost",
|
|
database: "guildhall_dev",
|
|
stacktrace: true,
|
|
show_sensitive_data_on_connection_error: true,
|
|
pool_size: 10
|
|
|
|
# Phoenix endpoint — dev
|
|
config :guildhall_web, GuildhallWeb.Endpoint,
|
|
http: [ip: {127, 0, 0, 1}, port: 4000],
|
|
check_origin: false,
|
|
code_reloader: true,
|
|
debug_errors: true,
|
|
secret_key_base: "tdDDG32QQyJH7PescKIuKY/zdaykc4WASn04QH6JYH2Yo37ByUI6sq8zBNUQdd78",
|
|
watchers: [
|
|
esbuild: {Esbuild, :install_and_run, [:guildhall_web, ~w(--sourcemap=inline --watch)]},
|
|
tailwind: {Tailwind, :install_and_run, [:guildhall_web, ~w(--watch)]}
|
|
]
|
|
|
|
# Live reload patterns
|
|
config :guildhall_web, GuildhallWeb.Endpoint,
|
|
live_reload: [
|
|
web_console_logger: true,
|
|
patterns: [
|
|
~r"priv/static/(?!uploads/).*\.(js|css|png|jpeg|jpg|gif|svg)$",
|
|
~r"priv/gettext/.*\.po$",
|
|
~r"lib/guildhall_web_web/router\.ex$",
|
|
~r"lib/guildhall_web_web/(controllers|live|components)/.*\.(ex|heex)$"
|
|
]
|
|
]
|
|
|
|
config :guildhall_web, dev_routes: true
|
|
|
|
config :logger, :default_formatter, format: "[$level] $message\n"
|
|
config :phoenix, :stacktrace_depth, 20
|
|
config :phoenix, :plug_init_mode, :runtime
|
|
|
|
config :phoenix_live_view,
|
|
debug_heex_annotations: true,
|
|
debug_attributes: true,
|
|
enable_expensive_runtime_checks: true
|