LogNexus State: Synchronize state from Git branch and GitHub
lognexus_state_syncReconcile stored state with the current Git branch and GitHub metadata, then rewrite .lognexus/state.json. Use after branch changes, rebases, or PRs to replace stale state.
Instructions
Reconcile the persistent state with the current Git branch and GitHub metadata, rewriting .lognexus/state.json and returning the updated state. Use when you just checked out a branch, rebased, opened a PR, or suspect the stored state is stale. Not for a plain read of what is already on disk (use lognexus_state_get); sync mutates the store and runs git and gh.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lognexus_state_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||