fix(mac): Git en MCP werken op mac-prod #264
No reviewers
Labels
No labels
severity/s2
severity/s3
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
janpeter/Ops-dashboard!264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/mac-git-mcp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes two gaps on
mac-prodthat were found while writing the manual (#263).Git:
/gitshowed "No repos configured", and git as_jpopsrefuses repos owned by the login user.REPO_PATHS_FILE=/opt/jpvisser/config/repo-paths. The app (lib/repo-paths.ts) reads from that file whenREPO_PATHSis empty: one path per line,#comments allowed. The file is root:_jpops 0640, read per request, and needs no deploy.-c safe.directory=/Users/janpetervisser/Development/*and-c core.fsmonitor=false, both protected command-line config.installnow also installs the whitelist (ops-agent-commands.yml) from the verified staging, so the whitelist and the release move together.MCP:
/mcpgave403 mcp_status is not in the whitelist, plus a restart button that did nothing.mcp_status, the page shows the runningscrum4me-mcpprocesses (fromdev_processes) and explains that the MCP is session-bound. There's no restart button in that case.Tests:
repo-paths-and-mcp(new, base group), the launcher env (Go + harness), the whitelist, and the deploy test. tsc is clean.After the deploy, a one-time root step is needed: create
/opt/jpvisser/config/repo-paths(see the runbook).🤖 Generated with Claude Code
REQUEST_CHANGES
deploy/mac-production/deploy-ops-release.sh:256: In de productievertakking vaninstall_configwordt/opt/jpvisser/config/ops-agent-commands.ymlgeïnstalleerd zonder dat/opt/jpvisser/configwordt aangemaakt of gevalideerd. Alleen deHOST_ROOT-testvertakking maakt de bovenliggende map aan. Op een schone Mac breektcmd_installdaardoor vóórcmd_switchaf. Maak de directory in de productievertakking met de bedoelde eigenaar/groep/mode en dek de schone-installatie af met een test.Geen gekoppeld plan gevonden — beoordeeld op codekwaliteit + product-standaarden.
Verdict: APPROVED
Geen blokkerende findings.
Geen gekoppeld plan gevonden — beoordeeld op codekwaliteit + product-standaarden.
De wijziging centraliseert de repository-configuratie, behandelt de sessiegebonden MCP-variant expliciet, werkt de Mac-deployketen bij en voegt gerichte tests en documentatie toe.