Repository navigation
feat(agent): add Grok Build support - #135
Merged
Merged
Conversation
Teach Atomic to parse Grok Build lifecycle hooks (camelCase payloads, all six events) and classify provenance under AIVendor::XAI. Register the adapter and integrations registry entry for atomic-grok packages.
The package is published on Atomic storage under view main; release view tip updates are incomplete for this project. enable clones main.
Fix formatting so the Format CI job passes.
Grok's UserPromptSubmit delivers the human message wrapped in <user_query> tags. That raw string was recorded as the change message, so atomic log showed the harness markup. Extract the inner text in the adapter so provenance and log messages carry the real user intent.
3 tasks done
Contributor
Author
|
Docs PR for Grok Build in the agent install matrix / command ref: atomicdotdev/atomic-docs#9 |
Contributor
Author
|
Also linked: harness PR atomicdotdev/atomic-agents#6 ↔ docs atomicdotdev/atomic-docs#9 |
vinceblock99
approved these changes
Jul 28, 2026
geekgonecrazy
added a commit
to atomicdotdev/atomic-docs
that referenced
this pull request
Jul 28, 2026
Document atomic-grok in the install matrix, per-agent notes, overview, workflows, and agent command reference. Ships with Atomic 0.12.0 and atomicdotdev/atomic#135.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GrokHookadapter for Grok Build lifecycle events (SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, SessionEnd) with camelCase JSON parsing and repo-root hints fromworkspaceRoot/cwdAIVendor::XAIand wire vendor/author/display maps so Grok-authored changes classify and pretty-print correctlygrokinAgentRegistryandintegrations/registry.tomlforatomic agent enable --agent grok(package: atomic-grok, requires CLI >= 0.12.0)Test plan
cargo test -p atomic-agent --lib hooks::grok(14 tests)cargo test -p atomic-core change::provenance::testscargo test -p atomic-agent --lib record::tests::test_vendor_from_agent_name_grokcargo build -p atomic-cliatomic agent enable --agent grok --from ~/code/work/atomic-grokinstalls hooks/skills/rules; disable removes themgrok