Redefine contract: two-way Claude companion (MCP + handoff + forge writes)

AGENT.md now makes the Claude integration the defining pillar: law 1.7 (one service layer behind GUI + MCP), MCP server over Streamable HTTP at /mcp, SSE app->browser, Gitea-first read+write forge, right-click command vocabulary, and rewritten section 8 (MCP server, activity feed, graceful project handoff, merge & clean up). No code yet.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-09-19 17:11:51 -04:00
parent 80d2e10fec
commit dfa45de40c
3 changed files with 174 additions and 29 deletions
+7 -2
View File
@@ -44,7 +44,12 @@ APP_ENV=dev
# Optional: also append structured logs to this file. Leave empty to disable.
LOG_FILE=
# --- Forge integration — OPTIONAL, read-only, token-gated (AGENT.md §8) -----
# With no token the feature is simply absent; the rest of the app is unaffected.
# --- Forge integration — token-gated, READ + WRITE (AGENT.md §8.4) ----------
# The primary host is a self-hosted Gitea/Forgejo (git.nilles.net). With no
# token the forge features are simply absent; the rest of the app is unaffected.
# Writes (merge PR + delete branch, for "Merge & clean up") are each confirmed
# per AGENT.md §1.4. The token needs repo read + PR write + branch delete scope.
GITEA_TOKEN=
# Later providers, behind the same interface (unused for now):
GITHUB_TOKEN=
GITLAB_TOKEN=