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>
53 lines
1.5 KiB
Elixir
53 lines
1.5 KiB
Elixir
# This file is responsible for configuring the guildhall umbrella
|
|
# and all applications. See https://hexdocs.pm/elixir/Config.html
|
|
import Config
|
|
|
|
# Ecto repos registered for the ops_db app.
|
|
config :guildhall_ops_db,
|
|
ecto_repos: [Guildhall.OpsDb.Repo]
|
|
|
|
config :guildhall_web,
|
|
generators: [timestamp_type: :utc_datetime]
|
|
|
|
# Configure the Phoenix endpoint
|
|
config :guildhall_web, GuildhallWeb.Endpoint,
|
|
url: [host: "localhost"],
|
|
adapter: Bandit.PhoenixAdapter,
|
|
render_errors: [
|
|
formats: [html: GuildhallWeb.ErrorHTML, json: GuildhallWeb.ErrorJSON],
|
|
layout: false
|
|
],
|
|
pubsub_server: Guildhall.PubSub,
|
|
live_view: [signing_salt: "KW150V7O"]
|
|
|
|
# esbuild
|
|
config :esbuild,
|
|
version: "0.25.4",
|
|
guildhall_web: [
|
|
args:
|
|
~w(js/app.js --bundle --target=es2022 --outdir=../priv/static/assets/js --external:/fonts/* --external:/images/* --alias:@=.),
|
|
cd: Path.expand("../apps/guildhall_web/assets", __DIR__),
|
|
env: %{"NODE_PATH" => [Path.expand("../deps", __DIR__), Mix.Project.build_path()]}
|
|
]
|
|
|
|
# tailwind
|
|
config :tailwind,
|
|
version: "4.1.12",
|
|
guildhall_web: [
|
|
args: ~w(
|
|
--input=assets/css/app.css
|
|
--output=priv/static/assets/css/app.css
|
|
),
|
|
cd: Path.expand("../apps/guildhall_web", __DIR__)
|
|
]
|
|
|
|
# Logger
|
|
config :logger, :default_formatter,
|
|
format: "$time $metadata[$level] $message\n",
|
|
metadata: [:request_id]
|
|
|
|
# Use Jason for JSON parsing in Phoenix
|
|
config :phoenix, :json_library, Jason
|
|
|
|
# Import environment specific config
|
|
import_config "#{config_env()}.exs"
|