docs: improve CLAUDE.md structure and discoverability

- Move COM shorthand to prominent position after safety warning
- Add version sync note (must match package.json)
- Consolidate Key Files into 4 logical categories
- Clarify next available test port (3128)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-25 18:09:25 +01:00
co-authored by Claude Opus 4.5
parent 8094a756c6
commit 0d22d19645
6 changed files with 102 additions and 36 deletions
+11 -4
View File
@@ -102,7 +102,7 @@ export class SubagentWatcher extends EventEmitter {
private idleTimers = new Map<string, NodeJS.Timeout>();
private pollInterval: NodeJS.Timeout | null = null;
private livenessInterval: NodeJS.Timeout | null = null;
private isRunning = false;
private _isRunning = false;
private knownSubagentDirs = new Set<string>();
constructor() {
@@ -115,8 +115,8 @@ export class SubagentWatcher extends EventEmitter {
* Start watching for subagent activity
*/
start(): void {
if (this.isRunning) return;
this.isRunning = true;
if (this._isRunning) return;
this._isRunning = true;
// Initial scan
this.scanForSubagents();
@@ -177,11 +177,18 @@ export class SubagentWatcher extends EventEmitter {
return false;
}
/**
* Check if the watcher is currently running
*/
isRunning(): boolean {
return this._isRunning;
}
/**
* Stop watching
*/
stop(): void {
this.isRunning = false;
this._isRunning = false;
if (this.pollInterval) {
clearInterval(this.pollInterval);