Phase A gate: live Grok Bot connector and iCloud and Fastmail CardDAV checks #10
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp#10
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: #1. Records: DD-465 Phase A acceptance items 1, 2 and 9 (private vault record); ADR 0001.
Human act
eyes-on verify: the operator connects a Grok Bot custom connector on the read token and records the three live answers, and runs one CardDAV sync against live iCloud and Fastmail accounts (DD-465)
What to verify
people_findcall hold each answer. Record the three answers, every tool call with its row count, and token counts on this issue. (Ruling (b), 2026-11-05: People Mind controls what one call returns, not how many calls the client makes. This replaces "in one call each".)Acceptance criteria
0.1.0is tagged only after this issue closes.Blocked by
98ad738).people_findby organisation; Q3 below needs it for one call): in the 0.1.0 gate, operator ruling 2026-11-04.people_findslows as interactions grow; about 30 s on the #49 pair store): in the 0.1.0 gate, operator ruling 2026-11-04.mailmind-unavailable; seen live on rc.9 when the data volume filled): in the 0.1.0 gate, operator ruling 2026-11-04.Filed under: operator word "go. compelling public-facing README.md as A0" sha256:3f9e946994fa
Live gate results on 0.1.0-rc.3 (people-mind-mcp
5e0a500, starbase/iac#294, 2026-11-02 04:28Z)status=okfull pass: seen=1347 added=1254 updated=84 merged=6 fetched=1351 unreadable=0 (#34 verified live)status=okdelta pass by sync-token, seen=0 (first full pass 174 seen on rc.2 after iac#292)mailmind-protocolon one whitespace address, filed as #39; checkpoint persisted (14 MB, #36)/healthz/synclag_seconds=neveruntil the mail Source has one ok pass (by design: every Source must have succeeded once)/healthz,GET /mcp405, unauthPOST /mcp401,tools/list8 toolspersons=1420 after the CardDAV passes. Remaining for this gate: #39, then the mail pass and
/healthz/sync200; the Grok Bot connector answers (operator).Gate record so far (architect, 2026-11-02 07:30Z). Counts and codes only.
/healthzchecks green. First live pass found #34 (iCloud multiget 400), #35 (mailmind rate limit read as auth) and a Fastmail account config fix (iac#292); owner emails added (iac#293).Mail pass status at 07:30Z: alive, one MCP session, about 32
mail_evidencecalls per minute, no sync container restarts,/healthz/sync503 until the pass commits. Each Evidence call costs about 2 s of a full core on the mailmind side (dev/mail-mind-mcp#136), so the cold pass on this mailbox takes about 3 hours; projected completion about 08:40Z. Thesync_logrow and/healthz/sync200 will be recorded here when it lands.Still open on this gate: the three Grok Bot connector answers (operator), and the #21 ruling.
Live Grok Bot connector checks (0.1.0-rc.8, 2026-11-04 11:58Z to 12:02Z)
The operator ran the three prompts on the read token. Tool calls and row counts come from the api log (
tool=<name> rows=<n> code=<code>). Names are reduced to initials. Grok showed no token counts.people_find(10),people_card(10),people_related(0)people_findrow already held the answer; Grok added calls to cross-check.people_find(1),people_card(6)people_find(3),people_find(1),people_related(16)people_findmissed all 16 Persons at the organisation; onlypeople_relatedfound them. Filed as #82.Against "one call each": not met as written for any question. Q1 and Q2 are met by the first call's content. Q3 needs #82.
Other findings from the answers:
mail-people/1.0mirror time (#68). The 1.1 rebuild that started at 11:44Z replaces it with each message's own date. Re-ask Q1 after the drain.Incident during the check: the 1.1 rebuild's activation locked the store from 11:55:04Z, so CardDAV and embed writes failed with
store-unavailable. Reads, and therefore these checks, kept working. Filed as #81.Next: re-run Q1 and Q3 on rc.9 (#81, #82, #73), after the mail drain completes.
CardDAV two-pass check (0.1.0-rc.8, 2026-11-04)
The operator deleted 2 iCloud cards and edited 1 at about 11:48Z. The sync loop could not write until the Mail rebuild activation committed at 12:57:38Z: from 11:55:04Z it held the store write lock, and CardDAV and embed logged
store-unavailablein that window (the defect is #81, fixed in rc.9). The first two CardDAV passes after the commit read, from the sync log:seen=1 updated=1 fetched=1 deleted=2 full=0seen=0seen=0 fetched=0 deleted=0 full=0seen=0full=0). It fetched only the edited card and recorded both deletions. The operator confirmed that the count of deleted cards is 2.Result: pass. The 62-minute write-lock window is the #81 defect, not a CardDAV defect.
Ruling (b): the Grok call criterion
The operator ruled on 2026-11-05: the Grok check passes when the rows of the first
people_findcall hold the answer. It no longer requires "one call each". The "What to verify" line above is amended to match.people_cardandpeople_relatedcalls to cross-check (comment 32564).people_findmissed the 16 staff. #82, in rc.9, adds organisation members topeople_find.people_relatedcall is #85. It is an optimisation after 0.1.0, not a gate item.Next for this item: the operator re-runs Q1 to Q3 on rc.9.
Filed under: operator word "File it as an enhancement after 0.1.0, and take ruling (b) for #10. Under (b), the hint is an optimisation, not a gate item." sha256:1d2e5f187c58
Live mail pass on 0.1.0-rc.9 (2026-11-04)
The pod rolled to rc.9 at 13:24Z and continued the rc.8 evidence drain. The first mail pass on rc.9 finished at 13:46:49Z with no error. The sync log reads:
The store at 13:56Z:
mode=feed, contractmail-people/1.1, generation 35,caught_up=1./healthz/syncreturned 200:ok lag_seconds=3137 max_lag_seconds=86400.seen=0, no error.Result: pass. The live mail record for rc.9 is one complete mail pass with no error and a 200 from
/healthz/sync.Next: starbase/iac#338 adds an Owner email. It changes the Owner set, so the next pass starts a full Mail rebuild (#69). That rebuild is the live check for #81, and its activation time goes in a later comment.
Added #86 to Blocked by. The #49 I01 run on rc.9 found that
people_findtakes about 30 s on the pair store at 168,000 interactions. The Grok re-run usespeople_find, so the re-run waits for #86. The operator put #86 in the 0.1.0 gate on 2026-11-04.Added #87 to Blocked by. During the starbase/iac#338 rebuild on rc.9, the 1Gi data volume filled at 14:13:35Z, and the Mail peer pass logged the disk error as
mailmind-unavailablewith nosync_logrow. starbase/iac#339 grows the volume. #87 makes the pass report store errors under their own code. The operator put #87 in the 0.1.0 gate on 2026-11-04.The same rebuild is the live check for #81 and #73. Both pass:
store-unavailableat 14:13:32Z, so the write lock was held for between about 5 and 30 s. On rc.8 it was 62 minutes.Live Grok Bot connector checks (0.1.0-rc.10, 2026-11-04 22:05Z to 22:07Z)
The operator re-ran the three prompts on the read token. The pod runs rc.10 (
sha256:caf5c3f3cd71…, started 21:34:30Z, starbase/iac#340). Tool calls and row counts come from the api log (tool=<name> rows=<n> code=<code>). Grok showed no token counts. Under ruling (b), a question passes when the rows of the firstpeople_findcall hold the answer.people_find(8),people_card(6),people_card(8),people_related(1)people_find(1)people_find(15),people_related(0)All calls returned
code=ok.Fixed since rc.8:
people_findmatches an organisation name and returns its members (#82). On rc.8, Q3 missed every member on the first call.people_findanswers fast at live size (#86). See the live timings on #86.Gaps the answers show, sorted:
embed.min_score0.55 (config.py:110,views.py:172). It does not stop the answer, so it is outside this gate. The operator decides whether to file it.Result: the Grok item passes on rc.10. Q1, Q2 and Q3 each pass on the first call.
Still open on this gate: #49 (packaged-pair acceptance). The #87 fix is merged but not yet deployed to piers; it ships in rc.11.
The Q3 semantic-padding gap in comment 32979 is filed as #90, with the operator’s rule A ruling as its Human act. It stays outside this gate.
Live state on 0.1.0-rc.11 and gate close (2026-11-05 03:22Z)
The pod runs rc.11 (sha256:b9cb17fe3719…, started 2026-11-04 23:53:48Z, starbase/iac#341). This is the digest the #49 packaged pair accepted (ADR 0009, PR #93).
/healthzand/healthz/syncreturn 200:ok lag_seconds=514 max_lag_seconds=86400.mode=feedwithpending=0.Every item on this gate now has a record:
Result: the gate passes. Closing this issue. The operator authorised the
v0.1.0tag on commitc88b60a, the rc.11 commit.Filed under: operator word "Comment, close, tag 0.1.0" sha256:d624f87f59a4