@forwardimpact/libinvariant 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/instructions.js +1 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forwardimpact/libinvariant",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Repository invariant checks — instruction-layer length caps, JTBD block validation, and a declarative rule-module runner over a caller-supplied rules directory.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"invariants",
|
package/src/instructions.js
CHANGED
|
@@ -190,27 +190,7 @@ async function buildLayers(root, fs) {
|
|
|
190
190
|
name: "agent reference",
|
|
191
191
|
maxLines: 192,
|
|
192
192
|
maxWords: 1280,
|
|
193
|
-
files: agentReferences
|
|
194
|
-
(p) => !p.endsWith("/agents/x-memory-protocol.md"),
|
|
195
|
-
),
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
id: "L4",
|
|
199
|
-
name: "memory-protocol agent reference",
|
|
200
|
-
// Larger than the L4 default to absorb the two durable surfaces this
|
|
201
|
-
// one reference is the sole home for. The first is the boot-digest
|
|
202
|
-
// routing contract. It is a materialized agent-experiments surface with
|
|
203
|
-
// provenance fields and a last-successful-sync freshness bound, plus
|
|
204
|
-
// the verbatim standing-carries digest field. The second is the
|
|
205
|
-
// canonical Carry Surface section. It is a durable per-Assess
|
|
206
|
-
// obligation surface kept off the summary budget, beside the On-Boot
|
|
207
|
-
// Read Set it extends. Both are load-bearing memory-protocol concepts.
|
|
208
|
-
// This limit fits the current content. It is not open-ended.
|
|
209
|
-
maxLines: 216,
|
|
210
|
-
maxWords: 1588,
|
|
211
|
-
files: agentReferences.filter((p) =>
|
|
212
|
-
p.endsWith("/agents/x-memory-protocol.md"),
|
|
213
|
-
),
|
|
193
|
+
files: agentReferences,
|
|
214
194
|
},
|
|
215
195
|
{
|
|
216
196
|
id: "L5",
|