@forwardimpact/libcoaligned 0.1.0 → 0.1.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 +14 -3
- package/src/jtbd.js +1 -0
package/package.json
CHANGED
package/src/instructions.js
CHANGED
|
@@ -102,15 +102,25 @@ async function findSkillReferences(root, skillDirs) {
|
|
|
102
102
|
async function buildLayers(root) {
|
|
103
103
|
const claudeDirs = await findByName(root, ".claude", "dir");
|
|
104
104
|
const skillDirs = await findSkillDirs(root, claudeDirs);
|
|
105
|
+
const allClaude = await findByName(root, "CLAUDE.md", "file");
|
|
106
|
+
const rootClaude = allClaude.filter((p) => p === "CLAUDE.md");
|
|
107
|
+
const subdirClaude = allClaude.filter((p) => p !== "CLAUDE.md");
|
|
105
108
|
return {
|
|
106
109
|
skillDirs,
|
|
107
110
|
layers: [
|
|
108
111
|
{
|
|
109
112
|
id: "L1",
|
|
110
|
-
name: "CLAUDE.md",
|
|
113
|
+
name: "root CLAUDE.md",
|
|
111
114
|
maxLines: 192,
|
|
112
115
|
maxWords: 896,
|
|
113
|
-
files:
|
|
116
|
+
files: rootClaude,
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "L1",
|
|
120
|
+
name: "subdir CLAUDE.md",
|
|
121
|
+
maxLines: 128,
|
|
122
|
+
maxWords: 768,
|
|
123
|
+
files: subdirClaude,
|
|
114
124
|
},
|
|
115
125
|
{
|
|
116
126
|
id: "L2",
|
|
@@ -123,7 +133,8 @@ async function buildLayers(root) {
|
|
|
123
133
|
id: "L2",
|
|
124
134
|
name: "JTBD.md",
|
|
125
135
|
maxLines: 320,
|
|
126
|
-
|
|
136
|
+
// Bumped from 1408 in spec 1010 to absorb a fifth persona block.
|
|
137
|
+
maxWords: 1664,
|
|
127
138
|
files: ["JTBD.md"],
|
|
128
139
|
},
|
|
129
140
|
{
|