Skip to content

Grok Build adapter - #14

Merged
lukemaj merged 9 commits into
integration/mac-observerfrom
task/2-grok
Sep 24, 2026
Merged

lukemaj merged 9 commits into
integration/mac-observerfrom
task/2-grok

Conversation

@lukemaj

@lukemaj lukemaj commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Component PR into integration/mac-observer: the Grok Build adapter.

Imports Grok Build session directories (~/.grok/sessions/*/*/: summary, updates, events, chat history, usage) read-only and incrementally: usage per prompt completion paired by prompt id with duplicates removed, late usage and model evidence reconciled (stronger evidence wins, provenance kept), methods validated before import, subagent and child sessions never genuine, human authorship only from native text content, unsafe session ids quarantined. Every privacy rule goes through agent_observer/privacy.py. Fixtures are synthetic.

Refs #2.

Proof

Candidate d005a86 on integration 0836bbb: python3 -m unittest discover -s tests OK (full suite). A live read-only check of this Mac's Grok sessions found 1,129 sessions and 1,755 turn completions (job ao-grok-1).

Review

Independent Luna reviews over nine rounds drove corrections through Model Router jobs ao-grok-2 to ao-grok-10 (ao-grok-2 was the bounded task that closed toolboxmd/model-router#17); the last review: APPROVE, no findings.

🤖 Generated with Claude Code

lukemaj and others added 9 commits September 24, 2026 03:39
Implemented by a Model Router worker (ao-grok-1, Muse Spark on Zen free).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dation and evidence-aware classification (#2)

Addresses the independent review of 2db4088 through Model Router job
ao-grok-2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…vent details, late reclassification (#2)

Addresses the delta review of b0b63d3 through Model Router job ao-grok-3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Addresses the delta review of 06b367a through Model Router job ao-grok-4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removes the adapter's private privacy rules in favor of agent_observer/privacy.py
and fixes subagent classification, stale-row recompute, event names and
targets, through Model Router job ao-grok-5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…alformed usage quarantine (#2)

Addresses the review of 98a41df through Model Router job ao-grok-6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ject trailing newlines (#2)

Addresses the review of 558f5f0 through Model Router job ao-grok-7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
)

Addresses the review of cb01014 through Model Router job ao-grok-8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…roves authorship (#2)

Addresses the review of ab8e993 through Model Router job ao-grok-10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukemaj
lukemaj merged commit 5e8829e into integration/mac-observer Sep 24, 2026
1 check passed
@lukemaj
lukemaj deleted the task/2-grok branch September 24, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant