Waymark

•

Preserves in-flight coding investigation context and enables on-device WebAssembly discovery for AI coding agents across LLM context compactions.

Waymark addresses the critical "compaction problem" faced by AI coding agents, where valuable in-flight discoveries and causal inferences are lost when LLM contexts are reset. It acts as a local-first continuity ledger, meticulously recording verified evidence hops and tracking relocated code spans using precise Git span hashes. By integrating with AI agent harnesses and providing a robust WebAssembly-based AST discovery engine, Waymark enables agents to quickly and precisely resume their work, significantly reducing token costs, eliminating redundant code re-inspections, and preventing hallucinated line coordinates after context compactions.

Key Features

01Provides on-demand WebAssembly AST parsing for polyglot code discovery and symbol resolution.
02Integrates with Capn memory bridge for cross-session conceptual queries and knowledge charting.
03Generates bounded, highly compact resume packets (<216 tokens) for post-compaction recovery.
04Maintains an append-only, local-first continuity ledger for AI agent investigations.
05Tracks and verifies relocated code spans using Git span hashes to maintain exact context.
060 GitHub stars

Use Cases

01Preventing hallucinated line coordinates and costly whole-repository re-reads during AI-driven code investigations.
02Preserving causal investigation breadcrumbs and specific verified evidence across multi-hop coding tasks for AI agents.
03Enabling AI coding agents to recover efficiently and precisely from LLM context compactions.