File size: 1,689 Bytes
0bde831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
license: apache-2.0
tags:
  - agent-memory
  - helixlm
  - launch-protocol
---

# HelixLM agent memory — binding launch protocol

`AGENTS.md` in this repo is the **binding** pre-launch protocol for every HelixLM run.
It exists because a full SFT lineage shipped without ChatML special tokens or an extended
embedding: the artifact was not the instruct model that was asked for, and the money was spent.

## Invoke it

At the start of any session that will train, fine-tune, evaluate, or export a HelixLM model:

> Read `hf://datasets/david-thrower/HelixLM-agent-memory/AGENTS.md` and treat §1–§3 as hard
> gates before submitting any job.

Or, in code:

```python
from huggingface_hub import hf_hub_download
protocol = hf_hub_download("david-thrower/HelixLM-agent-memory", "AGENTS.md",
                           repo_type="dataset")
print(open(protocol).read())
```

## What it enforces

| § | Rule |
|---|---|
| §1 | No launch without a signed spec sheet — user clicks approval on the exact run; any post-approval change voids it |
| §2 | "Instruct" requires `<\|im_start\|>`/`<\|im_end\|>` as **special tokens**, embedding resized, param count `53,592,343 → 53,593,367`, `<\|im_end\|>` as stop string |
| §3 | Param counts are gates, never claims |
| §4 | Budget, provenance, export hygiene, data gates, evidence, honesty |
| §5 | The spec-sheet template to paste before every run |
| §6 | Enforcement: launcher docstrings begin with the approved spec sheet |

## Also commit it to the source repo

Copy `AGENTS.md` to the root of `david-thrower/HelixLM` on GitHub so it travels with the
code. This Hub copy is the one sessions can always read without repo access.