# H-sync and dropbus: Context protocol and zero-broker agent spooler

> Source: <https://github.com/admin-vwv/h-sync>
> Published: 2026-11-30 15:03:55+00:00

**Key takeaway:** h-sync encodes agent context as Subject-Predicate-Object triples with state sigils — ;ctx blocks state mutations, ;exec grants one-shot execution and auto-reverts, ;stop forces a return to ;ctx — so operators can express intent and constraints in fewer keystrokes than JSON.



``` js
    ┌────────────────────────┐
    │       $h <=> $~        │
    │  FAST CONTEXT SYNCH    │
    └────────────────────────┘
```

A deterministic, high-density, ergonomic **Context Interchange Protocol** designed for Human-to-AI (~~), AI-to-AI ($~~ <=> $~~), and AI-to-Automation ($~~ <=> Dropbus) systems.

Modern computing solved **Data Transfer** decades ago (TCP/IP, JSON, SQL, Protobuf, REST). These formats excel at transporting raw bytes and fields: `"temperature": 85`.

However, the modern multi-agent and human-AI barrier is **Context Transfer**:

- *What is the operational intent?*
- *What is the Lockout/Tagout (LOTO) security state (;ctx vs ;exec)?*
- *What are the non-negotiable boundaries and constraints (!x)?*
- *What is the causal sequence (Subject -> Predicate -> Object)?*
- *What is the expected output depth?*

Passing context in natural language introduces cognitive fatigue, prompt drift, and hallucinations. Passing context in rigid JSON is biologically exhausting for humans to write.

**h-sync** is the optimal bridge: an ergonomic, telegraphic grammar that delivers maximum attention-tensor activation in LLMs while requiring minimal physical typing effort from human operators.

h-sync operates seamlessly across all permutations of the interaction spectrum:

| Mode | Relationship | Real-World Application | 
|---|---|---|
| **H2M** | Human <=> Model | Operator Carlos commanding Antigravity/Claude with LOTO locks | 
| **M2M** | Model <=> Model | DeepSeek debating architecture with Claude without conversational fluff | 
| **H2A** | Human <=> Automation | Operator dropping high-density task envelopes into dropbus spools | 
| **A2M** | Automation <=> Model | Edge sensors feeding diagnostic traces into an autonomous diagnostic agent | 
| **H2H** | Human <=> Human | Senior engineers exchanging unambiguous teletype directives in incident chat | 

To eliminate semantic drift and mimic human cognitive clarity, h-sync enforces **Subject -> Predicate -> Object (SPO)** triples:

``` php
;ctx ;venus #gate ^nginx.conf
SYMPTOM: 502_bad_gateway -> intermittent
CONSTR: !x #gate
GOAL: isolate_root_cause
```

1. **Physical Ergonomics ($h):** Full tolerance for unaccented, lowercase, and conversational shorthand. Semicolon`;` acts as the primary anchor, preventing IDE popup collision.
2. **Industrial LOTO Interlocks:**  - `;ctx` : Planning & diagnostic mode (Default). State mutations are strictly prohibited.
  - `;exec` : One-shot execution authorization. Automatically reverts to`;ctx` post-execution.
  - `;stop` : Emergency panic stop. Immediately forces the system back into`;ctx` .
  - `;audit` : Auditable Scratchpad. Forces the model to emit its internal reasoning in SPO triples before answering.
3. **Topological Sigils:**  - `;host` : Physical machine or node (`;lab` ,`;venus` ,`;mercurio` ,`;marte` ,`;dev03` ).
  - `&storage` : Volume, dataset, or Samba share (`&venus` ,`&yada` ).
  - `#service` : Microservice, API, or port (`#gate` ,`#fb` ,`#fisc` ).
  - `^file` : Singular leaf file (`^base.yml` ,`^nginx.conf` ).
  - `folder\` : Directory path (escaped with backslash).
4. **Flow Operators & Structural Logic:**  - `->` : Causal direction / Sequence.
  - `>>` : Convergence / Funnel / Isolate root cause.
  - `<<` : Divergence / Decompose into discrete questions.
  - `!x` : Negative constraint (*"do not touch/restart this"* ).
  - `[]` : Batch matrix (`@hosts = [;venus, ;marte]` ).
  - `||` : Independent parallel execution.
  - `//` : Human comment (informational context, not an executable directive).

| Sigil | Category | Role | Example | 
|---|---|---|---|
| `$h` | Actor | Human Operator | `$h > $^` | 
| `$$` | Actor | Literature / State of the Art | `[algorithm] $$ ?` | 
| `$^` | Actor | Local IDE Agent with Terminal | `$^ chk` | 
| `$~` | Actor | Autonomous AI Agent | `$~ status` | 
| `;` | Infrastructure | Physical Host / Machine | `;venus` ,`;lab` | 
| `&` | Storage | Volume / Dataset / Samba | `&venus` | 
| `#` | Service | API / Daemon / Web Port | `#gate` (8300) | 
| `^` | Filesystem | Individual File | `^nginx.conf` | 
| `\\` | Filesystem | Directory Path | `projetos\\` | 
| `;ctx` | LOTO Lock | Read-only Planning Mode | `;ctx ;venus` | 
| `;exec` | LOTO Lock | One-Shot Execution Token | `;exec` | 
| `;stop` | LOTO Lock | Emergency Abort | `;stop` | 
| `;audit` | Verification | Auditable SPO Trace | `;audit` | 
| `;curto` | Verbosity | Teletype Summary (3-5 lines) | `;curto` | 
| `;longo` | Verbosity | Educational / Architecture | `;longo` | 
| `;fundo` | Verbosity | Root-Cause Analysis (RCA) | `;fundo` | 
| `;raw` | Verbosity | Raw Command/Code Output | `;raw` | 
| `>>` | Flow | Converge / Optimize / Funnel | `&venus ! >>` | 
| `<<` | Flow | Decompose / Explode steps | `? <<` | 
| `!x` | Boundary | Strict Proscription | `!x #gate` | 
| `//` | Meta | Human Non-Executable Note | `// just thinking` | 

h-sync context envelopes are natively transported across machines, containers, and pipelines using **[dropbus](https://github.com/admin-vwv/dropbus)**.

- `;ctx` envelopes map directly to`CFG` or`FLW` dropbus sigils (enforcing read-only at the OS layer).
- `;exec` envelopes map to`INP` dropbus sigils (authorizing execution).
- Multi-agent chains track provenance via cryptographic `parent_ulid` Merkle trees.

MIT License. Open specification for the global engineering and autonomous systems community.
