Single-host install: native sync and api on one Mac #25
Labels
No labels
boundary:crosses
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/messages-mind-mcp#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent: #6. Records: ADR 0011 (
docs/adr/0011-deployment-shapes-split-and-single-host.md), ADR 0007 (docs/adr/0007-store-encryption-and-backup.md), ADR 0008 (docs/adr/0008-feeder-package-signing-and-update.md),SECURITY.md.What to build
The install path for the single-host shape: the Feeder, sync, the Mirror and the api on one Mac, in one macOS user. The code of the service does not change shape. This slice adds what a native install needs and the checks that make it explicit.
docs/install-single-host.md). It covers, in order:checkon a Mac reports the bind address, whether the store's directory is excluded from Time Machine and from Spotlight, and whether another user can write to the environment or the code directory.The repository ships no installer code (ADR 0011, rule 4).
Not in this slice: the pipeline file for a macOS test lane.
.woodpecker/*is architect work.Acceptance criteria
checkexits non-zero on a Mac when the store's directory is not excluded from Time Machine, when it is not excluded from Spotlight, or when the environment or the code directory is writable by another user. On Linux it reports these checks as not applicable.make checkpasses on macOS and on Linux.Blocked by
Filed under: operator word "go" sha256:4cd0e21a9a07
⏸ SVD architect gate: dev/messages-mind-mcp#25 single-host-install-native-sync-and-api-on-one-mac
Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
substrate· dispatch efforthighRun:
20261113T113334Z-7e66f23fHeld because: CLEAN but 6 open risk(s) (1 sequencing · 3 verification · 2 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
0ff48a7) also edits src/messages_mind_mcp/cli.py, tests/test_config_cli.py and README.md. Those are three of this spec's written files, and dispatch-batch refuses the overlap (CONV-37, 2026-11-06). Dispatch this spec after #31 merges, then runcodex-svd rebaselineon those three hashes. [sequencing — blocked by dev/messages-mind-mcp#31]launchctl print gui/$(id -u)/asia.groupthink.messagesmind.apishows state = running.messagesmind checkexits 0 with host=darwin timemachine=excluded spotlight=excluded environment=owner-only code=owner-only. [verification]tmutil isexcluded([Excluded]/[Included] prefix), and whether stickytmutil addexclusionworks without root. Check on the host before committing the parser:d=$(mktemp -d); /usr/bin/tmutil isexcluded "$d"; /usr/bin/tmutil addexclusion "$d"; /usr/bin/tmutil isexcluded "$d"; /usr/bin/tmutil removeexclusion "$d". Expected: [Included] then [Excluded], with no sudo prompt. [verification]checkaccept a.noindexname on the store directory or an ancestor as the only proof of Spotlight exclusion? The install doc would then prescribe a store directory such as …/messagesmind/store.noindex. The Spotlight Privacy list can only be read as root, and a .metadata_never_index marker in a non-root folder is not reliably honoured. The lean is yes. Host check: write a unique word into a file in a .noindex directory, thenmdfind -onlyin <dir> <word>should print nothing. [decision]Should check instead walk the whole checkout, or follow the interpreter symlink? [decision]
6. Half A could not run
make checkon macOS: the sandbox refused to execute .venv/bin/python, so no baseline exists. The darwin-only tests (real tmutil) run only on a Mac. Check: after dispatch, runmake checkon the Mac host and report the result in the PR. The Linux half is proven by the existing .woodpecker lane. [verification]Change: The Unix-socket Feeder client already exists on main: source.py:235-262, config.py:123-157 and sync.py:257. The slice therefore adds no service code for that bullet.
tmutil isexcludedand parses the [Excluded]/[Included] prefix..noindexname on the store directory or an ancestor.serve PATHmode. Bare invocation still runs record().Files:
src/messages_mind_mcp/host.py·src/messages_mind_mcp/cli.py·deploy/launchagents/asia.groupthink.messagesmind.sync.plist·deploy/launchagents/asia.groupthink.messagesmind.api.plist·docs/install-single-host.md·README.md·tests/test_host.py·tests/test_single_host.py·tests/test_layout.py·tests/test_config_cli.py·tests/feeder_fake.pyDecision: accept the 6 open risk(s) above and dispatch this spec (
svd:go), or park (svd:skip) / re-spec (svd:respec)?Your call (when this issue is held at the gate via
svd:hold):svd:go— approve; Half-B dispatch accepts exactly this spec (open risks accepted)svd:firebesidesvd:go— approve AND authorise the Half-B fire from the phone; never on its ownsvd:skip— park it; dispatch refuses it and the issue stays for a humansvd:respec— discard this spec; the next Half-A run re-produces it with this record as prior-attempt contextSpec:
/Users/piers/.local/state/exhaust/groupthink/specs/2026-11-13-single-host-install-native-sync-and-api-on-one-mac.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-13-single-host-install-native-sync-and-api-on-one-mac.md[feeder]keys, the client limits and the codes in the README #32spec-verify-dispatch Half B for dev/messages-mind-mcp#25 single-host-install-native-sync-and-api-on-one-mac completed integration verify.
9f3cb35e68make checkwas not run by this stage; the architect runs it on the host before merge. Linux CI lane is the pending Woodpecker pipeline.codex-svd ship --run-id 20261113T120504Z-df9e9436 --confirm-merge)spec-verify-dispatch Half B for dev/messages-mind-mcp#25 single-host-install-native-sync-and-api-on-one-mac completed integration verify.
688e146f7ecodex-svd ship --run-id 20261114T042554Z-c05199fc --confirm-merge)spec-verify-dispatch Half B for dev/messages-mind-mcp#25 single-host-install-native-sync-and-api-on-one-mac completed integration verify.
89a47e25a089a47e2. The runner re-polls it.codex-svd ship --run-id 20261114T042554Z-c05199fc --confirm-merge)spec-verify-dispatch Half B for dev/messages-mind-mcp#25 single-host-install-native-sync-and-api-on-one-mac completed integration verify.
105f56d46ccodex-svd ship --run-id 20261114T042554Z-c05199fc --confirm-merge)