wishforge-ide/connectors/codex/config.toml.example
eust-w 5aea9b73a9 fix: harden the control plane's storage, identities and recovery paths
- Storage: read-only queries use a read-only transaction without the tenant
  lock, so event streams and dashboards no longer queue behind writers; lists
  filter on indexed project, run and status fields and the run list pages with
  limit/before. Dispatchers claim outbox items with SKIP LOCKED and a claim
  deadline; delivered items and old idempotency records are pruned hourly.
- Migrations are versioned files recorded with checksums in schema_migrations;
  002 adds the claim column and run index and migrates preview-stage runs and
  free-text waiting reasons. Run events and usage are append-only for the app.
- Identities: static service tokens reach only their routes (coordinator: state,
  wait, repair; deployer: lease, transition, releases); the static verifier
  identity is gone; Git credentials go only to the lease holder; internal bodies
  are validated; framework and body-parser errors use the API error envelope.
- Quotas: only queued or running runs (or ones with an unsettled model request)
  hold token reservations; continuing a run reserves its remaining budget again.
- Recovery: owners can list and reconcile model requests with an unknown outcome,
  and requests whose proxy died are marked unknown; definite deployment failures
  free the environment, admins can unlock an environment after checking the
  target, approvals expire with their release, and production approvals need a
  second person. The builder's Docker context is operator configuration.
- MCP: list_projects, absolute console links, request_release resolves the run's
  evidence and default environment, and tool changes are audited as the user.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 16:16:47 +08:00

15 lines
639 B
Plaintext

# Merge this table into your trusted project's .codex/config.toml or user config.
# Development API root; replace with the approved HTTPS API origin in production.
[mcp_servers.wishforge]
url = "http://127.0.0.1:4000/mcp"
enabled = true
startup_timeout_sec = 20
tool_timeout_sec = 60
enabled_tools = ["list_projects", "submit_wish", "get_run", "get_run_events", "answer_question", "control_run", "get_delivery", "request_release"]
# Matches the development Keycloak public client; no client secret is used.
[mcp_servers.wishforge.oauth]
client_id = "wishforge-codex"
callback_url = "http://127.0.0.1:45555/callback"
callback_port = 45555