Lognexus README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Lognexus listing page.

LogNexus Logo

LogNexus — Git-Native Memory & MCP Server for AI Coding Agents

The Universal, Git-Powered Context & Rules Framework for Native AI Agents
Available on npm as @digital-lake/lognexus and PyPI as lognexus-mcp.
Explore the 12 annotated MCP tools & 3 resources on the official LogNexus Documentation & SEO Hub.

CI npm version npm downloads PyPI version PyPI downloads LogNexus MCP server – quality and maintenance score on Glama Organization Ko-fi

SLSA Provenance Socket Security MCP TDQS TypeScript Node.js Platforms Privacy License: MIT


What is LogNexus?

As AI coding agents take on complex engineering tasks across different IDEs, they suffer from a fundamental failure mode: cognitive amnesia. Between conversation resets, context compactations, model handoffs, and unexpected bugs, the why behind design decisions, discarded alternatives, and technical discoveries vanishes.

LogNexus transforms Git and GitHub into a persistent, traceable knowledge graph. It is a 100% generic, model-agnostic and editor-agnostic framework that operates directly inside your native AI development environments:

  • Clients: Claude Code, Cursor, Codex, GitHub Copilot, Google Antigravity, Kimi Code, VS Code, Zed.
  • Models: Anthropic Claude (Claude Fable 5.2, Claude Mythos 5.2, Claude Opus / Sonnet / Haiku 5.5), Google Gemini (Gemini 4 Neon / Orchestrator (Neon), Gemini 4 Carbon, Gemini 4 Argon, Gemini 4 Hydrogen, Gemini 3.8 Pro & Flash), OpenAI (GPT-6-Cyber, GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Luna, codex-mini, o4), DeepSeek (DeepSeek V4-Pro, DeepSeek V4.1-Flash, R1, V3, Chat), xAI (Grok 4.7), Z.ai (GLM-5.3), Alibaba (Qwen4 Max), Moonshot AI (Kimi K3.1 Pro, Kimi K3 / Kimi Code).
  • Supported Platforms: Linux, macOS, and Windows (linux, darwin, win32 — 100% cross-platform Node.js >= 20 & Git >= 2.28, zero native binary dependencies).
Code
Issues (Why & Goals) ──▶ Branches (Task Scopes) ──▶ Commits (Context & Diffs) ──▶ PR (Timeline & Review)
         ▲                                                                                 │
         └─────────────────────── Git-Backed Knowledge Graph ──────────────────────────────┘

Framework, Not an API Proxy: LogNexus never intercepts network calls or wraps vendor APIs. Your models remain inside their native IDEs with full access to editor buffers, interactive diff viewers, terminals, MCP servers, and local tools.


Key Features

  • Universal Multi-Model Support: Native cognitive guidelines and prompt specifications for Anthropic Claude (Claude Fable 5.2, Claude Mythos 5.2, Claude 5.5), Google Gemini (Gemini 4 Neon / Orchestrator (Neon), Gemini 4 Carbon, Gemini 4 Argon, Gemini 4 Hydrogen, Gemini 3.8 Pro & Flash), OpenAI (GPT-6-Cyber, GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Luna, codex-mini, o4), DeepSeek (DeepSeek V4-Pro, DeepSeek V4.1-Flash, R1, V3, Chat), xAI (Grok 4.7), Z.ai (GLM-5.3), Alibaba (Qwen4 Max), and Moonshot AI (Kimi K3.1 Pro, Kimi K3 / Kimi Code).
  • Universal Client Compatibility: Drop-in support for Claude Code, Cursor, Codex, GitHub Copilot (.github/copilot-instructions.md), Google Antigravity, and Kimi Code / VS Code.
  • Adaptive Ecosystem Routing & Native Swarm Coordination: Declarative .lognexus/routing.md (orchestration: auto | swarm | subagent | off, review_gate: auto | intra-fleet | cross-vendor | advisory | off, implementer: auto, reviewer: auto) with Hard Turn-1 Discovery Probes (> 3 files), immediate Swarm UI handoff, and native Swarm contract flags (--assignee, --isolation swarm, --swarm-workers, --swarm-posts).
  • Atomic Commit Engine (lognexus commit & MCP lognexus_commit): Validates subtask file contracts, verifies reviewer separation, injects authorship trailers, commits changes, marks subtasks completed, and attaches Git Notes in a single ~0.15s execution.
  • Cross-Model & Intra-Fleet Distinct-Model Review Gates: Non-negotiable review separation (Authored-by: vs Reviewed-by:) enforced both at pre-flight note attachment time and during branch audits. Supports cross-vendor review, intra-fleet distinct-model review (Neon/Carbon/Argon reviewing Hydrogen/Flash; GPT-6.2 Astra reviewing Sol/Luna; Fable/Opus reviewing Sonnet), shared-weights blocking (Fable <-> Mythos), and advisory / off modes for single-session ChatGPT or solo workflows—never forcing cross-vendor review—with strict anti-spoofing and mandatory --no-ff merges.
  • Contract-First Subtasks & Alphanumeric Tickets: Tasks are bounded by strict decision budgets, file allowlists, and stop conditions—supporting both GitHub issues (feat(#42/T1)) and Jira/Linear ticket schemes (feat(SLM-201/T1)).
  • Persistent State & Session Recovery: Local session state engine (.lognexus/state.json) prevents amnesia across context compactations and conversation resets, retaining completed subtask metadata through the closing commit.
  • Automated Context Handoff (lognexus handoff): Regenerates a complete .lognexus/handoff.md from local state — cycle state, active subtask contract, live scope-drift report, completed-subtask table and next required action — so a fresh session (or a different model) resumes without re-deriving context. Auto-refreshed on state set-task and on every --finish-task commit.
  • Live Scope-Drift & Environment Guard (lognexus status / lognexus doctor): Diffs the working tree against the allowedFiles of the active contract on every status and diagnostic run, catching out-of-contract writes before they reach a commit. Supports lognexus doctor --mcp to validate cross-platform MCP client setups and .lognexus/policy.json schemas.
  • Memory Recall & Notes Export (lognexus note search / lognexus note export): Queries the LogNexus Git Notes history by file, model, issue or free text, returning the newest matches first, or exports causation-preserving JSONL notes (note export) for offline auditing and session handoffs.
  • Startup Update & Legal Terms Gate: A non-interactive gate surfaces update and legal-terms requirements at CLI startup, consulting the npm registry through execFileSync with shell: false and a 2500 ms timeout. The MCP transport is exempt.
  • Git Notes Engine (Quiet Mode / git-ai v3): Attaches structured session payloads and contracts to commits under refs/notes/lognexus without changing commit SHAs.
  • Native MCP Stdio Server (lognexus mcp): Zero-dependency JSON-RPC 2.0 stdio server exposing LogNexus tools, live state resources, and prompts to Claude Desktop, Cursor, and any MCP client.
  • Journey Timeline & Review Gate Audit: Reconstructs the complete branch journey into structured PR descriptions (lognexus timeline --pr-body) and programmatically audits review gate separation (lognexus audit) under .lognexus/policy.json profiles (default, incremental, strict) with a hardcoded review-gate error floor.
  • Hidden Metadata Envelopes: HTML comments preserve machine-parseable state (<!-- lognexus: kind: state ... -->) without cluttering human-readable markdown.
  • Scaffolding & Health CLI (@digital-lake/lognexus): Lightweight CLI for repository scaffolding (init), health diagnostics (doctor), and real-time status inspection (status).
  • Optional Multi-Model Token Shield (init --protect-tokens[=strict|types]): Opt-in, zero-runtime-overhead workspace hygiene flag that scaffolds official context-exclusion and root-anchored read-deny rules (.geminiignore, .aiexclude, .cursorignore, .claude/settings.json covering monorepo **/node_modules/**, lockfiles, dist/**, dist-pypi/**, .next/**, .venv/**, __pycache__/**, .lognexus/**/*.jsonl, .rooignore, .codeiumignore, .aiderignore) tailored to the agent ecosystems detected in your repository—preventing accidental token leakage on lockfiles and build artifacts without touching the MCP server. Supports strict (default) and opt-in types (allows Claude Code to Read .d.ts/.mts/.cts declarations in node_modules across root and monorepo packages while still denying JS/WASM/binary/cache/lockfiles and keeping IDE ignore files excluding node_modules/).

Model-Tier Routing Matrix

LogNexus organizes development phases into three cognitive tiers. You can assign any model or native client to any tier according to your team's workflow and cost preferences:

Multi-Model Routing Cost and Performance Analysis

Operational Tiers

TierCognitive RoleAnthropic ClaudeOpenAIGoogle GeminiDeepSeekPrimary Activities
tier-1 (Reasoning)Deep synthesis, architectural design, narrative reviewClaude Fable 5.2 / Mythos 5.2 / Opus 5.5GPT-6.2 Astra, GPT-6-Cyber, o4Gemini 4 Neon / Carbon / Argon, 3.8 ProDeepSeek R1 / V4-ProBrainstorming-to-issue planning, PR journey timeline synthesis, cross-model & intra-fleet review sign-offs.
tier-2 (Context & Triage)Long context ingestion, discovery triage, structured mappingClaude Sonnet 5.5GPT-6.2 Sol, Codex, gpt-ossGemini 4 Hydrogen, Gemini 3.8 Flash High / Pro (1M)DeepSeek V3Large codebase exploration, discovery classification, scoped implementation, knowledge retrieval.
tier-3 (Execution)Surgical implementation, template filling, fast executionClaude Haiku 5.5GPT-6 Luna, codex-mini, o4-miniGemini 3.8 Flash, gemini-flash-worker-agyDeepSeek V4.1-Flash / Chat (V3)Subtask commits (feat(#N/Tk)), atomic code changes under closed contracts, timeline logging.

Adaptive Routing & Deployment Setups

LogNexus adapts automatically to single-provider and multi-vendor toolstacks. Configure .lognexus/routing.md with linear O(n) directives:

markdown
routing: confirm
orchestration: auto
review_gate: auto
implementer: auto
reviewer: auto
  • orchestration: auto | swarm | subagent | off (auto activates native swarm under Antigravity Orchestrator after plan confirmation).
  • review_gate: auto | cross-vendor | intra-fleet | advisory | off (auto resolves to intra-fleet distinct-model verification when running in a single-provider fleet; ChatGPT / OpenAI Codex workflows never force cross-vendor review, and single-session solo workflows may use advisory or off).
Code
┌──────────────────────────────────────────────────────────────────────────────────────────┐
│                                 POPULAR DEPLOYMENT SETUPS                                │
├──────────────────────────────────────────────────────────────────────────────────────────┤
│ Setup A (Claude Code):       Claude Fable 5.2 / Opus 5.5 (t1) + Sonnet (t2) + Haiku (t3) │
│ Setup B (Antigravity Fleet): Gemini 4 Neon/Carbon/Argon (t1) + Hydrogen/Flash (t2/t3)    │
│ Setup C (ChatGPT / Codex):   GPT-6.2 Astra (t1) + GPT-6.2 Sol (t2) + GPT-6 Luna (t3)     │
│ Setup D (Cross-Vendor):      Claude Fable 5.2 / Opus (t1) + GPT-6 Luna / DeepSeek (t3)   │
└──────────────────────────────────────────────────────────────────────────────────────────┘

Quickstart & Golden Path

LogNexus coordinates the full issue-to-merge lifecycle through intuitive slash commands:

1. Capture the Plan

bash
/lognexus plan

Transforms an exploratory brainstorm into a structured GitHub Issue with discrete subtasks (T1..Tn), verification criteria, and tier tags.

2. Start Work on a Clean Branch

bash
/lognexus start <issue-number>

Creates an ID-prefixed branch (issue/<id>-<slug>) from the default branch tip and logs a signed [lognexus/session-start] note.

3. Commit with Traceability

bash
/lognexus commit

Stages changes and generates structured, task-scoped commits (feat(#42/T1): ...) paired with an issue progress update.

4. Synthesize the Pull Request

bash
/lognexus pr

Compiles all commits, discoveries, discarded alternatives, and verification steps into a comprehensive Journey Timeline inside the PR description.

5. Cross-Model Review & Gate Verification

bash
/lognexus review

An independent model inspects the PR diff, verifies task contracts, and signs off (Reviewed-by: <model>) before merge.


Installation & Setup

1. Scaffold Rules & Manage State with the CLI

Initialize .lognexus/ rules, templates, and routing configuration:

Terminal
npx @digital-lake/lognexus init

# Optional: scaffold official multi-model context-exclusion rules (zero runtime overhead)
# to prevent agents from burning tokens on lockfiles or build directories:
npx @digital-lake/lognexus init --protect-tokens         # strict mode (default)
npx @digital-lake/lognexus init --protect-tokens=strict  # explicit strict mode
npx @digital-lake/lognexus init --protect-tokens=types   # opt-in Claude Code .d.ts profile

# Optional: pre-seal local telemetry consent in an interactive human terminal
npx @digital-lake/lognexus init --enable-telemetry
npx @digital-lake/lognexus init --no-telemetry

Token Shield Profiles & Boundaries (strict vs types)

  • strict (default): Denies Read(**/node_modules/**) in .claude/settings.json (covering monorepo workspaces), uses root-anchored / rules (such as Read(/package-lock.json) and Read(/.lognexus/**/*.jsonl)), and excludes node_modules/ plus .lognexus/**/*.jsonl in all IDE ignore files.
  • types (opt-in): Replaces Read(**/node_modules/**) in .claude/settings.json with 12 granular deny rules (Edit(**/node_modules/**), .js/.mjs/.cjs/.map/.wasm/.node, .cache/**, .vite/**, .package-lock.json, .pnpm/lock.yaml, .yarn-state.yml), permitting Claude Code to Read .d.ts declarations across root and monorepo workspaces when needed. Transitions between strict and types (and upgrades from 1.6.0–1.6.2) prune legacy managed rules safely while preserving user custom rules.
  • Operational boundaries of types mode:
    1. Claude Code only: types applies ONLY to .claude/settings.json. .geminiignore, .aiexclude, .cursorignore, .rooignore, .codeiumignore, and .aiderignore keep node_modules/ excluded so IDE indexers do not thrash.
    2. Residual Grep risk inside node_modules: Claude Code evaluates Read deny rules on searched paths/directories, so Grep inside node_modules/<pkg> can still match minified bundles. Inspect the package's package.json types entry and Read the .d.ts file directly instead of grepping node_modules/.
    3. Real Bash behavior: Claude Code applies deny rules to recognized file commands (cat, head, tail, sed, tee) and shell redirections, whereas grep -r from a parent directory or Node/Python subprocesses bypass file-read deny rules without OS-level sandboxing.
    4. Scope precedence: A Read(**/node_modules/**) (or legacy Read(./node_modules/**)) deny rule in user settings, managed settings, or .claude/settings.local.json overrides project-level types mode.

Verify your environment anytime (including multi-manifest SemVer drift checks and MCP client configuration health across Claude Desktop, Cursor, Google Antigravity ~/.gemini/config/mcp_config.json & .agents/mcp_config.json, ~/.cursor/mcp.json, and ~/.claude.json):

Terminal
npx @digital-lake/lognexus doctor
npx @digital-lake/lognexus doctor --mcp

Inspect active branch, ecosystem profile, review gate mode, and tier advisory:

Terminal
npx @digital-lake/lognexus status

Manage persistent agent state (.lognexus/state.json), native swarm contracts, and session recovery:

Terminal
npx @digital-lake/lognexus state sync
npx @digital-lake/lognexus state show
npx @digital-lake/lognexus state set-task T1 "Add user schema" \
  --assignee "google/gemini-4-hydrogen-high (antigravity)" \
  --isolation swarm --swarm-workers 2 --swarm-posts 4 \
  --allowed "src/schema.ts,tests/schema.test.ts" \
  --verify "npm test"
npx @digital-lake/lognexus state finish-task T1

Execute an Atomic Commit (validates subtask contract, enforces review-gate separation, injects trailers, commits, marks subtask completed, and attaches Git Note in a single ~0.15s call):

Terminal
npx @digital-lake/lognexus commit -m "feat(#42/T1): add user schema" \
  --author "google/gemini-4-hydrogen-high (antigravity)" \
  --stage-allowed \
  --swarm-workers 2 --swarm-posts 4 \
  --finish-task

# Or read message from file (cross-platform on Linux, macOS, and Windows shells):
npx @digital-lake/lognexus commit -F commit-msg.txt --stage-allowed --finish-task

Quiet Mode with Git Notes (refs/notes/lognexus, standard git-ai v3):

Terminal
npx @digital-lake/lognexus note attach HEAD --swarm-workers 2 --swarm-posts 4
npx @digital-lake/lognexus note show HEAD
npx @digital-lake/lognexus note push origin
npx @digital-lake/lognexus note export --since main -o notes.jsonl

Journey Timeline reconstruction and Review Gate audit (configured via .lognexus/policy.json with default, incremental, strict profiles and a non-overridable review-gate error floor):

Terminal
npx @digital-lake/lognexus timeline main
npx @digital-lake/lognexus timeline main --pr-body
npx @digital-lake/lognexus audit main

Session continuity, scope-drift and memory recall:

server.ts
# Regenerate .lognexus/handoff.md from live state (--json or --prompt for compact agent dispatch)
npx @digital-lake/lognexus handoff
npx @digital-lake/lognexus handoff --prompt
npx @digital-lake/lognexus handoff --json

# Inspect the working tree against the active subtask contract and validate MCP client health
npx @digital-lake/lognexus status
npx @digital-lake/lognexus doctor
npx @digital-lake/lognexus doctor --mcp

# Recall past reasoning from Git Notes or export topological JSONL
npx @digital-lake/lognexus note search "scope drift"
npx @digital-lake/lognexus note search --file src/cli.ts
npx @digital-lake/lognexus note search --issue 30 --limit 5
npx @digital-lake/lognexus note search --author "deepseek" --json
npx @digital-lake/lognexus note export --issue 30 -o notes.jsonl

Opt-in Telemetry 2.0, LOC-Weighted ROI & Cohort Benchmarks (100% local, zero network calls):

bash
# Check telemetry status (disabled by default, 0% overhead; interactive [y/N] Policy v2.0.0 gate on human TTY)
npx @digital-lake/lognexus telemetry status

# Enable or disable local telemetry (stores metrics only in .lognexus/telemetry.json, schemaVersion 2.0.0)
npx @digital-lake/lognexus telemetry enable
npx @digital-lake/lognexus telemetry disable

# Generate .lognexus/telemetry.md report with LOC-weighted ROI (optionally scoped in-memory)
npx @digital-lake/lognexus telemetry report
npx @digital-lake/lognexus telemetry report --issue 42 --since 2026-11-01T00:00:00Z --branch main

# Inspect the exact Zero-PII payload structure (optionally scoped in-memory)
npx @digital-lake/lognexus telemetry inspect --issue 42

# Export an offline Zero-PII snapshot and aggregate multi-repo cohort benchmarks locally
npx @digital-lake/lognexus telemetry snapshot -o .lognexus/snapshot-v2.json --issue 42
npx @digital-lake/lognexus telemetry benchmark ./snapshots -o .lognexus/cohort.md --json

# Zero-token multi-repo cohort discovery, incremental watermark deltas & site JSON export
npx @digital-lake/lognexus telemetry benchmark --discover .. --watermark .lognexus/cohort-watermark.json --update-watermark --site-json site/cohort-metrics.json
  • --discover <dir>: Scans immediate child repositories (skipping .git, node_modules, and hidden directories) read-only for .lognexus/snapshot-v2.json or .lognexus/telemetry.json without mutating any sibling repository.
  • --watermark <file> & --update-watermark: Computes incremental delta metrics (newProjects, changedProjects, deltaCommits, deltaCostSavingsUsd, deltaTokensSaved) since the last review without waking extra agent turns.
  • --site-json <file>: Emits a compact (< 2 KB), strictly Zero-PII JSON summary (capped at 12 ISO weeks, zero project IDs, names, or paths) for static dashboards.

Telemetry 2.0 is strictly local-only: zero network egress, zero PII, and O(1) fail-silent passive hooks (100% silent in automated agent sessions). Sealed GDPR consent (Policy v2.0.0) pauses automatically on material policy bumps until a human re-confirms in an interactive terminal. The retired --share --accept-terms flags fail with an explicit error, and pre-2.0.0 stores migrate to local / schemaVersion: "2.0.0" on save.

Read our strict Zero-PII, zero-network policy in docs/TELEMETRY_PRIVACY.md.

CLI-First vs. MCP Token Efficiency

When operating inside shell-capable coding agents (Antigravity, Claude Code, Cursor Agent, Codex CLI, Kimi Code), invoking the LogNexus CLI directly (npx @digital-lake/lognexus ...) avoids loading all 12 MCP tool schemas into every turn's prompt context—saving hundreds of input tokens per turn while preserving identical Git Notes and contract guarantees. Use the MCP server (lognexus mcp) when connecting GUI/desktop clients (Claude Desktop, IDE MCP panels) or workflows that require lognexus:// live resources and lognexus-plan / lognexus-review prompts.

For mechanical release bumps (--budget none), evaluateContextBudget() automatically exempts declarative release manifests (package.json, pyproject.toml, Cargo.toml, server.json, tauri.conf.json, Dockerfile, and .claude-plugin/plugin.json) alongside generated lockfiles so multi-surface version bumps never trigger false context-budget warnings.

2. Connect via Model Context Protocol (MCP)

LogNexus includes a native, lightweight JSON-RPC 2.0 stdio server (lognexus mcp) with zero external SDK dependencies, exposing 12 annotated MCP tools (with standardized RFC ToolAnnotations: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), 3 live resources, and 2 prompts. Connect it to Google Antigravity, Claude Desktop, Cursor, or any MCP-compliant client:

Google Antigravity Setup (~/.gemini/config/mcp_config.json or workspace .agents/mcp_config.json):

config.json
{
  "mcpServers": {
    "lognexus": {
      "command": "npx",
      "args": ["-y", "@digital-lake/lognexus", "mcp"],
      "eager": true
    }
  }
}

Tip for Antigravity: Add "eager": true so Antigravity pre-warms the MCP server and registers tools eagerly on session startup.

Claude Desktop, Cursor & VS Code Setup — configuration files:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json or ~/.claude.json
  • Linux: ~/.config/Claude/claude_desktop_config.json or ~/.claude.json
  • Windows (Classic Installer): %APPDATA%\Claude\claude_desktop_config.json or ~/.claude.json
  • Windows (Microsoft Store / MSIX): %LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\claude_desktop_config.json (auto-detected and validated by npx @digital-lake/lognexus doctor --mcp)
  • Cursor / VS Code: ~/.cursor/mcp.json, .cursor/mcp.json or .vscode/mcp.json
config.json
{
  "mcpServers": {
    "lognexus": {
      "command": "npx",
      "args": ["-y", "@digital-lake/lognexus", "mcp"]
    }
  }
}

Or install automatically via Smithery:

Terminal
npx -y @smithery/cli install @digital-lake/lognexus --client claude

Or run via Python (uvx / pip from PyPI):

bash
# Zero-install MCP stdio launch via uvx:
uvx lognexus-mcp

# Or install globally via pip / pipx:
pip install lognexus-mcp

Exposed Capabilities & RFC ToolAnnotations:

  • 12 Annotated Tools:
    • Read-Only (5 tools): lognexus_status, lognexus_state_get, lognexus_note_show, lognexus_timeline, lognexus_audit (readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false).
    • Non-Destructive Write (5 tools): lognexus_state_sync, lognexus_state_set_task, lognexus_state_finish_task, lognexus_commit, lognexus_note_attach (readOnlyHint: false, destructiveHint: false, openWorldHint: false).
    • State-Reset (2 tools): lognexus_state_clear (destructiveHint: true), lognexus_telemetry (destructiveHint: false).
  • 3 Live Resources: lognexus://state, lognexus://routing, lognexus://handoff
  • 2 Prompts: lognexus-plan, lognexus-review

3. Install Rules in Your Agent Environment

  • Claude Code:
    Terminal
    claude plugin add digital-lake-ai/lognexus
    
  • Cursor / Codex / Agent Skills:
    Terminal
    npx skills add digital-lake-ai/lognexus
    
  • Google Antigravity: Active automatically via skills/lognexus/SKILL.md or workspace skills.
  • GitHub Copilot / VS Code / Kimi Code: Active via .github/copilot-instructions.md and .lognexus/ workspace instructions and prompts.

⚡ Production Telemetry & Field Benchmark

Corpus Analyzed Git Notes Coverage Traceability Audit Test Suite Health

LogNexus was battle-tested in a high-intensity production deployment governing the end-to-end engineering of an enterprise static analysis CLI and AI migration skill (Anonymous Project ID: prj-7a4e91c2) operating over 250,000+ lines of legacy code with 22 AST/CFG rules (SPH-001..SPH-022).

Code
╔══════════════════════════════════════════════════════════════════════════════════════════════╗
║  LOGNEXUS TELEMETRY HUD // PRODUCTION SWARM BENCHMARK (PROJECT ID: PRJ-7A4E91C2)             ║
╠═════════════════════════════════════════════╦════════════════════════════════════════════════╣
║  ▸ GOVERNED FEATURES     12 Issues (#1-#12) ║  ▸ ORPHAN / UNTRACKED COMMITS   0 (0.0%)       ║
║  ▸ VERIFIED COMMITS      38 / 38 Signed     ║  ▸ SELF-APPROVAL VIOLATIONS     0 Blocked      ║
║  ▸ GIT NOTES ATTACHED    100% (git-ai v3)   ║  ▸ SCOPE CREEP INCIDENTS        0 (Allowlist)  ║
║  ▸ TEST SUITE INTEGRITY  536 Passed (100%)  ║  ▸ ATOMIC COMMIT LATENCY        ~0.15s / op    ║
╚═════════════════════════════════════════════╩════════════════════════════════════════════════╝

Multi-Model Swarm Performance Matrix

By enforcing Closed Delegation Contracts (allowedFiles, forbiddenFiles, decisionBudget: "none") and Cross-Model Review Gates, LogNexus coordinated three distinct AI model families in production without a single context leak or rogue commit:

Model FamilyAssigned TierProduction Strengths ObservedOptimal Contract Fit
Google Antigravity / Gemini Protier-1 & tier-2
(Architect & Orchestrator)
• Zero-drift multi-branch coordination
• Strict review-gate enforcement (lognexus audit)
• Rapid root-cause regression triage
Architecture synthesis, closed contract authoring, cross-model code review, release governance.
DeepSeek V3 (Chat)tier-3
(Scoped Implementer)
• Ultra-low latency & token cost
• Exceptional at mathematical AST parsing, pushdown automata & CFG tokenization
• Strict adherence to stop conditions when hitting out-of-scope test assertions
Algorithmic engines, deterministic parsers, isolated single-file modules (<500 LOC).
Kimi K2.7 Codetier-2 & tier-3
(High-Context Implementer)
• Massive context retention with zero file truncation on large modules (>500 LOC)
• Flawless single-shot multi-file generation (rule catalogs + visitors + test suites)
Large-context refactorings, multi-file rule catalogs, CI/CD matrices & standalone packaging.

Key Takeaway: Contract-driven development paired with refs/notes/lognexus completely eliminated scope creep by Tier-3 implementers while keeping the public Git commit graph 100% clean and human-readable.


Disambiguation

LogNexus by Digital Lake is an open-source development framework and Git memory system for AI agents. It is not affiliated with academic research papers on industrial log compression (e.g. ISSTA 2026).


🛡️ Verified Quality & Supply-Chain Security

LogNexus MCP server – quality and maintenance score on Glama

Every published release is continuously measured against independent third-party evaluators. The table below summarises the current external audit snapshot:

AuditorScopeResult
Glama MCP DirectoryServer quality & maintenance score (TDQS)Triple A grading · TDQS 4.3 / 5.0 (Grade A)
Socket SecurityVulnerability audit100 / 100 — 0 CVEs
Socket SecurityQuality & License compliance100 / 100
Socket SecurityMaintenance health96 / 100
SLSA ProvenanceBuild supply chainVerified (SLSA Provenance, OIDC-signed npm publish)
License & Contribution modelOpen governanceMIT — Open Source, Core-Maintained (Closed to Unsolicited External PRs)
Awesome MCP ServersCommunity MCP directory (punkpeye/awesome-mcp-servers / HorchataHTML/awesome-mcp-servers)Listed under Version Control (📇 🏠 🍎 🪟 🐧 — TypeScript, Local, macOS, Windows, Linux)
Smithery & Claude PluginNative MCP & Plugin registries (smithery.yaml, .claude-plugin/plugin.json, skills/lognexus/SKILL.md)Verified Cross-Platform (Linux, macOS, Windows)
MCP Registry & PyPIOfficial server.json & Python launcher (lognexus-mcp)Verified (io.github.digital-lake-ai/lognexus · npx & uvx across Linux, macOS, Windows)

Local-first by construction: LogNexus ships 0 runtime network calls, 0 PII, and 0 telemetry endpoints. See docs/TELEMETRY_PRIVACY.md and SECURITY.md.

Provenance & Identities

Every commit carries signed provenance trailers (Planned-by: / Authored-by: / Reviewed-by:). Identities are declared with their canonical spellings:

RoleCanonical identity
Master Architecture & Security OrchestratorsGemini 4 Neon (Orchestrator (Neon)) · Gemini 4 Carbon · Gemini 4 Argon
Implementation (Antigravity / VS Code clients)google/gemini-4-hydrogen-high (antigravity) · google/gemini-3.8-flash-high (antigravity) · deepseek/VS Code (kimi-code)
Independent review (Cross-Vendor & Intra-Fleet)Claude Fable 5.2 · Claude Opus 5.5 · OpenAI GPT-6.2 Astra · Gemini 4 Neon · Gemini 4 Carbon · Gemini 4 Argon

The Planned-by: trailer documents where an externally authored plan came from. It grants no review authority and no merge rights; an author model never writes its own Reviewed-by: trailer.


Provenance & Acknowledgments

LogNexus is engineered and maintained by HorchataHTML and Digital Lake, encompassing:

  • The full TypeScript runtime, repository scaffolding & diagnostic CLI, Persistent Agent State Engine, Atomic Commit Engine, Git Notes memory layer (refs/notes/lognexus), local-first FinOps telemetry, Multi-Model Token Shield, and native JSON-RPC 2.0 stdio MCP server (@digital-lake/lognexus / lognexus-mcp).
  • First-class multi-model tier routing and closed delegation contracts across Anthropic Claude (Fable 5.2, Mythos 5.2, Opus / Sonnet / Haiku 5.5), OpenAI (GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Luna, codex-mini, o4), Google Gemini (Gemini 4 Neon, Gemini 4 Carbon, Gemini 4 Argon, Gemini 4 Hydrogen, Gemini 3.8 Pro & Flash), Moonshot AI (Kimi K3 / Kimi Code), and DeepSeek (R1, V3, Chat).
  • The cross-reference CI validation workflow (.github/workflows/cross-ref-check.yml), single-source-of-truth review/signing block architecture, and sub-skill anchor normalization authored by HorchataHTML (2026-08-04, commit cd0582c1).

The Master Architecture & Security Plan governing frontier-model support, supply-chain hardening, and cross-model review governance is authored and signed by Gemini 4 Neon, Gemini 4 Carbon, and Gemini 4 Argon (Master Architecture & Security Orchestrators).

Additional workflow inspirations and patterns are derived from OrchestKit and Superpowers. Detailed license texts and notices are preserved in the LICENSES/ directory and in NOTICE.md.

LogNexus is an independent continuation and full-stack TypeScript, CLI, and native MCP evolution of shiplog.


Did you find this project useful? 🤖⚡

Maintaining and evolving open-source agentic infrastructure takes time, dedication, and... quite a few AI tokens to power multi-model benchmarking, automated testing, and continuous architecture updates.

If LogNexus saved you time, prevented context amnesia in your workflows, and you'd like to help cover the API and compute costs to keep it evolving, consider fueling the AI with a token:

Ko-fi - Fuel the AI

Every contribution goes straight into compute power, multi-model benchmarks, new MCP capabilities, and continuous improvements!


License

LogNexus is released under the MIT License.
Copyright (c) 2026 HorchataHTML (https://github.com/HorchataHTML)
Copyright (c) 2026 Digital Lake (https://github.com/digital-lake-ai) and LogNexus contributors.
Copyright (c) 2026 devallibus