@forwardimpact/libcoaligned 0.1.12 → 0.1.14
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 +39 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forwardimpact/libcoaligned",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Co-Aligned architecture checks — enforce instruction-layer length caps, JTBD invariants, and the repo's own declarative invariant rule modules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"coaligned",
|
package/src/instructions.js
CHANGED
|
@@ -177,14 +177,51 @@ async function buildLayers(root, fs) {
|
|
|
177
177
|
name: "agent reference",
|
|
178
178
|
maxLines: 192,
|
|
179
179
|
maxWords: 1280,
|
|
180
|
-
files: await findAgentReferences(root, claudeDirs, fs)
|
|
180
|
+
files: (await findAgentReferences(root, claudeDirs, fs)).filter(
|
|
181
|
+
(p) => !p.endsWith("/agents/references/memory-protocol.md"),
|
|
182
|
+
),
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
id: "L4",
|
|
186
|
+
name: "memory-protocol agent reference",
|
|
187
|
+
// Larger than the L4 default to absorb the two durable surfaces this
|
|
188
|
+
// one reference is the sole home for: the boot-digest routing contract
|
|
189
|
+
// (materialized agent-experiments surface with provenance fields and a
|
|
190
|
+
// last-successful-sync freshness bound, plus the verbatim
|
|
191
|
+
// standing-carries digest field) and the canonical Carry Surface
|
|
192
|
+
// section (a durable per-Assess obligation surface kept off the summary
|
|
193
|
+
// budget, beside the On-Boot Read Set it extends). Both are load-bearing
|
|
194
|
+
// memory-protocol concepts. Sized to the current content, not
|
|
195
|
+
// open-ended.
|
|
196
|
+
maxLines: 216,
|
|
197
|
+
maxWords: 1588,
|
|
198
|
+
files: (await findAgentReferences(root, claudeDirs, fs)).filter((p) =>
|
|
199
|
+
p.endsWith("/agents/references/memory-protocol.md"),
|
|
200
|
+
),
|
|
181
201
|
},
|
|
182
202
|
{
|
|
183
203
|
id: "L5",
|
|
184
204
|
name: "skill procedure",
|
|
185
205
|
maxLines: 192,
|
|
186
206
|
maxWords: 1280,
|
|
187
|
-
files: skillDirs
|
|
207
|
+
files: skillDirs
|
|
208
|
+
.map((d) => `${d}/SKILL.md`)
|
|
209
|
+
.filter((p) => !p.endsWith("/kata-release-merge/SKILL.md")),
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
id: "L5",
|
|
213
|
+
name: "kata-release-merge skill procedure",
|
|
214
|
+
// Larger than the L5 default to absorb four consolidated merge-gate
|
|
215
|
+
// rule sets that govern adjacent corners of one gate: phase-PR review
|
|
216
|
+
// transfer (pin-based head coverage), post-panel coverage (folded into
|
|
217
|
+
// the pin mechanism rather than duplicated), the spec-less
|
|
218
|
+
// experiment-PR approval path, and the block-comment re-ping cadence.
|
|
219
|
+
// Sized to the consolidated content, not open-ended.
|
|
220
|
+
maxLines: 320,
|
|
221
|
+
maxWords: 2304,
|
|
222
|
+
files: skillDirs
|
|
223
|
+
.map((d) => `${d}/SKILL.md`)
|
|
224
|
+
.filter((p) => p.endsWith("/kata-release-merge/SKILL.md")),
|
|
188
225
|
},
|
|
189
226
|
{
|
|
190
227
|
id: "L6",
|