Antigravity active MCP config missing Gitea role servers #672
Open
opened 2026-07-10 17:00:30 -05:00 by jcwalker3
·
6 comments
No Branch/Tag Specified
master
fix/issue-709-decision-lock-cross-profile
fix/issue-695-native-transport-quarantine
fix/issue-698-report-validator-schema
fix/issue-702-stale-binding-lease-recovery
fix/issue-699-structured-auth-mcp-errors
fix/issue-695-native-quarantine-v2
fix/issue-693-review-decision-lock-recovery
fix/issue-691-obsolete-reviewer-lease-cleanup
feat/issue-687-reconciler-branch-delete
fix/issue-683-workflow-guard-hardening
chore/issue-681-preserve-review-session-wip
feat/issue-604-anti-stomp-preflight
feat/issue-606-sentry-observability
fix/issue-671-block-stable-branch-push
fix/issue-675-residual-preflight-remediation
fix/issue-673-remediate-regressions-part2
fix/issue-673-remediate-regressions
feat/issue-603-lifecycle-labels
fix/issue-627-set-issue-labels-pagination
feat/issue-601-first-class-leases
feat/issue-612-incident-bridge
feat/issue-600-controller-allocator-api
fix/issue-620-head-scoped-review-locks
feat/issue-613-allocator-db-substrate
docs/mcp-stable-control-runtime-policy
feat/issue-609-prepared-review-verdict-resume
feat/issue-610-live-remote-parity
feat/issue-503-reviewer-active-worktree
feat/issue-470-preflight-contract
feat/issue-440-lock-recovery
feat/issue-440-branch-recovery
feat/issue-458-queue-fail-closed-copy
feat/issue-400-early-duplicate-work-gate
feat/issue-308-reconcile-inventory-pagination
feat/issue-308-reconcile-pagination-proof
docs/issue-261-agent-temp-artifact-cleanup
feat/issue-262-map-commit-files
fix/infra-stop-conflict-marker-false-positive
feat/issue-139-role-aware-task-routing
feat/issue-188-continuation-selection-wall
feat/issue-189-continuation-mode-proofs
feat/issue-232-refresh-wiki-proof-heads
feat/issue-210-block-workspace-edits
feat/issue-204-exact-issue-lock
docs/issue-80-label-taxonomy
docs/issue-79-safety-boundary-updates
v1.1.0
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#672
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
The active IDE MCP config at
~/.gemini/antigravity-ide/mcp_config.jsondid not contain the same Gitea role server definitions as the offline/global config at~/.gemini/config/mcp_config.json. As a result, connection checks against the offline/global config could pass while the IDE returned EOF/transport closed for missing role namespaces.Observed behavior
test_mcp_conn.pysucceeded against the offline/global config.~/.gemini/antigravity-ide/mcp_config.json.gitea-authorand/orgitea-reviewerwere missing from the active IDE config.Impact
pkillor mtime tricks (#630, #655).test_mcp_conn.pyprove the wrong surface.Required fix
gitea-author,gitea-reviewer,gitea-merger,gitea-reconciler,gitea-toolsas applicable).gitea_whoami(and optionalgitea_resolve_task_capability) on each required role namespace.Scope
gitea-author, missinggitea-reviewer, mismatched profiles.whoamivia IDE namespaces), not only offlinetest_mcp_conn.py.mcp_namespace_health.py/test_mcp_conn.pyto accept and compare both paths.Explicit non-goals
pkill, mtime edits, source edits, or session-state edits for repair (#630 / #655).Required implementation investigation
test_mcp_conn.py(defaults to~/.gemini/config/mcp_config.json)mcp_namespace_health.py,docs/mcp-namespace-health.md~/.gemini/antigravity-ide/mcp_config.json)gitea_mcp_server.pyauto-restart / config touch paths (must not become repair path for drift)Proposed implementation direction
mcp_config_drift.pyor extend namespace health: compare active IDE path vs canonical path; emit structured present/missing/mismatched report.Security requirements
Workflow-safety requirements
Acceptance criteria
pkill, mtime edits, source edits, or session-state edits.gitea-author, missinggitea-reviewer, and mismatched profiles.Required tests
Observability and audit requirements
Dependencies and linkage
mcp_namespace_healthlive tool callability checksCanonical issue state
Required final evidence
PR with diagnostic, tests/docs AC coverage, sample drift report for missing role servers.
Required final response and handoff
Brief PR → reviewer; include active IDE whoami proof when validating fix.
Canonical Issue State
STATE:
ready-for-author
WHO_IS_NEXT:
author
NEXT_ACTION:
Implement diagnostic + docs/tests per AC; incorporate operator repair evidence below; do not create a duplicate issue
NEXT_PROMPT:
WHAT_HAPPENED:
Duplicate-intake request matched existing #672 (same title/scope). Updated with refined evidence: active Antigravity config had only
gitea-tools;gitea-authorandgitea-reviewerabsent while Claude Code / offline configs had working profile-pinned servers. Recorded completed operator repair path for documentation and test fixtures. No new issue created.WHY:
Avoid duplicate; keep single durable owner for Antigravity IDE vs canonical config drift.
RELATED_ISSUES:
#584 #610 #630 #655 #669 (related symptoms/forbidden recovery; different primary ownership)
RELATED_PRS:
none this session
BLOCKERS:
none for tracking; author implementation still required for diagnostic automation
VALIDATION:
Exact-scope owner is #672; title already matches; AC in body covers diagnostic/repair; this comment adds operator repair evidence and mixed keychain/profile-pinned AC emphasis
LAST_UPDATED_BY:
jcwalker3 / prgs-author / author / 2026-07-11
Canonical Issue State
STATE: open — config-touch evidence recorded during PR #680 recovery
WHO_IS_NEXT: author
NEXT_ACTION: ship active-vs-canonical Antigravity drift diagnostic; repair path = backup + patch + IDE reconnect + whoami (no pkill)
NEXT_PROMPT:
WHAT_HAPPENED: Read-only compare of antigravity-ide/mcp_config.json vs mcp_config.json.bak-gitea-repair during #680 reviewer recovery. Active config ADDED gitea-author and gitea-reviewer role servers (mcp_server.py + prgs-author/prgs-reviewer profiles). Change likely mid-recovery after EOF; this session did not revert or normalize the config. Live gitea-reviewer now healthy via client tools.
WHY: Config drift and mid-session edits without durable ownership confuse transport EOF vs missing-server diagnosis.
RELATED_PRS: #680; #584
BLOCKERS: no automated drift report on IDE path yet
VALIDATION: structural diff only (no secret values printed); backup present; gitea-tools unchanged; client_namespace health for gitea-reviewer healthy this session
LAST_UPDATED_BY: sysadmin (prgs-reviewer)
Canonical Issue State
STATE: open — additional config-provenance findings from PR #680 control-plane recovery (read-only)
WHO_IS_NEXT: author
NEXT_ACTION: extend the drift diagnostic to also require a
gitea-mergerrole server and to flag unsupported env values; document a supported repair command for a missing merger namespaceNEXT_PROMPT:
WHAT_HAPPENED:
Read-only compare of active
~/.gemini/antigravity-ide/mcp_config.json(mtime 2026-07-12 09:07) vs its backupmcp_config.json.bak-gitea-repair(2026-07-10 11:47), during PR #680 control-plane recovery.gitea-author(prgs-author) andgitea-reviewer(prgs-reviewer) are present in the active config, absent in the backup — confirms they were hand-added after the Jul 10 backup (consistent with comment 10511).gitea-mergeris absent from BOTH the active config and the backup — it was never installed in the Antigravity client. Its absence is not a regression from the backup; it is a missing installation.GITEA_DUMMY: "1", an unsupported marker value not present in the supported keychain-stylegitea-toolsentry.gitea-toolskeychain entry is unchanged from the backup. No secret values were printed; structural diff only.gitea-tools+ jenkins + glitchtip.WHY: Missing
gitea-mergermeans PR #680 cannot enter a supported merger workflow through the Antigravity client, and manual/unsupported env edits (GITEA_DUMMY) blur what the sanctioned installer actually provisions.RELATED_PRS: #680 (blocked from supported merger workflow through Antigravity client)
BLOCKERS:
gitea-mergerrole server never installed in the Antigravity client config; unsupportedGITEA_DUMMYmarker on author/reviewer entries; no automated drift report on the IDE path yetVALIDATION: structural diff only (no secret values printed); backup present;
gitea-toolsunchanged; a supported merger entry was NOT added by this session (not authorized without installer confirmation). Related: #584 (manual direct-launch violation) #543 #630.LAST_UPDATED_BY: jcwalker3 / prgs-author / control-plane-recovery / 2026-07-12
[THREAD STATE LEDGER] Issue #672 — incident update: unsupported manual role-server launch recorded; resolver config-touch defect now owned by #685, duplicate-launch guardrail by #686
What is true now:
What changed:
~/.gemini/antigravity-ide/mcp_config.jsonmtime 19:08:29 and~/.gemini/config/mcp_config.jsonmtime 19:14:29 (2026-07-12 local) — mtime-based drift/staleness reasoning stays unreliable until #685 landsWhat is blocked:
Who/what acts next:
Manual-launch violation record (2026-07-12)
GITEA_MCP_CONFIG=/Users/jasonwalker/.config/gitea-tools/profiles.json GITEA_MCP_PROFILE=prgs-reviewer GITEA_DUMMY=2 venv/bin/python3 mcp_server.pyGITEA_MCP_CONFIG(profiles path),GITEA_MCP_PROFILE=prgs-reviewer,GITEA_DUMMY=2GITEA_DUMMY=2supported: NO — zero references anywhere in the codebase (grep over*.pyat22698c1); the server silently ignores itmcp_server.pyprocess (~56 across hourly cohorts, ~19:15 local) found none carryingGITEA_DUMMY; the manual process had already terminated before captured302602) remains applicable, and verdict recording proceeds through the supported client-managed reviewer namespaceCanonical Issue State
STATE:
incident-updated — violation recorded; resolver contract owned by #685; duplicate-launch guardrail owned by #686; #672 drift-diagnostic scope unchanged
WHO_IS_NEXT:
author
NEXT_ACTION:
Implement #685 (resolver side-effect removal) and #686 (duplicate-launch detection/rejection); #672 remains available for the config-drift diagnostic scope in its body
NEXT_PROMPT:
WHAT_HAPPENED:
During the incident cluster this issue tracks, a diagnostic run manually launched a duplicate prgs-reviewer role server with the unsupported GITEA_DUMMY=2 override. It could not and did not restore any IDE namespace, and the process later exited. Root cause of the transport EOF is the #685 resolver defect (config touch + delayed os._exit(0) inside gitea_resolve_task_capability's stale-runtime path, gitea_mcp_server.py:10888-10910/:10994 at
22698c1) — the same auto-restart path this issue's investigation section flags.WHY:
Manual duplicate role servers are unsupported recovery: no IDE transport binding, per-profile staleness masking (newest-process-wins at gitea_mcp_server.py:10986), and unaudited access to shared session/lease/lock state. The resolver's config touches also corrupt mtime-based drift evidence relevant to this issue's diagnostic scope.
RELATED_PRS:
PR #684 — formal verdict recording delayed by this incident; independent review evidence in PR #684 comment 10606 at head
d302602BLOCKERS:
none for this record; any remediation blockers belong on #685/#686
VALIDATION:
LAST_UPDATED_BY:
jcwalker3 / prgs-author (controller defect-capture session) / 2026-07-12
Canonical Issue State
STATE: BLOCKED — client-managed reviewer namespace unavailable; repeated unsupported manual server launch recorded; formal approval not submitted.
WHO_IS_NEXT: user
NEXT_ACTION: Operator restores IDE-managed
gitea-reviewervia supported reconnect/reload only. Do not manually setGITEA_MCP_CONFIG/GITEA_MCP_PROFILE/GITEA_DUMMYor launchmcp_server.pyoutside the client manager.NEXT_PROMPT:
WHAT_HAPPENED:
Unsupported environment/config context from recovery command log:
GITEA_MCP_CONFIGGITEA_MCP_PROFILEprgs-reviewerselected via env for a manual role-server processGITEA_DUMMY=2venv/bin/python3 mcp_server.py— not IDE-managedgitea_whoamiEOF reported by recoveryController did not re-launch MCP servers, edit MCP config, kill processes, restore session state, or call internal modules. Formal approval not submitted.
WHY: Role servers and control env must be client-managed; unsupported env vars and manual profile selection create untrusted identity/capability state and reproduce EOF class failures (#584).
RELATED_PRS: PR #684 / #683; defects #584, #685, #686.
BLOCKERS: Unsupported manual env/config launch path used (
GITEA_MCP_*+GITEA_DUMMY=2+ directmcp_server.py); client-managed reviewer provenance not proven. Unblock when: operator completes IDE reconnect/reload of client-managedgitea-reviewer(no manual server launch), and a fresh reviewer session proves liveprgs-reviewer/sysadminwith client-managed provenance.VALIDATION: Incident recorded on #584 (comment_id 10650). Live PR #684 head
d302602567a1fb7842fe5486fa5a49509506ec8b; no formal approval submitted this session.LAST_UPDATED_BY: controller
Canonical Issue State
STATE:
open — cross-client namespace inventory clarification recorded (distinct from stale-runtime cohort)
WHO_IS_NEXT:
author
NEXT_ACTION:
Implement #672 config-drift diagnostic so each client reports which Gitea role namespaces are present/missing and their provenance; do not conflate missing-namespace drift with post-merge stale-runtime blocks
NEXT_PROMPT:
WHAT_HAPPENED:
Cross-client namespace discrepancy clarified during PR #684 / issue #683 post-merge reconciliation (2026-07-12):
On this client the real prior blocker was stale runtime after master advanced (cohort booted at
22698c1; master now56f1230a10a21b16226c792a5bcdc4398c97b09a), not a missing reconciler namespace. After operator reconnect: profileprgs-reconciler, identitysysadmin, client-managed provenance (probe_source=client_namespace, ide_namespace_proven=true), startup_head=current_head=56f1230a…, stale=false, restart_required=false.Do not conflate: (1) cross-client namespace gap = #672 inventory/config drift; (2) stale-runtime cohort = #685 / IDE reconnect only.
WHY:
Role availability differs across clients/configurations. Offline test_mcp_conn green is not live client proof. Durable separation of failure modes prevents wrong repair (install missing role vs reconnect for fresh SHA).
RELATED_PRS:
PR #684 merged (Closes #683); #685 #686 remain open product defects
BLOCKERS:
none for this clarification; product implementation still required on #672
VALIDATION:
LAST_UPDATED_BY:
sysadmin / prgs-reconciler / RECONCILER / 2026-07-12