claude-comms 1.0.29 → 1.0.31
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.
|
@@ -162,7 +162,7 @@ IMPORTANT: What is your DocScope?
|
|
|
162
162
|
|
|
163
163
|
🤝 Batch an Inbox Check with every read/write/tool action, and dynamically add TEAMWORK Broadcast as per Communication Protocols 🤝
|
|
164
164
|
|
|
165
|
-
1. Consume AGENT OPERATING PROCEDURES (AOP)
|
|
165
|
+
1. Consume AGENT OPERATING PROCEDURES (AOP) `.agents/AGENTS.md`. *You will execute 1 or more of Procedures in the following steps*
|
|
166
166
|
2. Execute AOP.CALIBRATE
|
|
167
167
|
|
|
168
168
|
|
|
@@ -51,7 +51,7 @@ Populate your initial plan with your step by step WORKFLOW:
|
|
|
51
51
|
[WORKFLOW]
|
|
52
52
|
🤝 Periodically Inbox Check after every few action, and dynamically add TEAMWORK Broadcast as per Communication Protocols 🤝
|
|
53
53
|
|
|
54
|
-
1. Consume AGENT OPERATING PROCEDURES (AOP)
|
|
54
|
+
1. Consume AGENT OPERATING PROCEDURES (AOP) `.agents/AGENTS.md`. *You will execute 1 or more of Procedures in the following steps*
|
|
55
55
|
2. ALWAYS Execute AOP.CALIBRATE
|
|
56
56
|
3. *Decision:* Based on your Assignment/Task/Loop you may be either Implementing New, Assessing Only, or Review+Refine Existing. Choose your path accordingly:
|
|
57
57
|
- *Implementing New:* Execute AOP.IMPLEMENT
|
|
@@ -31,7 +31,7 @@ Populate your initial Todos with your step by step WORKFLOW:
|
|
|
31
31
|
[WORKFLOW]
|
|
32
32
|
🤝 Batch an Inbox Check with every read/write/tool action, and dynamically add TEAMWORK Broadcast as per Communication Protocols 🤝
|
|
33
33
|
|
|
34
|
-
1. Consume AGENT OPERATING PROCEDURES (AOP)
|
|
34
|
+
1. Consume AGENT OPERATING PROCEDURES (AOP) `.agents/AGENTS.md`. *You will execute 1 or more of Procedures in the following steps*
|
|
35
35
|
2. Execute AOP.CALIBRATE
|
|
36
36
|
3. *Decision:* Based on your Assignment/Task/Loop you may be either Implementing New, Assessing Only, or Review+Refine Existing. Choose your path accordingly:
|
|
37
37
|
- *Implementing New:* Execute AOP.IMPLEMENT
|
|
@@ -111,7 +111,7 @@ Populate your initial Todos with your step by step WORKFLOW:
|
|
|
111
111
|
[WORKFLOW]
|
|
112
112
|
🤝 Batch an Inbox Check with every read/write/tool action, and dynamically add TEAMWORK Broadcast as per Communication Protocols 🤝
|
|
113
113
|
|
|
114
|
-
1. Consume AGENT OPERATING PROCEDURES (AOP)
|
|
114
|
+
1. Consume AGENT OPERATING PROCEDURES (AOP) `.agents/AGENTS.md`. *You will execute 1 or more of Procedures in the following steps*
|
|
115
115
|
2. Execute AOP.CALIBRATE
|
|
116
116
|
3. **Scope Determination & Phase Definition**
|
|
117
117
|
- Determine working scope: Project-level roadmap OR Phase-level WP breakdown
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -274,6 +274,13 @@ class Installer extends EventEmitter {
|
|
|
274
274
|
retryCount: 3
|
|
275
275
|
});
|
|
276
276
|
|
|
277
|
+
// Fetch .agents directory structure
|
|
278
|
+
const agentsFiles = await this.fetcher.fetchDirectory('.agents', {
|
|
279
|
+
version: this.options.version,
|
|
280
|
+
useCache: this.options.cache,
|
|
281
|
+
retryCount: 3
|
|
282
|
+
});
|
|
283
|
+
|
|
277
284
|
// Fetch CLAUDE.md file
|
|
278
285
|
const claudeMd = await this.fetcher.fetchFile('CLAUDE.md', {
|
|
279
286
|
version: this.options.version,
|
|
@@ -282,6 +289,7 @@ class Installer extends EventEmitter {
|
|
|
282
289
|
|
|
283
290
|
const fetchedFiles = {
|
|
284
291
|
'.claude': claudeFiles,
|
|
292
|
+
'.agents': agentsFiles,
|
|
285
293
|
'CLAUDE.md': claudeMd
|
|
286
294
|
};
|
|
287
295
|
|
|
@@ -444,6 +452,7 @@ class Installer extends EventEmitter {
|
|
|
444
452
|
|
|
445
453
|
const requiredPaths = [
|
|
446
454
|
path.join(this.options.targetDir, '.claude'),
|
|
455
|
+
path.join(this.options.targetDir, '.agents'),
|
|
447
456
|
path.join(this.options.targetDir, 'CLAUDE.md'),
|
|
448
457
|
path.join(this.options.targetDir, '.claude', 'settings.local.json')
|
|
449
458
|
];
|
|
@@ -701,14 +710,18 @@ class Installer extends EventEmitter {
|
|
|
701
710
|
*/
|
|
702
711
|
async _createBackupsIfNeeded(_fetchedFiles) {
|
|
703
712
|
if (!this.options.force) {
|
|
704
|
-
// Check for existing
|
|
713
|
+
// Check for existing directories and files
|
|
705
714
|
const claudeDir = path.join(this.options.targetDir, '.claude');
|
|
715
|
+
const agentsDir = path.join(this.options.targetDir, '.agents');
|
|
706
716
|
const claudeMd = path.join(this.options.targetDir, 'CLAUDE.md');
|
|
707
717
|
|
|
708
718
|
const existingPaths = [];
|
|
709
719
|
if (await this.validator.pathExists(claudeDir)) {
|
|
710
720
|
existingPaths.push('.claude/');
|
|
711
721
|
}
|
|
722
|
+
if (await this.validator.pathExists(agentsDir)) {
|
|
723
|
+
existingPaths.push('.agents/');
|
|
724
|
+
}
|
|
712
725
|
if (await this.validator.pathExists(claudeMd)) {
|
|
713
726
|
existingPaths.push('CLAUDE.md');
|
|
714
727
|
}
|
|
@@ -734,6 +747,14 @@ class Installer extends EventEmitter {
|
|
|
734
747
|
});
|
|
735
748
|
}
|
|
736
749
|
|
|
750
|
+
if (!fetchedFiles['.agents']) {
|
|
751
|
+
issues.push({
|
|
752
|
+
type: 'missing_component',
|
|
753
|
+
component: '.agents',
|
|
754
|
+
message: 'Missing .agents directory structure'
|
|
755
|
+
});
|
|
756
|
+
}
|
|
757
|
+
|
|
737
758
|
if (!fetchedFiles['CLAUDE.md']) {
|
|
738
759
|
issues.push({
|
|
739
760
|
type: 'missing_component',
|